Received: (at 29365) by debbugs.gnu.org; 20 Dec 2017 20:11:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 20 15:11:39 2017 Received: from localhost ([127.0.0.1]:44782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eRkiJ-0005dX-2M for submit <at> debbugs.gnu.org; Wed, 20 Dec 2017 15:11:39 -0500 Received: from mx1.riseup.net ([198.252.153.129]:36130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <quiliro@HIDDEN>) id 1eRkiF-0005dN-Sp for 29365 <at> debbugs.gnu.org; Wed, 20 Dec 2017 15:11:36 -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 1A43F1A0A6A; Wed, 20 Dec 2017 12:11:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1513800695; bh=vxhNHmnXyfXYe7dHeBXukAmoQu6q5RaeABU99Az/9HU=; h=From:To:Cc:Subject:References:Date:From; b=ZdjQeOF1s8gqA6neCPAojVBoflbXPmL2P103i5NIT/sNQZCZetWcRiRymXnMoTjpF 8+owm3xWFBNb8/AL/Z6zjKJquWU6Pz/O1MVkN1gkp9ZJUpflWfN9H/lF+YrM/lGdnC OEm8c39kHkjeoodsMFbGWJ6Ggzt0/yQWVr65SlZE= X-Riseup-User-ID: 5BED5D7EB43B429F2550FD7FC21A055FF536268D27E90FC9DCC10A807DDBB6F3 Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id 52CEC22B707; Wed, 20 Dec 2017 12:11:33 -0800 (PST) From: Quiliro Ordonez Baca <quiliro@HIDDEN> To: Chris Marusich <cmmarusich@HIDDEN> Subject: Re: bug#29365: openmolar looking in /usr/share/openmolar References: <878tf0x3bq.fsf@HIDDEN> <87tvxmfyf4.fsf@HIDDEN> Date: Wed, 20 Dec 2017 15:11:32 -0500 Message-ID: <87po79rwgb.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29365 Cc: 29365 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) Chris Marusich <cmmarusich@HIDDEN> writes: > Quiliro Ordonez Baca <quiliro@HIDDEN> writes: > >> 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. > > Based on your assessment, it looks like the problem is that the > application hard-codes the "/usr" directory path. Yes. > One solution for this problem is to replace that line of code in the > source with the correct path. You can do this in the package definition > by using the substitute* macro provided by the (guix build utils) > module. In fact, it looks like the current package definition for > openmolar already attempts to do this. Run "guix edit openmolar" to > view the current package definition. Exactly. It already attempts to do that in: (arguments `(#:use-setuptools? #f #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-/usr (lambda* (#:key outputs #:allow-other-keys) (substitute* "setup.py" (("/usr") (assoc-ref outputs "out"))) #t))))) > Perhaps you could modify the package definition to also replace the path > in localsettings.py? You might also want to look around in the source > for other paths that need to be fixed (a command such as "grep -r /usr" > might be helpful). $ grep -R /usr lib/python3.5/site-packages/openmolar/dbtools/records_in_use.py:#! /usr/bin/env p lib/python3.5/site-packages/openmolar/settings/localsettings.py: SHARE_DIR = os.path.join("/usr", "share", "openmolar") Coincidencia en el fichero binario lib/python3.5/site-packages/openmolar/settings/__pycache__/localsettings.cpython-35.pyc openmolar has three dependencies: python-pyqt+sqcintilla python-mysqlclient qscintilla But only python-pyqt+sqcintilla files have /usr on them (besides openmolar's). Perhaps the problem is that package definition. But I cannot figure how to do it yet. > For information on how to use substitute*, please refer to > guix/build/utils.scm in the Guix source tree. For general information > on hacking on Guix, check the section titled "Contributing" in the > manual (e.g., run info '(guix) Contributing' in a terminal). I find that it is needed to download the source. But I do not have a connection to the web. I have to travel 1 hour every time I need to connect. Is there any way i can use Emacs to have all necesary files for hacking on Guix?
bug-guix@HIDDEN
:bug#29365
; Package guix
.
Full text available.Received: (at 29365) by debbugs.gnu.org; 22 Nov 2017 17:13:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 22 12:13:39 2017 Received: from localhost ([127.0.0.1]:53007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eHYah-0003c7-LX for submit <at> debbugs.gnu.org; Wed, 22 Nov 2017 12:13:39 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:50880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <adfeno@HIDDEN>) id 1eHYae-0003bx-Uz for 29365 <at> debbugs.gnu.org; Wed, 22 Nov 2017 12:13:37 -0500 X-Originating-IP: 181.221.159.58 Received: from adfeno-pc1 (unknown [181.221.159.58]) (Authenticated sender: adfeno@HIDDEN) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 7390BFB8C2 for <29365 <at> debbugs.gnu.org>; Wed, 22 Nov 2017 18:13:35 +0100 (CET) From: Adonay Felipe Nogueira <adfeno@HIDDEN> To: 29365 <at> debbugs.gnu.org Subject: Re: bug#29365: openmolar looking in /usr/share/openmolar References: <878tf0x3bq.fsf@HIDDEN> <87tvxmfyf4.fsf@HIDDEN> Date: Wed, 22 Nov 2017 15:13:32 -0200 In-Reply-To: <87tvxmfyf4.fsf@HIDDEN> (Chris Marusich's message of "Wed, 22 Nov 2017 01:35:59 -0800") Message-ID: <871skq2q4j.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29365 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) Adding to what Chris Marusich described: 'substitute* works somewhat in the following way: --8<---------------cut here---------------start------------->8--- (substitute FILE-string-or-FILE-list-of-strings ((EREGEX-string SYMBOLS-to-put-both-entire-match-and-captures-or-NOTHING) REPLACEMENT-string)) --8<---------------cut here---------------end--------------->8--- For example: --8<---------------cut here---------------start------------->8--- (substitute "file1.txt" (("a") "b") ;; ... would replace every "a" with "b". (("1([[:digit:]]*)([^[:digit:]])" full capture1 capture2) (string-append full " 2" capture1 capture2))) ;; ... would replace "1234A" and "1A" with "1234A 2234A" and "1A 2A", ;; respectively. (substitute '("file2.txt" "file3.txt" "file4.txt") (("a\\*\n") ; matches literal asterisk (*) followed by a new ; line/line feed. "b") ;; ... from "a*[newline]" to "b". (("(1)[^[:digit:]]*" _ interesting-one) ; use "_" capture to not save ; the whole match. (string-append interesting-one " 1"))) ;; ... from "1A" or from "1ABC" to "1 1" ("A" and "ABC" parts are ;; discarded). --8<---------------cut here---------------end--------------->8--- Notice that the regular expression that GNU Guile uses is the extended one (Extended Regular Expression). See the info page for Guile for more details (type `info guile' in the terminal, and go to the section "Regular Expressions", inside that section notice that there is one talking about backslash escapes, this one is also important for reasons that you'll see in the next paragrah). Notice that in Guile backslashes in strings also have special meaning, so one has to take into account string+regex special meaning when doing backslash escapes. In the examples given, the replacement for "file2.txt" onwards shows us how to deal with this. I hope this helps! ;) 2017-11-22T01:35:59-0800 Chris Marusich wrote: > > Based on your assessment, it looks like the problem is that the > application hard-codes the "/usr" directory path. > > One solution for this problem is to replace that line of code in the > source with the correct path. You can do this in the package definition > by using the substitute* macro provided by the (guix build utils) > module. In fact, it looks like the current package definition for > openmolar already attempts to do this. Run "guix edit openmolar" to > view the current package definition. > > Perhaps you could modify the package definition to also replace the path > in localsettings.py? You might also want to look around in the source > for other paths that need to be fixed (a command such as "grep -r /usr" > might be helpful). > > For information on how to use substitute*, please refer to > guix/build/utils.scm in the Guix source tree. For general information > on hacking on Guix, check the section titled "Contributing" in the > manual (e.g., run info '(guix) Contributing' in a terminal). --=20 - https://libreplanet.org/wiki/User:Adfeno - Palestrante e consultor sobre /software/ livre (n=C3=A3o confundir com gratis). - "WhatsApp"? Ele n=C3=A3o =C3=A9 livre. Por favor, veja formas de se comun= icar instantaneamente comigo no endere=C3=A7o abaixo. - Contato: https://libreplanet.org/wiki/User:Adfeno#vCard - Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft Office, MP3, MP4, WMA, WMV. - Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU GIMP, Inkscape SVG, JPG, LibreOffice (padr=C3=A3o ODF), OGG, OPUS, PDF (apenas sem DRM), PNG, TXT, WEBM.
bug-guix@HIDDEN
:bug#29365
; Package guix
.
Full text available.Received: (at 29365) by debbugs.gnu.org; 22 Nov 2017 09:36:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 22 04:36:15 2017 Received: from localhost ([127.0.0.1]:51817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eHRS3-000512-2a for submit <at> debbugs.gnu.org; Wed, 22 Nov 2017 04:36:15 -0500 Received: from mail-pg0-f53.google.com ([74.125.83.53]:45283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <cmmarusich@HIDDEN>) id 1eHRS0-00050o-2a for 29365 <at> debbugs.gnu.org; Wed, 22 Nov 2017 04:36:13 -0500 Received: by mail-pg0-f53.google.com with SMTP id 207so12289983pgc.12 for <29365 <at> debbugs.gnu.org>; Wed, 22 Nov 2017 01:36:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Y0iWfx7LJ31/3A0zsTsSeov1AlbeVtk1ix5cv5hLjps=; b=p3VvkGaEWq3ed7qWNYHABlH/NuqxNPJlyGyMq+rO7ZeSDuj4L66sVdALrAHPiYPt/y YK9K0g1Zfflc4fjbhfBG5vJe2O+lsEuPiunlNOFXgVnCDdx0pKs+4RYh1kvdeW6BP1Ly HAQ7iiQ0CNVFAiMMqLPiLRrRluRXiohF1mtPvf+VgT+IhoNEig5nqM0TSqnd9OoeYHGl bD1IyouSK5t1t2kLdFHKpZWb/FZlAcRnislkNiVB1QHg9gHnBi3V2jkcXM07nP/2RZy8 f9fhFdrCFSToKHE/6w3ZuRgPb6iyo1M9jBZpNlGwlrDLmGfBPX00w86d2Hc+4+I4kO0B axyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Y0iWfx7LJ31/3A0zsTsSeov1AlbeVtk1ix5cv5hLjps=; b=Hzu3G1zhfsGVYx5o1Ewej3FDsxmUiSKFSK/JdwD0P1XD6bc/xkyyrkpGhIDTXM6M+i ty4h6DWeqtyTdDSukTFoJ3BJ5pZu1zEKT0yf8ye+VFt5sY2qByoMdx0RFmBb1EbzK+IO mB0tyiEtpctYZt2oNSScpdkM3ClyFcT7UPdwnN/KeeptKXFuLe8Mak+n1FRbOL+t6m2Q /82h7wRviaNawQc64ctzM3vaHwzEb45HLgemQsuqb6h4K3S2kF5RnrOy85dArX8TvN4z UvgL+XQl2DVDFI5ZgAexxk8jwqB9rYS4SG0PbnR6Azq2mmRG3XeaHJt7v+Ws0aO4RVdN icgw== X-Gm-Message-State: AJaThX4sFnuD6diMnqqlzHVi5WT2qcUzu1v2ff0dPXqRAoywReMrZrBw kiIS8ARlDjOvsBDPxiOv3rZJqw== X-Google-Smtp-Source: AGs4zMYjV8QQnnSj4TPhGv3WrsAeBJP5yrpfY4+3cV27nuSW3nIdEr8sVpRJoaFJm+/adsZ1YWv9zA== X-Received: by 10.99.163.25 with SMTP id s25mr20266036pge.310.1511343365502; Wed, 22 Nov 2017 01:36:05 -0800 (PST) Received: from garuda.local (c-24-18-253-84.hsd1.wa.comcast.net. [24.18.253.84]) by smtp.gmail.com with ESMTPSA id y80sm21658675pfi.183.2017.11.22.01.36.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 Nov 2017 01:36:04 -0800 (PST) From: Chris Marusich <cmmarusich@HIDDEN> To: Quiliro Ordonez Baca <quiliro@HIDDEN> Subject: Re: bug#29365: openmolar looking in /usr/share/openmolar References: <878tf0x3bq.fsf@HIDDEN> Date: Wed, 22 Nov 2017 01:35:59 -0800 In-Reply-To: <878tf0x3bq.fsf@HIDDEN> (Quiliro Ordonez Baca's message of "Mon, 20 Nov 2017 12:33:29 -0500") Message-ID: <87tvxmfyf4.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 29365 Cc: 29365 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Quiliro Ordonez Baca <quiliro@HIDDEN> writes: > When starting OpenMolar for the first time, it has an error when it > creates the application database:=20 > > ERROR - error creating database tables > Traceback (most recent call last): > File "/gnu/store/smx5rayf45ylqn59czjkvx2hcrl95p5x-openmolar-1.0.15-gd81= f9e5/lib/python3.5/site-packages/openmolar/create_db.py", line 145, in crea= te_tables > f =3D 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/sha= re/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 = =3D os.path.join("/usr", "share", "openmolar") > > I do not know haw to fix it. Please instruct how to do it. Based on your assessment, it looks like the problem is that the application hard-codes the "/usr" directory path. One solution for this problem is to replace that line of code in the source with the correct path. You can do this in the package definition by using the substitute* macro provided by the (guix build utils) module. In fact, it looks like the current package definition for openmolar already attempts to do this. Run "guix edit openmolar" to view the current package definition. Perhaps you could modify the package definition to also replace the path in localsettings.py? You might also want to look around in the source for other paths that need to be fixed (a command such as "grep -r /usr" might be helpful). For information on how to use substitute*, please refer to guix/build/utils.scm in the Guix source tree. For general information on hacking on Guix, check the section titled "Contributing" in the manual (e.g., run info '(guix) Contributing' in a terminal). =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAloVRP8ACgkQ3UCaFdgi Rp0XHQ/+MsO3l1tD8gWgduSkrYQF9vNWSH1IQ2RqVQlQudCO9ovYIijVDPw5Px0X 0+4RG+HmuskhRapeTxFvBHtao4Z8nGoRDJf0vsdYA3qquAZMtPmrBWcsBxLAdcg7 TbwphntIYEvfyyETbcl2Kd8q7S/5ateXAu4h3Mm3cKK5xA1rsnJ7+xM84dMah3db YXj4nNzjNwYt7Qg7zC3gEjR1VookUI7IfROSOf8dRbWh4L8fqTmpJoVZorQWNDS7 iLPL0g4i/WaYitfrvrXm53h41rkFWADLseAe/hb89iZuePxGXFdOLCdyLQW2COI0 HELsIAnQ3/EJ3moGY9ou05IGf38eO9KDah1dQ2Co38ACLu+V8Dp4DB9SzeiMzWDk kq5GHJsFmJQ1I9Ex0MsS0cjkA/jUCT3hFr2jI9ST5tIThro/hc1o23XxoHt5kXC8 zu5G/HwGOKrpinZgHIay4J3Tey/eqSJuOlmNBQYhOFRooaEiUUfMNO3swbBrJ+H4 T/dsL8VyNXjIrzvVCQ93jzkLbzX//vbxPqDwfxOhcvKVSqGE8S+7bzBysrbxY/6y LOSMk8McVsTE07UaHyZxZZCy9ZngRWYMUnxamQx6HG4b4bTPqk1MkKjzehw97wpb kC4uMJ1UEpPkRyncmQPIJmeEt/S+JZCb+Rs2qR2FTPmnZIdLUKY= =tleE -----END PGP SIGNATURE----- --=-=-=--
bug-guix@HIDDEN
:bug#29365
; Package guix
.
Full text available.ludo@HIDDEN (Ludovic Courtès)
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 20 Nov 2017 17:33:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 20 12:33:47 2017 Received: from localhost ([127.0.0.1]:49281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1eGpx5-0002SV-MY for submit <at> debbugs.gnu.org; Mon, 20 Nov 2017 12:33:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <quiliro@HIDDEN>) id 1eGpx3-0002SH-KR for submit <at> debbugs.gnu.org; Mon, 20 Nov 2017 12:33:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <quiliro@HIDDEN>) id 1eGpwx-0004fm-Hv for submit <at> debbugs.gnu.org; Mon, 20 Nov 2017 12:33:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58315) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <quiliro@HIDDEN>) id 1eGpwx-0004fi-EI for submit <at> debbugs.gnu.org; Mon, 20 Nov 2017 12:33:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <quiliro@HIDDEN>) id 1eGpww-0006kg-An for bug-guix@HIDDEN; Mon, 20 Nov 2017 12:33:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <quiliro@HIDDEN>) id 1eGpwr-0004fG-Ku for bug-guix@HIDDEN; 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 <quiliro@HIDDEN>) id 1eGpwr-0004f6-Eg for bug-guix@HIDDEN; 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 <bug-guix@HIDDEN>; Mon, 20 Nov 2017 09:33:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1511199211; bh=48AmjLleexjQFb7RKyLyFGVW4eJschs92pK6gANnMt4=; h=From:To:Subject:Date:From; b=omwBNdwIXpKLGOeDyxx8mo/JdvxyCZOcwBWWkQ0s+8W5OMfnFPF8ZCbZzEEHW7Y5l 1Onzh6gzW5yzfKA7Uf42ZlKchYf9BG/wJ7QLHNUjv0SSrB/9/jsrABPYwrPgFWjclo 6q0BrZY9udegdANyP+tRaoETZHmQHvT2E7SgayaQ= X-Riseup-User-ID: 1FC04C81A315FC81808DC98C59E606E5F50756D660545C369509F4F321FBE418 Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id 467A12252CA for <bug-guix@HIDDEN>; Mon, 20 Nov 2017 09:33:31 -0800 (PST) From: Quiliro Ordonez Baca <quiliro@HIDDEN> To: bug-guix@HIDDEN Subject: openmolar looking in /usr/share/openmolar Date: Mon, 20 Nov 2017 12:33:29 -0500 Message-ID: <878tf0x3bq.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.1 (----) 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.
Quiliro Ordonez Baca <quiliro@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#29365
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.