FS#12170 - pystatgrab crashing after python update

Attached to Project: Community Packages
Opened by Łukasz Fidosz (Luk4sz) - Tuesday, 18 November 2008, 10:34 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Sunday, 30 November 2008, 13:16 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When I try to use pystatgrab i have error like that:

>>> import statgrab
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/statgrab.py", line 23, in <module>
import _statgrab
ImportError: libpython2.5.so.1.0: cannot open shared object file: No such file or directory
>>>

Adding symlink:
ln -s /usr/lib/libpython2.6.so /usr/lib/libpython2.5.so.1.0
solved the problem, so maybe it should be in python package by default?

Additional info:
* package version(s)
pystatgrab 0.5-1
python: 2.6-2
* config and/or log files etc.


Steps to reproduce:
try t
This task depends upon

Closed by  Jaroslav Lichtblau (Dragonlord)
Sunday, 30 November 2008, 13:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  Package rebuilt.
Comment by Jaroslav Lichtblau (Dragonlord) - Saturday, 29 November 2008, 15:00 GMT
Can you be more specific how to reproduce this, please? Running 'saidar' and 'statgrab' doesn't give me any error and does what it's suppose to do (my i686 box). Thx.
Comment by Łukasz Fidosz (Luk4sz) - Saturday, 29 November 2008, 15:17 GMT
But try to use statgrab in python, so type 'python' and then write 'import statgrab' in python interactive console:)
Comment by Jaroslav Lichtblau (Dragonlord) - Saturday, 29 November 2008, 15:59 GMT
This just jumps on a new line, no output, no error message. What architecture do you use?
Comment by Łukasz Fidosz (Luk4sz) - Sunday, 30 November 2008, 12:22 GMT
architecture i686 :)

[virhilo@hpek ~]$ python
Python 2.6 (r26:66714, Oct 27 2008, 10:50:31)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pystatgrab
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named pystatgrab
>>> import statgrab
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/statgrab.py", line 23, in <module>
import _statgrab
ImportError: libpython2.5.so.1.0: cannot open shared object file: No such file or directory
>>>
KeyboardInterrupt
>>>
[virhilo@hpek ~]$ pacman -Qs python
local/beautiful-soup 3.0.7a-2
A Python HTML/XML parser designed for quick turnaround projects like screen-scraping
local/dbus-python 0.83.0-2
Python bindings for DBUS
local/django 1.0.2-1
A high-level Python Web framework.
local/eclipse-pydev 1.3.24-1
Plugin for using Eclipse as a Python IDE
local/eric 4.2.3-1
A full-featured Python IDE that is written in PyQt4 using the QScintilla2 editor widget
local/pycairo 1.6.4-2
Python bindings for the cairo graphics library
local/pygobject 2.15.4-2
Python bindings for GObject
local/pygtk 2.13.0-2
Python bindings for the GTK widget set
local/pykde 3.16.1-1
PyKDE is a set of Python bindings for the KDE desktop environment.
local/pyqt 4.4.4-1
PyQt is a set of Python bindings for the Qt toolkit.
local/pyqt3 3.17.6-1
PyQt is a set of Python bindings for the Qt toolkit.
local/pyrex 0.9.8.5-1
Language for writing Python extension modules
local/pystatgrab 0.5-1
Python bindings for libstatgrab
local/python 2.6-2
A high-level scripting language
local/python-clientform 0.2.9-2
Python module for handling HTML forms on the client side.
local/python-lxml 2.1.2-2
Python binding for the libxml2 and libxslt libraries
local/python-mechanize 0.1.9-1
Stateful programmatic web browsing in Python
local/python-numeric 24.2-3
Numerical Python adds a fast array facility to the Python language.
local/python-pybluez 0.15-2
Python wrapper for the BlueZ Bluetooth stack
local/python-pychm 0.8.4-2
Python bindings for CHMLIB
local/python-pypdf 1.10-1
A Pure-Python library built as a PDF toolkit
local/python-qscintilla 2.3.2-1
Python bindings for QScintilla2
local/python-reportlab 2.2-2
A proven industry-strength PDF generating solution
local/python-simplejson 2.0.1-1
Simple, fast, extensible JSON encoder/decoder for Python
local/pyxml 0.8.4-5
Python XML parsing library.
local/setuptools 0.6c9-2
setuptools is a collection of enhancements to the Python distutils
local/sip 4.7.9-1
A tool that makes it easy to create Python bindings for C and C++ libraries.
[virhilo@hpek ~]$

Loading...