unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29365: openmolar looking in /usr/share/openmolar
@ 2017-11-20 17:33 Quiliro Ordonez Baca
  2017-11-22  9:35 ` Chris Marusich
  0 siblings, 1 reply; 4+ messages in thread
From: Quiliro Ordonez Baca @ 2017-11-20 17:33 UTC (permalink / raw)
  To: 29365


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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-12-20 20:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-20 17:33 bug#29365: openmolar looking in /usr/share/openmolar Quiliro Ordonez Baca
2017-11-22  9:35 ` Chris Marusich
2017-11-22 17:13   ` Adonay Felipe Nogueira
2017-12-20 20:11   ` Quiliro Ordonez Baca

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).