Opened 5 years ago

Closed 5 years ago

#1474 closed defect (fixed)

Sahana fails to install due to web2py error

Reported by: kalxas Owned by: live-demo@…
Priority: critical Milestone: OSGeoLive8.5
Component: OSGeoLive Keywords: sahana
Cc: live-demo@…

Description

Similar to sahana, web2py has been used from git master so far, with no tagged releases. Apparently a recent change in master broke our installation:

Traceback (most recent call last):
  File "web2py.py", line 18, in <module>
    import gluon.widget
  File "/usr/local/lib/web2py/gluon/__init__.py", line 29, in <module>
    "You can also download a complete copy from http://www.web2py.com."
RuntimeError: web2py depends on pydal, which apparently you have not installed.
Probably you cloned the repository using git without '--recursive'
To fix this, please run (from inside your web2py folder):

    git submodule init && git submodule update

You can also download a complete copy from http://www.web2py.com.
Traceback (most recent call last):
  File "web2py.py", line 18, in <module>
    import gluon.widget
  File "/usr/local/lib/web2py/gluon/__init__.py", line 29, in <module>
    "You can also download a complete copy from http://www.web2py.com."
RuntimeError: web2py depends on pydal, which apparently you have not installed.
Probably you cloned the repository using git without '--recursive'
To fix this, please run (from inside your web2py folder):

    git submodule init && git submodule update

You can also download a complete copy from http://www.web2py.com.

Change history (2)

comment:1 Changed 5 years ago by kalxas

fix committed in [12336]

comment:2 Changed 5 years ago by kalxas

Resolution: fixed
Status: newclosed

Fix works as expected in nightly 12336

Note: See TracTickets for help on using tickets.