Most of the time ticket unknown is the results of bad permissions settings
if I recall..

Richard

On Tue, Aug 8, 2017 at 7:01 AM, 黄祥 <steve.van.chris...@gmail.com> wrote:

> Internal error
>
> Ticket issued: unknown
>
> *error shown in terminal (previous version shown in appadmin errors)*
> ERROR:web2py:Traceback (most recent call last):
>   File "/Users/MacBookPro/site/web2py/gluon/restricted.py", line 219, in
> restricted
>     exec(ccode, environment)
>   File "/Users/MacBookPro/site/web2py/applications/scaffold/models/db.py",
> line 25, in <module>
>     check_reserved = ['all'])
>   File "/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/base.py",
> line 170, in __call__
>     obj = super(MetaDAL, cls).__call__(*args, **kwargs)
>   File "/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/base.py",
> line 475, in __init__
>     "Failure to connect, tried %d times:\n%s" % (attempts, tb)
> RuntimeError: Failure to connect, tried 5 times:
> Traceback (most recent call last):
>   File "/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/base.py",
> line 455, in __init__
>     self._adapter = adapter(**kwargs)
>   File 
> "/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/adapters/__init__.py",
> line 40, in __call__
>     obj = super(AdapterMeta, cls).__call__(*args, **kwargs)
>   File 
> "/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/adapters/base.py",
> line 368, in __init__
>     super(SQLAdapter, self).__init__(*args, **kwargs)
>   File 
> "/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/adapters/base.py",
> line 52, in __init__
>     self.reconnect()
>   File "/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/connection.py",
> line 152, in reconnect
>     self.connection = self.connector()
>   File 
> "/Users/MacBookPro/site/web2py/gluon/packages/dal/pydal/adapters/sqlite.py",
> line 42, in connector
>     return self.driver.Connection(self.dbpath, **self.driver_args)
> OperationalError: unable to open database file
>
> test using web2py scaffold (vue js + whoosh) appconfig.ini taken from
> welcome scaffolding app
>
> *solution*
> create databases folder
>
> 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 web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to