Opened 12 years ago

Closed 12 years ago

#960 closed defect (fixed)

Sahana demo not working

Reported by: kalxas Owned by: live-demo@…
Priority: normal Milestone: OSGeoLive6.0RC1
Component: OSGeoLive Keywords: 6.0, sahana
Cc: live-demo@…, flavour

Description

This is new to beta4. Probably we broke something while cleaning space up.

Change History (3)

comment:1 by hamish, 12 years ago

Cc: flavour added
Keywords: sahana added

see http://lists.osgeo.org/pipermail/live-demo/2012-July/005628.html

...
Cloning into 'web2py'...
./install_sahana.sh: 145: cd: can't cd to eden
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
Cloning into 'eden'...
Note: checking out 'c62909947dc12530c65563dace8a87def93f962f'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at c629099... Restrict access to req_match & hide commit tab if req_use_commit=False
HEAD is now at c629099 Restrict access to req_match & hide commit tab if req_use_commit=False
chown: cannot access `/usr/local/lib/web2py/applications/admin/cache': No such file or directory

WARNING: S3Msg unresolved dependency: tweepy required for non-Tropo Twitter support
WARNING: Survey unresolved dependency: PyRTF required if you want to export assessment templates as a Word document
DEBUG: connect attempt 0, connection error:
Traceback (most recent call last):
  File "/usr/local/lib/web2py/gluon/dal.py", line 6481, in __init__
    self._adapter = ADAPTERS[self._dbname](*args)
  File "/usr/local/lib/web2py/gluon/dal.py", line 2265, in __init__
    self.pool_connection(connect)
  File "/usr/local/lib/web2py/gluon/dal.py", line 526, in pool_connection
    self.connection = f()
  File "/usr/local/lib/web2py/gluon/dal.py", line 2264, in connect
    return self.driver.connect(msg,**driver_args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect
    connection_factory=connection_factory, async=async)
OperationalError: FATAL:  password authentication failed for user "sahana"
FATAL:  password authentication failed for user "sahana"

[and a bunch more like that]

...
Traceback (most recent call last):
  File "web2py.py", line 25, in <module>
    gluon.widget.start(cron=True)
  File "/usr/local/lib/web2py/gluon/widget.py", line 926, in start
    import_models=options.import_models, startfile=options.run)
  File "/usr/local/lib/web2py/gluon/shell.py", line 198, in run
    _env = env(a, c=c, f=f, import_models=import_models)
  File "/usr/local/lib/web2py/gluon/shell.py", line 131, in env
    run_models_in(environment)
  File "/usr/local/lib/web2py/gluon/compileapp.py", line 510, in run_models_in
    restricted(code, environment, layer=model)
  File "/usr/local/lib/web2py/gluon/restricted.py", line 205, in restricted
    exec ccode in environment
  File "applications/eden/models/00_db.py", line 76, in <module>
    raise(HTTP(503, "Cannot connect to %s Database: %s" % (db_type, db_location)))
gluon.http.HTTP: 503 SERVICE UNAVAILABLE

Hamish

comment:2 by kalxas, 12 years ago

Priority: criticalnormal

fixed by flavour in [8318] and confirmed by me on beta4. I will keep this open until next build.

comment:3 by kalxas, 12 years ago

Resolution: fixed
Status: newclosed

fix confirmed in beta5

Note: See TracTickets for help on using tickets.