AttributeError: 'module' object has no attribute 'main'

Asked by anonym

Hey,

Trying to launch LottaNZB after installing the .deb file from the website on Ubuntu Gusty Gibbon 7.10 and nothing happens so I go to the terminal and type in lottanzb and theres some error code below also included is my attempt to launch hellanzb from the terminal and that happens without error.

TERMINAL OUTPUT:
______________________________________________________________________

user@user-desktop:~$ lottanzb
Traceback (most recent call last):
  File "/usr/bin/lottanzb", line 8, in <module>
    lottanzb.main()
AttributeError: 'module' object has no attribute 'main'

user@user-desktop:~$ hellanzb

hellanzb v0.13 (config = /etc/hellanzb.conf)
(changeme) Opening 4 connections...
hellanzb - Now monitoring queue...

______________________________________________________________________

Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
LottaNZB Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Severin H (severinh) said :
#1

Do you happen to have an older version of LottaNZB still installed on your system? Try to run:

sudo rm -R /usr/lib/python2.5/site-packages/lottanzb-0.*

Upgrading using a .deb package while still having a source installation (performed using python setup.py install) on the system usually leads to conflicts between the two, because the .deb package doesn't replace the manually installed version.

Revision history for this message
Severin H (severinh) said :
#2

Please let me know if this solves your problem. Thanks in advance.

Revision history for this message
bugmenot (bugmenot) said :
#3

Thankyou very much Severin Heiniger that terminal command you provided worked perfectly !!! If it isn't too much trouble have you got a link to the GTK theme that is shown in the LottaNZB 0.3 screenshots ?? Also what font is it ?? ... thankyou very much for a very nice app !!!

Revision history for this message
bugmenot (bugmenot) said :
#4

Oh and thats me that asked the answer .. just different usernames.

Can you help with this problem?

Provide an answer of your own, or ask anonym for more information if necessary.

To post a message you must log in.