#1007700 omnidb-server copying config file on first run crashes

#1007700#5
Date:
2022-03-15 09:22:44 UTC
From:
To:
Dear Maintainer,

If I run omnidb-server as a regular user as instructed by the docs it
crashes immediately with the following error:

    $ omnidb-server
    Copying config file to home directory.
    Traceback (most recent call last):
      File "/usr/bin/omnidb-server", line 133, in <module>
        shutil.copyfile(os.path.join(OmniDB.custom_settings.BASE_DIR, 'config.py'), config_file)
      File "/usr/lib/python3.9/shutil.py", line 264, in copyfile
        with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
    FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/config.py'

I did a quick local build of the 3.0.3b+ds-3 revision which still has
the same problem.

Thanks,
--Daniel

#1007700#10
Date:
2023-09-30 11:55:01 UTC
From:
To:
/usr/share/doc/omnidb-server/README.Debian

Regards