bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29365: openmolar looking in /usr/share/openmolar


From: Quiliro Ordonez Baca
Subject: bug#29365: openmolar looking in /usr/share/openmolar
Date: Mon, 20 Nov 2017 12:33:29 -0500

When starting OpenMolar for the first time, it has an error when it
creates the application database: 

ERROR - error creating database tables
Traceback (most recent call last):
  File 
"/gnu/store/smx5rayf45ylqn59czjkvx2hcrl95p5x-openmolar-1.0.15-gd81f9e5/lib/python3.5/site-packages/openmolar/create_db.py",
 line 145, in create_tables
    f = open(fp, "r")
FileNotFoundError: [Errno 2] No existe el fichero o el directorio: 
'/usr/share/openmolar/resources/schema.sql'

when it should look for the following file:
/gnu/store/smx5rayf45ylqn59czjkvx2hcrl95p5x-openmolar-1.0.15-gd81f9e5/share/openmolar/resources/schema.sql

The flaw in the definition is in:
/gnu/store/smx5rayf45ylqn59czjkvx2hcrl95p5x-openmolar-1.0.15-gd81f9e5/lib/python3.5/site-packages/openmolar/settings/localsettings.py:
    SHARE_DIR = os.path.join("/usr", "share", "openmolar")

I do not know haw to fix it. Please instruct how to do it.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]