Re: [Samba] Gentoo Linux-installed Samba 4 alpha 21 getting python error

2012-06-14 Thread Bjoern Baumbach
On 06/14/2012 05:56 AM, Amitay Isaacs wrote:
> On Fri, Jun 8, 2012 at 6:19 AM, John Dekowski  wrote:
>> > I installed the Samba 4 alpha 21 using the Samba 4 alpha 20 ebuild as a
>> > template:
>> >
>> > When I try to run the samba-tool command, I keep getting
>> >
>> > *Code:*File "/usr/bin/samba-tool", line 38
>> >except SystemExit, e:
>> > ^
>> > SyntaxError: invalid syntax
> What version of python are you using? Samba requires python 2.x and not 3.x.

Please use "eselect python list" to check your python version.

python2.7 is working for me.

In some cases you need to run "python-updater".

Björn

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kont...@sernet.de
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Gentoo Linux-installed Samba 4 alpha 21 getting python error

2012-06-13 Thread Amitay Isaacs
On Fri, Jun 8, 2012 at 6:19 AM, John Dekowski  wrote:
> I installed the Samba 4 alpha 21 using the Samba 4 alpha 20 ebuild as a
> template:
>
> When I try to run the samba-tool command, I keep getting
>
> *Code:*File "/usr/bin/samba-tool", line 38
>    except SystemExit, e:
>                     ^
> SyntaxError: invalid syntax

What version of python are you using? Samba requires python 2.x and not 3.x.

Amitay.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba