On Sat, 4 Sept 2021 at 03:10, David Billsbrough <
dbills...@gmail.com> wrote:
> I have 'almost' setup a copy of 'Eden' from an AWS image.
You don't say what process you followed.
Was it this one?:
https://eden.sahanafoundation.org/wiki/InstallationGuidelines/Amazon
> When I attempt to launch 'webpy' as a web server
What do you mean here?
For production installs, our installation scripts launch a real web
server, which loads web2py via WSGI.
Is this the WebSetup co-app from our scripts? If so, then it should
launch web2py for you
> I have been errors about S3base or
> S3model not being something happy!
> Traceback (most recent call last):
> File "/home/web2py/gluon/restricted.py", line 219, in restricted
> exec(ccode, environment)
> File "/home/web2py/applications/eden/models/00_db.py", line 87, in <module>
> import s3 as s3base
> File "/home/web2py/gluon/custom_import.py", line 59, in custom_importer
> return NATIVE_IMPORTER(name, globals, locals, fromlist, level)
> File "/usr/local/lib/python3.7/dist-packages/s3/__init__.py", line 1, in <module>
> from .s3 import *
> File "/home/web2py/gluon/custom_import.py", line 87, in custom_importer
> return NATIVE_IMPORTER(name, globals, locals, fromlist, level)
> File "/usr/local/lib/python3.7/dist-packages/s3/s3.py", line 253
> except Exception, e:
Unfortunately this isn't a very helpful error message.
If you didn't use our installation scripts, then I guess this is a
missing dependency.
The most critical ones are:
apt-get install -y python3-dateutil python3-lxml
pip install shapely
> admin@eden:~$ uname -a
> Linux eden 4.19.0-17-cloud-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux
> admin@eden:~$ python -V
> Python 3.7.3
This is fine
Best Wishes,
Fran.