Cannot add file into sepentine.
Eric L. Chen
d9364104 at mail.nchu.edu.tw
Mon Dec 17 20:39:11 PST 2007
Hi,
I cannot add any file into sepentine's playlist.
Here:
"/usr/local/lib/python2.5/site-packages/serpentine/plugins/plugfilter_plparser.py", line 39, in filter_location
p.connect("entry", self.__on_pl_entry, hints_list)
TypeError: <totem.plparser.Parser object at 0x2ac35b6c (TotemPlParser at
0x2be98750)>: unknown signal name: entry
I did a workaround for now. If you cannot wait official fix.
-----------------------------------
diff -urN
ports/sysutils/serpentine/files/patch-serpentine::plugins::plugfilter_plparser.py ports/sysutils/serpentine/files/patch-serpentine::plugins::plugfilter_plparser.py
---
ports/sysutils/serpentine/files/patch-serpentine::plugins::plugfilter_plparser.py 1970-01-01 08:00:00.000000000 +0800
+++
ports/sysutils/serpentine/files/patch-serpentine::plugins::plugfilter_plparser.py 2007-12-18 12:14:07.000000000 +0800
@@ -0,0 +1,11 @@
+--- serpentine/plugins/plugfilter_plparser.py 2007-12-18
12:10:28.000000000 +0800
++++ serpentine/plugins/plugfilter_plparser.py 2007-12-18
12:10:50.000000000 +0800
+@@ -36,7 +36,7 @@
+ def filter_location (self, location):
+ hints_list = []
+ p = plparser.Parser()
+- p.connect("entry", self.__on_pl_entry, hints_list)
++ p.connect("entry-parsed", self.__on_pl_entry, hints_list)
+ if p.parse(location, False) == plparser.PARSER_RESULT_SUCCESS:
+ return hints_list
+
More information about the freebsd-gnome
mailing list