LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   error running bitpim (https://www.linuxquestions.org/questions/fedora-35/error-running-bitpim-773862/)

mepenn 12-06-2009 06:32 PM

error running bitpim
 
FC11/kde
$ bitpim
zipimport.ZipImportError: not a Zip file: '/usr/lib/BitPim-1.0.6/bitpim'
Fatal Python error: cannot get zipimporter instance
Aborted
[Michael@Acer ~]$ rpm -q bitpim
bitpim-1.0.6-0.i386
[Michael@Acer ~]$

knudfl 12-07-2009 05:40 AM

1 Attachment(s)
Fedora 11 : 'bitpim' opens a nice GUI here.

The only issue, I had, a missing libexpat.so.0,
was solved this way :
1) cd /lib/
2) su
3) ln -s libexpat.so.1.5.2 libexpat.so.0

.. And I can't remove all python stuff, to trace which package
is required to run 'bitpim'. The command 'locate zipimport'
shows nothing. ( The most zipimport stuff is in 'python-devel',
which I removed, to see, what happened.)

So bitpim seems to run OK with the installed python packages, so far.
.....
.....
EDIT 0 : But when I reinstalled ... : yum install python-devel
These new updates were installed :
(1/9): pycairo-devel-1.8.2-2.fc11.i586.rpm
(2/9): pygtk2-2.14.1-2.fc11.i586.rpm
(3/9): pygtk2-codegen-2.14.1-2.fc11.i586.rpm
(4/9): pygtk2-devel-2.14.1-2.fc11.i586.rpm
(5/9): pygtk2-doc-2.14.1-2.fc11.noarch.rpm
(6/9): pygtk2-libglade-2.14.1-2.fc11.i586.rpm
(7/9): python-2.6-9.fc11.i586.rpm
(8/9): python-devel-2.6-9.fc11.i586.rpm
(9/9): python-libs-2.6-9.fc11.i586.rpm

.. And then : the exact same error as you have.
So 'bitpim' isn't working with these the latest Fedora updates.
.....
EDIT 1 : And reverting to the old packages did not change the error.
Probably pure luck that it worked by the first try !

EDIT EDIT 2 : The good news ... bitpim-1.0.7.20090805-0.i386.rpm works.
Also with the new updated 'python's.
http://sourceforge.net/projects/bitp...6.rpm/download
.....


All times are GMT -5. The time now is 12:14 AM.