here is a link of the bug:
http://bugs.python.org/issue3219



On 4 Apr., 23:00, pk <[email protected]> wrote:
> hmmm, but i some blogs the people means, that should be a bug in
> python 2.6.
>
> this is my code (line 58):
>
> <div class="portfolio">
>     <p><img src="{{=URL('static','images/bewertung.png')}}" alt="WOGRA
> Consulting - Bewertung"/></p>
>     <div class="clear"></div>
> </div>
>
> On 4 Apr., 22:53, Massimo Di Pierro <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > This looks like a user error something like
>
> > f(a=1,a=2)
>
> > look into the ticket for line 58 of /var/www/web2py/applications/
> > Kundenportal/views/bewertung/mitarbeiter.html after conversion to .py
>
> > On Apr 4, 3:47 pm, pk <[email protected]> wrote:
>
> > > hi together,
>
> > > on my local system (i use python 2.5) all works fine.
> > > but since i installed my app on the webserver (python 2.6.6)
> > > i get the follow error:
>
> > > 88.64.63.144.2011-04-04.21-57-50.b68db5d8-aa6c-497c-93f4-f596f726dbc4
> > > Version
> > > web2py™       Version 1.94.6 (2011-03-27 18:20:38)
> > > Python  Python 2.6.6: /usr/bin/python2.6
>
> > > Traceback (most recent call last):
> > >   File "/var/www/web2py/gluon/restricted.py", line 186, in restricted
> > >     ccode = compile2(code,layer)
> > >   File "/var/www/web2py/gluon/restricted.py", line 173, in compile2
> > >     return compile(code.rstrip().replace('\r\n','\n')+'\n', layer,
> > > 'exec')
> > >   File "/var/www/web2py/applications/Kundenportal/views/bewertung/
> > > mitarbeiter.html", line 58
> > >     <div class="portfolio">
> > > SyntaxError: keyword argument repeated
>
> > > have somebody an idea what i have to do now?
> > > thanks for your help!
>
> > > peter

Reply via email to