i've followed the steps but end it with an error occured :
*running run_iochat.py from terminal*
(site)MacBook:~ MacBookPro$ python ~/site/web2py/run_iochat.py
Traceback (most recent call last):
File "/Users/MacBookPro/site/web2py/run_iochat.py", line 8, in <module>
from gluon.main import wsgibase
File "/Users/MacBookPro/site/web2py/gluon/main.py", line 121, in <module>
raise RuntimeError("Cannot determine web2py version")
RuntimeError: Cannot determine web2py version
*when tried to access from web2py site*
Traceback (most recent call last):
File "/Users/MacBookPro/site/web2py/gluon/restricted.py", line 227, in
restricted
exec ccode in environment
File "/Users/MacBookPro/site/web2py/applications/iochat/models/db.py"
<http://127.0.0.1:8000/admin/default/edit/iochat/models/db.py>, line 14, in
<module>
import chat
File "/Users/MacBookPro/site/web2py/gluon/custom_import.py", line 85, in
custom_importer
modules_prefix, globals, locals, [itemname], level)
File "applications/iochat/modules/chat.py", line 8, in <module>
from gluon.dal import DAL, BaseAdapter, Field
ImportError: cannot import name BaseAdapter
any idea or solution for this?
thanks and best regards,
stifan
--
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.