Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2007 12:23:17 +0800
From:      "Eric L. Chen" <d9364104@mail.nchu.edu.tw>
To:        freebsd-gnome@freebsd.org
Subject:   Cannot add file into sepentine.
Message-ID:  <1197951797.57414.4.camel@localhost>

next in thread | raw e-mail | index | archive | help
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
+     





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1197951797.57414.4.camel>