You are not logged in.
Pages: 1
Hi,
alunn seems to be broken on my system since the last update. alunnconf runs fine but when I call alunn from terminal I get:
─>alunn
Traceback (most recent call last):
File "/usr/bin/alunn", line 21, in <module>
from alunn.log import *
ImportError: No module named alunn.log
Can't find anything on the forums or the alunn website. Does anyone know what's going on? It worked fine until last week or something.
Offline
I have the same problem. I got this error with a fresh install of alunn in a freshly installed Arch Linux environment.
Offline
Same problem here with a fresh install on 64bit
Who we are is but a stepping stone to what we can become.
Offline
I can confirm this. I have the exact same problem, just noticed it today.
Offline
I can confirm this too.
Offline
you should report bugs on the bug tracker not in the forums . On the forum it gets lost and the maintainer doesnt get the message . But on the bugtracker he get's it .:)
Offline
alunn installs into /usr/lib/python2.5/site-packages/. Current python version is 2.6. So python will look for the imported files in the wrong place. You'll have to adjust the package to install the relevant files into /usr/lib/python2.6/site-packages
Simple fix:
cp -r /var/abs/community/alunn ~/build
cd ~/build/alunn
makepkg -o
cd src/alunn-0.7.13/
emacs install.sh
change the first line to
PYDEST=/usr/lib/python2.6/site-packages/
then
cd ~/build/alunn
makepkg -e
pacman -U alunn-0.7.13-1-i686.pkg.tar.gz
Please Note: I have no idea whether this fix is proper. In any case the pkgbuild should use sed or a patch for this (if it is correct to do this at all). I don't use alunn myself, and I have only checked that it loads successfully. Chances are it'll still fail to work, since alunn seems to expect python2.5.
In any case you should file a bug for this package, contact the package maintainer and/or the upstream author (since the author offers arch packages on the project website). Maintainers don't necessarily read this forum.
EDIT:
If you don't want to rebuild the package, use
PYTHONPATH="/usr/lib/python2.5/site-packages" alunn
as a workaround to help alunn find the files it tries to import. This seems to work.
Last edited by hbekel (2009-08-05 15:08:36)
Offline
Offline
I am not familiar with the Bugtracker, maybe i should change this.:D
Thank you guys.
Offline
hbekel, your fix worked. I copied the alunn directory from abs. Then I did 'makepkg'. Then I edited the install.sh as you said. Then I had to do 'makepkg -ef' instead of 'makepkg -e'. After that, I just installed with 'pacman -U $(packagename)' as you said.
Thanks a lot! Alunn is a fantastic program.
Offline
Sorry for the trouble. Works now again.
Offline
Not a problem! I'm, glad I could help.
By the way - Alunn is great. Thanks for making it.
Offline
Pages: 1