On Mon, Sep 20, 2021 at 8:32 AM Hartmut Goebel
wrote:
> Looking at the code of the package - which actually is quite simple - I
> discover
>
> scripts=['onlykey_agent.py'],
>
> This might indeed trigger some issue in phase wrap. Please open a
> bug-report for this, explicitly pointing to release
(or (getenv "PYTHONPATH") ""))
(for-each (lambda (dir)
(let ((files (list-of-files dir)))
(for-each (lambda (file) (wrap-program file
var))
files)))
On Sat, Sep 18, 2021 at 3:44 PM Antwane Mason
wrote:
>
> From what I can tell, one of the build phases responsible for wrapping
> executables into shell scripts is wrongly wrapping one of the python files.
> This causes the shell script which is named as the original python file to
packages:/gnu/store/xgsczafbfkmqmanm87nx2qfyzp4h313i-python-pysocks-1.7.1/lib/python3.8/site-packages:/gnu/store/wand0zrwwnds6x636746116cfh3sy50k-python-pyopenssl-20.0.0/lib/python3.8/site-packages${PYTHONPATH:+:}$PYTHONPATH"exec
-a "$0"
"/gnu/store/s2w1lq80x9vcwp5382kn98f5pi2k4
Has anyone come across the following runtime error when running a
python-based application in guix? I'm wondering if something went wrong
during the package build for python-onlykey-agent that messed up the
PYTHONPATH export for the runtime. I should note that python-onlykey-agent
is a program tha
> (with-output-to-file "__init__.py"
>newline)
> Untested, but NEWLINE taking #:optional arguments should not make it any
> less of a thunk.
That code snippet worked well for me. I appreciate the suggestion!
muradm,
Thank you so much for your help! That worked like a charm! Just needed to
adjust the second argument of with-output-to-file so that it takes a lambda
that returns (newline).
Here is the resulting package definition that successfully builds.
(define-public python-verspec
(package
(na
Hello,
I am currently working to resolve a build issue of python-verspec with the
ultimate goal of submitting a package for this package, onlykey-cli, and
all other dependencies required for onlykey-cli. Onlykey is a hardware
password manager, second factor authenticator, and private key storage
m