Hi,

so, this is happening on Macos 10.6x, python is 2.7 and web2py is
latest (although it tells me I have latest, but I also get the active
link to update to latest,...)

Which ever module I use, I get the same error. This example is with
subprocess and the cmd  string is 'python ./blueLite/pyUtils/web/
web2py.py -a blabla'

tried to cd to the directory first, and have the same results.

Just thought of something... I changed the folder name from 'web2py'
to 'web' because I am experimenting with structure and location, that
wouldn't impact, would it?

Thanks for the help! :)

'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "web2py.py", line 4, in <module>
    import os
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/os.py", line 398, in <module>
    import UserDict
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/UserDict.py", line 84, in <module>
    _abcoll.MutableMapping.register(IterableUserDict)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/abc.py", line 109, in register
    if issubclass(subclass, cls):
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/abc.py", line 151, in __subclasscheck__
    if subclass in cls._abc_cache:
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/
python2.7/_weakrefset.py", line 69, in __contains__
    return ref(item) in self.data
TypeError: cannot create weak reference to 'classobj' object



On Apr 15, 10:13 am, "Arun K.Rajeevan" <[email protected]> wrote:
> can you give code segment for option 11
>
> to start web2py without gui, use '--nogui' option

Reply via email to