View previous topic :: View next topic |
Author |
Message |
lostinspace2011 Apprentice
Joined: 09 Sep 2005 Posts: 230
|
Posted: Fri May 13, 2011 5:07 am Post subject: Problem starting mailman after update |
|
|
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 |
|
|
lostinspace2011 Apprentice
Joined: 09 Sep 2005 Posts: 230
|
Posted: Thu May 26, 2011 10:35 am Post subject: |
|
|
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 |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
Posted: Thu May 26, 2011 11:09 am Post subject: |
|
|
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 |
|
|
lostinspace2011 Apprentice
Joined: 09 Sep 2005 Posts: 230
|
Posted: Thu May 26, 2011 12:15 pm Post subject: |
|
|
Here you go:
Quote: | bumblebee ~ # eselect python list
Available Python interpreters:
[1] python2.6
[2] python3.1 *
|
|
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
Posted: Thu May 26, 2011 1:06 pm Post subject: |
|
|
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 |
|
|
lostinspace2011 Apprentice
Joined: 09 Sep 2005 Posts: 230
|
Posted: Fri May 27, 2011 10:09 am Post subject: |
|
|
Thanks. This fixed my problem. |
|
Back to top |
|
|
BizarroJack n00b
Joined: 04 Dec 2003 Posts: 29
|
Posted: Thu Jul 07, 2011 1:15 am Post subject: |
|
|
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 |
|
|
|