Error in appadmin (database admin) on python 3

50 views
Skip to first unread message

Kirill Shatalaev

unread,
Aug 6, 2017, 11:07:40 AM8/6/17
to web...@googlegroups.com
Hello, when using python3 and database admin, I got this error:

<class 'NameError'> name 'unicode' is not defined


You need to click on any table name (for example, http://127.0.0.1:8000/welcome/appadmin/select/db?query=db.auth_user.id%3E0).

I think this is python3 unicode -> str specific related trouble.



Leonel Câmara

unread,
Aug 6, 2017, 6:29:34 PM8/6/17
to web2py-users
Looks like a pyDAL bug, there is no "unicode" in the appadmin.

Massimo Di Pierro

unread,
Aug 7, 2017, 10:20:30 AM8/7/17
to web2py-users
please open a ticket in web2py or pydal, I can fix this in either place.

Kirill Shatalaev

unread,
Aug 8, 2017, 5:45:31 AM8/8/17
to web2py-users
#1727 on web2py

понедельник, 7 августа 2017 г., 18:20:30 UTC+4 пользователь Massimo Di Pierro написал:
Reply all
Reply to author
Forward
0 new messages