A chi se ne instende di python ... chiedo un helpino
ho un problema nel far funzionare correttamente questo programma:
http://www.phrozensmoke.com/project...nstallation.php
una volta installato non mi funzionano 2 "schermate":
http://www.phrozensmoke.com/project...dules/iceme.php
e
http://www.phrozensmoke.com/project...p/ism/index.php
... mi da un'errore (mi pare causa python) che non capisco.
questo è l'errore di icemy (IceMe.py )
erika@erika-filippo:/usr/share/iceWMCP$ ./IceMe.py
./IceMe.py:572: DeprecationWarning: use gtk.UIManager
itemf = ItemFactory(MenuBar, "<main>", ag)
./IceMe.py:637: DeprecationWarning:
callback)
./IceMe.py:661: DeprecationWarning:
self.tb.append_space()
./IceMe.py:684: DeprecationWarning:
self.tb.append_space()
./IceMe.py:699: DeprecationWarning:
self.tb.append_space()
./IceMe.py:708: DeprecationWarning:
self.tb.append_space()
/usr/share/iceWMCP/DndCTree.py:69: DeprecationWarning: use gtk.TreeView
CTree.__init__(self, cols, tree_col, titles)
./IceMe.py:160: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
command_hbox = HBox(FALSE, 5)
./IceMe.py:162: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
command_hbox.pack_start(self.command_button, expand=FALSE, fill=FALSE)
./IceMe.py:186: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
icon_hbox = HBox(FALSE, 5)
./IceMe.py:188: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
icon_hbox.pack_start(self.icon_button, expand=FALSE, fill=FALSE)
./IceMe.py:202: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead
table = Table(2, 6, FALSE)
./IceMe.py:204: Warning: unsupported arithmetic operation for flags type
table.attach(self.name_entry, 1, 2, 0, 1, (EXPAND+FILL))
Traceback (most recent call last):
File "./IceMe.py", line 1327, in <module>
main()
File "./IceMe.py", line 1321, in main
i = IceMe(prefs)
File "./IceMe.py", line 204, in __init__
table.attach(self.name_entry, 1, 2, 0, 1, (EXPAND+FILL))
TypeError: flag values must be strings, ints, longs, or tuples
erika@erika-filippo:/usr/share/iceWMCP$


Rispondi quotando
