Package: python-twisted
Version: 2.2.0-2
Severity: normal

Hello Matthias,

python-twisted include the following menu entry:

?package(python-twisted):\
        needs="x11"\
        section="Apps/Net"\
        title="Twisted Application Generator"\
        command="/usr/bin/tkmktap"

However it does not work.
When run manually tkmktap report:
Traceback (most recent call last):
  File "/usr/bin/tkmktap", line 16, in ?
  from twisted.scripts.tkmktap import run
  File "/usr/lib/python2.3/site-packages/twisted/scripts/tkmktap.py", line 11, 
in ?
  import Tkinter, tkMessageBox, tkFileDialog, StringIO, os
  ImportError: No module named Tkinter

which suggest tkmktap requires python-tk to run. In that case, if
you do not want to depend on python-tk, you must add it to the
package() field of the menu entry:

?package(python-twisted,python-tk):

This way menu will only display the menu entry if both python-twisted and
python-tk are installed.

Cheers,
-- 
Bill. <[EMAIL PROTECTED]>

Imagine a large red swirl here. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to