spl0k / supysonic

Supysonic is a Python implementation of the Subsonic server API.
https://supysonic.readthedocs.io
GNU Affero General Public License v3.0
260 stars 57 forks source link

supysonic refuses to take off. #193

Closed hboetes closed 3 years ago

hboetes commented 3 years ago

So I followed all instructions, installed all dependencies, set up a config-file and db, which I can connect to as the supysonic user with the right password, the initial tables are there, and then I run the standalone server for testing purposes and I get this output:

% /var/www/cgi-bin/supysonic/server.py   
Traceback (most recent call last):
  File "/var/www/cgi-bin/supysonic/server.py", line 12, in <module>
    app = create_application()
  File "/usr/local/lib/python3.7/site-packages/supysonic/web.py", line 54, in create_application
    init_database(app.config["BASE"]["database_uri"])
  File "/usr/local/lib/python3.7/site-packages/supysonic/db.py", line 639, in init_database
    version = Meta["schema_version"]
  File "/usr/local/lib/python3.7/site-packages/pony/orm/core.py", line 3995, in __getitem__
    return entity._find_one_(kwargs)
  File "/usr/local/lib/python3.7/site-packages/pony/orm/core.py", line 4119, in _find_one_
    if obj is None: throw(ObjectNotFound, entity, pkval)
  File "/usr/local/lib/python3.7/site-packages/pony/utils/utils.py", line 106, in throw
    raise exc
pony.orm.core.ObjectNotFound: Meta['schema_version']

What am I missing here?

spl0k commented 3 years ago

So I guess you managed to solve the issue by yourself since you closed this. What was the problem? How did you fix it?

hboetes commented 3 years ago

No I gave up on supysonic because I ran in too many issues.

spl0k commented 3 years ago

I'm sorry to hear this. Care to share the issues you faced?

hboetes commented 3 years ago

There were quite a few, one of them was that OpenBSD has a rather restricted set of open files, which I had to increase a lot before supysonic started running. And a few more issues, I can't quite remember them all.

Best of luck making supysonic a great project, maybe I'll check again in a few months.