Hi all, I've just updated web2py to trunk and it seems that wiki _create is 
broken. I got this ticket:

Traceback (most recent call last):
  File "/home/paolo/Dropbox/git/web2py/gluon/restricted.py", line 212, in 
restricted
    exec ccode in environment
  File 
"/home/paolo/Dropbox/git/web2py/applications/vtraffic/controllers/default.py" 
<http://127.0.0.1:8000/admin/default/edit/vtraffic/controllers/default.py>, 
line 399, in <module>
  File "/home/paolo/Dropbox/git/web2py/gluon/globals.py", line 193, in <lambda>
    self._caller = lambda f: f()
  File 
"/home/paolo/Dropbox/git/web2py/applications/vtraffic/controllers/default.py" 
<http://127.0.0.1:8000/admin/default/edit/vtraffic/controllers/default.py>, 
line 18, in wiki
    return auth.wiki(render='html')
  File "/home/paolo/Dropbox/git/web2py/gluon/tools.py", line 3344, in wiki
    wiki = self._wiki()
  File "/home/paolo/Dropbox/git/web2py/gluon/tools.py", line 4903, in __call__
    return self.create()
  File "/home/paolo/Dropbox/git/web2py/gluon/tools.py", line 5093, in create
    '%(slug)s')),
  File "/home/paolo/Dropbox/git/web2py/gluon/validators.py", line 464, in 
__init__
    (ktable, kfield) = str(field).split('.')
ValueError: need more than 1 value to unpack

I moved back to 2.3.2 and my app worked well. 
I've tried truck with the welcome app adding the following code:
def wiki():
    return auth.wiki(render='html')
and I got the same error. What's wrong?

Paolo

-- 



Reply via email to