It should be abspath and should be fixed in master. I plan to release a new version today.
On Friday, 27 October 2023 at 01:28:59 UTC-7 Tom Clerckx wrote: > I believe web2py/gluon/shell.py", line 238 should use os.path.*abspath* > instead of *absdir*? > > Unpacked and ran a clean version of web2py: > > command: python web2py.py -B -S welcome -M > > web2py Web Framework > Created by Massimo Di Pierro, Copyright 2007-2023 > Version 2.25.1-stable+timestamp.2023.10.08.18.44.43 > Database drivers available: sqlite3, imaplib, pymysql, pyodbc > Traceback (most recent call last): > File "/odindrive/temp/web2pytest/web2py/web2py.py", line 58, in <module> > gluon.widget.start() > File "/odindrive/temp/web2pytest/web2py/gluon/widget.py", line 746, in > start > run(options.shell, plain=options.plain, bpython=options.bpython, > File "/odindrive/temp/web2pytest/web2py/gluon/shell.py", line 238, in run > adir = os.path.absdir(os.path.join('applications', a)) > AttributeError: module 'posixpath' has no attribute 'absdir'. Did you > mean: 'isdir'? > -- 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 web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/ce3db034-2211-4803-b4a0-7cfb2a7effffn%40googlegroups.com.