You are not logged in.

#1 2009-08-01 15:41:57

Urfaust
Member
From: Germany
Registered: 2009-01-30
Posts: 164

Alunn broken

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

#2 2009-08-02 15:17:41

Gringo
Member
From: The Netherlands
Registered: 2008-07-31
Posts: 37

Re: Alunn broken

I have the same problem. I got this error with a fresh install of alunn in a freshly installed Arch Linux environment.

Offline

#3 2009-08-02 15:20:27

t4k1t
Member
Registered: 2009-07-19
Posts: 123

Re: Alunn broken

Same problem here with a fresh install on 64bit


Who we are is but a stepping stone to what we can become.

Offline

#4 2009-08-04 13:35:01

Stunts
Member
From: Portugal
Registered: 2009-03-28
Posts: 339
Website

Re: Alunn broken

I can confirm this.  I have the exact same problem, just noticed it today.

Offline

#5 2009-08-05 10:18:45

Gralha
Member
From: Brazil
Registered: 2008-09-20
Posts: 7

Re: Alunn broken

I can confirm this too.

Offline

#6 2009-08-05 10:59:20

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: Alunn broken

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

#7 2009-08-05 11:24:26

hbekel
Member
Registered: 2008-10-04
Posts: 311

Re: Alunn broken

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

#8 2009-08-05 14:52:30

Stunts
Member
From: Portugal
Registered: 2009-03-28
Posts: 339
Website

Re: Alunn broken

I have filed a bug report as recomended.

http://bugs.archlinux.org/task/15813

Go vote for it! =-)

Offline

#9 2009-08-05 15:48:17

Urfaust
Member
From: Germany
Registered: 2009-01-30
Posts: 164

Re: Alunn broken

I am not familiar with the Bugtracker, maybe i should change this.:D

Thank you guys.

Offline

#10 2009-08-05 16:32:06

Gringo
Member
From: The Netherlands
Registered: 2008-07-31
Posts: 37

Re: Alunn broken

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

#11 2009-08-05 16:34:23

kensai
Member
From: Puerto Rico
Registered: 2005-06-03
Posts: 2,484
Website

Re: Alunn broken

I don't know why I read that as allan brokeit


Follow me in: Identi.ca, Twitter, Google+

Offline

#12 2009-08-16 16:45:07

drag0nl0rd
Package Maintainer (PM)
From: Czech Republic
Registered: 2007-10-24
Posts: 127
Website

Re: Alunn broken

Stunts wrote:

I have filed a bug report as recomended.

http://bugs.archlinux.org/task/15813

Go vote for it! =-)

Sorry for the trouble. Works now again.

Offline

#13 2009-08-17 07:42:15

Stunts
Member
From: Portugal
Registered: 2009-03-28
Posts: 339
Website

Re: Alunn broken

Not a problem! I'm, glad I could help.
By the way - Alunn is great. Thanks for making it.

Offline

Board footer

Powered by FluxBB