Bug summary
______________________
Summary for 2007-06-24 through 2007-07-01
Bugs opened: 14 Bugs closed: 9 Total open bugs: 985 (+5)
|== Type Changes |== Priority Changes |== Component Changes
|Defect: +4 |Highest: -4 |Conch: +0
|Enhancement: +1 |Normal: +9 |Core: +9
|Task: +1 |Low: +0 |Pb: -3
|Lowest: +1
New / Reopened Bugs
______________________
===== Normal =====
[#2715] SSHFactory shouldn't disable core dumps (opened by exarkun)
defect conch http://twistedmatrix.com/trac/ticket/2715
[#2716] Eliminate relative imports from twisted.conch (opened by exarkun)
task core http://twistedmatrix.com/trac/ticket/2716
[#2718] async howto implies Deferreds solve concurrency issues (opened by itamarst) (CLOSED, duplicate)
defect core http://twistedmatrix.com/trac/ticket/2718
[#2719] async howto implies Deferreds solve concurrency issues (opened by itamarst)
defect core http://twistedmatrix.com/trac/ticket/2719
[#2720] merge all deferreds howtos into one that doesn't suck (opened by itamarst)
enhancement core http://twistedmatrix.com/trac/ticket/2720
[#2721] internet-overview howto is sorta pointless (opened by itamarst)
defect core http://twistedmatrix.com/trac/ticket/2721
[#2722] reactor basics howto is lacking important information (opened by itamarst)
defect core http://twistedmatrix.com/trac/ticket/2722
[#2724] intended audience of Twisted documentation is not clear (opened by glyph)
enhancement core http://twistedmatrix.com/trac/ticket/2724
[#2725] twisted.internet.task.LoopingCall does not document a public API for checking to see if it is currently running. (opened by dreid)
defect core http://twistedmatrix.com/trac/ticket/2725
[#2726] there is no way to kill a group of subprocesses in Twisted (with proposed fix for Windows using Job objects) (opened by deboute)
defect core http://twistedmatrix.com/trac/ticket/2726
[#2727] plugin howto refers to "getPlugin" instead of "getPlugins" (opened by exarkun)
defect core http://twistedmatrix.com/trac/ticket/2727
[#2245] Deferred implementation in C (opened by therve)
enhancement core http://twistedmatrix.com/trac/ticket/2245
===== Low =====
[#2723] Twisted.Quotes does not serve its original intended purpose (opened by glyph)
enhancement core http://twistedmatrix.com/trac/ticket/2723
===== Lowest =====
[#2717] Add a test to verify that Twisted.Quotes complies with fortune format. (opened by jml)
enhancement core http://twistedmatrix.com/trac/ticket/2717
Closed Bugs
______________________
===== Highest =====
[#1843] twisted.spread.util.FilePager keeps all sent chunks in memory (opened by ino, closed by therve, fixed)
defect pb http://twistedmatrix.com/trac/ticket/1843
[#2703] assertWarns has some restrictions (opened by therve, closed by therve, fixed)
enhancement core http://twistedmatrix.com/trac/ticket/2703
[#426 ] [PATCH] sending new style classes via perspective broker (opened by titty, closed by therve, fixed)
enhancement pb http://twistedmatrix.com/trac/ticket/426
[#222 ] Missing common overridable/callable method summaries in docs (opened by jknight, closed by exarkun, fixed)
enhancement core http://twistedmatrix.com/trac/ticket/222
===== Normal =====
[#2321] twisted.test.test_pb.NSPTestCase.tearDown calls stopListening but doesn't return the Deferred (opened by exarkun, closed by therve, fixed)
defect pb http://twistedmatrix.com/trac/ticket/2321
[#2718] async howto implies Deferreds solve concurrency issues (opened by itamarst, closed by therve, duplicate)
defect core http://twistedmatrix.com/trac/ticket/2718
[#2711] ConnectionRefusedError doesn't provide any information about the connection that was refused (opened by jml, closed by therve, duplicate)
enhancement core http://twistedmatrix.com/trac/ticket/2711
[#2543] "Noone" isn't a word (opened by indigo, closed by therve, fixed)
defect core http://twistedmatrix.com/trac/ticket/2543
===== Low =====
[#423 ] Simpler interface to the conch client code (opened by z3p, closed by z3p, duplicate)
enhancement conch http://twistedmatrix.com/trac/ticket/423
Hello all,
I'm trying to implement a plugin system in a project using the
twisted plugin framework. I've read through the docs pretty
thoroughly, but I can't seem to figure out what I'm doing wrong.
Attached is a sample case that should illustrate the problem. The
layout is as follows:
plugin_dir/
plugin_dir/test/
plugin_dir/test/plugins/
plugin_dir/test/plugins/myplugin.py
test/
test/__init__.py
test/plugins/
test/plugins/__init__.py
test/sample.py
test_plugin.py
First I created the test.plugins package, and included the following
in test/plugins/__init__.py:
import os, sys
__path__ = [os.path.abspath(os.path.join(x, 'test', 'plugins'))
for x in sys.path]
__all__ = []
Then I created my interfaces in the test.sample module:
from zope import interface
class ISamplePlugin(interface.Interface):
'''My Sample Plugin Class'''
Next, I created the plugin in an arbitrary directory, under
plugin_dir/test/plugins/myplugin.py:
from zope.interface import implements
from twisted import plugin
from test.sample import ISamplePlugin
class MyPlugin(object):
implements(plugin.IPlugin, ISamplePlugin)
Finally, here's the sample script that tries to load the plugins in
the arbitrary directory:
from twisted import plugin
import sys
sys.path.append('.')
sys.path.append('./plugin_dir')
from test import sample, plugins
from twisted import plugin
plugin_result = plugin.getPlugins(sample.ISamplePlugin, plugins)
for plugin in plugin_result:
print repr(plugin) + ' was found.'
Which gives no output.
Here are the things I've checked for:
* './plugin_dir' is definitely on the pythonpath when
getPlugins is called. I've also tried using an absolute path.
* once the path is modified, I can import manually with:
import test.plugins.myplugins
I'm using the latest Twisted-SVN, under the pythonmac.org Python
2.4.4 distribution on Mac OS X 10.4.10.
Any help would be greatly appreciated.
Thanks in advance,
-phil