tested latest commit 151 on docker ubuntu 
*problem*
dont have web3py/apps/__init__.py

*solution*
touch web3py/apps/__init__.py

*steps*
apt install -y git python3-pip
pip3 install git+https://github.com/web2py/web3py --upgrade
git clone https://github.com/web2py/web3py
python3 -c "from pydal.validators import CRYPT; 
open('password.txt','w').write(str(CRYPT()('a' )[0] ) )"
web3py-start -p ./password.txt -a 0.0.0.0:8000 /web3py/apps

*result (ended with web server not starting)*
Traceback (most recent call last):
  File "/usr/local/bin/web3py-start", line 11, in <module>
    load_entry_point('web3py==0.1.20190426', 'console_scripts', 
'web3py-start')()
  File "/usr/local/lib/python3.6/dist-packages/web3py/core.py", line 717, in 
main
    Reloader.import_apps()
  File "/usr/local/lib/python3.6/dist-packages/web3py/core.py", line 600, in 
import_apps
    module = importlib.machinery.SourceFileLoader('apps', path).load_module
()
  File "<frozen importlib._bootstrap_external>", line 399, in 
_check_name_wrapper
  File "<frozen importlib._bootstrap_external>", line 823, in load_module
  File "<frozen importlib._bootstrap_external>", line 682, in load_module
  File "<frozen importlib._bootstrap>", line 265, in _load_module_shim
  File "<frozen importlib._bootstrap>", line 684, in _load
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
  File "<frozen importlib._bootstrap_external>", line 780, in get_code
  File "<frozen importlib._bootstrap_external>", line 832, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 
'/web3py/apps/__init__.py'

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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/ea6371ac-d65f-4999-9417-9c800e998d7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to