ok that makes sense! thank you guys ;) you are great! peter
On 5 Apr., 00:01, Mathew Grabau <grabau....@gmail.com> wrote: > The way that I read that bug report, the problem is that it is an > error in Python 2.5 that it works; the (at the time) beta of Python > 2.6 was patched to make it fail. > > The behaviour that you are witnessing is therefore correct (and it > makes sense - why should you give two values to the same keyword > argument and get away with it). > > On Apr 4, 4:00 pm, pk <peter.kirch...@youngdesigners.de> wrote: > > > > > > > > > here is a link of the bug:http://bugs.python.org/issue3219 > > > On 4 Apr., 23:00, pk <peter.kirch...@youngdesigners.de> 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 <massimo.dipie...@gmail.com> > > > 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 <peter.kirch...@youngdesigners.de> 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