I created another instance of web2py, installing from sources.
I copied over my 2 applications.
I updated the 3 2.7.4 files (actually a second or third time).
I copied over my router.py.

Now, the admin UI works in its entirety.  One step forward.

But, my own applications don't run (welcome does run).  One step backward.

The privileges vary because the applications came from different places:
admin:  group=staff (default for os x), rwxrwxr-x  this works
try:  (my "front door" app)  group=staff, rwxr-xr-x  this doesn't work
pyjokes: group=staff, rwxrwxrwx (wide open) this doesn't work

(By the way, the owner in all three cases is 'me'.)

Given that all 3 sets of privileges are so similar and sufficiently open 
(too open...), this doesn't seem to be the issue.

But, since the admin ui works I can now see the tickets.  A baby step 
forward.

Here is one for the gateway application 'try':
Error ticket for "try"Ticket ID

127.0.0.1.2013-11-16.12-32-46.307519d1-58da-496a-ad56-f68535e14e0f
<type 'exceptions.RuntimeError'> Failure to connect, tried 5 times: 
Traceback (most recent call last): File 
"/Users/lewislevin/Dropbox/web2py_new/gluon/dal.py", line 7562, in __init__ 
self._adapter = ADAPTERS[self._dbname](**kwargs) File 
"/Users/lewislevin/Dropbox/web2py_new/gluon/dal.py", line 2713, in __init__ 
if do_connect: self.reconnect() File 
"/Users/lewislevin/Dropbox/web2py_new/gluon/dal.py", line 606, in reconnect 
self.connection = f() File 
"/Users/lewislevin/Dropbox/web2py_new/gluon/dal.py", line 2711, in 
connector return self.driver.connect(msg,**driver_args) File 
"/Users/lewislevin/Dropbox/web2py_new/gluon/contrib/pg8000/dbapi.py", line 
752, in connect password=password, socket_timeout=socket_timeout, ssl=ssl) 
File "/Users/lewislevin/Dropbox/web2py_new/gluon/contrib/pg8000/dbapi.py", 
line 483, in __init__ self.conn = interface.Connection(**kwargs) File 
"/Users/lewislevin/Dropbox/web2py_new/gluon/contrib/pg8000/interface.py", 
line 539, in __init__ raise InterfaceError("communication error", e) 
InterfaceError: ('communication error', error(61, 'Connection refused'))
Versionweb2py™Version 2.7.4-stable+timestamp.2013.10.14.15.16.29PythonPython 
2.7.6: /Users/lewislevin/anaconda/bin/python (prefix: 
/Users/lewislevin/anaconda)


This looks like an attempt to connect to DAL fails.  I have no idea why 
this would be occurring.  Could there be some problem with sqlite?  Could 
the databases have failed to copy over properly.  Could the database files 
be open?


This really shouldn't be this hard. 

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to