You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed sandman from the current git (because of #106) in a venv based on Python3.4 on an i386 Debian Jessie system. When starting sandmanctl with the chinook database (sqlite version 3.8.7.1-1+deb8u1), no endpoints show up (same with a custom database and with custom sandman code):
(venv) $ sqlite3 Chinook_Sqlite.sqlite
SQLite version 3.8.7.1 2014-10-29 13:59:56
Enter ".help" for usage hints.
sqlite> .tables
Album Employee InvoiceLine PlaylistTrack
Artist Genre MediaType Track
Customer Invoice Playlist
sqlite>
(venv) $ sandmanctl --port 4999 sqlite:///Chinook_Sqlite.sqlite
venv/lib/python3.4/site-packages/click/core.py:822: Warning: Invoked legacy parameter callback "<function print_version at 0xb660f854>". The new signature for such callbacks starting with click 2.0 is (ctx, param, value).
value, args = param.handle_parse_result(ctx, opts, args)
* Running on http://0.0.0.0:4999/ (Press CTRL+C to quit)
* Restarting with stat
venv/lib/python3.4/site-packages/click/core.py:822: Warning: Invoked legacy parameter callback "<function print_version at 0xb65f6854>". The new signature for such callbacks starting with click 2.0 is (ctx, param, value).
value, args = param.handle_parse_result(ctx, opts, args)
127.0.0.1 - - [12/Jun/2015 15:17:47] "GET / HTTP/1.1" 304 -
127.0.0.1 - - [12/Jun/2015 15:17:54] "GET /Album HTTP/1.1" 404 -
127.0.0.1 - - [12/Jun/2015 15:17:54] "GET /static/css/bootstrap.min.css HTTP/1.1" 415 -
The text was updated successfully, but these errors were encountered:
The problem is that sqlite relative path URLs don't work, while absolute paths do:
# Fails
sandmanctl --port 4999 sqlite:///Chinook_Sqlite.sqlite
# Works
sandmanctl --port 4999 sqlite:////abs/path/to/Chinook_Sqlite.sqlite
# The database is in the local directory, where it should be:
ls Chinook_Sqlite.sqlite
Chinook_Sqlite.sqlite
I installed sandman from the current git (because of #106) in a venv based on Python3.4 on an i386 Debian Jessie system. When starting sandmanctl with the chinook database (sqlite version 3.8.7.1-1+deb8u1), no endpoints show up (same with a custom database and with custom sandman code):
The text was updated successfully, but these errors were encountered: