Project

General

Profile

Bug #128

[anki] 86_64 installs but fails to open

encyclomundi - almost 12 years ago - . Updated almost 12 years ago.

Status:
fixed
Priority:
bug
Assignee:
-
% Done:

100%


Description

[cer@gramarye ~]$ anki
Traceback (most recent call last):
File "/usr/bin/anki", line 27, in <module>
ankiqt.run()
File "/usr/lib/python2.7/site-packages/ankiqt/__init__.py", line 183, in run
ui.importAll()
File "/usr/lib/python2.7/site-packages/ankiqt/ui/__init__.py", line 15, in importAll
import facteditor
File "/usr/lib/python2.7/site-packages/ankiqt/ui/facteditor.py", line 9, in <module>
import re, os, sys, tempfile, urllib2, ctypes
File "/usr/lib/python2.7/ctypes/__init__.py", line 10, in <module>
from _ctypes import Union, Structure, Array
ImportError: libffi.so.5: cannot open shared object file: No such file or directory

History

#2

Updated by mtjm almost 12 years ago

What python2 version do you have? This occurred with python2-libre which should be replaced with python2.

#3

Updated by Brendan almost 12 years ago

I think this is caused by newly named packages not specifying that they replace the older one. Often this can't be done because a libre package might be removed in place of the Arch package which we have no control over the PKGBUILD for.
Run:

Pacman -Qm

to find packages that are no longer in the database, and thus probably have been renamed. I did this and found several packages that have been renamed that I didn't know about. I think I recall python being amongst them, and I use Anki myself on Parabola x86_64, so I expect it will be fixed after you install the new python.

#4

Updated by encyclomundi almost 12 years ago

replacing python-libre with python2 fixes the problem.

Also available in: Atom PDF