Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem starting mailman after update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
lostinspace2011
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 230

PostPosted: Fri May 13, 2011 5:07 am    Post subject: Problem starting mailman after update Reply with quote

I don't know for how long as I only noticed the problem today, but one of my updated broke mailman. When I try to start it the following message is reported:

Quote:
* Starting mailman ... [ !! ]
* ERROR: mailman failed to start


I investigated and found a problem with the mailmanctl script

Quote:
su - mailman
bin/mailmanctl -s start
File "bin/mailmanctl", line 149
except (IOError, ValueError), e:
^
SyntaxError: invalid syntax


it seems to have a problem with the comma. I tried various permutation of this line with and without comma, but none worked.

Any suggestion on what could be the problem ? I also tried re-installed to no avail. I am using version : 2.1.14 on x86-32
Back to top
View user's profile Send private message
lostinspace2011
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 230

PostPosted: Thu May 26, 2011 10:35 am    Post subject: Reply with quote

I am still having this issue with it not starting correctly. When I run this as root I still get an error in the mailmanctl script.

Quote:
su - mailman -c 'bin/mailmanctl'
File "bin/mailmanctl", line 149
except (IOError, ValueError), e:


Any suggestions ?
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Thu May 26, 2011 11:09 am    Post subject: Reply with quote

Sounds like it's expecting python 2 and you're using python 3 (or the other way round).

What's the output of this command?

Code:
eselect python list

_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
lostinspace2011
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 230

PostPosted: Thu May 26, 2011 12:15 pm    Post subject: Reply with quote

Here you go:

Quote:
bumblebee ~ # eselect python list
Available Python interpreters:
[1] python2.6
[2] python3.1 *
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Thu May 26, 2011 1:06 pm    Post subject: Reply with quote

Lots of things won't work with python 3 yet so you want to run these commands:

Code:
eselect python set python2.6
python-updater

_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
lostinspace2011
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 230

PostPosted: Fri May 27, 2011 10:09 am    Post subject: Reply with quote

Thanks. This fixed my problem.
Back to top
View user's profile Send private message
BizarroJack
n00b
n00b


Joined: 04 Dec 2003
Posts: 29

PostPosted: Thu Jul 07, 2011 1:15 am    Post subject: Reply with quote

tomk wrote:
Lots of things won't work with python 3 yet so you want to run these commands:

Code:
eselect python set python2.6
python-updater


I'm pretty sure an updated ebuild could eliminate the necessity for that, so I filed a bug on it.

https://bugs.gentoo.org/show_bug.cgi?id=374293
_________________
Jack
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum