Fixed it now in trunk. thanks for reporting this. On Monday, 13 August 2018 11:08:59 UTC-7, sandeep patel wrote: > > Hello, > > This was working with 2.16 and python3 but in 2.17.1 I get an error. > > <class 'NameError'> name 'unicode' is not definedVersion > web2py™ Version 2.17.1-stable+timestamp.2018.08.06.01.02.56 > Python Python 3.6.2: C:\Program Files\Python36\python.exe (prefix: > C:\Program Files\Python36)Traceback > > 1. > 2. > 3. > 4. > 5. > 6. > 7. > 8. > 9. > 10. > 11. > 12. > 13. > 14. > > Traceback (most recent call last): > File "C:\web2py\gluon\restricted.py", line 219, in restricted > exec(ccode, environment) > File "C:/web2py/applications/institute/controllers/plugin_ckeditor.py" > <https://sandeep.smartyari.com/admin/default/edit/institute/controllers/plugin_ckeditor.py>, > line 72, in <module> > File "C:\web2py\gluon\globals.py", line 421, in <lambda> > self._caller = lambda f: f() > File "C:/web2py/applications/institute/controllers/plugin_ckeditor.py" > <https://sandeep.smartyari.com/admin/default/edit/institute/controllers/plugin_ckeditor.py>, > line 9, in upload > mime_type) = current.plugin_ckeditor.handle_upload() > File "C:\web2py\applications\institute\modules\plugin_ckeditor.py", line > 112, in handle_upload > else: > File "C:\web2py\gluon\packages\dal\pydal\objects.py", line 1755, in store > dest_file = self.uploadfs.open(unicode(newfilename), 'wb') > NameError: name 'unicode' is not defined > > Error snapshot [image: help] > <https://sandeep.smartyari.com/admin/default/ticket/institute/43.239.145.103.2018-08-13.23-15-08.2cc6bf3b-ebe1-453e-8c68-1d02401e1224#> > > NameError(name 'unicode' is not defined) > > Thanks > Sandeep >
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

