Package: python-extractor
Version: 1:0.5-2
Severity: grave
Justification: renders package unusable
Hi !
I have a very strange behaviour when I try to extract keywords from a file.
Here a pydb strace of the execution of the extract.py example file on a
textlive-pstricks doc distribution pdf file :
$ pydb ./extract.py
/usr/share/doc/texlive-pstricks/generic/pstricks/voss/bsp02.pdf
(/usr/share/doc/python-extractor/examples/extract.py:24):
24 """
(Pydb) n
(/usr/share/doc/python-extractor/examples/extract.py:25):
25 import extractor
(Pydb) n
(/usr/share/doc/python-extractor/examples/extract.py:26):
26 import sys
(Pydb) n
(/usr/share/doc/python-extractor/examples/extract.py:28):
28 xtract = extractor.Extractor()
(Pydb)
(/usr/share/doc/python-extractor/examples/extract.py:29):
29 for arg in sys.argv[1:]:
(Pydb)
(/usr/share/doc/python-extractor/examples/extract.py:30):
30 print "Keywords from %s:" % arg
(Pydb)
Keywords from
/usr/share/doc/texlive-pstricks/generic/pstricks/voss/bsp02.pdf:
(/usr/share/doc/python-extractor/examples/extract.py:31):
31 keys = xtract.extract(arg)
(Pydb) s
--Call level 0
(/var/lib/python-support/python2.4/extractor.py:172): extract
172 def extract(self, filename=None, data=None, size=None):
(Pydb) n
(/var/lib/python-support/python2.4/extractor.py:187): extract
187 if not filename and not (data and size):
(Pydb) n
(/var/lib/python-support/python2.4/extractor.py:189): extract
189 elif filename:
(Pydb) n
(/var/lib/python-support/python2.4/extractor.py:190): extract
190 return self.extractFromFile(filename)
(Pydb) s
----Call level 1
(/var/lib/python-support/python2.4/extractor.py:194): extractFromFile
194 def extractFromFile(self, filename):
(Pydb) n
(/var/lib/python-support/python2.4/extractor.py:229): extractFromFile
229 self.keywords_p =
libextractor.EXTRACTOR_getKeywords(self.extractors, filename)
(Pydb) s
** (process:23365): CRITICAL **: gsf_input_memory_get_type: assertion
`gsf_input_memory_type != 0' failed
(process:23365): GLib-GObject-CRITICAL **: g_object_new: assertion
`G_TYPE_IS_OBJECT (object_type)' failed
** (process:23365): CRITICAL **: gsf_shared_memory_get_type: assertion
`gsf_shared_memory_type != 0' failed
(process:23365): GLib-GObject-CRITICAL **: g_object_new: assertion
`G_TYPE_IS_OBJECT (object_type)' failed
Another strange thing is that I tested the extract on another computer and I
experienced no crash.
So I hesitated between "normal" (because on another computer it does not crash)
and "grave" severity. I choosed the last one because on my computer, it
crashes and render the package unusable ;-)
I hope we will able to find the origin of this problem.
Cheers,
Romain.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.21 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-extractor depends on:
ii libextractor1c2a 0.5.18-3 extracts meta-data from files of a
ii python 2.4.4-6 An interactive high-level object-o
ii python-ctypes 1.0.1-1 Python package to create and manip
ii python-support 0.6.4 automated rebuilding support for p
Versions of packages python-extractor recommends:
ii libextractor-plugins 0.5.18-3 extracts meta-data from files of a
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]