From mboxrd@z Thu Jan 1 00:00:00 1970 From: Quiliro Ordonez Baca Subject: bug#29365: openmolar looking in /usr/share/openmolar Date: Mon, 20 Nov 2017 12:33:29 -0500 Message-ID: <878tf0x3bq.fsf@riseup.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGpxR-0006m4-Lm for bug-guix@gnu.org; Mon, 20 Nov 2017 12:34:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGpxM-0004jQ-La for bug-guix@gnu.org; Mon, 20 Nov 2017 12:34:09 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:40600) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eGpxM-0004jM-Ho for bug-guix@gnu.org; Mon, 20 Nov 2017 12:34:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eGpxK-0002T5-40 for bug-guix@gnu.org; Mon, 20 Nov 2017 12:34:04 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGpww-0006kg-An for bug-guix@gnu.org; Mon, 20 Nov 2017 12:33:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGpwr-0004fG-Ku for bug-guix@gnu.org; Mon, 20 Nov 2017 12:33:38 -0500 Received: from mx1.riseup.net ([198.252.153.129]:57062) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eGpwr-0004f6-Eg for bug-guix@gnu.org; Mon, 20 Nov 2017 12:33:33 -0500 Received: from piha.riseup.net (unknown [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id D68F81A0004 for ; Mon, 20 Nov 2017 09:33:31 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id 467A12252CA for ; Mon, 20 Nov 2017 09:33:31 -0800 (PST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 29365@debbugs.gnu.org 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.