Project

General

Profile

Support #130

Haketilo/Hydrilla 3.0b1 x86 relocatable binary fails to find Python program console_scripts entry points

Added by jacobk 11 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Immediate
Assignee:
Start date:
10/12/2022
Due date:
% Done:

100%

Estimated time:

Description

In the relocatable binary package, there are many references to /gnu that seem like they should point to files in the package. For example, in https://hydrilla.koszko.org/downloads/haketilo-and-hydrilla-bin-3.0b1-x86_64.tar.gz , ./gnu/store/yym5qli1d05wqmshz4c7wvhylwfdbwlk-mitmproxy-8.1.1/bin/mitmproxy sets the GUIX_PYTHONPATH value to something starting with "/gnu/store/yym5qli1d05wqmshz4c7wvhylwfdbwlk-mitmproxy-8.1.1/", and although my /gnu/store folder does have some folders ending in "mitmproxy-8.1.1", they are pmknz0ak8wy5vyzrciiwxbhyhcf8ps5m-mitmproxy-8.1.1 and qpk0i5i4b6ssqnmg7q8nflwd3bvxsfmf-mitmproxy-8.1.1 .

For reasons that I think are related to this, ./haketilo --version shows

Traceback (most recent call last):
  File "/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/.haketilo-real", line 33, in <module>
    sys.exit(load_entry_point('hydrilla==3.0b1', 'console_scripts', 'haketilo')())
  File "/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/.haketilo-real", line 25, in importlib_load_entry_point
    return next(matches).load()
StopIteration

I have no folder in /gnu/store beginning with "zii".

For reasons I do not understand, using sudo (i.e. sudo ./haketilo --version) does not produce this error, and outputs the version/copyright/license/warranty properly. The actual proxy doesn't work this way because it's looking at /root instead of /home/jacobk I think. If the problem really was absolute vs relative paths, then I think sudo wouldn't help, so it seems likely that the issue is something entirely different, but I'm not sure what to look for.

Installing from source using Guix fails with a similar message:

Traceback (most recent call last):
  File "/gnu/store/4v76basixk8llqp95sjwmx859vp61ysn-hydrilla-3.0b1/bin/.haketilo-real", line 33, in <module>
    sys.exit(load_entry_point('hydrilla==3.0b1', 'console_scripts', 'haketilo')())
  File "/gnu/store/4v76basixk8llqp95sjwmx859vp61ysn-hydrilla-3.0b1/bin/.haketilo-real", line 25, in importlib_load_entry_point
    return next(matches).load()
StopIteration

Files

patch.patch (853 Bytes) patch.patch koszko, 10/13/2022 06:41 PM

History

#1

Updated by jacobk 11 months ago

Also, installing the python wheel does work, but in my case it gives the error in script /home/jacobk/.haketilo/addon.py: cannot import name 'tls' from 'mitmproxy' (/usr/lib/python3/dist-packages/mitmproxy/__init__.py) when actually running the proxy, but I think that's just because Trisquel's version of mitmproxy is 4.x instead of 8.x and so there's some features missing.

#2

Updated by koszko 11 months ago

  • Status changed from New to In Progress
  • Priority changed from Normal to Immediate

That's very bad. Thank you for reporting at least...

The absolute paths are intended. When we run one of the programs, it utilizes user namespaces (with a fallback to proot) to mount ./gnu at /gnu.

The actual error indicates that for some reason Python cannot find the egg info of hydrilla. As if either PYTHONPATH was being set incorrectly by Guix or the mounting/linking of files/directories was broken.

Does your Trisquel system support user namespaces? Can you try mounting /gnu manually with (as a normal, unprivileged user)

unshare -Urm
mount --bind ./gnu/ /gnu/
/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/haketilo --version

If it is indeed a user namespaces problem, the first line should result with an error. Also, I know from past experience that running in a chroot or in another user namespace might be causing user namespaces to be unavailable.

The binaries are supposed to fall back to PRoot if user namespace cannot be created. Perhaps they are (for whatever reason) failing to detect that the fallback is indeed needed?

It would be interesting to see if it works when using PRoot manually. Do you want to try this out? If so, make sure PRoot is installed on your system and run

proot -b ./gnu/:/gnu bash
/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/haketilo --version

As to installing from source, I have no idea what could be causing problems as there's no bind mounting involved. Did you use the source release tarball and the following command from README.md?

guix environment -L . --ad-hoc -e '(@ (hydrilla) hydrilla)'

jacobk wrote:

Also, installing the python wheel [...] in my case it gives the error [...] I think that's just because Trisquel's version of mitmproxy is 4.x instead of 8.x and so there's some features missing.

Indeed, mitmproxy is incompatible across major version updates. Some issues forced me to depend exclusively on 8.x. In fact, the hydrilla Python package by itself does not depend on mitmproxy. It's "extras" (e.g. hydrilla[haketilo]) do. So, if instead

python3 -m pip install path/to/hydrilla-3.0b1-py3-none-any.whl

you do

python3 -m pip install path/to/hydrilla-3.0b1-py3-none-any.whl[haketilo]

it should completely refuse to install alongside an old version of mitmproxy.

#3

Updated by koszko 11 months ago

  • Subject changed from Haketilo/Hydrilla 3.0b1 x86 relocatable binary references files in /gnu rather than using relative paths to Haketilo/Hydrilla 3.0b1 x86 relocatable binary fails to find Python program console_scripts entry points
#4

Updated by koszko 11 months ago

Btw, how did you extract the tarball? Perhaps we've been doing this differently?

Another thing you can try is setting the GUIX_EXECUTION_ENGINE variable when running programs from the tarball.

GUIX_EXECUTION_ENGINE=proot ./haketilo --version

As a side note, I found out another bug - Haketilo forgets to create ~/.haketilo/store/. I already fixed it in the source and the fix will be included in a "-beta2" release once I make it. However, I'd first like to have your issue fixed before making subsequent pre-releases. If you somehow get past your current errors, you can just create the directory manually

#5

Updated by jacobk 11 months ago

The instructions starting with "unshare" work fine, up until /gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/haketilo --version which gives the same error as before.

The instructions starting with "proot -" say bash: /home/jacobk/.guix-profile/etc/profile: No such file or directory when running the first command, and then the second command gives the same error as before.

I did use the source tarball, and I thought I ran guix environment -L . --ad-hoc -e '(@ (hydrilla) hydrilla)'. When running the command again today, I got

substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
The following derivation will be built:
  /gnu/store/yyvfaljw2sr9cjfchiqxhz87xxdcvb9z-hydrilla-3.0b1.drv

building /gnu/store/yyvfaljw2sr9cjfchiqxhz87xxdcvb9z-hydrilla-3.0b1.drv...
The following derivation will be built:
  /gnu/store/0qbvvzi2h4523rrqpfhbp9bxf337yfw9-profile.drv

applying 30 grafts for hydrilla-3.0b1 ...
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 1 package...

and haketilo --version outputs correctly. Maybe the updated substitutes fixed the problem, or maybe (probably) I ran the wrong command yesterday. Though, now when actually running the proxy I'm getting the in script /home/jacobk/.haketilo/addon.py: cannot import name 'tls' from 'mitmproxy' (/usr/lib/python3/dist-packages/mitmproxy/__init__.py) error again, even though mitmproxy --version shows 8.1.1 (which mitmproxy, while in the ad-hoc guix environment, prints "/gnu/store/9w4pnmpa7svlhs2s1sp4hj433pyak5gf-profile/bin/mitmproxy", which really exists.).

#6

Updated by jacobk 11 months ago

Also, the tls error in mtimproxy doesn't completely prevent mitmproxy from functioning, and mitm.it can be reached to install the certificate, which is necessary to view HTTPS pages while connected to the proxy. But connecting to "hkt.mitm.it" gives multiple errors:

127.0.0.1:34238: GET https://hkt.mitm.it/
 << Server connection to ('hkt.mitm.it', 443) failed: Error connecting to "hkt.mitm.it": [Errno -2] Name or service not known
127.0.0.1:34238: clientdisconnect
127.0.0.1:34240: clientconnect
127.0.0.1:34240: CONNECT hkt.mitm.it:443
 << Cannot establish TLS with client (sni: hkt.mitm.it): TlsException("SSL handshake error: SysCallError(-1, 'Unexpected EOF')")

I previously thought the errors were because of the earlier tls error and because of using an outdated version of mitmproxy, and this still seems to be the case, but just in case I'm incorrect I thought this information might be useful also.

#7

Updated by jacobk 11 months ago

Oh also, I extracted the tarball using the engrampa (GUI) program.

#8

Updated by koszko 11 months ago

I did use the source tarball [...]

You mean now haketilo --version works with from-source installation and still doesn't work with the binary release I published?

I'm getting the in script /home/jacobk/.haketilo/addon.py: cannot import name 'tls' from 'mitmproxy' (/usr/lib/python3/dist-packages/mitmproxy/__init__.py) error again, even though mitmproxy --version shows 8.1.1

That's weird - Haketilo script is trying to load the modules of globally-installed mitmproxy instead of the one from the pack. Do you have anything in your PYTHONPATH variable?

Also, I'll look at that GUI program to see it it makes any difference (although it'd be surprising if it did)

#9

Updated by jacobk 11 months ago

You mean now haketilo --version works with from-source installation and still doesn't work with the binary release I published?

Yes.

Do you have anything in your PYTHONPATH variable?

No, echo $PYTHONPATH prints nothing in the guix environment or plain bash (or however it makes sense to say outside the guix environment).

#10

Updated by koszko 11 months ago

Engrampa 1.24.1 from Guix seems to be unpacking the tarball properly.

Since you already know how to build from source, may I have one more request? Could you apply the attached patch inside the sources directory and try building and running haketilo again with

guix environment -L . --ad-hoc -e '(@ (hydrilla) hydrilla)'
haketilo

This should print a dump of variables that could help us determine what causes Trisquel's mitmproxy to be imported instead of the one from the pack.

The patch can be applied with

cd path/to/unpacked/sources/tarball/
patch --strip 1 < path/to/downloaded/patch.patch
#11

Updated by jacobk 11 months ago

I applied the patch, but I did not see any change in the output of haketilo. The output of guix environment -L . --ad-hoc -e '(@ (hydrilla) hydrilla)' was

substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
The following derivation will be built:
  /gnu/store/capdhxpss462m3xi0wbjw85gqp4f9hxx-hydrilla-3.0b1.drv

building /gnu/store/capdhxpss462m3xi0wbjw85gqp4f9hxx-hydrilla-3.0b1.drv...
The following derivation will be built:
  /gnu/store/3gbi9yw7m6nma0zy7db8h1n034sr143f-profile.drv

applying 30 grafts for hydrilla-3.0b1 ...
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 1 package...

That the output of haketilo stayed the same makes me think I'm not actually running from source. Just to be sure, I redid the process using the following commands (excerpt from history):

 2005  wget https://hydrilla.koszko.org/downloads/haketilo-and-hydrilla-3.0b1.tar.gz
 2006  gzip --help
 2007  ls
 2008  gzip haketilo-and-hydrilla-3.0b1.tar.gz
 2009  gzip -d haketilo-and-hydrilla-3.0b1.tar.gz 
 2010  ls
 2011  tar --help
 2012  tar -xf haketilo-and-hydrilla-3.0b1.tar 
 2013  ls
 2014  cd hydrilla-3.0b1/
 2015  ls
 2016  wget https://hydrillabugs.koszko.org/attachments/download/127/patch.patch ..
 2017  ls
 2018  mv patch.patch ..
 2019  ls
 2020  patch --strip 1 < ../patch.patch 
 2021  guix environment -L . --ad-hoc -e '(@ (hydrilla) hydrilla)'

and then ran haketilo and got as the output

Loading script /home/jacobk/.haketilo/addon.py
in script /home/jacobk/.haketilo/addon.py: cannot import name 'tls' from 'mitmproxy' (/usr/lib/python3/dist-packages/mitmproxy/__init__.py)
Proxy server listening at http://*:8080

So, I don't know what the problem is.

#12

Updated by koszko 11 months ago

That the output of haketilo stayed the same makes me think I'm not actually running from source.

That's what I'm thinking, too!

One more idea - Guix documentation mentions that in some cases user's .bashrc might be clobbering shell variables. Perhaps it is setting PATH or something in a way that causes different Haketilo to be executed? You can try

  • running guix environment with a --check option that shall report issues with clobbered variables
  • running guix environment with a --pure option that shall spawn a shell without reading ~/.bashrc and similar
#13

Updated by jacobk 11 months ago

Ah, I think that's what the problem is!

Output of guix environment -L . --check --ad-hoc -e '(@ (hydrilla) hydrilla)':

guix environment: checking the environment variables visible from shell '/bin/bash'...
guix environment: warning: variable 'PATH' is clobbered: '/home/jacobk/.cargo/bin:/home/jacobk/Programs/ffmpeg-git-20211013-amd64-static:/home/jacobk/.guix-profile/bin:/home/jacobk/.guix-profile/sbin:/home/jacobk/.local/bin:/gnu/store/9kylrd1p645nwwj40kisa227vqnxirs3-profile/bin'
hint: One or more environment variables have a different value in the shell than
the one we set.  This means that you may find yourself running code in an
environment different from the one you asked Guix to prepare.

This usually indicates that your shell startup files are unexpectedly
modifying those environment variables.  For example, if you are using Bash,
make sure that environment variables are set or modified in
`~/.bash_profile' and _not_ in `~/.bashrc'.  For more information on Bash
startup files, run:

     info "(bash) Bash Startup Files"

Alternatively, you can avoid the problem by passing the `--container' or
`-C' option.  That will give you a fully isolated environment running in a
"container", immune to the issue described above.


Output of guix environment -L . --pure --ad-hoc -e '(@ (hydrilla) hydrilla)':

Command 'lesspipe' is available in '/usr/bin/lesspipe'
The command could not be located because '/usr/bin' is not included in the PATH environment variable.
lesspipe: command not found
Command 'dircolors' is available in '/usr/bin/dircolors'
The command could not be located because '/usr/bin' is not included in the PATH environment variable.
dircolors: command not found
Command 'dircolors' is available in '/usr/bin/dircolors'
The command could not be located because '/usr/bin' is not included in the PATH environment variable.
dircolors: command not found

and then commands like ps and grep show not found, haketilo --version works properly, and haketilo gives the same tls mitmproxy python error as before.

So then I exited and tried `` and got

substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
1.6 MB will be downloaded
 bash-5.1.8-doc  301KiB               112KiB/s 00:03 [##################] 100.0%
 bash-5.1.8-include  67KiB             77KiB/s 00:01 [##################] 100.0%

and then for haketilo --version

in launch.py os.environ is environ({'GUIX_PYTHONPATH': '/gnu/store/1gnglh0y42lx7ac4kzsx9vi01zx7cazm-hydrilla-3.0b1/lib/python3.9/site-packages:/gnu/store/06pzx72mv7k4m1hww9hbkfqdngv3z59m-python-setuptools-scm-6.3.2/lib/python3.9/site-packages:/gnu/store/9sv7c6yxrqksm514rsbvds883ypwfm4i-python-babel-2.9.0/lib/python3.9/site-packages:/gnu/store/fb67v15n28vslmh54nx9jfmpayb85895-python-pytest-6.2.5/lib/python3.9/site-packages:/gnu/store/whw4mwikdayp8pzjg83vcqcgfw1vn39x-python-pypa-build-0.7.0/lib/python3.9/site-packages:/gnu/store/ghawmvzzslwrch9mx81iwbfglabwfhyp-python-mypy-0.942/lib/python3.9/site-packages:/gnu/store/a3bkrj85wrba8f08hbmg1gcdnbqsrg2g-python-types-requests-2.26.0/lib/python3.9/site-packages:/gnu/store/qpk0i5i4b6ssqnmg7q8nflwd3bvxsfmf-mitmproxy-8.1.1/lib/python3.9/site-packages:/gnu/store/2hqai8p1qilxsfgv2kkwy0k21jxpc2z2-python-beautifulsoup4-4.10.0/lib/python3.9/site-packages:/gnu/store/v30lfyk48gm977a8his728ck0f7mhyyg-python-click-8.1.2/lib/python3.9/site-packages:/gnu/store/jvh5ivwzqnv8xl1dr1dh5l6p4mb9j1bs-python-flask-2.1.1/lib/python3.9/site-packages:/gnu/store/ab47br45j1lzx6pyjdl86q7kqfd7mnkb-python-gnupg-0.4.8/lib/python3.9/site-packages:/gnu/store/x4s7jng9ljd5srb3bc1g3fqgvh8577nd-python-html5lib-1.1/lib/python3.9/site-packages:/gnu/store/9a5rbkm0k1wi9fm7zflwmcnr8m96prmy-python-immutables-0.19/lib/python3.9/site-packages:/gnu/store/3yym0cchxng9vqcrsxmxhjaaf12cfs6c-python-itsdangerous-2.0.1/lib/python3.9/site-packages:/gnu/store/ii5rvjy0va7bhwh25dk0ncl2nxjj8a60-python-jsonschema-3.2.0/lib/python3.9/site-packages:/gnu/store/q5sca9kbgdwqyv7ppkpzlppz2q0kwhsx-reuse-0.14.0/lib/python3.9/site-packages:/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/site-packages:/gnu/store/4k52mqy3c7dkgfmxgl21lzq3k9vx6gz5-python-tomli-2.0.0/lib/python3.9/site-packages:/gnu/store/vr16bf0b1bzmzvckva708fpng3qlcfwh-python-packaging-bootstrap-21.3/lib/python3.9/site-packages:/gnu/store/fkxl8fnk6cab2jr2ymafmdl8x7x9pdj9-python-pytz-2021.1/lib/python3.9/site-packages:/gnu/store/az5yw33ifrrdwps0fqmaa1hsvdlgvwid-python-wcwidth-0.1.8/lib/python3.9/site-packages:/gnu/store/nl58q651x8dbhmxp62i345pz4zmpi4rl-python-toml-0.10.2/lib/python3.9/site-packages:/gnu/store/84si0j45zxgbkmvya51yhrfj5iz0v2wx-python-six-bootstrap-1.16.0/lib/python3.9/site-packages:/gnu/store/k49pbvmdlv7cjhfgsgkdjqv4rd94gx7x-python-py-1.10.0/lib/python3.9/site-packages:/gnu/store/1dh3ra00qakpp27jpl88m36rl1ij495z-python-pluggy-0.13.1/lib/python3.9/site-packages:/gnu/store/mpcslygybwv1v6jvail06df27nbgwwp8-python-more-itertools-8.2.0/lib/python3.9/site-packages:/gnu/store/1hssss1mrxmsyrd4w9zv8gbpb7zncdq8-python-iniconfig-1.1.1/lib/python3.9/site-packages:/gnu/store/74kivpqcjsn7r6n53zarspwdxgkgbl14-python-attrs-bootstrap-21.2.0/lib/python3.9/site-packages:/gnu/store/0pi8kjdwkszh1k1qw8asm29rzm32s269-python-pep517-bootstrap-0.9.1/lib/python3.9/site-packages:/gnu/store/5whaphwnvjab8zbi3mw4ra993615n4yz-python-typing-extensions-4.0.1/lib/python3.9/site-packages:/gnu/store/csqkgklm3rf8f7p518m8mf2sd5qr9vas-python-mypy-extensions-0.4.3/lib/python3.9/site-packages:/gnu/store/ymzrw1r862g6s0bdjbcx05q23bd14rp9-python-zstandard-0.15.2/lib/python3.9/site-packages:/gnu/store/cgx4l0ip27ikc9jb0cl1igicm2g38r7l-python-publicsuffix2-2.20191221/lib/python3.9/site-packages:/gnu/store/487fxllblcv5ciji72z87k561j3vrr1z-python-wsproto-0.15.0/lib/python3.9/site-packages:/gnu/store/adgjag19siip20p0xhkpyjdnjjcd654a-python-urwid-2.1.2/lib/python3.9/site-packages:/gnu/store/yg4vrd6wk6pwnqysgb9s78vd3kjcvs6a-python-tornado-6.1/lib/python3.9/site-packages:/gnu/store/014qywhp7c7lic3qsdvzwmvf0lizf9r2-python-sortedcontainers-2.1.0/lib/python3.9/site-packages:/gnu/store/l3l8qg8jgz4q365i4wgca4m94hk7mday-python-ruamel.yaml-0.16.13/lib/python3.9/site-packages:/gnu/store/ac1nj53rpn8ki2npa0s6bcrcprgf7zq6-python-pyperclip-1.8.2/lib/python3.9/site-packages:/gnu/store/f9a6smln5z5240d9k1mk5jg8b6mnqiwl-python-pyparsing-3.0.6/lib/python3.9/site-packages:/gnu/store/ywd681xl21n82g6ckqgyymbkx4xydgk2-python-pyopenssl-22.0.0/lib/python3.9/site-packages:/gnu/store/402g4rs62bn5xzkxdwbmshgddbv2ribp-python-protobuf-3.20.1/lib/python3.9/site-packages:/gnu/store/y2yl1gisw2rc0yqjh4y6xjpml5ggz4fv-python-passlib-1.7.4/lib/python3.9/site-packages:/gnu/store/gb95h77225vk3dnnvzqpbhpd192v7w2h-python-msgpack-1.0.3/lib/python3.9/site-packages:/gnu/store/a114apk3jmhbv01lq37hq9v4w4jzgvlb-python-ldap3-2.7/lib/python3.9/site-packages:/gnu/store/vni7bai89v2l2agky7aihvflkwdd6iwr-python-kaitaistruct-0.10/lib/python3.9/site-packages:/gnu/store/8z52kxfrn9bnghi5zvaqa7b9ss7hq9vh-python-hyperframe-6.0.1/lib/python3.9/site-packages:/gnu/store/rwpkqrm75994jnjw9lmf687p6xby1q6x-python-h2-4.1.0/lib/python3.9/site-packages:/gnu/store/v8gnbynwqznlrbvd2xv5cj304020xfb8-python-h11-0.12.0/lib/python3.9/site-packages:/gnu/store/1mi55b4fmdr206ii6gmwrdgzafn0b97r-python-cryptography-36.0.1/lib/python3.9/site-packages:/gnu/store/5fxcv0p9qamcvwlib9jpbxlxyb3iah1h-python-brotli-1.0.9/lib/python3.9/site-packages:/gnu/store/i9ddvyf9vgzmfxh28slbi0zc8xyk8zn5-python-blinker-1.4/lib/python3.9/site-packages:/gnu/store/yxxandg09ln1wwmsjjad60wpd5z9vcli-python-asgiref-3.4.1/lib/python3.9/site-packages:/gnu/store/bj5d1a0asmnzh9qqxjcqb6wa9fww96qd-python-lxml-4.6.3/lib/python3.9/site-packages:/gnu/store/5nk33ifpxx1jrwvsambdcnxwrxq1kjwi-python-soupsieve-2.2.1/lib/python3.9/site-packages:/gnu/store/5b7kyvxmsip8i4phsdsfv48synwn0964-python-werkzeug-2.0.2/lib/python3.9/site-packages:/gnu/store/idwg7yli71kdaadqav6xn5xzb6rkcp20-python-jinja2-3.1.1/lib/python3.9/site-packages:/gnu/store/bxrh6gxczls7wf35kfvd0p4n8hk0428m-python-importlib-metadata-4.11.3/lib/python3.9/site-packages:/gnu/store/qlckfz534jr32c3dvykwj05ybsf10hq7-python-chardet-3.0.4/lib/python3.9/site-packages:/gnu/store/g53zkr19vz43mrx9h0gigj3lf4smn411-python-webencodings-0.5.1/lib/python3.9/site-packages:/gnu/store/cl3nc3lbzgjifp5c4fz0g0h34bjaibf6-python-six-1.16.0/lib/python3.9/site-packages:/gnu/store/q06w09f937q54kwwb3sfg8zdqygn0gil-python-pyrsistent-0.16.0/lib/python3.9/site-packages:/gnu/store/88rlck93vmrdsavfm2hh99gzzdsdaaf7-python-attrs-21.2.0/lib/python3.9/site-packages:/gnu/store/wzkwypg2wx3k21sw48zmjgnvcczzzcxi-python-wheel-0.37.0/lib/python3.9/site-packages:/gnu/store/7mcfqh16v32k7bw4cv59bh9yq1kippxf-python-filelock-3.0.12/lib/python3.9/site-packages:/gnu/store/fhiv69glcxg9grxawwbxpaqqj90hhsjq-python-distlib-0.3.1/lib/python3.9/site-packages:/gnu/store/26ldzj9xcirdrh7narm79gqgca2ka3dh-python-appdirs-1.4.3/lib/python3.9/site-packages:/gnu/store/diym1fxk82db89yn55vqgh4923irqgh8-python-ruamel.yaml.clib-0.2.6/lib/python3.9/site-packages:/gnu/store/myxy10nn61nrpfyvx20rq4416kmc25kl-python-bcrypt-3.2.0/lib/python3.9/site-packages:/gnu/store/6hb6zs58gia4z75xgf32d4c82qh8iavd-python-pyasn1-0.4.8/lib/python3.9/site-packages:/gnu/store/m0x8jwdhip0p7qmlpfqv6cfq7kh9aspz-python-gssapi-1.6.12/lib/python3.9/site-packages:/gnu/store/kjyl2km9wa5mpcfw2mq7r5r4x3q47lgl-python-hpack-4.0.0/lib/python3.9/site-packages:/gnu/store/jlx0r8vnrl7ywdls9g9cmjlgw1kznlmv-python-iso8601-0.1.13/lib/python3.9/site-packages:/gnu/store/w4hxd7w2nlwj4yj2yg3yif4mip508b59-python-idna-2.10/lib/python3.9/site-packages:/gnu/store/p09ad3pwazgjcfblzw94lmwq0jgd41zp-python-cffi-1.14.4/lib/python3.9/site-packages:/gnu/store/5ilf1cq3fn6mx3k20pv5pak2vnd3ybxd-python-asn1crypto-1.4.0/lib/python3.9/site-packages:/gnu/store/jbxjcwhb2f6nkigzrf4qp8avx7yckbys-python-requests-2.26.0/lib/python3.9/site-packages:/gnu/store/9qikfahx9wschf8jj1kc02qp8mzbfmcm-python-markupsafe-2.0.1/lib/python3.9/site-packages:/gnu/store/6l3kcbcqicf9acvi0hvdarbfnz6pzx3j-python-zipp-1.0.0/lib/python3.9/site-packages:/gnu/store/f0aa3qbah14mgmwdl6xn0wbnhm15b0jm-python-decorator-5.0.9/lib/python3.9/site-packages:/gnu/store/m5p8iinvgbylsym6j1bg9vp27cr7yb0q-python-pycparser-2.20/lib/python3.9/site-packages:/gnu/store/jm4dq8vksmaq7mcbkq115wpcpqv8qaqf-python-urllib3-1.26.7/lib/python3.9/site-packages:/gnu/store/vwbx6lb3ihpnwc2dj4iqghwa8ygb8dcq-python-charset-normalizer-2.0.5/lib/python3.9/site-packages:/gnu/store/hyglphska1gknm3q0jfdzk820plql55i-python-certifi-2020.12.5/lib/python3.9/site-packages:/gnu/store/d39sww9kp42vf7wxqkb9ig2ydbq519bb-python-pysocks-1.7.1/lib/python3.9/site-packages', 'PWD': '/home/jacobk/Programs/Haketilo-source/hydrilla-3.0b1', 'LOGNAME': 'jacobk', 'TEMPDIR': '/tmp', 'HOME': '/home/jacobk', 'TMPDIR': '/tmp', 'USER': 'jacobk', 'TEMP': '/tmp', 'SHLVL': '1', 'GUIX_ENVIRONMENT': '/gnu/store/9kylrd1p645nwwj40kisa227vqnxirs3-profile', 'TMP': '/tmp', 'PATH': '/gnu/store/9kylrd1p645nwwj40kisa227vqnxirs3-profile/bin'})
in launch.py sys.path is ['/gnu/store/1gnglh0y42lx7ac4kzsx9vi01zx7cazm-hydrilla-3.0b1/bin', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python39.zip', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/lib-dynload', '/gnu/store/1gnglh0y42lx7ac4kzsx9vi01zx7cazm-hydrilla-3.0b1/lib/python3.9/site-packages', '/gnu/store/06pzx72mv7k4m1hww9hbkfqdngv3z59m-python-setuptools-scm-6.3.2/lib/python3.9/site-packages', '/gnu/store/9sv7c6yxrqksm514rsbvds883ypwfm4i-python-babel-2.9.0/lib/python3.9/site-packages', '/gnu/store/fb67v15n28vslmh54nx9jfmpayb85895-python-pytest-6.2.5/lib/python3.9/site-packages', '/gnu/store/whw4mwikdayp8pzjg83vcqcgfw1vn39x-python-pypa-build-0.7.0/lib/python3.9/site-packages', '/gnu/store/ghawmvzzslwrch9mx81iwbfglabwfhyp-python-mypy-0.942/lib/python3.9/site-packages', '/gnu/store/a3bkrj85wrba8f08hbmg1gcdnbqsrg2g-python-types-requests-2.26.0/lib/python3.9/site-packages', '/gnu/store/qpk0i5i4b6ssqnmg7q8nflwd3bvxsfmf-mitmproxy-8.1.1/lib/python3.9/site-packages', '/gnu/store/2hqai8p1qilxsfgv2kkwy0k21jxpc2z2-python-beautifulsoup4-4.10.0/lib/python3.9/site-packages', '/gnu/store/v30lfyk48gm977a8his728ck0f7mhyyg-python-click-8.1.2/lib/python3.9/site-packages', '/gnu/store/jvh5ivwzqnv8xl1dr1dh5l6p4mb9j1bs-python-flask-2.1.1/lib/python3.9/site-packages', '/gnu/store/ab47br45j1lzx6pyjdl86q7kqfd7mnkb-python-gnupg-0.4.8/lib/python3.9/site-packages', '/gnu/store/x4s7jng9ljd5srb3bc1g3fqgvh8577nd-python-html5lib-1.1/lib/python3.9/site-packages', '/gnu/store/9a5rbkm0k1wi9fm7zflwmcnr8m96prmy-python-immutables-0.19/lib/python3.9/site-packages', '/gnu/store/3yym0cchxng9vqcrsxmxhjaaf12cfs6c-python-itsdangerous-2.0.1/lib/python3.9/site-packages', '/gnu/store/ii5rvjy0va7bhwh25dk0ncl2nxjj8a60-python-jsonschema-3.2.0/lib/python3.9/site-packages', '/gnu/store/q5sca9kbgdwqyv7ppkpzlppz2q0kwhsx-reuse-0.14.0/lib/python3.9/site-packages', '/gnu/store/4k52mqy3c7dkgfmxgl21lzq3k9vx6gz5-python-tomli-2.0.0/lib/python3.9/site-packages', '/gnu/store/vr16bf0b1bzmzvckva708fpng3qlcfwh-python-packaging-bootstrap-21.3/lib/python3.9/site-packages', '/gnu/store/fkxl8fnk6cab2jr2ymafmdl8x7x9pdj9-python-pytz-2021.1/lib/python3.9/site-packages', '/gnu/store/az5yw33ifrrdwps0fqmaa1hsvdlgvwid-python-wcwidth-0.1.8/lib/python3.9/site-packages', '/gnu/store/nl58q651x8dbhmxp62i345pz4zmpi4rl-python-toml-0.10.2/lib/python3.9/site-packages', '/gnu/store/84si0j45zxgbkmvya51yhrfj5iz0v2wx-python-six-bootstrap-1.16.0/lib/python3.9/site-packages', '/gnu/store/k49pbvmdlv7cjhfgsgkdjqv4rd94gx7x-python-py-1.10.0/lib/python3.9/site-packages', '/gnu/store/1dh3ra00qakpp27jpl88m36rl1ij495z-python-pluggy-0.13.1/lib/python3.9/site-packages', '/gnu/store/mpcslygybwv1v6jvail06df27nbgwwp8-python-more-itertools-8.2.0/lib/python3.9/site-packages', '/gnu/store/1hssss1mrxmsyrd4w9zv8gbpb7zncdq8-python-iniconfig-1.1.1/lib/python3.9/site-packages', '/gnu/store/74kivpqcjsn7r6n53zarspwdxgkgbl14-python-attrs-bootstrap-21.2.0/lib/python3.9/site-packages', '/gnu/store/0pi8kjdwkszh1k1qw8asm29rzm32s269-python-pep517-bootstrap-0.9.1/lib/python3.9/site-packages', '/gnu/store/5whaphwnvjab8zbi3mw4ra993615n4yz-python-typing-extensions-4.0.1/lib/python3.9/site-packages', '/gnu/store/csqkgklm3rf8f7p518m8mf2sd5qr9vas-python-mypy-extensions-0.4.3/lib/python3.9/site-packages', '/gnu/store/ymzrw1r862g6s0bdjbcx05q23bd14rp9-python-zstandard-0.15.2/lib/python3.9/site-packages', '/gnu/store/cgx4l0ip27ikc9jb0cl1igicm2g38r7l-python-publicsuffix2-2.20191221/lib/python3.9/site-packages', '/gnu/store/487fxllblcv5ciji72z87k561j3vrr1z-python-wsproto-0.15.0/lib/python3.9/site-packages', '/gnu/store/adgjag19siip20p0xhkpyjdnjjcd654a-python-urwid-2.1.2/lib/python3.9/site-packages', '/gnu/store/yg4vrd6wk6pwnqysgb9s78vd3kjcvs6a-python-tornado-6.1/lib/python3.9/site-packages', '/gnu/store/014qywhp7c7lic3qsdvzwmvf0lizf9r2-python-sortedcontainers-2.1.0/lib/python3.9/site-packages', '/gnu/store/l3l8qg8jgz4q365i4wgca4m94hk7mday-python-ruamel.yaml-0.16.13/lib/python3.9/site-packages', '/gnu/store/ac1nj53rpn8ki2npa0s6bcrcprgf7zq6-python-pyperclip-1.8.2/lib/python3.9/site-packages', '/gnu/store/f9a6smln5z5240d9k1mk5jg8b6mnqiwl-python-pyparsing-3.0.6/lib/python3.9/site-packages', '/gnu/store/ywd681xl21n82g6ckqgyymbkx4xydgk2-python-pyopenssl-22.0.0/lib/python3.9/site-packages', '/gnu/store/402g4rs62bn5xzkxdwbmshgddbv2ribp-python-protobuf-3.20.1/lib/python3.9/site-packages', '/gnu/store/y2yl1gisw2rc0yqjh4y6xjpml5ggz4fv-python-passlib-1.7.4/lib/python3.9/site-packages', '/gnu/store/gb95h77225vk3dnnvzqpbhpd192v7w2h-python-msgpack-1.0.3/lib/python3.9/site-packages', '/gnu/store/a114apk3jmhbv01lq37hq9v4w4jzgvlb-python-ldap3-2.7/lib/python3.9/site-packages', '/gnu/store/vni7bai89v2l2agky7aihvflkwdd6iwr-python-kaitaistruct-0.10/lib/python3.9/site-packages', '/gnu/store/8z52kxfrn9bnghi5zvaqa7b9ss7hq9vh-python-hyperframe-6.0.1/lib/python3.9/site-packages', '/gnu/store/rwpkqrm75994jnjw9lmf687p6xby1q6x-python-h2-4.1.0/lib/python3.9/site-packages', '/gnu/store/v8gnbynwqznlrbvd2xv5cj304020xfb8-python-h11-0.12.0/lib/python3.9/site-packages', '/gnu/store/1mi55b4fmdr206ii6gmwrdgzafn0b97r-python-cryptography-36.0.1/lib/python3.9/site-packages', '/gnu/store/5fxcv0p9qamcvwlib9jpbxlxyb3iah1h-python-brotli-1.0.9/lib/python3.9/site-packages', '/gnu/store/i9ddvyf9vgzmfxh28slbi0zc8xyk8zn5-python-blinker-1.4/lib/python3.9/site-packages', '/gnu/store/yxxandg09ln1wwmsjjad60wpd5z9vcli-python-asgiref-3.4.1/lib/python3.9/site-packages', '/gnu/store/bj5d1a0asmnzh9qqxjcqb6wa9fww96qd-python-lxml-4.6.3/lib/python3.9/site-packages', '/gnu/store/5nk33ifpxx1jrwvsambdcnxwrxq1kjwi-python-soupsieve-2.2.1/lib/python3.9/site-packages', '/gnu/store/5b7kyvxmsip8i4phsdsfv48synwn0964-python-werkzeug-2.0.2/lib/python3.9/site-packages', '/gnu/store/idwg7yli71kdaadqav6xn5xzb6rkcp20-python-jinja2-3.1.1/lib/python3.9/site-packages', '/gnu/store/bxrh6gxczls7wf35kfvd0p4n8hk0428m-python-importlib-metadata-4.11.3/lib/python3.9/site-packages', '/gnu/store/qlckfz534jr32c3dvykwj05ybsf10hq7-python-chardet-3.0.4/lib/python3.9/site-packages', '/gnu/store/g53zkr19vz43mrx9h0gigj3lf4smn411-python-webencodings-0.5.1/lib/python3.9/site-packages', '/gnu/store/cl3nc3lbzgjifp5c4fz0g0h34bjaibf6-python-six-1.16.0/lib/python3.9/site-packages', '/gnu/store/q06w09f937q54kwwb3sfg8zdqygn0gil-python-pyrsistent-0.16.0/lib/python3.9/site-packages', '/gnu/store/88rlck93vmrdsavfm2hh99gzzdsdaaf7-python-attrs-21.2.0/lib/python3.9/site-packages', '/gnu/store/wzkwypg2wx3k21sw48zmjgnvcczzzcxi-python-wheel-0.37.0/lib/python3.9/site-packages', '/gnu/store/7mcfqh16v32k7bw4cv59bh9yq1kippxf-python-filelock-3.0.12/lib/python3.9/site-packages', '/gnu/store/fhiv69glcxg9grxawwbxpaqqj90hhsjq-python-distlib-0.3.1/lib/python3.9/site-packages', '/gnu/store/26ldzj9xcirdrh7narm79gqgca2ka3dh-python-appdirs-1.4.3/lib/python3.9/site-packages', '/gnu/store/diym1fxk82db89yn55vqgh4923irqgh8-python-ruamel.yaml.clib-0.2.6/lib/python3.9/site-packages', '/gnu/store/myxy10nn61nrpfyvx20rq4416kmc25kl-python-bcrypt-3.2.0/lib/python3.9/site-packages', '/gnu/store/6hb6zs58gia4z75xgf32d4c82qh8iavd-python-pyasn1-0.4.8/lib/python3.9/site-packages', '/gnu/store/m0x8jwdhip0p7qmlpfqv6cfq7kh9aspz-python-gssapi-1.6.12/lib/python3.9/site-packages', '/gnu/store/kjyl2km9wa5mpcfw2mq7r5r4x3q47lgl-python-hpack-4.0.0/lib/python3.9/site-packages', '/gnu/store/jlx0r8vnrl7ywdls9g9cmjlgw1kznlmv-python-iso8601-0.1.13/lib/python3.9/site-packages', '/gnu/store/w4hxd7w2nlwj4yj2yg3yif4mip508b59-python-idna-2.10/lib/python3.9/site-packages', '/gnu/store/p09ad3pwazgjcfblzw94lmwq0jgd41zp-python-cffi-1.14.4/lib/python3.9/site-packages', '/gnu/store/5ilf1cq3fn6mx3k20pv5pak2vnd3ybxd-python-asn1crypto-1.4.0/lib/python3.9/site-packages', '/gnu/store/jbxjcwhb2f6nkigzrf4qp8avx7yckbys-python-requests-2.26.0/lib/python3.9/site-packages', '/gnu/store/9qikfahx9wschf8jj1kc02qp8mzbfmcm-python-markupsafe-2.0.1/lib/python3.9/site-packages', '/gnu/store/6l3kcbcqicf9acvi0hvdarbfnz6pzx3j-python-zipp-1.0.0/lib/python3.9/site-packages', '/gnu/store/f0aa3qbah14mgmwdl6xn0wbnhm15b0jm-python-decorator-5.0.9/lib/python3.9/site-packages', '/gnu/store/m5p8iinvgbylsym6j1bg9vp27cr7yb0q-python-pycparser-2.20/lib/python3.9/site-packages', '/gnu/store/jm4dq8vksmaq7mcbkq115wpcpqv8qaqf-python-urllib3-1.26.7/lib/python3.9/site-packages', '/gnu/store/vwbx6lb3ihpnwc2dj4iqghwa8ygb8dcq-python-charset-normalizer-2.0.5/lib/python3.9/site-packages', '/gnu/store/hyglphska1gknm3q0jfdzk820plql55i-python-certifi-2020.12.5/lib/python3.9/site-packages', '/gnu/store/d39sww9kp42vf7wxqkb9ig2ydbq519bb-python-pysocks-1.7.1/lib/python3.9/site-packages', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/site-packages']
in launch.py sys.executable is /gnu/store/fby6l226w8kh2mwkzpjpajmgy0q1kxli-python-wrapper-3.9.9/bin/python
Haketilo proxy 3.0b1
Copyright (C) 2021,2022 Wojtek Kosior and contributors.
License GPLv3+: GNU AGPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Output of haketilo:

in launch.py os.environ is environ({'GUIX_PYTHONPATH': '/gnu/store/1gnglh0y42lx7ac4kzsx9vi01zx7cazm-hydrilla-3.0b1/lib/python3.9/site-packages:/gnu/store/06pzx72mv7k4m1hww9hbkfqdngv3z59m-python-setuptools-scm-6.3.2/lib/python3.9/site-packages:/gnu/store/9sv7c6yxrqksm514rsbvds883ypwfm4i-python-babel-2.9.0/lib/python3.9/site-packages:/gnu/store/fb67v15n28vslmh54nx9jfmpayb85895-python-pytest-6.2.5/lib/python3.9/site-packages:/gnu/store/whw4mwikdayp8pzjg83vcqcgfw1vn39x-python-pypa-build-0.7.0/lib/python3.9/site-packages:/gnu/store/ghawmvzzslwrch9mx81iwbfglabwfhyp-python-mypy-0.942/lib/python3.9/site-packages:/gnu/store/a3bkrj85wrba8f08hbmg1gcdnbqsrg2g-python-types-requests-2.26.0/lib/python3.9/site-packages:/gnu/store/qpk0i5i4b6ssqnmg7q8nflwd3bvxsfmf-mitmproxy-8.1.1/lib/python3.9/site-packages:/gnu/store/2hqai8p1qilxsfgv2kkwy0k21jxpc2z2-python-beautifulsoup4-4.10.0/lib/python3.9/site-packages:/gnu/store/v30lfyk48gm977a8his728ck0f7mhyyg-python-click-8.1.2/lib/python3.9/site-packages:/gnu/store/jvh5ivwzqnv8xl1dr1dh5l6p4mb9j1bs-python-flask-2.1.1/lib/python3.9/site-packages:/gnu/store/ab47br45j1lzx6pyjdl86q7kqfd7mnkb-python-gnupg-0.4.8/lib/python3.9/site-packages:/gnu/store/x4s7jng9ljd5srb3bc1g3fqgvh8577nd-python-html5lib-1.1/lib/python3.9/site-packages:/gnu/store/9a5rbkm0k1wi9fm7zflwmcnr8m96prmy-python-immutables-0.19/lib/python3.9/site-packages:/gnu/store/3yym0cchxng9vqcrsxmxhjaaf12cfs6c-python-itsdangerous-2.0.1/lib/python3.9/site-packages:/gnu/store/ii5rvjy0va7bhwh25dk0ncl2nxjj8a60-python-jsonschema-3.2.0/lib/python3.9/site-packages:/gnu/store/q5sca9kbgdwqyv7ppkpzlppz2q0kwhsx-reuse-0.14.0/lib/python3.9/site-packages:/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/site-packages:/gnu/store/4k52mqy3c7dkgfmxgl21lzq3k9vx6gz5-python-tomli-2.0.0/lib/python3.9/site-packages:/gnu/store/vr16bf0b1bzmzvckva708fpng3qlcfwh-python-packaging-bootstrap-21.3/lib/python3.9/site-packages:/gnu/store/fkxl8fnk6cab2jr2ymafmdl8x7x9pdj9-python-pytz-2021.1/lib/python3.9/site-packages:/gnu/store/az5yw33ifrrdwps0fqmaa1hsvdlgvwid-python-wcwidth-0.1.8/lib/python3.9/site-packages:/gnu/store/nl58q651x8dbhmxp62i345pz4zmpi4rl-python-toml-0.10.2/lib/python3.9/site-packages:/gnu/store/84si0j45zxgbkmvya51yhrfj5iz0v2wx-python-six-bootstrap-1.16.0/lib/python3.9/site-packages:/gnu/store/k49pbvmdlv7cjhfgsgkdjqv4rd94gx7x-python-py-1.10.0/lib/python3.9/site-packages:/gnu/store/1dh3ra00qakpp27jpl88m36rl1ij495z-python-pluggy-0.13.1/lib/python3.9/site-packages:/gnu/store/mpcslygybwv1v6jvail06df27nbgwwp8-python-more-itertools-8.2.0/lib/python3.9/site-packages:/gnu/store/1hssss1mrxmsyrd4w9zv8gbpb7zncdq8-python-iniconfig-1.1.1/lib/python3.9/site-packages:/gnu/store/74kivpqcjsn7r6n53zarspwdxgkgbl14-python-attrs-bootstrap-21.2.0/lib/python3.9/site-packages:/gnu/store/0pi8kjdwkszh1k1qw8asm29rzm32s269-python-pep517-bootstrap-0.9.1/lib/python3.9/site-packages:/gnu/store/5whaphwnvjab8zbi3mw4ra993615n4yz-python-typing-extensions-4.0.1/lib/python3.9/site-packages:/gnu/store/csqkgklm3rf8f7p518m8mf2sd5qr9vas-python-mypy-extensions-0.4.3/lib/python3.9/site-packages:/gnu/store/ymzrw1r862g6s0bdjbcx05q23bd14rp9-python-zstandard-0.15.2/lib/python3.9/site-packages:/gnu/store/cgx4l0ip27ikc9jb0cl1igicm2g38r7l-python-publicsuffix2-2.20191221/lib/python3.9/site-packages:/gnu/store/487fxllblcv5ciji72z87k561j3vrr1z-python-wsproto-0.15.0/lib/python3.9/site-packages:/gnu/store/adgjag19siip20p0xhkpyjdnjjcd654a-python-urwid-2.1.2/lib/python3.9/site-packages:/gnu/store/yg4vrd6wk6pwnqysgb9s78vd3kjcvs6a-python-tornado-6.1/lib/python3.9/site-packages:/gnu/store/014qywhp7c7lic3qsdvzwmvf0lizf9r2-python-sortedcontainers-2.1.0/lib/python3.9/site-packages:/gnu/store/l3l8qg8jgz4q365i4wgca4m94hk7mday-python-ruamel.yaml-0.16.13/lib/python3.9/site-packages:/gnu/store/ac1nj53rpn8ki2npa0s6bcrcprgf7zq6-python-pyperclip-1.8.2/lib/python3.9/site-packages:/gnu/store/f9a6smln5z5240d9k1mk5jg8b6mnqiwl-python-pyparsing-3.0.6/lib/python3.9/site-packages:/gnu/store/ywd681xl21n82g6ckqgyymbkx4xydgk2-python-pyopenssl-22.0.0/lib/python3.9/site-packages:/gnu/store/402g4rs62bn5xzkxdwbmshgddbv2ribp-python-protobuf-3.20.1/lib/python3.9/site-packages:/gnu/store/y2yl1gisw2rc0yqjh4y6xjpml5ggz4fv-python-passlib-1.7.4/lib/python3.9/site-packages:/gnu/store/gb95h77225vk3dnnvzqpbhpd192v7w2h-python-msgpack-1.0.3/lib/python3.9/site-packages:/gnu/store/a114apk3jmhbv01lq37hq9v4w4jzgvlb-python-ldap3-2.7/lib/python3.9/site-packages:/gnu/store/vni7bai89v2l2agky7aihvflkwdd6iwr-python-kaitaistruct-0.10/lib/python3.9/site-packages:/gnu/store/8z52kxfrn9bnghi5zvaqa7b9ss7hq9vh-python-hyperframe-6.0.1/lib/python3.9/site-packages:/gnu/store/rwpkqrm75994jnjw9lmf687p6xby1q6x-python-h2-4.1.0/lib/python3.9/site-packages:/gnu/store/v8gnbynwqznlrbvd2xv5cj304020xfb8-python-h11-0.12.0/lib/python3.9/site-packages:/gnu/store/1mi55b4fmdr206ii6gmwrdgzafn0b97r-python-cryptography-36.0.1/lib/python3.9/site-packages:/gnu/store/5fxcv0p9qamcvwlib9jpbxlxyb3iah1h-python-brotli-1.0.9/lib/python3.9/site-packages:/gnu/store/i9ddvyf9vgzmfxh28slbi0zc8xyk8zn5-python-blinker-1.4/lib/python3.9/site-packages:/gnu/store/yxxandg09ln1wwmsjjad60wpd5z9vcli-python-asgiref-3.4.1/lib/python3.9/site-packages:/gnu/store/bj5d1a0asmnzh9qqxjcqb6wa9fww96qd-python-lxml-4.6.3/lib/python3.9/site-packages:/gnu/store/5nk33ifpxx1jrwvsambdcnxwrxq1kjwi-python-soupsieve-2.2.1/lib/python3.9/site-packages:/gnu/store/5b7kyvxmsip8i4phsdsfv48synwn0964-python-werkzeug-2.0.2/lib/python3.9/site-packages:/gnu/store/idwg7yli71kdaadqav6xn5xzb6rkcp20-python-jinja2-3.1.1/lib/python3.9/site-packages:/gnu/store/bxrh6gxczls7wf35kfvd0p4n8hk0428m-python-importlib-metadata-4.11.3/lib/python3.9/site-packages:/gnu/store/qlckfz534jr32c3dvykwj05ybsf10hq7-python-chardet-3.0.4/lib/python3.9/site-packages:/gnu/store/g53zkr19vz43mrx9h0gigj3lf4smn411-python-webencodings-0.5.1/lib/python3.9/site-packages:/gnu/store/cl3nc3lbzgjifp5c4fz0g0h34bjaibf6-python-six-1.16.0/lib/python3.9/site-packages:/gnu/store/q06w09f937q54kwwb3sfg8zdqygn0gil-python-pyrsistent-0.16.0/lib/python3.9/site-packages:/gnu/store/88rlck93vmrdsavfm2hh99gzzdsdaaf7-python-attrs-21.2.0/lib/python3.9/site-packages:/gnu/store/wzkwypg2wx3k21sw48zmjgnvcczzzcxi-python-wheel-0.37.0/lib/python3.9/site-packages:/gnu/store/7mcfqh16v32k7bw4cv59bh9yq1kippxf-python-filelock-3.0.12/lib/python3.9/site-packages:/gnu/store/fhiv69glcxg9grxawwbxpaqqj90hhsjq-python-distlib-0.3.1/lib/python3.9/site-packages:/gnu/store/26ldzj9xcirdrh7narm79gqgca2ka3dh-python-appdirs-1.4.3/lib/python3.9/site-packages:/gnu/store/diym1fxk82db89yn55vqgh4923irqgh8-python-ruamel.yaml.clib-0.2.6/lib/python3.9/site-packages:/gnu/store/myxy10nn61nrpfyvx20rq4416kmc25kl-python-bcrypt-3.2.0/lib/python3.9/site-packages:/gnu/store/6hb6zs58gia4z75xgf32d4c82qh8iavd-python-pyasn1-0.4.8/lib/python3.9/site-packages:/gnu/store/m0x8jwdhip0p7qmlpfqv6cfq7kh9aspz-python-gssapi-1.6.12/lib/python3.9/site-packages:/gnu/store/kjyl2km9wa5mpcfw2mq7r5r4x3q47lgl-python-hpack-4.0.0/lib/python3.9/site-packages:/gnu/store/jlx0r8vnrl7ywdls9g9cmjlgw1kznlmv-python-iso8601-0.1.13/lib/python3.9/site-packages:/gnu/store/w4hxd7w2nlwj4yj2yg3yif4mip508b59-python-idna-2.10/lib/python3.9/site-packages:/gnu/store/p09ad3pwazgjcfblzw94lmwq0jgd41zp-python-cffi-1.14.4/lib/python3.9/site-packages:/gnu/store/5ilf1cq3fn6mx3k20pv5pak2vnd3ybxd-python-asn1crypto-1.4.0/lib/python3.9/site-packages:/gnu/store/jbxjcwhb2f6nkigzrf4qp8avx7yckbys-python-requests-2.26.0/lib/python3.9/site-packages:/gnu/store/9qikfahx9wschf8jj1kc02qp8mzbfmcm-python-markupsafe-2.0.1/lib/python3.9/site-packages:/gnu/store/6l3kcbcqicf9acvi0hvdarbfnz6pzx3j-python-zipp-1.0.0/lib/python3.9/site-packages:/gnu/store/f0aa3qbah14mgmwdl6xn0wbnhm15b0jm-python-decorator-5.0.9/lib/python3.9/site-packages:/gnu/store/m5p8iinvgbylsym6j1bg9vp27cr7yb0q-python-pycparser-2.20/lib/python3.9/site-packages:/gnu/store/jm4dq8vksmaq7mcbkq115wpcpqv8qaqf-python-urllib3-1.26.7/lib/python3.9/site-packages:/gnu/store/vwbx6lb3ihpnwc2dj4iqghwa8ygb8dcq-python-charset-normalizer-2.0.5/lib/python3.9/site-packages:/gnu/store/hyglphska1gknm3q0jfdzk820plql55i-python-certifi-2020.12.5/lib/python3.9/site-packages:/gnu/store/d39sww9kp42vf7wxqkb9ig2ydbq519bb-python-pysocks-1.7.1/lib/python3.9/site-packages', 'PWD': '/home/jacobk/Programs/Haketilo-source/hydrilla-3.0b1', 'LOGNAME': 'jacobk', 'TEMPDIR': '/tmp', 'HOME': '/home/jacobk', 'TMPDIR': '/tmp', 'USER': 'jacobk', 'TEMP': '/tmp', 'SHLVL': '1', 'GUIX_ENVIRONMENT': '/gnu/store/9kylrd1p645nwwj40kisa227vqnxirs3-profile', 'TMP': '/tmp', 'PATH': '/gnu/store/9kylrd1p645nwwj40kisa227vqnxirs3-profile/bin'})
in launch.py sys.path is ['/gnu/store/1gnglh0y42lx7ac4kzsx9vi01zx7cazm-hydrilla-3.0b1/bin', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python39.zip', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/lib-dynload', '/gnu/store/1gnglh0y42lx7ac4kzsx9vi01zx7cazm-hydrilla-3.0b1/lib/python3.9/site-packages', '/gnu/store/06pzx72mv7k4m1hww9hbkfqdngv3z59m-python-setuptools-scm-6.3.2/lib/python3.9/site-packages', '/gnu/store/9sv7c6yxrqksm514rsbvds883ypwfm4i-python-babel-2.9.0/lib/python3.9/site-packages', '/gnu/store/fb67v15n28vslmh54nx9jfmpayb85895-python-pytest-6.2.5/lib/python3.9/site-packages', '/gnu/store/whw4mwikdayp8pzjg83vcqcgfw1vn39x-python-pypa-build-0.7.0/lib/python3.9/site-packages', '/gnu/store/ghawmvzzslwrch9mx81iwbfglabwfhyp-python-mypy-0.942/lib/python3.9/site-packages', '/gnu/store/a3bkrj85wrba8f08hbmg1gcdnbqsrg2g-python-types-requests-2.26.0/lib/python3.9/site-packages', '/gnu/store/qpk0i5i4b6ssqnmg7q8nflwd3bvxsfmf-mitmproxy-8.1.1/lib/python3.9/site-packages', '/gnu/store/2hqai8p1qilxsfgv2kkwy0k21jxpc2z2-python-beautifulsoup4-4.10.0/lib/python3.9/site-packages', '/gnu/store/v30lfyk48gm977a8his728ck0f7mhyyg-python-click-8.1.2/lib/python3.9/site-packages', '/gnu/store/jvh5ivwzqnv8xl1dr1dh5l6p4mb9j1bs-python-flask-2.1.1/lib/python3.9/site-packages', '/gnu/store/ab47br45j1lzx6pyjdl86q7kqfd7mnkb-python-gnupg-0.4.8/lib/python3.9/site-packages', '/gnu/store/x4s7jng9ljd5srb3bc1g3fqgvh8577nd-python-html5lib-1.1/lib/python3.9/site-packages', '/gnu/store/9a5rbkm0k1wi9fm7zflwmcnr8m96prmy-python-immutables-0.19/lib/python3.9/site-packages', '/gnu/store/3yym0cchxng9vqcrsxmxhjaaf12cfs6c-python-itsdangerous-2.0.1/lib/python3.9/site-packages', '/gnu/store/ii5rvjy0va7bhwh25dk0ncl2nxjj8a60-python-jsonschema-3.2.0/lib/python3.9/site-packages', '/gnu/store/q5sca9kbgdwqyv7ppkpzlppz2q0kwhsx-reuse-0.14.0/lib/python3.9/site-packages', '/gnu/store/4k52mqy3c7dkgfmxgl21lzq3k9vx6gz5-python-tomli-2.0.0/lib/python3.9/site-packages', '/gnu/store/vr16bf0b1bzmzvckva708fpng3qlcfwh-python-packaging-bootstrap-21.3/lib/python3.9/site-packages', '/gnu/store/fkxl8fnk6cab2jr2ymafmdl8x7x9pdj9-python-pytz-2021.1/lib/python3.9/site-packages', '/gnu/store/az5yw33ifrrdwps0fqmaa1hsvdlgvwid-python-wcwidth-0.1.8/lib/python3.9/site-packages', '/gnu/store/nl58q651x8dbhmxp62i345pz4zmpi4rl-python-toml-0.10.2/lib/python3.9/site-packages', '/gnu/store/84si0j45zxgbkmvya51yhrfj5iz0v2wx-python-six-bootstrap-1.16.0/lib/python3.9/site-packages', '/gnu/store/k49pbvmdlv7cjhfgsgkdjqv4rd94gx7x-python-py-1.10.0/lib/python3.9/site-packages', '/gnu/store/1dh3ra00qakpp27jpl88m36rl1ij495z-python-pluggy-0.13.1/lib/python3.9/site-packages', '/gnu/store/mpcslygybwv1v6jvail06df27nbgwwp8-python-more-itertools-8.2.0/lib/python3.9/site-packages', '/gnu/store/1hssss1mrxmsyrd4w9zv8gbpb7zncdq8-python-iniconfig-1.1.1/lib/python3.9/site-packages', '/gnu/store/74kivpqcjsn7r6n53zarspwdxgkgbl14-python-attrs-bootstrap-21.2.0/lib/python3.9/site-packages', '/gnu/store/0pi8kjdwkszh1k1qw8asm29rzm32s269-python-pep517-bootstrap-0.9.1/lib/python3.9/site-packages', '/gnu/store/5whaphwnvjab8zbi3mw4ra993615n4yz-python-typing-extensions-4.0.1/lib/python3.9/site-packages', '/gnu/store/csqkgklm3rf8f7p518m8mf2sd5qr9vas-python-mypy-extensions-0.4.3/lib/python3.9/site-packages', '/gnu/store/ymzrw1r862g6s0bdjbcx05q23bd14rp9-python-zstandard-0.15.2/lib/python3.9/site-packages', '/gnu/store/cgx4l0ip27ikc9jb0cl1igicm2g38r7l-python-publicsuffix2-2.20191221/lib/python3.9/site-packages', '/gnu/store/487fxllblcv5ciji72z87k561j3vrr1z-python-wsproto-0.15.0/lib/python3.9/site-packages', '/gnu/store/adgjag19siip20p0xhkpyjdnjjcd654a-python-urwid-2.1.2/lib/python3.9/site-packages', '/gnu/store/yg4vrd6wk6pwnqysgb9s78vd3kjcvs6a-python-tornado-6.1/lib/python3.9/site-packages', '/gnu/store/014qywhp7c7lic3qsdvzwmvf0lizf9r2-python-sortedcontainers-2.1.0/lib/python3.9/site-packages', '/gnu/store/l3l8qg8jgz4q365i4wgca4m94hk7mday-python-ruamel.yaml-0.16.13/lib/python3.9/site-packages', '/gnu/store/ac1nj53rpn8ki2npa0s6bcrcprgf7zq6-python-pyperclip-1.8.2/lib/python3.9/site-packages', '/gnu/store/f9a6smln5z5240d9k1mk5jg8b6mnqiwl-python-pyparsing-3.0.6/lib/python3.9/site-packages', '/gnu/store/ywd681xl21n82g6ckqgyymbkx4xydgk2-python-pyopenssl-22.0.0/lib/python3.9/site-packages', '/gnu/store/402g4rs62bn5xzkxdwbmshgddbv2ribp-python-protobuf-3.20.1/lib/python3.9/site-packages', '/gnu/store/y2yl1gisw2rc0yqjh4y6xjpml5ggz4fv-python-passlib-1.7.4/lib/python3.9/site-packages', '/gnu/store/gb95h77225vk3dnnvzqpbhpd192v7w2h-python-msgpack-1.0.3/lib/python3.9/site-packages', '/gnu/store/a114apk3jmhbv01lq37hq9v4w4jzgvlb-python-ldap3-2.7/lib/python3.9/site-packages', '/gnu/store/vni7bai89v2l2agky7aihvflkwdd6iwr-python-kaitaistruct-0.10/lib/python3.9/site-packages', '/gnu/store/8z52kxfrn9bnghi5zvaqa7b9ss7hq9vh-python-hyperframe-6.0.1/lib/python3.9/site-packages', '/gnu/store/rwpkqrm75994jnjw9lmf687p6xby1q6x-python-h2-4.1.0/lib/python3.9/site-packages', '/gnu/store/v8gnbynwqznlrbvd2xv5cj304020xfb8-python-h11-0.12.0/lib/python3.9/site-packages', '/gnu/store/1mi55b4fmdr206ii6gmwrdgzafn0b97r-python-cryptography-36.0.1/lib/python3.9/site-packages', '/gnu/store/5fxcv0p9qamcvwlib9jpbxlxyb3iah1h-python-brotli-1.0.9/lib/python3.9/site-packages', '/gnu/store/i9ddvyf9vgzmfxh28slbi0zc8xyk8zn5-python-blinker-1.4/lib/python3.9/site-packages', '/gnu/store/yxxandg09ln1wwmsjjad60wpd5z9vcli-python-asgiref-3.4.1/lib/python3.9/site-packages', '/gnu/store/bj5d1a0asmnzh9qqxjcqb6wa9fww96qd-python-lxml-4.6.3/lib/python3.9/site-packages', '/gnu/store/5nk33ifpxx1jrwvsambdcnxwrxq1kjwi-python-soupsieve-2.2.1/lib/python3.9/site-packages', '/gnu/store/5b7kyvxmsip8i4phsdsfv48synwn0964-python-werkzeug-2.0.2/lib/python3.9/site-packages', '/gnu/store/idwg7yli71kdaadqav6xn5xzb6rkcp20-python-jinja2-3.1.1/lib/python3.9/site-packages', '/gnu/store/bxrh6gxczls7wf35kfvd0p4n8hk0428m-python-importlib-metadata-4.11.3/lib/python3.9/site-packages', '/gnu/store/qlckfz534jr32c3dvykwj05ybsf10hq7-python-chardet-3.0.4/lib/python3.9/site-packages', '/gnu/store/g53zkr19vz43mrx9h0gigj3lf4smn411-python-webencodings-0.5.1/lib/python3.9/site-packages', '/gnu/store/cl3nc3lbzgjifp5c4fz0g0h34bjaibf6-python-six-1.16.0/lib/python3.9/site-packages', '/gnu/store/q06w09f937q54kwwb3sfg8zdqygn0gil-python-pyrsistent-0.16.0/lib/python3.9/site-packages', '/gnu/store/88rlck93vmrdsavfm2hh99gzzdsdaaf7-python-attrs-21.2.0/lib/python3.9/site-packages', '/gnu/store/wzkwypg2wx3k21sw48zmjgnvcczzzcxi-python-wheel-0.37.0/lib/python3.9/site-packages', '/gnu/store/7mcfqh16v32k7bw4cv59bh9yq1kippxf-python-filelock-3.0.12/lib/python3.9/site-packages', '/gnu/store/fhiv69glcxg9grxawwbxpaqqj90hhsjq-python-distlib-0.3.1/lib/python3.9/site-packages', '/gnu/store/26ldzj9xcirdrh7narm79gqgca2ka3dh-python-appdirs-1.4.3/lib/python3.9/site-packages', '/gnu/store/diym1fxk82db89yn55vqgh4923irqgh8-python-ruamel.yaml.clib-0.2.6/lib/python3.9/site-packages', '/gnu/store/myxy10nn61nrpfyvx20rq4416kmc25kl-python-bcrypt-3.2.0/lib/python3.9/site-packages', '/gnu/store/6hb6zs58gia4z75xgf32d4c82qh8iavd-python-pyasn1-0.4.8/lib/python3.9/site-packages', '/gnu/store/m0x8jwdhip0p7qmlpfqv6cfq7kh9aspz-python-gssapi-1.6.12/lib/python3.9/site-packages', '/gnu/store/kjyl2km9wa5mpcfw2mq7r5r4x3q47lgl-python-hpack-4.0.0/lib/python3.9/site-packages', '/gnu/store/jlx0r8vnrl7ywdls9g9cmjlgw1kznlmv-python-iso8601-0.1.13/lib/python3.9/site-packages', '/gnu/store/w4hxd7w2nlwj4yj2yg3yif4mip508b59-python-idna-2.10/lib/python3.9/site-packages', '/gnu/store/p09ad3pwazgjcfblzw94lmwq0jgd41zp-python-cffi-1.14.4/lib/python3.9/site-packages', '/gnu/store/5ilf1cq3fn6mx3k20pv5pak2vnd3ybxd-python-asn1crypto-1.4.0/lib/python3.9/site-packages', '/gnu/store/jbxjcwhb2f6nkigzrf4qp8avx7yckbys-python-requests-2.26.0/lib/python3.9/site-packages', '/gnu/store/9qikfahx9wschf8jj1kc02qp8mzbfmcm-python-markupsafe-2.0.1/lib/python3.9/site-packages', '/gnu/store/6l3kcbcqicf9acvi0hvdarbfnz6pzx3j-python-zipp-1.0.0/lib/python3.9/site-packages', '/gnu/store/f0aa3qbah14mgmwdl6xn0wbnhm15b0jm-python-decorator-5.0.9/lib/python3.9/site-packages', '/gnu/store/m5p8iinvgbylsym6j1bg9vp27cr7yb0q-python-pycparser-2.20/lib/python3.9/site-packages', '/gnu/store/jm4dq8vksmaq7mcbkq115wpcpqv8qaqf-python-urllib3-1.26.7/lib/python3.9/site-packages', '/gnu/store/vwbx6lb3ihpnwc2dj4iqghwa8ygb8dcq-python-charset-normalizer-2.0.5/lib/python3.9/site-packages', '/gnu/store/hyglphska1gknm3q0jfdzk820plql55i-python-certifi-2020.12.5/lib/python3.9/site-packages', '/gnu/store/d39sww9kp42vf7wxqkb9ig2ydbq519bb-python-pysocks-1.7.1/lib/python3.9/site-packages', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/site-packages']
in launch.py sys.executable is /gnu/store/fby6l226w8kh2mwkzpjpajmgy0q1kxli-python-wrapper-3.9.9/bin/python
in addon.py os.environ is environ({'GUIX_PYTHONPATH': '/gnu/store/1gnglh0y42lx7ac4kzsx9vi01zx7cazm-hydrilla-3.0b1/lib/python3.9/site-packages:/gnu/store/06pzx72mv7k4m1hww9hbkfqdngv3z59m-python-setuptools-scm-6.3.2/lib/python3.9/site-packages:/gnu/store/9sv7c6yxrqksm514rsbvds883ypwfm4i-python-babel-2.9.0/lib/python3.9/site-packages:/gnu/store/fb67v15n28vslmh54nx9jfmpayb85895-python-pytest-6.2.5/lib/python3.9/site-packages:/gnu/store/whw4mwikdayp8pzjg83vcqcgfw1vn39x-python-pypa-build-0.7.0/lib/python3.9/site-packages:/gnu/store/ghawmvzzslwrch9mx81iwbfglabwfhyp-python-mypy-0.942/lib/python3.9/site-packages:/gnu/store/a3bkrj85wrba8f08hbmg1gcdnbqsrg2g-python-types-requests-2.26.0/lib/python3.9/site-packages:/gnu/store/qpk0i5i4b6ssqnmg7q8nflwd3bvxsfmf-mitmproxy-8.1.1/lib/python3.9/site-packages:/gnu/store/2hqai8p1qilxsfgv2kkwy0k21jxpc2z2-python-beautifulsoup4-4.10.0/lib/python3.9/site-packages:/gnu/store/v30lfyk48gm977a8his728ck0f7mhyyg-python-click-8.1.2/lib/python3.9/site-packages:/gnu/store/jvh5ivwzqnv8xl1dr1dh5l6p4mb9j1bs-python-flask-2.1.1/lib/python3.9/site-packages:/gnu/store/ab47br45j1lzx6pyjdl86q7kqfd7mnkb-python-gnupg-0.4.8/lib/python3.9/site-packages:/gnu/store/x4s7jng9ljd5srb3bc1g3fqgvh8577nd-python-html5lib-1.1/lib/python3.9/site-packages:/gnu/store/9a5rbkm0k1wi9fm7zflwmcnr8m96prmy-python-immutables-0.19/lib/python3.9/site-packages:/gnu/store/3yym0cchxng9vqcrsxmxhjaaf12cfs6c-python-itsdangerous-2.0.1/lib/python3.9/site-packages:/gnu/store/ii5rvjy0va7bhwh25dk0ncl2nxjj8a60-python-jsonschema-3.2.0/lib/python3.9/site-packages:/gnu/store/q5sca9kbgdwqyv7ppkpzlppz2q0kwhsx-reuse-0.14.0/lib/python3.9/site-packages:/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/site-packages:/gnu/store/4k52mqy3c7dkgfmxgl21lzq3k9vx6gz5-python-tomli-2.0.0/lib/python3.9/site-packages:/gnu/store/vr16bf0b1bzmzvckva708fpng3qlcfwh-python-packaging-bootstrap-21.3/lib/python3.9/site-packages:/gnu/store/fkxl8fnk6cab2jr2ymafmdl8x7x9pdj9-python-pytz-2021.1/lib/python3.9/site-packages:/gnu/store/az5yw33ifrrdwps0fqmaa1hsvdlgvwid-python-wcwidth-0.1.8/lib/python3.9/site-packages:/gnu/store/nl58q651x8dbhmxp62i345pz4zmpi4rl-python-toml-0.10.2/lib/python3.9/site-packages:/gnu/store/84si0j45zxgbkmvya51yhrfj5iz0v2wx-python-six-bootstrap-1.16.0/lib/python3.9/site-packages:/gnu/store/k49pbvmdlv7cjhfgsgkdjqv4rd94gx7x-python-py-1.10.0/lib/python3.9/site-packages:/gnu/store/1dh3ra00qakpp27jpl88m36rl1ij495z-python-pluggy-0.13.1/lib/python3.9/site-packages:/gnu/store/mpcslygybwv1v6jvail06df27nbgwwp8-python-more-itertools-8.2.0/lib/python3.9/site-packages:/gnu/store/1hssss1mrxmsyrd4w9zv8gbpb7zncdq8-python-iniconfig-1.1.1/lib/python3.9/site-packages:/gnu/store/74kivpqcjsn7r6n53zarspwdxgkgbl14-python-attrs-bootstrap-21.2.0/lib/python3.9/site-packages:/gnu/store/0pi8kjdwkszh1k1qw8asm29rzm32s269-python-pep517-bootstrap-0.9.1/lib/python3.9/site-packages:/gnu/store/5whaphwnvjab8zbi3mw4ra993615n4yz-python-typing-extensions-4.0.1/lib/python3.9/site-packages:/gnu/store/csqkgklm3rf8f7p518m8mf2sd5qr9vas-python-mypy-extensions-0.4.3/lib/python3.9/site-packages:/gnu/store/ymzrw1r862g6s0bdjbcx05q23bd14rp9-python-zstandard-0.15.2/lib/python3.9/site-packages:/gnu/store/cgx4l0ip27ikc9jb0cl1igicm2g38r7l-python-publicsuffix2-2.20191221/lib/python3.9/site-packages:/gnu/store/487fxllblcv5ciji72z87k561j3vrr1z-python-wsproto-0.15.0/lib/python3.9/site-packages:/gnu/store/adgjag19siip20p0xhkpyjdnjjcd654a-python-urwid-2.1.2/lib/python3.9/site-packages:/gnu/store/yg4vrd6wk6pwnqysgb9s78vd3kjcvs6a-python-tornado-6.1/lib/python3.9/site-packages:/gnu/store/014qywhp7c7lic3qsdvzwmvf0lizf9r2-python-sortedcontainers-2.1.0/lib/python3.9/site-packages:/gnu/store/l3l8qg8jgz4q365i4wgca4m94hk7mday-python-ruamel.yaml-0.16.13/lib/python3.9/site-packages:/gnu/store/ac1nj53rpn8ki2npa0s6bcrcprgf7zq6-python-pyperclip-1.8.2/lib/python3.9/site-packages:/gnu/store/f9a6smln5z5240d9k1mk5jg8b6mnqiwl-python-pyparsing-3.0.6/lib/python3.9/site-packages:/gnu/store/ywd681xl21n82g6ckqgyymbkx4xydgk2-python-pyopenssl-22.0.0/lib/python3.9/site-packages:/gnu/store/402g4rs62bn5xzkxdwbmshgddbv2ribp-python-protobuf-3.20.1/lib/python3.9/site-packages:/gnu/store/y2yl1gisw2rc0yqjh4y6xjpml5ggz4fv-python-passlib-1.7.4/lib/python3.9/site-packages:/gnu/store/gb95h77225vk3dnnvzqpbhpd192v7w2h-python-msgpack-1.0.3/lib/python3.9/site-packages:/gnu/store/a114apk3jmhbv01lq37hq9v4w4jzgvlb-python-ldap3-2.7/lib/python3.9/site-packages:/gnu/store/vni7bai89v2l2agky7aihvflkwdd6iwr-python-kaitaistruct-0.10/lib/python3.9/site-packages:/gnu/store/8z52kxfrn9bnghi5zvaqa7b9ss7hq9vh-python-hyperframe-6.0.1/lib/python3.9/site-packages:/gnu/store/rwpkqrm75994jnjw9lmf687p6xby1q6x-python-h2-4.1.0/lib/python3.9/site-packages:/gnu/store/v8gnbynwqznlrbvd2xv5cj304020xfb8-python-h11-0.12.0/lib/python3.9/site-packages:/gnu/store/1mi55b4fmdr206ii6gmwrdgzafn0b97r-python-cryptography-36.0.1/lib/python3.9/site-packages:/gnu/store/5fxcv0p9qamcvwlib9jpbxlxyb3iah1h-python-brotli-1.0.9/lib/python3.9/site-packages:/gnu/store/i9ddvyf9vgzmfxh28slbi0zc8xyk8zn5-python-blinker-1.4/lib/python3.9/site-packages:/gnu/store/yxxandg09ln1wwmsjjad60wpd5z9vcli-python-asgiref-3.4.1/lib/python3.9/site-packages:/gnu/store/bj5d1a0asmnzh9qqxjcqb6wa9fww96qd-python-lxml-4.6.3/lib/python3.9/site-packages:/gnu/store/5nk33ifpxx1jrwvsambdcnxwrxq1kjwi-python-soupsieve-2.2.1/lib/python3.9/site-packages:/gnu/store/5b7kyvxmsip8i4phsdsfv48synwn0964-python-werkzeug-2.0.2/lib/python3.9/site-packages:/gnu/store/idwg7yli71kdaadqav6xn5xzb6rkcp20-python-jinja2-3.1.1/lib/python3.9/site-packages:/gnu/store/bxrh6gxczls7wf35kfvd0p4n8hk0428m-python-importlib-metadata-4.11.3/lib/python3.9/site-packages:/gnu/store/qlckfz534jr32c3dvykwj05ybsf10hq7-python-chardet-3.0.4/lib/python3.9/site-packages:/gnu/store/g53zkr19vz43mrx9h0gigj3lf4smn411-python-webencodings-0.5.1/lib/python3.9/site-packages:/gnu/store/cl3nc3lbzgjifp5c4fz0g0h34bjaibf6-python-six-1.16.0/lib/python3.9/site-packages:/gnu/store/q06w09f937q54kwwb3sfg8zdqygn0gil-python-pyrsistent-0.16.0/lib/python3.9/site-packages:/gnu/store/88rlck93vmrdsavfm2hh99gzzdsdaaf7-python-attrs-21.2.0/lib/python3.9/site-packages:/gnu/store/wzkwypg2wx3k21sw48zmjgnvcczzzcxi-python-wheel-0.37.0/lib/python3.9/site-packages:/gnu/store/7mcfqh16v32k7bw4cv59bh9yq1kippxf-python-filelock-3.0.12/lib/python3.9/site-packages:/gnu/store/fhiv69glcxg9grxawwbxpaqqj90hhsjq-python-distlib-0.3.1/lib/python3.9/site-packages:/gnu/store/26ldzj9xcirdrh7narm79gqgca2ka3dh-python-appdirs-1.4.3/lib/python3.9/site-packages:/gnu/store/diym1fxk82db89yn55vqgh4923irqgh8-python-ruamel.yaml.clib-0.2.6/lib/python3.9/site-packages:/gnu/store/myxy10nn61nrpfyvx20rq4416kmc25kl-python-bcrypt-3.2.0/lib/python3.9/site-packages:/gnu/store/6hb6zs58gia4z75xgf32d4c82qh8iavd-python-pyasn1-0.4.8/lib/python3.9/site-packages:/gnu/store/m0x8jwdhip0p7qmlpfqv6cfq7kh9aspz-python-gssapi-1.6.12/lib/python3.9/site-packages:/gnu/store/kjyl2km9wa5mpcfw2mq7r5r4x3q47lgl-python-hpack-4.0.0/lib/python3.9/site-packages:/gnu/store/jlx0r8vnrl7ywdls9g9cmjlgw1kznlmv-python-iso8601-0.1.13/lib/python3.9/site-packages:/gnu/store/w4hxd7w2nlwj4yj2yg3yif4mip508b59-python-idna-2.10/lib/python3.9/site-packages:/gnu/store/p09ad3pwazgjcfblzw94lmwq0jgd41zp-python-cffi-1.14.4/lib/python3.9/site-packages:/gnu/store/5ilf1cq3fn6mx3k20pv5pak2vnd3ybxd-python-asn1crypto-1.4.0/lib/python3.9/site-packages:/gnu/store/jbxjcwhb2f6nkigzrf4qp8avx7yckbys-python-requests-2.26.0/lib/python3.9/site-packages:/gnu/store/9qikfahx9wschf8jj1kc02qp8mzbfmcm-python-markupsafe-2.0.1/lib/python3.9/site-packages:/gnu/store/6l3kcbcqicf9acvi0hvdarbfnz6pzx3j-python-zipp-1.0.0/lib/python3.9/site-packages:/gnu/store/f0aa3qbah14mgmwdl6xn0wbnhm15b0jm-python-decorator-5.0.9/lib/python3.9/site-packages:/gnu/store/m5p8iinvgbylsym6j1bg9vp27cr7yb0q-python-pycparser-2.20/lib/python3.9/site-packages:/gnu/store/jm4dq8vksmaq7mcbkq115wpcpqv8qaqf-python-urllib3-1.26.7/lib/python3.9/site-packages:/gnu/store/vwbx6lb3ihpnwc2dj4iqghwa8ygb8dcq-python-charset-normalizer-2.0.5/lib/python3.9/site-packages:/gnu/store/hyglphska1gknm3q0jfdzk820plql55i-python-certifi-2020.12.5/lib/python3.9/site-packages:/gnu/store/d39sww9kp42vf7wxqkb9ig2ydbq519bb-python-pysocks-1.7.1/lib/python3.9/site-packages', 'PWD': '/home/jacobk/Programs/Haketilo-source/hydrilla-3.0b1', 'LOGNAME': 'jacobk', 'TEMPDIR': '/tmp', 'HOME': '/home/jacobk', 'TMPDIR': '/tmp', 'USER': 'jacobk', 'TEMP': '/tmp', 'SHLVL': '1', 'GUIX_ENVIRONMENT': '/gnu/store/9kylrd1p645nwwj40kisa227vqnxirs3-profile', 'TMP': '/tmp', 'PATH': '/gnu/store/9kylrd1p645nwwj40kisa227vqnxirs3-profile/bin'})
in addon.py sys.path is ['/home/jacobk/.haketilo', '/gnu/store/1gnglh0y42lx7ac4kzsx9vi01zx7cazm-hydrilla-3.0b1/bin', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python39.zip', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/lib-dynload', '/gnu/store/1gnglh0y42lx7ac4kzsx9vi01zx7cazm-hydrilla-3.0b1/lib/python3.9/site-packages', '/gnu/store/06pzx72mv7k4m1hww9hbkfqdngv3z59m-python-setuptools-scm-6.3.2/lib/python3.9/site-packages', '/gnu/store/9sv7c6yxrqksm514rsbvds883ypwfm4i-python-babel-2.9.0/lib/python3.9/site-packages', '/gnu/store/fb67v15n28vslmh54nx9jfmpayb85895-python-pytest-6.2.5/lib/python3.9/site-packages', '/gnu/store/whw4mwikdayp8pzjg83vcqcgfw1vn39x-python-pypa-build-0.7.0/lib/python3.9/site-packages', '/gnu/store/ghawmvzzslwrch9mx81iwbfglabwfhyp-python-mypy-0.942/lib/python3.9/site-packages', '/gnu/store/a3bkrj85wrba8f08hbmg1gcdnbqsrg2g-python-types-requests-2.26.0/lib/python3.9/site-packages', '/gnu/store/qpk0i5i4b6ssqnmg7q8nflwd3bvxsfmf-mitmproxy-8.1.1/lib/python3.9/site-packages', '/gnu/store/2hqai8p1qilxsfgv2kkwy0k21jxpc2z2-python-beautifulsoup4-4.10.0/lib/python3.9/site-packages', '/gnu/store/v30lfyk48gm977a8his728ck0f7mhyyg-python-click-8.1.2/lib/python3.9/site-packages', '/gnu/store/jvh5ivwzqnv8xl1dr1dh5l6p4mb9j1bs-python-flask-2.1.1/lib/python3.9/site-packages', '/gnu/store/ab47br45j1lzx6pyjdl86q7kqfd7mnkb-python-gnupg-0.4.8/lib/python3.9/site-packages', '/gnu/store/x4s7jng9ljd5srb3bc1g3fqgvh8577nd-python-html5lib-1.1/lib/python3.9/site-packages', '/gnu/store/9a5rbkm0k1wi9fm7zflwmcnr8m96prmy-python-immutables-0.19/lib/python3.9/site-packages', '/gnu/store/3yym0cchxng9vqcrsxmxhjaaf12cfs6c-python-itsdangerous-2.0.1/lib/python3.9/site-packages', '/gnu/store/ii5rvjy0va7bhwh25dk0ncl2nxjj8a60-python-jsonschema-3.2.0/lib/python3.9/site-packages', '/gnu/store/q5sca9kbgdwqyv7ppkpzlppz2q0kwhsx-reuse-0.14.0/lib/python3.9/site-packages', '/gnu/store/4k52mqy3c7dkgfmxgl21lzq3k9vx6gz5-python-tomli-2.0.0/lib/python3.9/site-packages', '/gnu/store/vr16bf0b1bzmzvckva708fpng3qlcfwh-python-packaging-bootstrap-21.3/lib/python3.9/site-packages', '/gnu/store/fkxl8fnk6cab2jr2ymafmdl8x7x9pdj9-python-pytz-2021.1/lib/python3.9/site-packages', '/gnu/store/az5yw33ifrrdwps0fqmaa1hsvdlgvwid-python-wcwidth-0.1.8/lib/python3.9/site-packages', '/gnu/store/nl58q651x8dbhmxp62i345pz4zmpi4rl-python-toml-0.10.2/lib/python3.9/site-packages', '/gnu/store/84si0j45zxgbkmvya51yhrfj5iz0v2wx-python-six-bootstrap-1.16.0/lib/python3.9/site-packages', '/gnu/store/k49pbvmdlv7cjhfgsgkdjqv4rd94gx7x-python-py-1.10.0/lib/python3.9/site-packages', '/gnu/store/1dh3ra00qakpp27jpl88m36rl1ij495z-python-pluggy-0.13.1/lib/python3.9/site-packages', '/gnu/store/mpcslygybwv1v6jvail06df27nbgwwp8-python-more-itertools-8.2.0/lib/python3.9/site-packages', '/gnu/store/1hssss1mrxmsyrd4w9zv8gbpb7zncdq8-python-iniconfig-1.1.1/lib/python3.9/site-packages', '/gnu/store/74kivpqcjsn7r6n53zarspwdxgkgbl14-python-attrs-bootstrap-21.2.0/lib/python3.9/site-packages', '/gnu/store/0pi8kjdwkszh1k1qw8asm29rzm32s269-python-pep517-bootstrap-0.9.1/lib/python3.9/site-packages', '/gnu/store/5whaphwnvjab8zbi3mw4ra993615n4yz-python-typing-extensions-4.0.1/lib/python3.9/site-packages', '/gnu/store/csqkgklm3rf8f7p518m8mf2sd5qr9vas-python-mypy-extensions-0.4.3/lib/python3.9/site-packages', '/gnu/store/ymzrw1r862g6s0bdjbcx05q23bd14rp9-python-zstandard-0.15.2/lib/python3.9/site-packages', '/gnu/store/cgx4l0ip27ikc9jb0cl1igicm2g38r7l-python-publicsuffix2-2.20191221/lib/python3.9/site-packages', '/gnu/store/487fxllblcv5ciji72z87k561j3vrr1z-python-wsproto-0.15.0/lib/python3.9/site-packages', '/gnu/store/adgjag19siip20p0xhkpyjdnjjcd654a-python-urwid-2.1.2/lib/python3.9/site-packages', '/gnu/store/yg4vrd6wk6pwnqysgb9s78vd3kjcvs6a-python-tornado-6.1/lib/python3.9/site-packages', '/gnu/store/014qywhp7c7lic3qsdvzwmvf0lizf9r2-python-sortedcontainers-2.1.0/lib/python3.9/site-packages', '/gnu/store/l3l8qg8jgz4q365i4wgca4m94hk7mday-python-ruamel.yaml-0.16.13/lib/python3.9/site-packages', '/gnu/store/ac1nj53rpn8ki2npa0s6bcrcprgf7zq6-python-pyperclip-1.8.2/lib/python3.9/site-packages', '/gnu/store/f9a6smln5z5240d9k1mk5jg8b6mnqiwl-python-pyparsing-3.0.6/lib/python3.9/site-packages', '/gnu/store/ywd681xl21n82g6ckqgyymbkx4xydgk2-python-pyopenssl-22.0.0/lib/python3.9/site-packages', '/gnu/store/402g4rs62bn5xzkxdwbmshgddbv2ribp-python-protobuf-3.20.1/lib/python3.9/site-packages', '/gnu/store/y2yl1gisw2rc0yqjh4y6xjpml5ggz4fv-python-passlib-1.7.4/lib/python3.9/site-packages', '/gnu/store/gb95h77225vk3dnnvzqpbhpd192v7w2h-python-msgpack-1.0.3/lib/python3.9/site-packages', '/gnu/store/a114apk3jmhbv01lq37hq9v4w4jzgvlb-python-ldap3-2.7/lib/python3.9/site-packages', '/gnu/store/vni7bai89v2l2agky7aihvflkwdd6iwr-python-kaitaistruct-0.10/lib/python3.9/site-packages', '/gnu/store/8z52kxfrn9bnghi5zvaqa7b9ss7hq9vh-python-hyperframe-6.0.1/lib/python3.9/site-packages', '/gnu/store/rwpkqrm75994jnjw9lmf687p6xby1q6x-python-h2-4.1.0/lib/python3.9/site-packages', '/gnu/store/v8gnbynwqznlrbvd2xv5cj304020xfb8-python-h11-0.12.0/lib/python3.9/site-packages', '/gnu/store/1mi55b4fmdr206ii6gmwrdgzafn0b97r-python-cryptography-36.0.1/lib/python3.9/site-packages', '/gnu/store/5fxcv0p9qamcvwlib9jpbxlxyb3iah1h-python-brotli-1.0.9/lib/python3.9/site-packages', '/gnu/store/i9ddvyf9vgzmfxh28slbi0zc8xyk8zn5-python-blinker-1.4/lib/python3.9/site-packages', '/gnu/store/yxxandg09ln1wwmsjjad60wpd5z9vcli-python-asgiref-3.4.1/lib/python3.9/site-packages', '/gnu/store/bj5d1a0asmnzh9qqxjcqb6wa9fww96qd-python-lxml-4.6.3/lib/python3.9/site-packages', '/gnu/store/5nk33ifpxx1jrwvsambdcnxwrxq1kjwi-python-soupsieve-2.2.1/lib/python3.9/site-packages', '/gnu/store/5b7kyvxmsip8i4phsdsfv48synwn0964-python-werkzeug-2.0.2/lib/python3.9/site-packages', '/gnu/store/idwg7yli71kdaadqav6xn5xzb6rkcp20-python-jinja2-3.1.1/lib/python3.9/site-packages', '/gnu/store/bxrh6gxczls7wf35kfvd0p4n8hk0428m-python-importlib-metadata-4.11.3/lib/python3.9/site-packages', '/gnu/store/qlckfz534jr32c3dvykwj05ybsf10hq7-python-chardet-3.0.4/lib/python3.9/site-packages', '/gnu/store/g53zkr19vz43mrx9h0gigj3lf4smn411-python-webencodings-0.5.1/lib/python3.9/site-packages', '/gnu/store/cl3nc3lbzgjifp5c4fz0g0h34bjaibf6-python-six-1.16.0/lib/python3.9/site-packages', '/gnu/store/q06w09f937q54kwwb3sfg8zdqygn0gil-python-pyrsistent-0.16.0/lib/python3.9/site-packages', '/gnu/store/88rlck93vmrdsavfm2hh99gzzdsdaaf7-python-attrs-21.2.0/lib/python3.9/site-packages', '/gnu/store/wzkwypg2wx3k21sw48zmjgnvcczzzcxi-python-wheel-0.37.0/lib/python3.9/site-packages', '/gnu/store/7mcfqh16v32k7bw4cv59bh9yq1kippxf-python-filelock-3.0.12/lib/python3.9/site-packages', '/gnu/store/fhiv69glcxg9grxawwbxpaqqj90hhsjq-python-distlib-0.3.1/lib/python3.9/site-packages', '/gnu/store/26ldzj9xcirdrh7narm79gqgca2ka3dh-python-appdirs-1.4.3/lib/python3.9/site-packages', '/gnu/store/diym1fxk82db89yn55vqgh4923irqgh8-python-ruamel.yaml.clib-0.2.6/lib/python3.9/site-packages', '/gnu/store/myxy10nn61nrpfyvx20rq4416kmc25kl-python-bcrypt-3.2.0/lib/python3.9/site-packages', '/gnu/store/6hb6zs58gia4z75xgf32d4c82qh8iavd-python-pyasn1-0.4.8/lib/python3.9/site-packages', '/gnu/store/m0x8jwdhip0p7qmlpfqv6cfq7kh9aspz-python-gssapi-1.6.12/lib/python3.9/site-packages', '/gnu/store/kjyl2km9wa5mpcfw2mq7r5r4x3q47lgl-python-hpack-4.0.0/lib/python3.9/site-packages', '/gnu/store/jlx0r8vnrl7ywdls9g9cmjlgw1kznlmv-python-iso8601-0.1.13/lib/python3.9/site-packages', '/gnu/store/w4hxd7w2nlwj4yj2yg3yif4mip508b59-python-idna-2.10/lib/python3.9/site-packages', '/gnu/store/p09ad3pwazgjcfblzw94lmwq0jgd41zp-python-cffi-1.14.4/lib/python3.9/site-packages', '/gnu/store/5ilf1cq3fn6mx3k20pv5pak2vnd3ybxd-python-asn1crypto-1.4.0/lib/python3.9/site-packages', '/gnu/store/jbxjcwhb2f6nkigzrf4qp8avx7yckbys-python-requests-2.26.0/lib/python3.9/site-packages', '/gnu/store/9qikfahx9wschf8jj1kc02qp8mzbfmcm-python-markupsafe-2.0.1/lib/python3.9/site-packages', '/gnu/store/6l3kcbcqicf9acvi0hvdarbfnz6pzx3j-python-zipp-1.0.0/lib/python3.9/site-packages', '/gnu/store/f0aa3qbah14mgmwdl6xn0wbnhm15b0jm-python-decorator-5.0.9/lib/python3.9/site-packages', '/gnu/store/m5p8iinvgbylsym6j1bg9vp27cr7yb0q-python-pycparser-2.20/lib/python3.9/site-packages', '/gnu/store/jm4dq8vksmaq7mcbkq115wpcpqv8qaqf-python-urllib3-1.26.7/lib/python3.9/site-packages', '/gnu/store/vwbx6lb3ihpnwc2dj4iqghwa8ygb8dcq-python-charset-normalizer-2.0.5/lib/python3.9/site-packages', '/gnu/store/hyglphska1gknm3q0jfdzk820plql55i-python-certifi-2020.12.5/lib/python3.9/site-packages', '/gnu/store/d39sww9kp42vf7wxqkb9ig2ydbq519bb-python-pysocks-1.7.1/lib/python3.9/site-packages', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/site-packages']
in addon.py sys.executable is /gnu/store/fby6l226w8kh2mwkzpjpajmgy0q1kxli-python-wrapper-3.9.9/bin/python
Traceback (most recent call last):
  File "/gnu/store/1gnglh0y42lx7ac4kzsx9vi01zx7cazm-hydrilla-3.0b1/lib/python3.9/site-packages/hydrilla/proxy/addon.py", line 131, in configure
    self.state = ConcreteHaketiloState.make(haketilo_dir / 'store')
  File "/gnu/store/1gnglh0y42lx7ac4kzsx9vi01zx7cazm-hydrilla-3.0b1/lib/python3.9/site-packages/hydrilla/proxy/state_impl/concrete_state.py", line 350, in make
    connection = sqlite3.connect(
sqlite3.OperationalError: unable to open database file
Loading script /home/jacobk/.haketilo/addon.py

(It crashes.)

I have indeed added lots of stuff to my .bashrc file, and I didn't even know .bash_profile was a thing (That file doesn't exist for me.), so I'll try moving all the stuff I added to .bashrc to .bash_profile .

#14

Updated by jacobk 11 months ago

Oops, the command I forgot to put in "`" wasguix environment -L . --container --ad-hoc -e '(@ (hydrilla) hydrilla)'`.

#15

Updated by jacobk 11 months ago

After moving user-added stuff from .bashrc to .bash_profile , guix environment -L . --check --ad-hoc -e '(@ (hydrilla) hydrilla)' outputs:

guix environment: checking the environment variables visible from shell '/bin/bash'...
guix environment: All is good!  The shell gets correct environment variables.

But then, haketilo --version outputs:

Traceback (most recent call last):
  File "/gnu/store/1gnglh0y42lx7ac4kzsx9vi01zx7cazm-hydrilla-3.0b1/bin/.haketilo-real", line 33, in <module>
    sys.exit(load_entry_point('hydrilla==3.0b1', 'console_scripts', 'haketilo')())
  File "/gnu/store/1gnglh0y42lx7ac4kzsx9vi01zx7cazm-hydrilla-3.0b1/bin/.haketilo-real", line 25, in importlib_load_entry_point
    return next(matches).load()
StopIteration

and haketilo outputs the same thing.

#16

Updated by koszko 11 months ago

sqlite3.OperationalError: unable to open database file

This error is that fault of mine which I have already identified - can be temporarily worked around by mkdir'ing ~/.haketilo/store.

I'm trying hard to think of another reason why haketilo console_scripts entry can be found in a container but cannot be found when running without a container. In case of the binary release tarball, I noticed that when /gnu/store/<some_directory> exists, its contents are used instead of tarball's ./gnu/store/<some_directory>. So, I think we could make one more experiment with the binary release tarball - if you want, of course. You're already volunteering a lot.

So, you could try this little hack

unshare -Umr               # create a new user mount namespace with root privileges inside
mount -t tmpfs dummy /gnu/ # make /gnu empty inside user namespace
./haketilo                 # try running the binary release with empty /gnu
exit                       # get out of the namespace

It this does work, it might be an issue with the Guix packages you're holding. If it ends up with the same error (and that's my bet), there's also a chance some weird variables are set by files under /etc/profile.d/ or similar and somehow not detected by --check. To verify that, we can modify the unpacked gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/.haketilo-real to add the following debugging lines (similar as in the patch before) at the top, just after the initial shebang line.

import os

print('os.environ is', os.environ)

import sys

print('sys.path is', sys.path)

After that, running Haketilo with an empty /gnu once again might give us more information.

Regardless of whether this will work, as a temporary workaround just for you, you can replace your current container command with

guix environment -L . --container --no-cwd --network --share=$HOME/.haketilo=$HOME/.haketilo --ad-hoc -e '(@ (hydrilla) hydrilla)' -- haketilo

which will

  • prevent sharing of your current directory with the container (it is not needed)
  • make haketilo TCP port visible to the browser (hopefully)
  • cause the ~/.haketilo directory to be the same as outside the container (this way, the same mitmproxy certs will be used each time)
  • run haketilo immediately, without spawning a shell

Digression

Btw, I also used to put my own variables initialization in ~/.bashrc. And that's not without a reason - many (most?) terminal emulators out there seem to be starting bash in a way that it doesn't consider itself a login shell and does not process ~/.profile nor ~/.bash_profile at all!

Although this is not at all related to running Haketilo, I thought I'd tell you the workaround I employed. Inside ~/.bashrc I added

# Make this bash a login shell if running inside my preferred terminal emulator.
if [ -z "$_DOT_PROFILE_SOURCED" ] && [ sakura = "$(ps -q "$PPID" -o comm=)" ];
then
    exec bash -l
fi

I did put it near the top, just after the following check that was present in the original, auto-generated ~/.bashrc

# If not running interactively, don't do anything
case $- in
    *i*) ;;
      *) return;;
esac

Then, I modified the part of ~/.profile that sources ~/.bashrc to define the _DOT_PROFILE_SOURCED variable

# if running bash
if [ -n "$BASH_VERSION" ]; then
    # include .bashrc if it exists
    if [ -f "$HOME/.bashrc" ]; then
        _DOT_PROFILE_SOURCED=1 . "$HOME/.bashrc"
    fi
fi

Now, when I open sakura (the terminal emulator I am using), the bash inside does read ~/.profile but it doesn't do so on other occasions ^^

#17

Updated by jacobk 11 months ago

Using the new instructions starting with "unshare", I got

Traceback (most recent call last):
  File "/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/.haketilo-real", line 33, in <module>
    sys.exit(load_entry_point('hydrilla==3.0b1', 'console_scripts', 'haketilo')())
  File "/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/.haketilo-real", line 25, in importlib_load_entry_point
    return next(matches).load()
StopIteration

so it does not work still. After adding the debug info lines at the beginning of .haketilo-real, I got

os.environ is environ({'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/jacobk-K55A:@/tmp/.ICE-unix/2221,unix/jacobk-K55A:/tmp/.ICE-unix/2221', 'WINDOWID': '72101969', 'QT_ACCESSIBILITY': '1', 'COLORTERM': 'truecolor', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-mate:/etc/xdg:/usr/share/triskel-default-settings/kf5-settings', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'GTK_IM_MODULE': 'ibus', 'LANGUAGE': 'en_US', 'DEVKITPRO': '/opt/devkitpro', 'GUIX_PYTHONPATH': '/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/lib/python3.9/site-packages:/gnu/store/06pzx72mv7k4m1hww9hbkfqdngv3z59m-python-setuptools-scm-6.3.2/lib/python3.9/site-packages:/gnu/store/p47c9xwrvjd9qxpqgacpqdil2jgki68z-python-babel-2.9.0/lib/python3.9/site-packages:/gnu/store/h7krsqar02l0s131x1596d4nb5wp667x-python-pytest-6.2.5/lib/python3.9/site-packages:/gnu/store/whw4mwikdayp8pzjg83vcqcgfw1vn39x-python-pypa-build-0.7.0/lib/python3.9/site-packages:/gnu/store/4w3ac8b4pjz4icm5dfdyl5kqy1iwyyam-python-mypy-0.942/lib/python3.9/site-packages:/gnu/store/a3bkrj85wrba8f08hbmg1gcdnbqsrg2g-python-types-requests-2.26.0/lib/python3.9/site-packages:/gnu/store/yym5qli1d05wqmshz4c7wvhylwfdbwlk-mitmproxy-8.1.1/lib/python3.9/site-packages:/gnu/store/2hqai8p1qilxsfgv2kkwy0k21jxpc2z2-python-beautifulsoup4-4.10.0/lib/python3.9/site-packages:/gnu/store/v30lfyk48gm977a8his728ck0f7mhyyg-python-click-8.1.2/lib/python3.9/site-packages:/gnu/store/xr79n94c95w90kridc0xpxikd1fzzvcl-python-flask-2.1.1/lib/python3.9/site-packages:/gnu/store/ab47br45j1lzx6pyjdl86q7kqfd7mnkb-python-gnupg-0.4.8/lib/python3.9/site-packages:/gnu/store/x4s7jng9ljd5srb3bc1g3fqgvh8577nd-python-html5lib-1.1/lib/python3.9/site-packages:/gnu/store/9a5rbkm0k1wi9fm7zflwmcnr8m96prmy-python-immutables-0.19/lib/python3.9/site-packages:/gnu/store/3yym0cchxng9vqcrsxmxhjaaf12cfs6c-python-itsdangerous-2.0.1/lib/python3.9/site-packages:/gnu/store/11hva2f62waygr7k7a7f53cn7npvnfsl-python-jsonschema-3.2.0/lib/python3.9/site-packages:/gnu/store/1iwx91y5jjr3fprnjf8nwf6zxxvdyr6d-reuse-0.14.0/lib/python3.9/site-packages:/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/site-packages:/gnu/store/4k52mqy3c7dkgfmxgl21lzq3k9vx6gz5-python-tomli-2.0.0/lib/python3.9/site-packages:/gnu/store/vr16bf0b1bzmzvckva708fpng3qlcfwh-python-packaging-bootstrap-21.3/lib/python3.9/site-packages:/gnu/store/fkxl8fnk6cab2jr2ymafmdl8x7x9pdj9-python-pytz-2021.1/lib/python3.9/site-packages:/gnu/store/az5yw33ifrrdwps0fqmaa1hsvdlgvwid-python-wcwidth-0.1.8/lib/python3.9/site-packages:/gnu/store/nl58q651x8dbhmxp62i345pz4zmpi4rl-python-toml-0.10.2/lib/python3.9/site-packages:/gnu/store/84si0j45zxgbkmvya51yhrfj5iz0v2wx-python-six-bootstrap-1.16.0/lib/python3.9/site-packages:/gnu/store/k49pbvmdlv7cjhfgsgkdjqv4rd94gx7x-python-py-1.10.0/lib/python3.9/site-packages:/gnu/store/1dh3ra00qakpp27jpl88m36rl1ij495z-python-pluggy-0.13.1/lib/python3.9/site-packages:/gnu/store/mpcslygybwv1v6jvail06df27nbgwwp8-python-more-itertools-8.2.0/lib/python3.9/site-packages:/gnu/store/1hssss1mrxmsyrd4w9zv8gbpb7zncdq8-python-iniconfig-1.1.1/lib/python3.9/site-packages:/gnu/store/74kivpqcjsn7r6n53zarspwdxgkgbl14-python-attrs-bootstrap-21.2.0/lib/python3.9/site-packages:/gnu/store/0pi8kjdwkszh1k1qw8asm29rzm32s269-python-pep517-bootstrap-0.9.1/lib/python3.9/site-packages:/gnu/store/5whaphwnvjab8zbi3mw4ra993615n4yz-python-typing-extensions-4.0.1/lib/python3.9/site-packages:/gnu/store/csqkgklm3rf8f7p518m8mf2sd5qr9vas-python-mypy-extensions-0.4.3/lib/python3.9/site-packages:/gnu/store/ymzrw1r862g6s0bdjbcx05q23bd14rp9-python-zstandard-0.15.2/lib/python3.9/site-packages:/gnu/store/cgx4l0ip27ikc9jb0cl1igicm2g38r7l-python-publicsuffix2-2.20191221/lib/python3.9/site-packages:/gnu/store/487fxllblcv5ciji72z87k561j3vrr1z-python-wsproto-0.15.0/lib/python3.9/site-packages:/gnu/store/adgjag19siip20p0xhkpyjdnjjcd654a-python-urwid-2.1.2/lib/python3.9/site-packages:/gnu/store/yg4vrd6wk6pwnqysgb9s78vd3kjcvs6a-python-tornado-6.1/lib/python3.9/site-packages:/gnu/store/014qywhp7c7lic3qsdvzwmvf0lizf9r2-python-sortedcontainers-2.1.0/lib/python3.9/site-packages:/gnu/store/l3l8qg8jgz4q365i4wgca4m94hk7mday-python-ruamel.yaml-0.16.13/lib/python3.9/site-packages:/gnu/store/ac1nj53rpn8ki2npa0s6bcrcprgf7zq6-python-pyperclip-1.8.2/lib/python3.9/site-packages:/gnu/store/f9a6smln5z5240d9k1mk5jg8b6mnqiwl-python-pyparsing-3.0.6/lib/python3.9/site-packages:/gnu/store/ywd681xl21n82g6ckqgyymbkx4xydgk2-python-pyopenssl-22.0.0/lib/python3.9/site-packages:/gnu/store/rl6ydbsxjjlimjsgkj05bkgylylw3ifd-python-protobuf-3.12.4/lib/python3.9/site-packages:/gnu/store/y2yl1gisw2rc0yqjh4y6xjpml5ggz4fv-python-passlib-1.7.4/lib/python3.9/site-packages:/gnu/store/gb95h77225vk3dnnvzqpbhpd192v7w2h-python-msgpack-1.0.3/lib/python3.9/site-packages:/gnu/store/a114apk3jmhbv01lq37hq9v4w4jzgvlb-python-ldap3-2.7/lib/python3.9/site-packages:/gnu/store/vni7bai89v2l2agky7aihvflkwdd6iwr-python-kaitaistruct-0.10/lib/python3.9/site-packages:/gnu/store/8z52kxfrn9bnghi5zvaqa7b9ss7hq9vh-python-hyperframe-6.0.1/lib/python3.9/site-packages:/gnu/store/rwpkqrm75994jnjw9lmf687p6xby1q6x-python-h2-4.1.0/lib/python3.9/site-packages:/gnu/store/v8gnbynwqznlrbvd2xv5cj304020xfb8-python-h11-0.12.0/lib/python3.9/site-packages:/gnu/store/1mi55b4fmdr206ii6gmwrdgzafn0b97r-python-cryptography-36.0.1/lib/python3.9/site-packages:/gnu/store/5fxcv0p9qamcvwlib9jpbxlxyb3iah1h-python-brotli-1.0.9/lib/python3.9/site-packages:/gnu/store/i9ddvyf9vgzmfxh28slbi0zc8xyk8zn5-python-blinker-1.4/lib/python3.9/site-packages:/gnu/store/yxxandg09ln1wwmsjjad60wpd5z9vcli-python-asgiref-3.4.1/lib/python3.9/site-packages:/gnu/store/bj5d1a0asmnzh9qqxjcqb6wa9fww96qd-python-lxml-4.6.3/lib/python3.9/site-packages:/gnu/store/5nk33ifpxx1jrwvsambdcnxwrxq1kjwi-python-soupsieve-2.2.1/lib/python3.9/site-packages:/gnu/store/5b7kyvxmsip8i4phsdsfv48synwn0964-python-werkzeug-2.0.2/lib/python3.9/site-packages:/gnu/store/idwg7yli71kdaadqav6xn5xzb6rkcp20-python-jinja2-3.1.1/lib/python3.9/site-packages:/gnu/store/bxrh6gxczls7wf35kfvd0p4n8hk0428m-python-importlib-metadata-4.11.3/lib/python3.9/site-packages:/gnu/store/0pi7vrps9pmkmkgcclkmb0lxhyg3lyi5-python-chardet-3.0.4/lib/python3.9/site-packages:/gnu/store/g53zkr19vz43mrx9h0gigj3lf4smn411-python-webencodings-0.5.1/lib/python3.9/site-packages:/gnu/store/cl3nc3lbzgjifp5c4fz0g0h34bjaibf6-python-six-1.16.0/lib/python3.9/site-packages:/gnu/store/q06w09f937q54kwwb3sfg8zdqygn0gil-python-pyrsistent-0.16.0/lib/python3.9/site-packages:/gnu/store/88rlck93vmrdsavfm2hh99gzzdsdaaf7-python-attrs-21.2.0/lib/python3.9/site-packages:/gnu/store/wzkwypg2wx3k21sw48zmjgnvcczzzcxi-python-wheel-0.37.0/lib/python3.9/site-packages:/gnu/store/7mcfqh16v32k7bw4cv59bh9yq1kippxf-python-filelock-3.0.12/lib/python3.9/site-packages:/gnu/store/fhiv69glcxg9grxawwbxpaqqj90hhsjq-python-distlib-0.3.1/lib/python3.9/site-packages:/gnu/store/26ldzj9xcirdrh7narm79gqgca2ka3dh-python-appdirs-1.4.3/lib/python3.9/site-packages:/gnu/store/diym1fxk82db89yn55vqgh4923irqgh8-python-ruamel.yaml.clib-0.2.6/lib/python3.9/site-packages:/gnu/store/myxy10nn61nrpfyvx20rq4416kmc25kl-python-bcrypt-3.2.0/lib/python3.9/site-packages:/gnu/store/6hb6zs58gia4z75xgf32d4c82qh8iavd-python-pyasn1-0.4.8/lib/python3.9/site-packages:/gnu/store/m0x8jwdhip0p7qmlpfqv6cfq7kh9aspz-python-gssapi-1.6.12/lib/python3.9/site-packages:/gnu/store/kjyl2km9wa5mpcfw2mq7r5r4x3q47lgl-python-hpack-4.0.0/lib/python3.9/site-packages:/gnu/store/jlx0r8vnrl7ywdls9g9cmjlgw1kznlmv-python-iso8601-0.1.13/lib/python3.9/site-packages:/gnu/store/w4hxd7w2nlwj4yj2yg3yif4mip508b59-python-idna-2.10/lib/python3.9/site-packages:/gnu/store/p09ad3pwazgjcfblzw94lmwq0jgd41zp-python-cffi-1.14.4/lib/python3.9/site-packages:/gnu/store/5ilf1cq3fn6mx3k20pv5pak2vnd3ybxd-python-asn1crypto-1.4.0/lib/python3.9/site-packages:/gnu/store/jbxjcwhb2f6nkigzrf4qp8avx7yckbys-python-requests-2.26.0/lib/python3.9/site-packages:/gnu/store/9qikfahx9wschf8jj1kc02qp8mzbfmcm-python-markupsafe-2.0.1/lib/python3.9/site-packages:/gnu/store/6l3kcbcqicf9acvi0hvdarbfnz6pzx3j-python-zipp-1.0.0/lib/python3.9/site-packages:/gnu/store/f0aa3qbah14mgmwdl6xn0wbnhm15b0jm-python-decorator-5.0.9/lib/python3.9/site-packages:/gnu/store/m5p8iinvgbylsym6j1bg9vp27cr7yb0q-python-pycparser-2.20/lib/python3.9/site-packages:/gnu/store/jm4dq8vksmaq7mcbkq115wpcpqv8qaqf-python-urllib3-1.26.7/lib/python3.9/site-packages:/gnu/store/y0bzhlbq8l8mpkklpb8iv8410fy9a526-python-charset-normalizer-2.0.5/lib/python3.9/site-packages:/gnu/store/hyglphska1gknm3q0jfdzk820plql55i-python-certifi-2020.12.5/lib/python3.9/site-packages:/gnu/store/d39sww9kp42vf7wxqkb9ig2ydbq519bb-python-pysocks-1.7.1/lib/python3.9/site-packages:/home/jacobk/.guix-profile/lib/python3.9/site-packages:/home/jacobk/.guix-profile/lib/python3.9/site-packages:/home/jacobk/.guix-profile/lib/python3.9/site-packages', 'QT4_IM_MODULE': 'ibus', 'MANDATORY_PATH': '/usr/share/gconf/mate.mandatory.path', 'USE_CCACHE': '1', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'THEOS': '/home/jacobk/theos', 'XMODIFIERS': '@im=ibus', 'DESKTOP_SESSION': 'mate', 'SSH_AGENT_PID': '2313', 'GTK_MODULES': 'gail:atk-bridge:canberra-gtk-module', 'XDG_SEAT': 'seat0', 'MATE_DESKTOP_SESSION_ID': 'this-is-deprecated', 'PWD': '/home/jacobk/Programs/haketilo-and-hydrilla-3.0-beta1', 'XDG_SESSION_DESKTOP': 'mate', 'LOGNAME': 'jacobk', 'QT_QPA_PLATFORMTHEME': 'gtk2', 'XDG_SESSION_TYPE': 'x11', 'GPG_AGENT_INFO': '/run/user/1000/gnupg/S.gpg-agent:0:1', 'XAUTHORITY': '/home/jacobk/.Xauthority', 'XDG_GREETER_DATA_DIR': '/var/lib/lightdm-data/jacobk', 'GDM_LANG': 'en_US', 'HOME': '/home/jacobk', 'LANG': 'en_US.UTF-8', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:', 'XDG_CURRENT_DESKTOP': 'MATE', 'VTE_VERSION': '6003', 'GIO_EXTRA_MODULES': '/home/jacobk/.guix-profile/lib/gio/modules:/home/jacobk/.guix-profile/lib/gio/modules:/home/jacobk/.guix-profile/lib/gio/modules', 'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'GAJIM_PLUGIN_PATH': '/home/jacobk/.guix-profile/share/gajim/plugins', 'DEVKITARM': '/opt/devkitpro/devkitARM', 'DOOMWADDIR': '/home/jacobk/.guix-profile/share/games/doom:/home/jacobk/.guix-profile/share/games/doom:/home/jacobk/.guix-profile/share/games/doom', 'CLUTTER_IM_MODULE': 'ibus', 'INFOPATH': '/home/jacobk/.guix-profile/share/info:/home/jacobk/.guix-profile/share/info:/home/jacobk/.config/guix/current/share/info:/home/jacobk/.guix-profile/share/info:/home/jacobk/.config/guix/current/share/info:', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'XDG_SESSION_CLASS': 'user', 'TERM': 'xterm-256color', 'GTK_OVERLAY_SCROLLING': '0', 'DEFAULTS_PATH': '/usr/share/gconf/mate.default.path', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'LIBVIRT_DEFAULT_URI': 'qemu:///system', 'USER': 'jacobk', 'PAM_KWALLET5_LOGIN': '/run/user/1000/kwallet5.socket', 'DISPLAY': ':0.0', 'SHLVL': '2', 'GUIX_LOCPATH': '/home/jacobk/.guix-profile/lib/locale', 'CCACHE_EXEC': '/usr/bin/ccache', 'QT_IM_MODULE': 'ibus', 'XDG_VTNR': '7', 'XDG_SESSION_ID': 'c2', 'DEVKITPPC': '/opt/devkitpro/devkitPPC', 'XDG_RUNTIME_DIR': '/run/user/1000', 'COMPIZ_CONFIG_PROFILE': 'mate', 'ANDROID_JACK_VM_ARGS': '-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G', 'QT_AUTO_SCREEN_SCALE_FACTOR': '0', 'DOOMWADPATH': '/home/jacobk/.guix-profile/share/games/doom:/home/jacobk/.guix-profile/share/games/doom:/home/jacobk/.guix-profile/share/games/doom', 'XDG_DATA_DIRS': '/home/jacobk/.guix-profile/share:/home/jacobk/.guix-profile/share:/home/jacobk/.guix-profile/share:/usr/share/mate:/home/jacobk/.guix-profile/share:/home/jacobk/.guix-profile/share:/home/jacobk/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'PATH': '/home/jacobk/.cargo/bin:/home/jacobk/Programs/ffmpeg-git-20211013-amd64-static:/home/jacobk/.guix-profile/bin:/home/jacobk/.guix-profile/sbin:/home/jacobk/.local/bin:/home/jacobk/.guix-profile/bin:/home/jacobk/.guix-profile/sbin:/home/jacobk/.config/guix/current/bin:/opt/devkitpro/tools/bin:/home/jacobk/Programs/node-v14.17.3-linux-x64/bin:/home/jacobk/.local/bin:/home/jacobk/.guix-profile/bin:/home/jacobk/.guix-profile/sbin:/home/jacobk/.config/guix/current/bin:/opt/devkitpro/tools/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'GDMSESSION': 'mate', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus', 'EMACSLOADPATH': '/home/jacobk/.guix-profile/share/emacs/site-lisp:/home/jacobk/.guix-profile/share/emacs/site-lisp:/home/jacobk/.guix-profile/share/emacs/site-lisp', 'QT_SCALE_FACTOR': '1', 'OLDPWD': '/home/jacobk'})
sys.path is ['/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python39.zip', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/lib-dynload', '/home/jacobk/.local/lib/python3.9/site-packages', '/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/lib/python3.9/site-packages', '/gnu/store/06pzx72mv7k4m1hww9hbkfqdngv3z59m-python-setuptools-scm-6.3.2/lib/python3.9/site-packages', '/gnu/store/p47c9xwrvjd9qxpqgacpqdil2jgki68z-python-babel-2.9.0/lib/python3.9/site-packages', '/gnu/store/h7krsqar02l0s131x1596d4nb5wp667x-python-pytest-6.2.5/lib/python3.9/site-packages', '/gnu/store/whw4mwikdayp8pzjg83vcqcgfw1vn39x-python-pypa-build-0.7.0/lib/python3.9/site-packages', '/gnu/store/4w3ac8b4pjz4icm5dfdyl5kqy1iwyyam-python-mypy-0.942/lib/python3.9/site-packages', '/gnu/store/a3bkrj85wrba8f08hbmg1gcdnbqsrg2g-python-types-requests-2.26.0/lib/python3.9/site-packages', '/gnu/store/yym5qli1d05wqmshz4c7wvhylwfdbwlk-mitmproxy-8.1.1/lib/python3.9/site-packages', '/gnu/store/2hqai8p1qilxsfgv2kkwy0k21jxpc2z2-python-beautifulsoup4-4.10.0/lib/python3.9/site-packages', '/gnu/store/v30lfyk48gm977a8his728ck0f7mhyyg-python-click-8.1.2/lib/python3.9/site-packages', '/gnu/store/xr79n94c95w90kridc0xpxikd1fzzvcl-python-flask-2.1.1/lib/python3.9/site-packages', '/gnu/store/ab47br45j1lzx6pyjdl86q7kqfd7mnkb-python-gnupg-0.4.8/lib/python3.9/site-packages', '/gnu/store/x4s7jng9ljd5srb3bc1g3fqgvh8577nd-python-html5lib-1.1/lib/python3.9/site-packages', '/gnu/store/9a5rbkm0k1wi9fm7zflwmcnr8m96prmy-python-immutables-0.19/lib/python3.9/site-packages', '/gnu/store/3yym0cchxng9vqcrsxmxhjaaf12cfs6c-python-itsdangerous-2.0.1/lib/python3.9/site-packages', '/gnu/store/11hva2f62waygr7k7a7f53cn7npvnfsl-python-jsonschema-3.2.0/lib/python3.9/site-packages', '/gnu/store/1iwx91y5jjr3fprnjf8nwf6zxxvdyr6d-reuse-0.14.0/lib/python3.9/site-packages', '/gnu/store/4k52mqy3c7dkgfmxgl21lzq3k9vx6gz5-python-tomli-2.0.0/lib/python3.9/site-packages', '/gnu/store/vr16bf0b1bzmzvckva708fpng3qlcfwh-python-packaging-bootstrap-21.3/lib/python3.9/site-packages', '/gnu/store/fkxl8fnk6cab2jr2ymafmdl8x7x9pdj9-python-pytz-2021.1/lib/python3.9/site-packages', '/gnu/store/az5yw33ifrrdwps0fqmaa1hsvdlgvwid-python-wcwidth-0.1.8/lib/python3.9/site-packages', '/gnu/store/nl58q651x8dbhmxp62i345pz4zmpi4rl-python-toml-0.10.2/lib/python3.9/site-packages', '/gnu/store/84si0j45zxgbkmvya51yhrfj5iz0v2wx-python-six-bootstrap-1.16.0/lib/python3.9/site-packages', '/gnu/store/k49pbvmdlv7cjhfgsgkdjqv4rd94gx7x-python-py-1.10.0/lib/python3.9/site-packages', '/gnu/store/1dh3ra00qakpp27jpl88m36rl1ij495z-python-pluggy-0.13.1/lib/python3.9/site-packages', '/gnu/store/mpcslygybwv1v6jvail06df27nbgwwp8-python-more-itertools-8.2.0/lib/python3.9/site-packages', '/gnu/store/1hssss1mrxmsyrd4w9zv8gbpb7zncdq8-python-iniconfig-1.1.1/lib/python3.9/site-packages', '/gnu/store/74kivpqcjsn7r6n53zarspwdxgkgbl14-python-attrs-bootstrap-21.2.0/lib/python3.9/site-packages', '/gnu/store/0pi8kjdwkszh1k1qw8asm29rzm32s269-python-pep517-bootstrap-0.9.1/lib/python3.9/site-packages', '/gnu/store/5whaphwnvjab8zbi3mw4ra993615n4yz-python-typing-extensions-4.0.1/lib/python3.9/site-packages', '/gnu/store/csqkgklm3rf8f7p518m8mf2sd5qr9vas-python-mypy-extensions-0.4.3/lib/python3.9/site-packages', '/gnu/store/ymzrw1r862g6s0bdjbcx05q23bd14rp9-python-zstandard-0.15.2/lib/python3.9/site-packages', '/gnu/store/cgx4l0ip27ikc9jb0cl1igicm2g38r7l-python-publicsuffix2-2.20191221/lib/python3.9/site-packages', '/gnu/store/487fxllblcv5ciji72z87k561j3vrr1z-python-wsproto-0.15.0/lib/python3.9/site-packages', '/gnu/store/adgjag19siip20p0xhkpyjdnjjcd654a-python-urwid-2.1.2/lib/python3.9/site-packages', '/gnu/store/yg4vrd6wk6pwnqysgb9s78vd3kjcvs6a-python-tornado-6.1/lib/python3.9/site-packages', '/gnu/store/014qywhp7c7lic3qsdvzwmvf0lizf9r2-python-sortedcontainers-2.1.0/lib/python3.9/site-packages', '/gnu/store/l3l8qg8jgz4q365i4wgca4m94hk7mday-python-ruamel.yaml-0.16.13/lib/python3.9/site-packages', '/gnu/store/ac1nj53rpn8ki2npa0s6bcrcprgf7zq6-python-pyperclip-1.8.2/lib/python3.9/site-packages', '/gnu/store/f9a6smln5z5240d9k1mk5jg8b6mnqiwl-python-pyparsing-3.0.6/lib/python3.9/site-packages', '/gnu/store/ywd681xl21n82g6ckqgyymbkx4xydgk2-python-pyopenssl-22.0.0/lib/python3.9/site-packages', '/gnu/store/rl6ydbsxjjlimjsgkj05bkgylylw3ifd-python-protobuf-3.12.4/lib/python3.9/site-packages', '/gnu/store/y2yl1gisw2rc0yqjh4y6xjpml5ggz4fv-python-passlib-1.7.4/lib/python3.9/site-packages', '/gnu/store/gb95h77225vk3dnnvzqpbhpd192v7w2h-python-msgpack-1.0.3/lib/python3.9/site-packages', '/gnu/store/a114apk3jmhbv01lq37hq9v4w4jzgvlb-python-ldap3-2.7/lib/python3.9/site-packages', '/gnu/store/vni7bai89v2l2agky7aihvflkwdd6iwr-python-kaitaistruct-0.10/lib/python3.9/site-packages', '/gnu/store/8z52kxfrn9bnghi5zvaqa7b9ss7hq9vh-python-hyperframe-6.0.1/lib/python3.9/site-packages', '/gnu/store/rwpkqrm75994jnjw9lmf687p6xby1q6x-python-h2-4.1.0/lib/python3.9/site-packages', '/gnu/store/v8gnbynwqznlrbvd2xv5cj304020xfb8-python-h11-0.12.0/lib/python3.9/site-packages', '/gnu/store/1mi55b4fmdr206ii6gmwrdgzafn0b97r-python-cryptography-36.0.1/lib/python3.9/site-packages', '/gnu/store/5fxcv0p9qamcvwlib9jpbxlxyb3iah1h-python-brotli-1.0.9/lib/python3.9/site-packages', '/gnu/store/i9ddvyf9vgzmfxh28slbi0zc8xyk8zn5-python-blinker-1.4/lib/python3.9/site-packages', '/gnu/store/yxxandg09ln1wwmsjjad60wpd5z9vcli-python-asgiref-3.4.1/lib/python3.9/site-packages', '/gnu/store/bj5d1a0asmnzh9qqxjcqb6wa9fww96qd-python-lxml-4.6.3/lib/python3.9/site-packages', '/gnu/store/5nk33ifpxx1jrwvsambdcnxwrxq1kjwi-python-soupsieve-2.2.1/lib/python3.9/site-packages', '/gnu/store/5b7kyvxmsip8i4phsdsfv48synwn0964-python-werkzeug-2.0.2/lib/python3.9/site-packages', '/gnu/store/idwg7yli71kdaadqav6xn5xzb6rkcp20-python-jinja2-3.1.1/lib/python3.9/site-packages', '/gnu/store/bxrh6gxczls7wf35kfvd0p4n8hk0428m-python-importlib-metadata-4.11.3/lib/python3.9/site-packages', '/gnu/store/0pi7vrps9pmkmkgcclkmb0lxhyg3lyi5-python-chardet-3.0.4/lib/python3.9/site-packages', '/gnu/store/g53zkr19vz43mrx9h0gigj3lf4smn411-python-webencodings-0.5.1/lib/python3.9/site-packages', '/gnu/store/cl3nc3lbzgjifp5c4fz0g0h34bjaibf6-python-six-1.16.0/lib/python3.9/site-packages', '/gnu/store/q06w09f937q54kwwb3sfg8zdqygn0gil-python-pyrsistent-0.16.0/lib/python3.9/site-packages', '/gnu/store/88rlck93vmrdsavfm2hh99gzzdsdaaf7-python-attrs-21.2.0/lib/python3.9/site-packages', '/gnu/store/wzkwypg2wx3k21sw48zmjgnvcczzzcxi-python-wheel-0.37.0/lib/python3.9/site-packages', '/gnu/store/7mcfqh16v32k7bw4cv59bh9yq1kippxf-python-filelock-3.0.12/lib/python3.9/site-packages', '/gnu/store/fhiv69glcxg9grxawwbxpaqqj90hhsjq-python-distlib-0.3.1/lib/python3.9/site-packages', '/gnu/store/26ldzj9xcirdrh7narm79gqgca2ka3dh-python-appdirs-1.4.3/lib/python3.9/site-packages', '/gnu/store/diym1fxk82db89yn55vqgh4923irqgh8-python-ruamel.yaml.clib-0.2.6/lib/python3.9/site-packages', '/gnu/store/myxy10nn61nrpfyvx20rq4416kmc25kl-python-bcrypt-3.2.0/lib/python3.9/site-packages', '/gnu/store/6hb6zs58gia4z75xgf32d4c82qh8iavd-python-pyasn1-0.4.8/lib/python3.9/site-packages', '/gnu/store/m0x8jwdhip0p7qmlpfqv6cfq7kh9aspz-python-gssapi-1.6.12/lib/python3.9/site-packages', '/gnu/store/kjyl2km9wa5mpcfw2mq7r5r4x3q47lgl-python-hpack-4.0.0/lib/python3.9/site-packages', '/gnu/store/jlx0r8vnrl7ywdls9g9cmjlgw1kznlmv-python-iso8601-0.1.13/lib/python3.9/site-packages', '/gnu/store/w4hxd7w2nlwj4yj2yg3yif4mip508b59-python-idna-2.10/lib/python3.9/site-packages', '/gnu/store/p09ad3pwazgjcfblzw94lmwq0jgd41zp-python-cffi-1.14.4/lib/python3.9/site-packages', '/gnu/store/5ilf1cq3fn6mx3k20pv5pak2vnd3ybxd-python-asn1crypto-1.4.0/lib/python3.9/site-packages', '/gnu/store/jbxjcwhb2f6nkigzrf4qp8avx7yckbys-python-requests-2.26.0/lib/python3.9/site-packages', '/gnu/store/9qikfahx9wschf8jj1kc02qp8mzbfmcm-python-markupsafe-2.0.1/lib/python3.9/site-packages', '/gnu/store/6l3kcbcqicf9acvi0hvdarbfnz6pzx3j-python-zipp-1.0.0/lib/python3.9/site-packages', '/gnu/store/f0aa3qbah14mgmwdl6xn0wbnhm15b0jm-python-decorator-5.0.9/lib/python3.9/site-packages', '/gnu/store/m5p8iinvgbylsym6j1bg9vp27cr7yb0q-python-pycparser-2.20/lib/python3.9/site-packages', '/gnu/store/jm4dq8vksmaq7mcbkq115wpcpqv8qaqf-python-urllib3-1.26.7/lib/python3.9/site-packages', '/gnu/store/y0bzhlbq8l8mpkklpb8iv8410fy9a526-python-charset-normalizer-2.0.5/lib/python3.9/site-packages', '/gnu/store/hyglphska1gknm3q0jfdzk820plql55i-python-certifi-2020.12.5/lib/python3.9/site-packages', '/gnu/store/d39sww9kp42vf7wxqkb9ig2ydbq519bb-python-pysocks-1.7.1/lib/python3.9/site-packages', '/home/jacobk/.guix-profile/lib/python3.9/site-packages', '/home/jacobk/.guix-profile/lib/python3.9/site-packages', '/home/jacobk/.guix-profile/lib/python3.9/site-packages', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/site-packages']
Traceback (most recent call last):
  File "/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/.haketilo-real", line 42, in <module>
    sys.exit(load_entry_point('hydrilla==3.0b1', 'console_scripts', 'haketilo')())
  File "/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/.haketilo-real", line 34, in importlib_load_entry_point
    return next(matches).load()
StopIteration

Using the "temporary workaround", Haketilo seems to work fine, actually. I noticed I had to allow scripts in Haketilo 2.0 for the scripts on hkt.mitm.it to run, haha. I'll get rid of Haketilo 2.0 eventually (except for testing).

Also, I might not have as much time to test things the next 2-3 days, so, if you cannot reproduce the error I am running into without the workaround, I think you should go ahead and release beta 2 with a warning about known issue (or just use the workaround automatically for everyone, but I assume that may have some downsides). Though, I guess it's not really that important, since it's a beta anyway.

#18

Updated by koszko 11 months ago

jacobk wrote:

After adding the debug info lines at the beginning of .haketilo-real, I got
[...]

I see the GUIX_PYTHONPATH variable contains - besides all the paths needed for Haketilo - an additional path of /home/jacobk/.guix-profile/lib/python3.9/site-packages. This seems correct in general and shouldn't be causing problems. Nevertheless, I suspect that in this particular case some files and directories under /home/jacobk/.guix-profile/lib/python3.9/site-packages might be confusing the importlib module in some way. This is how you can check it once you have time:

You can modify the unpacked gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/haketilo to add an

unset GUIX_PYTHONPATH

line after the shebang and before the export GUIX_PYTHONPATH=[...] line. Then you can run it with the same command sequence as before, i.e. unshare -Umr, mount -t tmpfs [...], etc.

Actually, there is yet another way to test the same thing - you could just add mount -t tmpfs dummy /home/jacobk/.guix-profile/lib/python3.9/site-packages to the sequence of namespace commands we've been using.

Using the "temporary workaround", Haketilo seems to work fine, actually.

Finally, some good news :)

I noticed I had to allow scripts in Haketilo 2.0 for the scripts on hkt.mitm.it to run, haha.

Did I put any scripts on hkt.mitm.it (I don't recall)? Or do you actually mean the scripts injected by the proxy on other sites?

Also, I might not have as much time to test things the next 2-3 days,

No problem, that's totally understandable :)

so, if you cannot reproduce the error I am running into without the workaround, I think you should go ahead and release beta 2 [...]

I agree.

Well,

or just use the workaround automatically for everyone, but I assume that may have some downsides

The most critical downside is that Guix doesn't facilitate such setup - so I'd need to do additional modifications on the pack made by Guix. But that might nevertheless be the way to go. Thanks for the suggestion :)

Though, I guess it's not really that important, since it's a beta anyway.

Depends. Some pieces of software stay in "beta" for most of their life. Just the matter of how the maintainer labels a release ¯\_(ツ)_/¯

#19

Updated by jacobk 11 months ago

After adding unset GUIX_PYTHONPATH to gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/haketilo in the binary release, I get

os.environ is environ({'SHELL': '/bin/bash', 'SESSION_MANAGER': 'local/jacobk-K55A:@/tmp/.ICE-unix/2221,unix/jacobk-K55A:/tmp/.ICE-unix/2221', 'WINDOWID': '72753483', 'QT_ACCESSIBILITY': '1', 'COLORTERM': 'truecolor', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-mate:/etc/xdg:/usr/share/triskel-default-settings/kf5-settings', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'GTK_IM_MODULE': 'ibus', 'LANGUAGE': 'en_US', 'DEVKITPRO': '/opt/devkitpro', 'GUIX_PYTHONPATH': '/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/lib/python3.9/site-packages:/gnu/store/06pzx72mv7k4m1hww9hbkfqdngv3z59m-python-setuptools-scm-6.3.2/lib/python3.9/site-packages:/gnu/store/p47c9xwrvjd9qxpqgacpqdil2jgki68z-python-babel-2.9.0/lib/python3.9/site-packages:/gnu/store/h7krsqar02l0s131x1596d4nb5wp667x-python-pytest-6.2.5/lib/python3.9/site-packages:/gnu/store/whw4mwikdayp8pzjg83vcqcgfw1vn39x-python-pypa-build-0.7.0/lib/python3.9/site-packages:/gnu/store/4w3ac8b4pjz4icm5dfdyl5kqy1iwyyam-python-mypy-0.942/lib/python3.9/site-packages:/gnu/store/a3bkrj85wrba8f08hbmg1gcdnbqsrg2g-python-types-requests-2.26.0/lib/python3.9/site-packages:/gnu/store/yym5qli1d05wqmshz4c7wvhylwfdbwlk-mitmproxy-8.1.1/lib/python3.9/site-packages:/gnu/store/2hqai8p1qilxsfgv2kkwy0k21jxpc2z2-python-beautifulsoup4-4.10.0/lib/python3.9/site-packages:/gnu/store/v30lfyk48gm977a8his728ck0f7mhyyg-python-click-8.1.2/lib/python3.9/site-packages:/gnu/store/xr79n94c95w90kridc0xpxikd1fzzvcl-python-flask-2.1.1/lib/python3.9/site-packages:/gnu/store/ab47br45j1lzx6pyjdl86q7kqfd7mnkb-python-gnupg-0.4.8/lib/python3.9/site-packages:/gnu/store/x4s7jng9ljd5srb3bc1g3fqgvh8577nd-python-html5lib-1.1/lib/python3.9/site-packages:/gnu/store/9a5rbkm0k1wi9fm7zflwmcnr8m96prmy-python-immutables-0.19/lib/python3.9/site-packages:/gnu/store/3yym0cchxng9vqcrsxmxhjaaf12cfs6c-python-itsdangerous-2.0.1/lib/python3.9/site-packages:/gnu/store/11hva2f62waygr7k7a7f53cn7npvnfsl-python-jsonschema-3.2.0/lib/python3.9/site-packages:/gnu/store/1iwx91y5jjr3fprnjf8nwf6zxxvdyr6d-reuse-0.14.0/lib/python3.9/site-packages:/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/site-packages:/gnu/store/4k52mqy3c7dkgfmxgl21lzq3k9vx6gz5-python-tomli-2.0.0/lib/python3.9/site-packages:/gnu/store/vr16bf0b1bzmzvckva708fpng3qlcfwh-python-packaging-bootstrap-21.3/lib/python3.9/site-packages:/gnu/store/fkxl8fnk6cab2jr2ymafmdl8x7x9pdj9-python-pytz-2021.1/lib/python3.9/site-packages:/gnu/store/az5yw33ifrrdwps0fqmaa1hsvdlgvwid-python-wcwidth-0.1.8/lib/python3.9/site-packages:/gnu/store/nl58q651x8dbhmxp62i345pz4zmpi4rl-python-toml-0.10.2/lib/python3.9/site-packages:/gnu/store/84si0j45zxgbkmvya51yhrfj5iz0v2wx-python-six-bootstrap-1.16.0/lib/python3.9/site-packages:/gnu/store/k49pbvmdlv7cjhfgsgkdjqv4rd94gx7x-python-py-1.10.0/lib/python3.9/site-packages:/gnu/store/1dh3ra00qakpp27jpl88m36rl1ij495z-python-pluggy-0.13.1/lib/python3.9/site-packages:/gnu/store/mpcslygybwv1v6jvail06df27nbgwwp8-python-more-itertools-8.2.0/lib/python3.9/site-packages:/gnu/store/1hssss1mrxmsyrd4w9zv8gbpb7zncdq8-python-iniconfig-1.1.1/lib/python3.9/site-packages:/gnu/store/74kivpqcjsn7r6n53zarspwdxgkgbl14-python-attrs-bootstrap-21.2.0/lib/python3.9/site-packages:/gnu/store/0pi8kjdwkszh1k1qw8asm29rzm32s269-python-pep517-bootstrap-0.9.1/lib/python3.9/site-packages:/gnu/store/5whaphwnvjab8zbi3mw4ra993615n4yz-python-typing-extensions-4.0.1/lib/python3.9/site-packages:/gnu/store/csqkgklm3rf8f7p518m8mf2sd5qr9vas-python-mypy-extensions-0.4.3/lib/python3.9/site-packages:/gnu/store/ymzrw1r862g6s0bdjbcx05q23bd14rp9-python-zstandard-0.15.2/lib/python3.9/site-packages:/gnu/store/cgx4l0ip27ikc9jb0cl1igicm2g38r7l-python-publicsuffix2-2.20191221/lib/python3.9/site-packages:/gnu/store/487fxllblcv5ciji72z87k561j3vrr1z-python-wsproto-0.15.0/lib/python3.9/site-packages:/gnu/store/adgjag19siip20p0xhkpyjdnjjcd654a-python-urwid-2.1.2/lib/python3.9/site-packages:/gnu/store/yg4vrd6wk6pwnqysgb9s78vd3kjcvs6a-python-tornado-6.1/lib/python3.9/site-packages:/gnu/store/014qywhp7c7lic3qsdvzwmvf0lizf9r2-python-sortedcontainers-2.1.0/lib/python3.9/site-packages:/gnu/store/l3l8qg8jgz4q365i4wgca4m94hk7mday-python-ruamel.yaml-0.16.13/lib/python3.9/site-packages:/gnu/store/ac1nj53rpn8ki2npa0s6bcrcprgf7zq6-python-pyperclip-1.8.2/lib/python3.9/site-packages:/gnu/store/f9a6smln5z5240d9k1mk5jg8b6mnqiwl-python-pyparsing-3.0.6/lib/python3.9/site-packages:/gnu/store/ywd681xl21n82g6ckqgyymbkx4xydgk2-python-pyopenssl-22.0.0/lib/python3.9/site-packages:/gnu/store/rl6ydbsxjjlimjsgkj05bkgylylw3ifd-python-protobuf-3.12.4/lib/python3.9/site-packages:/gnu/store/y2yl1gisw2rc0yqjh4y6xjpml5ggz4fv-python-passlib-1.7.4/lib/python3.9/site-packages:/gnu/store/gb95h77225vk3dnnvzqpbhpd192v7w2h-python-msgpack-1.0.3/lib/python3.9/site-packages:/gnu/store/a114apk3jmhbv01lq37hq9v4w4jzgvlb-python-ldap3-2.7/lib/python3.9/site-packages:/gnu/store/vni7bai89v2l2agky7aihvflkwdd6iwr-python-kaitaistruct-0.10/lib/python3.9/site-packages:/gnu/store/8z52kxfrn9bnghi5zvaqa7b9ss7hq9vh-python-hyperframe-6.0.1/lib/python3.9/site-packages:/gnu/store/rwpkqrm75994jnjw9lmf687p6xby1q6x-python-h2-4.1.0/lib/python3.9/site-packages:/gnu/store/v8gnbynwqznlrbvd2xv5cj304020xfb8-python-h11-0.12.0/lib/python3.9/site-packages:/gnu/store/1mi55b4fmdr206ii6gmwrdgzafn0b97r-python-cryptography-36.0.1/lib/python3.9/site-packages:/gnu/store/5fxcv0p9qamcvwlib9jpbxlxyb3iah1h-python-brotli-1.0.9/lib/python3.9/site-packages:/gnu/store/i9ddvyf9vgzmfxh28slbi0zc8xyk8zn5-python-blinker-1.4/lib/python3.9/site-packages:/gnu/store/yxxandg09ln1wwmsjjad60wpd5z9vcli-python-asgiref-3.4.1/lib/python3.9/site-packages:/gnu/store/bj5d1a0asmnzh9qqxjcqb6wa9fww96qd-python-lxml-4.6.3/lib/python3.9/site-packages:/gnu/store/5nk33ifpxx1jrwvsambdcnxwrxq1kjwi-python-soupsieve-2.2.1/lib/python3.9/site-packages:/gnu/store/5b7kyvxmsip8i4phsdsfv48synwn0964-python-werkzeug-2.0.2/lib/python3.9/site-packages:/gnu/store/idwg7yli71kdaadqav6xn5xzb6rkcp20-python-jinja2-3.1.1/lib/python3.9/site-packages:/gnu/store/bxrh6gxczls7wf35kfvd0p4n8hk0428m-python-importlib-metadata-4.11.3/lib/python3.9/site-packages:/gnu/store/0pi7vrps9pmkmkgcclkmb0lxhyg3lyi5-python-chardet-3.0.4/lib/python3.9/site-packages:/gnu/store/g53zkr19vz43mrx9h0gigj3lf4smn411-python-webencodings-0.5.1/lib/python3.9/site-packages:/gnu/store/cl3nc3lbzgjifp5c4fz0g0h34bjaibf6-python-six-1.16.0/lib/python3.9/site-packages:/gnu/store/q06w09f937q54kwwb3sfg8zdqygn0gil-python-pyrsistent-0.16.0/lib/python3.9/site-packages:/gnu/store/88rlck93vmrdsavfm2hh99gzzdsdaaf7-python-attrs-21.2.0/lib/python3.9/site-packages:/gnu/store/wzkwypg2wx3k21sw48zmjgnvcczzzcxi-python-wheel-0.37.0/lib/python3.9/site-packages:/gnu/store/7mcfqh16v32k7bw4cv59bh9yq1kippxf-python-filelock-3.0.12/lib/python3.9/site-packages:/gnu/store/fhiv69glcxg9grxawwbxpaqqj90hhsjq-python-distlib-0.3.1/lib/python3.9/site-packages:/gnu/store/26ldzj9xcirdrh7narm79gqgca2ka3dh-python-appdirs-1.4.3/lib/python3.9/site-packages:/gnu/store/diym1fxk82db89yn55vqgh4923irqgh8-python-ruamel.yaml.clib-0.2.6/lib/python3.9/site-packages:/gnu/store/myxy10nn61nrpfyvx20rq4416kmc25kl-python-bcrypt-3.2.0/lib/python3.9/site-packages:/gnu/store/6hb6zs58gia4z75xgf32d4c82qh8iavd-python-pyasn1-0.4.8/lib/python3.9/site-packages:/gnu/store/m0x8jwdhip0p7qmlpfqv6cfq7kh9aspz-python-gssapi-1.6.12/lib/python3.9/site-packages:/gnu/store/kjyl2km9wa5mpcfw2mq7r5r4x3q47lgl-python-hpack-4.0.0/lib/python3.9/site-packages:/gnu/store/jlx0r8vnrl7ywdls9g9cmjlgw1kznlmv-python-iso8601-0.1.13/lib/python3.9/site-packages:/gnu/store/w4hxd7w2nlwj4yj2yg3yif4mip508b59-python-idna-2.10/lib/python3.9/site-packages:/gnu/store/p09ad3pwazgjcfblzw94lmwq0jgd41zp-python-cffi-1.14.4/lib/python3.9/site-packages:/gnu/store/5ilf1cq3fn6mx3k20pv5pak2vnd3ybxd-python-asn1crypto-1.4.0/lib/python3.9/site-packages:/gnu/store/jbxjcwhb2f6nkigzrf4qp8avx7yckbys-python-requests-2.26.0/lib/python3.9/site-packages:/gnu/store/9qikfahx9wschf8jj1kc02qp8mzbfmcm-python-markupsafe-2.0.1/lib/python3.9/site-packages:/gnu/store/6l3kcbcqicf9acvi0hvdarbfnz6pzx3j-python-zipp-1.0.0/lib/python3.9/site-packages:/gnu/store/f0aa3qbah14mgmwdl6xn0wbnhm15b0jm-python-decorator-5.0.9/lib/python3.9/site-packages:/gnu/store/m5p8iinvgbylsym6j1bg9vp27cr7yb0q-python-pycparser-2.20/lib/python3.9/site-packages:/gnu/store/jm4dq8vksmaq7mcbkq115wpcpqv8qaqf-python-urllib3-1.26.7/lib/python3.9/site-packages:/gnu/store/y0bzhlbq8l8mpkklpb8iv8410fy9a526-python-charset-normalizer-2.0.5/lib/python3.9/site-packages:/gnu/store/hyglphska1gknm3q0jfdzk820plql55i-python-certifi-2020.12.5/lib/python3.9/site-packages:/gnu/store/d39sww9kp42vf7wxqkb9ig2ydbq519bb-python-pysocks-1.7.1/lib/python3.9/site-packages', 'QT4_IM_MODULE': 'ibus', 'MANDATORY_PATH': '/usr/share/gconf/mate.mandatory.path', 'USE_CCACHE': '1', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'THEOS': '/home/jacobk/theos', 'XMODIFIERS': '@im=ibus', 'DESKTOP_SESSION': 'mate', 'SSH_AGENT_PID': '2313', 'GTK_MODULES': 'gail:atk-bridge:canberra-gtk-module', 'XDG_SEAT': 'seat0', 'MATE_DESKTOP_SESSION_ID': 'this-is-deprecated', 'PWD': '/home/jacobk/Programs/haketilo-and-hydrilla-3.0-beta1', 'XDG_SESSION_DESKTOP': 'mate', 'LOGNAME': 'jacobk', 'QT_QPA_PLATFORMTHEME': 'gtk2', 'XDG_SESSION_TYPE': 'x11', 'GPG_AGENT_INFO': '/run/user/1000/gnupg/S.gpg-agent:0:1', 'XAUTHORITY': '/home/jacobk/.Xauthority', 'XDG_GREETER_DATA_DIR': '/var/lib/lightdm-data/jacobk', 'GDM_LANG': 'en_US', 'HOME': '/home/jacobk', 'LANG': 'en_US.UTF-8', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:', 'XDG_CURRENT_DESKTOP': 'MATE', 'VTE_VERSION': '6003', 'GIO_EXTRA_MODULES': '/home/jacobk/.guix-profile/lib/gio/modules:/home/jacobk/.guix-profile/lib/gio/modules:/home/jacobk/.guix-profile/lib/gio/modules', 'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'GAJIM_PLUGIN_PATH': '/home/jacobk/.guix-profile/share/gajim/plugins', 'DEVKITARM': '/opt/devkitpro/devkitARM', 'DOOMWADDIR': '/home/jacobk/.guix-profile/share/games/doom:/home/jacobk/.guix-profile/share/games/doom:/home/jacobk/.guix-profile/share/games/doom', 'CLUTTER_IM_MODULE': 'ibus', 'INFOPATH': '/home/jacobk/.guix-profile/share/info:/home/jacobk/.guix-profile/share/info:/home/jacobk/.config/guix/current/share/info:/home/jacobk/.guix-profile/share/info:/home/jacobk/.config/guix/current/share/info:', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'XDG_SESSION_CLASS': 'user', 'TERM': 'xterm-256color', 'GTK_OVERLAY_SCROLLING': '0', 'DEFAULTS_PATH': '/usr/share/gconf/mate.default.path', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'LIBVIRT_DEFAULT_URI': 'qemu:///system', 'USER': 'jacobk', 'PAM_KWALLET5_LOGIN': '/run/user/1000/kwallet5.socket', 'DISPLAY': ':0.0', 'SHLVL': '2', 'GUIX_LOCPATH': '/home/jacobk/.guix-profile/lib/locale', 'CCACHE_EXEC': '/usr/bin/ccache', 'QT_IM_MODULE': 'ibus', 'XDG_VTNR': '7', 'XDG_SESSION_ID': 'c2', 'DEVKITPPC': '/opt/devkitpro/devkitPPC', 'XDG_RUNTIME_DIR': '/run/user/1000', 'COMPIZ_CONFIG_PROFILE': 'mate', 'ANDROID_JACK_VM_ARGS': '-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G', 'QT_AUTO_SCREEN_SCALE_FACTOR': '0', 'DOOMWADPATH': '/home/jacobk/.guix-profile/share/games/doom:/home/jacobk/.guix-profile/share/games/doom:/home/jacobk/.guix-profile/share/games/doom', 'XDG_DATA_DIRS': '/home/jacobk/.guix-profile/share:/home/jacobk/.guix-profile/share:/home/jacobk/.guix-profile/share:/usr/share/mate:/home/jacobk/.guix-profile/share:/home/jacobk/.guix-profile/share:/home/jacobk/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'PATH': '/home/jacobk/.cargo/bin:/home/jacobk/Programs/ffmpeg-git-20211013-amd64-static:/home/jacobk/.guix-profile/bin:/home/jacobk/.guix-profile/sbin:/home/jacobk/.local/bin:/home/jacobk/.guix-profile/bin:/home/jacobk/.guix-profile/sbin:/home/jacobk/.config/guix/current/bin:/opt/devkitpro/tools/bin:/home/jacobk/Programs/node-v14.17.3-linux-x64/bin:/home/jacobk/.local/bin:/home/jacobk/.guix-profile/bin:/home/jacobk/.guix-profile/sbin:/home/jacobk/.config/guix/current/bin:/opt/devkitpro/tools/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'GDMSESSION': 'mate', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus', 'EMACSLOADPATH': '/home/jacobk/.guix-profile/share/emacs/site-lisp:/home/jacobk/.guix-profile/share/emacs/site-lisp:/home/jacobk/.guix-profile/share/emacs/site-lisp', 'QT_SCALE_FACTOR': '1', 'OLDPWD': '/home/jacobk/Programs/hydrilla-3.0b1'})
sys.path is ['/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python39.zip', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/lib-dynload', '/home/jacobk/.local/lib/python3.9/site-packages', '/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/lib/python3.9/site-packages', '/gnu/store/06pzx72mv7k4m1hww9hbkfqdngv3z59m-python-setuptools-scm-6.3.2/lib/python3.9/site-packages', '/gnu/store/p47c9xwrvjd9qxpqgacpqdil2jgki68z-python-babel-2.9.0/lib/python3.9/site-packages', '/gnu/store/h7krsqar02l0s131x1596d4nb5wp667x-python-pytest-6.2.5/lib/python3.9/site-packages', '/gnu/store/whw4mwikdayp8pzjg83vcqcgfw1vn39x-python-pypa-build-0.7.0/lib/python3.9/site-packages', '/gnu/store/4w3ac8b4pjz4icm5dfdyl5kqy1iwyyam-python-mypy-0.942/lib/python3.9/site-packages', '/gnu/store/a3bkrj85wrba8f08hbmg1gcdnbqsrg2g-python-types-requests-2.26.0/lib/python3.9/site-packages', '/gnu/store/yym5qli1d05wqmshz4c7wvhylwfdbwlk-mitmproxy-8.1.1/lib/python3.9/site-packages', '/gnu/store/2hqai8p1qilxsfgv2kkwy0k21jxpc2z2-python-beautifulsoup4-4.10.0/lib/python3.9/site-packages', '/gnu/store/v30lfyk48gm977a8his728ck0f7mhyyg-python-click-8.1.2/lib/python3.9/site-packages', '/gnu/store/xr79n94c95w90kridc0xpxikd1fzzvcl-python-flask-2.1.1/lib/python3.9/site-packages', '/gnu/store/ab47br45j1lzx6pyjdl86q7kqfd7mnkb-python-gnupg-0.4.8/lib/python3.9/site-packages', '/gnu/store/x4s7jng9ljd5srb3bc1g3fqgvh8577nd-python-html5lib-1.1/lib/python3.9/site-packages', '/gnu/store/9a5rbkm0k1wi9fm7zflwmcnr8m96prmy-python-immutables-0.19/lib/python3.9/site-packages', '/gnu/store/3yym0cchxng9vqcrsxmxhjaaf12cfs6c-python-itsdangerous-2.0.1/lib/python3.9/site-packages', '/gnu/store/11hva2f62waygr7k7a7f53cn7npvnfsl-python-jsonschema-3.2.0/lib/python3.9/site-packages', '/gnu/store/1iwx91y5jjr3fprnjf8nwf6zxxvdyr6d-reuse-0.14.0/lib/python3.9/site-packages', '/gnu/store/4k52mqy3c7dkgfmxgl21lzq3k9vx6gz5-python-tomli-2.0.0/lib/python3.9/site-packages', '/gnu/store/vr16bf0b1bzmzvckva708fpng3qlcfwh-python-packaging-bootstrap-21.3/lib/python3.9/site-packages', '/gnu/store/fkxl8fnk6cab2jr2ymafmdl8x7x9pdj9-python-pytz-2021.1/lib/python3.9/site-packages', '/gnu/store/az5yw33ifrrdwps0fqmaa1hsvdlgvwid-python-wcwidth-0.1.8/lib/python3.9/site-packages', '/gnu/store/nl58q651x8dbhmxp62i345pz4zmpi4rl-python-toml-0.10.2/lib/python3.9/site-packages', '/gnu/store/84si0j45zxgbkmvya51yhrfj5iz0v2wx-python-six-bootstrap-1.16.0/lib/python3.9/site-packages', '/gnu/store/k49pbvmdlv7cjhfgsgkdjqv4rd94gx7x-python-py-1.10.0/lib/python3.9/site-packages', '/gnu/store/1dh3ra00qakpp27jpl88m36rl1ij495z-python-pluggy-0.13.1/lib/python3.9/site-packages', '/gnu/store/mpcslygybwv1v6jvail06df27nbgwwp8-python-more-itertools-8.2.0/lib/python3.9/site-packages', '/gnu/store/1hssss1mrxmsyrd4w9zv8gbpb7zncdq8-python-iniconfig-1.1.1/lib/python3.9/site-packages', '/gnu/store/74kivpqcjsn7r6n53zarspwdxgkgbl14-python-attrs-bootstrap-21.2.0/lib/python3.9/site-packages', '/gnu/store/0pi8kjdwkszh1k1qw8asm29rzm32s269-python-pep517-bootstrap-0.9.1/lib/python3.9/site-packages', '/gnu/store/5whaphwnvjab8zbi3mw4ra993615n4yz-python-typing-extensions-4.0.1/lib/python3.9/site-packages', '/gnu/store/csqkgklm3rf8f7p518m8mf2sd5qr9vas-python-mypy-extensions-0.4.3/lib/python3.9/site-packages', '/gnu/store/ymzrw1r862g6s0bdjbcx05q23bd14rp9-python-zstandard-0.15.2/lib/python3.9/site-packages', '/gnu/store/cgx4l0ip27ikc9jb0cl1igicm2g38r7l-python-publicsuffix2-2.20191221/lib/python3.9/site-packages', '/gnu/store/487fxllblcv5ciji72z87k561j3vrr1z-python-wsproto-0.15.0/lib/python3.9/site-packages', '/gnu/store/adgjag19siip20p0xhkpyjdnjjcd654a-python-urwid-2.1.2/lib/python3.9/site-packages', '/gnu/store/yg4vrd6wk6pwnqysgb9s78vd3kjcvs6a-python-tornado-6.1/lib/python3.9/site-packages', '/gnu/store/014qywhp7c7lic3qsdvzwmvf0lizf9r2-python-sortedcontainers-2.1.0/lib/python3.9/site-packages', '/gnu/store/l3l8qg8jgz4q365i4wgca4m94hk7mday-python-ruamel.yaml-0.16.13/lib/python3.9/site-packages', '/gnu/store/ac1nj53rpn8ki2npa0s6bcrcprgf7zq6-python-pyperclip-1.8.2/lib/python3.9/site-packages', '/gnu/store/f9a6smln5z5240d9k1mk5jg8b6mnqiwl-python-pyparsing-3.0.6/lib/python3.9/site-packages', '/gnu/store/ywd681xl21n82g6ckqgyymbkx4xydgk2-python-pyopenssl-22.0.0/lib/python3.9/site-packages', '/gnu/store/rl6ydbsxjjlimjsgkj05bkgylylw3ifd-python-protobuf-3.12.4/lib/python3.9/site-packages', '/gnu/store/y2yl1gisw2rc0yqjh4y6xjpml5ggz4fv-python-passlib-1.7.4/lib/python3.9/site-packages', '/gnu/store/gb95h77225vk3dnnvzqpbhpd192v7w2h-python-msgpack-1.0.3/lib/python3.9/site-packages', '/gnu/store/a114apk3jmhbv01lq37hq9v4w4jzgvlb-python-ldap3-2.7/lib/python3.9/site-packages', '/gnu/store/vni7bai89v2l2agky7aihvflkwdd6iwr-python-kaitaistruct-0.10/lib/python3.9/site-packages', '/gnu/store/8z52kxfrn9bnghi5zvaqa7b9ss7hq9vh-python-hyperframe-6.0.1/lib/python3.9/site-packages', '/gnu/store/rwpkqrm75994jnjw9lmf687p6xby1q6x-python-h2-4.1.0/lib/python3.9/site-packages', '/gnu/store/v8gnbynwqznlrbvd2xv5cj304020xfb8-python-h11-0.12.0/lib/python3.9/site-packages', '/gnu/store/1mi55b4fmdr206ii6gmwrdgzafn0b97r-python-cryptography-36.0.1/lib/python3.9/site-packages', '/gnu/store/5fxcv0p9qamcvwlib9jpbxlxyb3iah1h-python-brotli-1.0.9/lib/python3.9/site-packages', '/gnu/store/i9ddvyf9vgzmfxh28slbi0zc8xyk8zn5-python-blinker-1.4/lib/python3.9/site-packages', '/gnu/store/yxxandg09ln1wwmsjjad60wpd5z9vcli-python-asgiref-3.4.1/lib/python3.9/site-packages', '/gnu/store/bj5d1a0asmnzh9qqxjcqb6wa9fww96qd-python-lxml-4.6.3/lib/python3.9/site-packages', '/gnu/store/5nk33ifpxx1jrwvsambdcnxwrxq1kjwi-python-soupsieve-2.2.1/lib/python3.9/site-packages', '/gnu/store/5b7kyvxmsip8i4phsdsfv48synwn0964-python-werkzeug-2.0.2/lib/python3.9/site-packages', '/gnu/store/idwg7yli71kdaadqav6xn5xzb6rkcp20-python-jinja2-3.1.1/lib/python3.9/site-packages', '/gnu/store/bxrh6gxczls7wf35kfvd0p4n8hk0428m-python-importlib-metadata-4.11.3/lib/python3.9/site-packages', '/gnu/store/0pi7vrps9pmkmkgcclkmb0lxhyg3lyi5-python-chardet-3.0.4/lib/python3.9/site-packages', '/gnu/store/g53zkr19vz43mrx9h0gigj3lf4smn411-python-webencodings-0.5.1/lib/python3.9/site-packages', '/gnu/store/cl3nc3lbzgjifp5c4fz0g0h34bjaibf6-python-six-1.16.0/lib/python3.9/site-packages', '/gnu/store/q06w09f937q54kwwb3sfg8zdqygn0gil-python-pyrsistent-0.16.0/lib/python3.9/site-packages', '/gnu/store/88rlck93vmrdsavfm2hh99gzzdsdaaf7-python-attrs-21.2.0/lib/python3.9/site-packages', '/gnu/store/wzkwypg2wx3k21sw48zmjgnvcczzzcxi-python-wheel-0.37.0/lib/python3.9/site-packages', '/gnu/store/7mcfqh16v32k7bw4cv59bh9yq1kippxf-python-filelock-3.0.12/lib/python3.9/site-packages', '/gnu/store/fhiv69glcxg9grxawwbxpaqqj90hhsjq-python-distlib-0.3.1/lib/python3.9/site-packages', '/gnu/store/26ldzj9xcirdrh7narm79gqgca2ka3dh-python-appdirs-1.4.3/lib/python3.9/site-packages', '/gnu/store/diym1fxk82db89yn55vqgh4923irqgh8-python-ruamel.yaml.clib-0.2.6/lib/python3.9/site-packages', '/gnu/store/myxy10nn61nrpfyvx20rq4416kmc25kl-python-bcrypt-3.2.0/lib/python3.9/site-packages', '/gnu/store/6hb6zs58gia4z75xgf32d4c82qh8iavd-python-pyasn1-0.4.8/lib/python3.9/site-packages', '/gnu/store/m0x8jwdhip0p7qmlpfqv6cfq7kh9aspz-python-gssapi-1.6.12/lib/python3.9/site-packages', '/gnu/store/kjyl2km9wa5mpcfw2mq7r5r4x3q47lgl-python-hpack-4.0.0/lib/python3.9/site-packages', '/gnu/store/jlx0r8vnrl7ywdls9g9cmjlgw1kznlmv-python-iso8601-0.1.13/lib/python3.9/site-packages', '/gnu/store/w4hxd7w2nlwj4yj2yg3yif4mip508b59-python-idna-2.10/lib/python3.9/site-packages', '/gnu/store/p09ad3pwazgjcfblzw94lmwq0jgd41zp-python-cffi-1.14.4/lib/python3.9/site-packages', '/gnu/store/5ilf1cq3fn6mx3k20pv5pak2vnd3ybxd-python-asn1crypto-1.4.0/lib/python3.9/site-packages', '/gnu/store/jbxjcwhb2f6nkigzrf4qp8avx7yckbys-python-requests-2.26.0/lib/python3.9/site-packages', '/gnu/store/9qikfahx9wschf8jj1kc02qp8mzbfmcm-python-markupsafe-2.0.1/lib/python3.9/site-packages', '/gnu/store/6l3kcbcqicf9acvi0hvdarbfnz6pzx3j-python-zipp-1.0.0/lib/python3.9/site-packages', '/gnu/store/f0aa3qbah14mgmwdl6xn0wbnhm15b0jm-python-decorator-5.0.9/lib/python3.9/site-packages', '/gnu/store/m5p8iinvgbylsym6j1bg9vp27cr7yb0q-python-pycparser-2.20/lib/python3.9/site-packages', '/gnu/store/jm4dq8vksmaq7mcbkq115wpcpqv8qaqf-python-urllib3-1.26.7/lib/python3.9/site-packages', '/gnu/store/y0bzhlbq8l8mpkklpb8iv8410fy9a526-python-charset-normalizer-2.0.5/lib/python3.9/site-packages', '/gnu/store/hyglphska1gknm3q0jfdzk820plql55i-python-certifi-2020.12.5/lib/python3.9/site-packages', '/gnu/store/d39sww9kp42vf7wxqkb9ig2ydbq519bb-python-pysocks-1.7.1/lib/python3.9/site-packages', '/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/site-packages']
Traceback (most recent call last):
  File "/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/.haketilo-real", line 42, in <module>
    sys.exit(load_entry_point('hydrilla==3.0b1', 'console_scripts', 'haketilo')())
  File "/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/.haketilo-real", line 34, in importlib_load_entry_point
    return next(matches).load()
StopIteration

If I try to run mount -t tmpfs dummy /home/jacobk/.guix-profile/lib/python3.9/site-packages (between the other mount command and ./haketilo) I get:

mount: /home/jacobk/.guix-profile/lib/python3.9/site-packages: mount point does not exist.

Did I put any scripts on hkt.mitm.it (I don't recall)? Or do you actually mean the scripts injected by the proxy on other sites?

Weird, I had added https://hkt.mitm.it/*** to my allowed scripts list, but now that I check again I don't see any scripts on that page. It couldn't have been any scripts needed to install the certificate, because that was https://mitm.it and hkt.mitm.it wouldn't match mitm.it. So, I'm not really sure what made me do that. It's probably better if it doesn't use JavaScript, so browsers without JavaScript use Haketilo too (not that that's useful now, but in the future, when replacing HTML is officially supported, it would be beneficial I think).

#20

Updated by koszko 11 months ago

jacobk wrote:

After adding unset GUIX_PYTHONPATH to gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/haketilo in the binary release, I get
[...]

OK, it was not the fault of GUIX_PYTHONPATH. I now also noticed that in sys.path even before /gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/lib/python3.9/site-packages there appears /home/jacobk/.local/lib/python3.9/site-packages. I believe Python's default behavior is to add this directory to sys.path regardless of environment variables set. Given you were using hydrilla before, it seems likely that you have a package named "hydrilla" installed there using pip and it's likely that it is an older version like 1.1-beta1. Obviously, older versions did not have a "haketilo" console_scripts entry point which /gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/.haketilo-real is unsuccessfully trying to load.

I am now pretty sure this was the cause of errors. You can confirm by adding

mount -t tmpfs dummy /home/jacobk/.local/lib/python3.9/site-packages

to the sequence of namespace commands.

I really expect this command to make Haketilo start properly.

If I try to run mount -t tmpfs dummy /home/jacobk/.guix-profile/lib/python3.9/site-packages (between the other mount command and ./haketilo) I get:

mount: /home/jacobk/.guix-profile/lib/python3.9/site-packages: mount point does not exist.

My bad - /home/jacobk/.guix-profile/lib/python3.9 is obviously a symlink to some directory under /gnu/ which we've already faked to be empty :)

It's probably better if it doesn't use JavaScript, so browsers without JavaScript use Haketilo too (not that that's useful now, but in the future, when replacing HTML is officially supported, it would be beneficial I think).

Yep, that's what I am thinking about, too. Plus most people who could be interested in Haketilo are probably already using NoScript, uBO, LibreJS or something similar for script blocking

#21

Updated by jacobk 11 months ago

Yes, after the extra mount command Haketilo does work properly with the binary release.

I noticed that although pip show hydrilla shows version 3.0b, python3.9 -m pip show hydrilla shows version 1.0. (This is because my pip default is for python 3.8.) If I go to ~/.local/lib/python3.9/site-packages and rename all 3 folders starting with "hydrilla" to add "tmp-" to the beginning, then the binary release works without manually using unshare and mount. python3.9 -m pip uninstall hydrilla (after renaming the folders back to what they were) also makes the binary release work properly, and python3.9 -m pip install hydrilla breaks it again.

#22

Updated by koszko 11 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

Python can be told to ignore user's local packages through setting of certain environment variable. To have it done automatically, I just modified the Guix recipe to patch the shell wrappers of haketilo and other commands I provide. Here's the relevant commit

https://git.koszko.org/pydrilla/commit/?h=koszko&id=f7c4dff95e88d58d61c51b2a6b94c90e2e4e0c4b

You can checkout this commit and try it if you want. Building is now easier than it was :) make release in project directory takes care of the entire process and produces a nice tarball. Anyway, I'm pretty confident this particular issue is gone now.

The behavior of having user's local Python packages loaded before application's packages is somewhat strange. Perhaps Guix folks would be willing to make my solution a default? I'll make a suggestion

#23

Updated by jacobk 10 months ago

For some reason I cannot get the release to build. I ran git clone https://git.koszko.org/pydrilla and git checkout f7c4dff95e88d58d61c51b2a6b94c90e2e4e0c4b and then make release. I tried with and without hydrilla installed in python3.9, and seemingly got the same error. The below log is from the attempt after uninstalling hydrilla1.0.

guix time-machine --commit=a86979b41a49a8fcdaa887970ba594dbba701226 -- shell -Df guix.scm -- python3 -m build -s
* Creating venv isolated environment...
* Installing packages in isolated environment... (babel, setuptools>=44, setuptools_scm>=5.0, wheel)
* Getting dependencies for sdist...
running egg_info
writing src/hydrilla.egg-info/PKG-INFO
writing dependency_links to src/hydrilla.egg-info/dependency_links.txt
writing entry points to src/hydrilla.egg-info/entry_points.txt
writing requirements to src/hydrilla.egg-info/requires.txt
writing top-level names to src/hydrilla.egg-info/top_level.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'src/hydrilla/schemas/*/*.schema.json*'
warning: no files found matching 'tests/source-package-example/*'
warning: no files found matching 'tests/source-package-example/LICENSES/*'
warning: no files found matching 'tests/source-package-example/.reuse/*'
warning: no previously-included files matching '.git' found anywhere in distribution
warning: no previously-included files matching '*.mo' found anywhere in distribution
adding license file 'COPYING'
writing manifest file 'src/hydrilla.egg-info/SOURCES.txt'
* Building sdist...
running sdist
running egg_info
writing src/hydrilla.egg-info/PKG-INFO
writing dependency_links to src/hydrilla.egg-info/dependency_links.txt
writing entry points to src/hydrilla.egg-info/entry_points.txt
writing requirements to src/hydrilla.egg-info/requires.txt
writing top-level names to src/hydrilla.egg-info/top_level.txt
reading manifest template 'MANIFEST.in'
warning: no files found matching 'src/hydrilla/schemas/*/*.schema.json*'
warning: no files found matching 'tests/source-package-example/*'
warning: no files found matching 'tests/source-package-example/LICENSES/*'
warning: no files found matching 'tests/source-package-example/.reuse/*'
warning: no previously-included files matching '.git' found anywhere in distribution
warning: no previously-included files matching '*.mo' found anywhere in distribution
adding license file 'COPYING'
writing manifest file 'src/hydrilla.egg-info/SOURCES.txt'
running check
creating hydrilla-3.0b2.dev22+gf7c4dff
creating hydrilla-3.0b2.dev22+gf7c4dff/.reuse
creating hydrilla-3.0b2.dev22+gf7c4dff/LICENSES
creating hydrilla-3.0b2.dev22+gf7c4dff/doc
creating hydrilla-3.0b2.dev22+gf7c4dff/doc/examples
creating hydrilla-3.0b2.dev22+gf7c4dff/doc/man
creating hydrilla-3.0b2.dev22+gf7c4dff/doc/man/man1
creating hydrilla-3.0b2.dev22+gf7c4dff/hydrilla-guix
creating hydrilla-3.0b2.dev22+gf7c4dff/src
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla.egg-info
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/builder
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/common_jinja_templates
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/common_jinja_templates/import
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/common_jinja_templates/include
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/locales
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/locales/en_US
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/locales/en_US/LC_MESSAGES
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/mitmproxy_launcher
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies/info_pages_templates
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies/injectable_scripts
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/state_impl
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/state_impl/_operations
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/items
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/prompts
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/repos
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/rules
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/server
creating hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/server/templates
creating hydrilla-3.0b2.dev22+gf7c4dff/tests
copying files to hydrilla-3.0b2.dev22+gf7c4dff...
copying COPYING -> hydrilla-3.0b2.dev22+gf7c4dff
copying MANIFEST.in -> hydrilla-3.0b2.dev22+gf7c4dff
copying Makefile -> hydrilla-3.0b2.dev22+gf7c4dff
copying README.md -> hydrilla-3.0b2.dev22+gf7c4dff
copying README.md.license -> hydrilla-3.0b2.dev22+gf7c4dff
copying babel.cfg -> hydrilla-3.0b2.dev22+gf7c4dff
copying bashrc -> hydrilla-3.0b2.dev22+gf7c4dff
copying conftest.py -> hydrilla-3.0b2.dev22+gf7c4dff
copying guix.scm -> hydrilla-3.0b2.dev22+gf7c4dff
copying mypy.ini -> hydrilla-3.0b2.dev22+gf7c4dff
copying pyproject.toml -> hydrilla-3.0b2.dev22+gf7c4dff
copying setup.cfg -> hydrilla-3.0b2.dev22+gf7c4dff
copying setup.py -> hydrilla-3.0b2.dev22+gf7c4dff
copying .reuse/dep5 -> hydrilla-3.0b2.dev22+gf7c4dff/.reuse
copying LICENSES/AGPL-3.0-or-later.txt -> hydrilla-3.0b2.dev22+gf7c4dff/LICENSES
copying LICENSES/CC-BY-SA-4.0.txt -> hydrilla-3.0b2.dev22+gf7c4dff/LICENSES
copying LICENSES/CC0-1.0.txt -> hydrilla-3.0b2.dev22+gf7c4dff/LICENSES
copying LICENSES/GPL-3.0-or-later.txt -> hydrilla-3.0b2.dev22+gf7c4dff/LICENSES
copying doc/examples/hydrilla.example.com.conf -> hydrilla-3.0b2.dev22+gf7c4dff/doc/examples
copying doc/examples/hydrilla.example.com.tls.conf -> hydrilla-3.0b2.dev22+gf7c4dff/doc/examples
copying doc/examples/hydrilla.wsgi -> hydrilla-3.0b2.dev22+gf7c4dff/doc/examples
copying doc/man/man1/hydrilla-builder.1 -> hydrilla-3.0b2.dev22+gf7c4dff/doc/man/man1
copying doc/man/man1/hydrilla.1 -> hydrilla-3.0b2.dev22+gf7c4dff/doc/man/man1
copying hydrilla-guix/hydrilla.scm -> hydrilla-3.0b2.dev22+gf7c4dff/hydrilla-guix
copying src/hydrilla/__init__.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla
copying src/hydrilla/_version.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla
copying src/hydrilla/common_jinja_templates.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla
copying src/hydrilla/exceptions.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla
copying src/hydrilla/item_infos.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla
copying src/hydrilla/json_instances.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla
copying src/hydrilla/pattern_tree.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla
copying src/hydrilla/py.typed -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla
copying src/hydrilla/translations.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla
copying src/hydrilla/url_patterns.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla
copying src/hydrilla/versions.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla
copying src/hydrilla.egg-info/PKG-INFO -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla.egg-info
copying src/hydrilla.egg-info/SOURCES.txt -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla.egg-info
copying src/hydrilla.egg-info/dependency_links.txt -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla.egg-info
copying src/hydrilla.egg-info/entry_points.txt -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla.egg-info
copying src/hydrilla.egg-info/not-zip-safe -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla.egg-info
copying src/hydrilla.egg-info/requires.txt -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla.egg-info
copying src/hydrilla.egg-info/top_level.txt -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla.egg-info
copying src/hydrilla/builder/__init__.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/builder
copying src/hydrilla/builder/__main__.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/builder
copying src/hydrilla/builder/build.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/builder
copying src/hydrilla/builder/common_errors.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/builder
copying src/hydrilla/builder/local_apt.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/builder
copying src/hydrilla/builder/piggybacking.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/builder
copying src/hydrilla/common_jinja_templates/base.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/common_jinja_templates
copying src/hydrilla/common_jinja_templates/import/checkbox_tricks.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/common_jinja_templates/import
copying src/hydrilla/common_jinja_templates/include/checkbox_tricks_style.css.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/common_jinja_templates/include
copying src/hydrilla/common_jinja_templates/include/item_list_style.css.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/common_jinja_templates/include
copying src/hydrilla/locales/en_US/LC_MESSAGES/messages.po -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/locales/en_US/LC_MESSAGES
copying src/hydrilla/mitmproxy_launcher/__init__.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/mitmproxy_launcher
copying src/hydrilla/mitmproxy_launcher/__main__.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/mitmproxy_launcher
copying src/hydrilla/mitmproxy_launcher/addon_script.py.mitmproxy -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/mitmproxy_launcher
copying src/hydrilla/mitmproxy_launcher/launch.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/mitmproxy_launcher
copying src/hydrilla/proxy/__init__.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy
copying src/hydrilla/proxy/addon.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy
copying src/hydrilla/proxy/csp.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy
copying src/hydrilla/proxy/http_messages.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy
copying src/hydrilla/proxy/simple_dependency_satisfying.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy
copying src/hydrilla/proxy/state.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy
copying src/hydrilla/proxy/policies/__init__.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies
copying src/hydrilla/proxy/policies/base.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies
copying src/hydrilla/proxy/policies/misc.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies
copying src/hydrilla/proxy/policies/payload.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies
copying src/hydrilla/proxy/policies/payload_resource.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies
copying src/hydrilla/proxy/policies/rule.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies
copying src/hydrilla/proxy/policies/web_ui.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies
copying src/hydrilla/proxy/policies/info_pages_templates/info_base.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies/info_pages_templates
copying src/hydrilla/proxy/policies/info_pages_templates/js_error_blocked_info.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies/info_pages_templates
copying src/hydrilla/proxy/policies/info_pages_templates/js_fallback_allowed_info.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies/info_pages_templates
copying src/hydrilla/proxy/policies/info_pages_templates/js_fallback_blocked_info.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies/info_pages_templates
copying src/hydrilla/proxy/policies/info_pages_templates/js_rule_allowed_info.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies/info_pages_templates
copying src/hydrilla/proxy/policies/info_pages_templates/js_rule_blocked_info.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies/info_pages_templates
copying src/hydrilla/proxy/policies/info_pages_templates/js_rule_info.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies/info_pages_templates
copying src/hydrilla/proxy/policies/info_pages_templates/payload_info.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies/info_pages_templates
copying src/hydrilla/proxy/policies/info_pages_templates/special_page_info.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies/info_pages_templates
copying src/hydrilla/proxy/policies/injectable_scripts/page_init_script.js.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies/injectable_scripts
copying src/hydrilla/proxy/policies/injectable_scripts/popup.js.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/policies/injectable_scripts
copying src/hydrilla/proxy/state_impl/__init__.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/state_impl
copying src/hydrilla/proxy/state_impl/base.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/state_impl
copying src/hydrilla/proxy/state_impl/concrete_state.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/state_impl
copying src/hydrilla/proxy/state_impl/items.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/state_impl
copying src/hydrilla/proxy/state_impl/payloads.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/state_impl
copying src/hydrilla/proxy/state_impl/repos.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/state_impl
copying src/hydrilla/proxy/state_impl/rules.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/state_impl
copying src/hydrilla/proxy/state_impl/tables.sql -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/state_impl
copying src/hydrilla/proxy/state_impl/_operations/__init__.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/state_impl/_operations
copying src/hydrilla/proxy/state_impl/_operations/load_packages.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/state_impl/_operations
copying src/hydrilla/proxy/state_impl/_operations/prune_orphans.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/state_impl/_operations
copying src/hydrilla/proxy/state_impl/_operations/pull_missing_files.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/state_impl/_operations
copying src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/state_impl/_operations
copying src/hydrilla/proxy/web_ui/__init__.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui
copying src/hydrilla/proxy/web_ui/_app.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui
copying src/hydrilla/proxy/web_ui/items.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui
copying src/hydrilla/proxy/web_ui/items_import.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui
copying src/hydrilla/proxy/web_ui/prompts.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui
copying src/hydrilla/proxy/web_ui/repos.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui
copying src/hydrilla/proxy/web_ui/root.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui
copying src/hydrilla/proxy/web_ui/rules.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui
copying src/hydrilla/proxy/web_ui/templates/hkt_mitm_it_base.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates
copying src/hydrilla/proxy/web_ui/templates/import.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates
copying src/hydrilla/proxy/web_ui/templates/index.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates
copying src/hydrilla/proxy/web_ui/templates/landing.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates
copying src/hydrilla/proxy/web_ui/templates/web_ui_base.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates
copying src/hydrilla/proxy/web_ui/templates/items/item_view.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/items
copying src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/items
copying src/hydrilla/proxy/web_ui/templates/items/libraries.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/items
copying src/hydrilla/proxy/web_ui/templates/items/library_view.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/items
copying src/hydrilla/proxy/web_ui/templates/items/library_viewversion.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/items
copying src/hydrilla/proxy/web_ui/templates/items/package_view.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/items
copying src/hydrilla/proxy/web_ui/templates/items/package_viewversion.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/items
copying src/hydrilla/proxy/web_ui/templates/items/packages.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/items
copying src/hydrilla/proxy/web_ui/templates/prompts/auto_install_error.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/prompts
copying src/hydrilla/proxy/web_ui/templates/prompts/package_suggestion.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/prompts
copying src/hydrilla/proxy/web_ui/templates/repos/add.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/repos
copying src/hydrilla/proxy/web_ui/templates/repos/index.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/repos
copying src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/repos
copying src/hydrilla/proxy/web_ui/templates/rules/add.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/rules
copying src/hydrilla/proxy/web_ui/templates/rules/index.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/rules
copying src/hydrilla/proxy/web_ui/templates/rules/show_single.html.jinja -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/proxy/web_ui/templates/rules
copying src/hydrilla/server/__init__.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/server
copying src/hydrilla/server/__main__.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/server
copying src/hydrilla/server/config.json -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/server
copying src/hydrilla/server/config.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/server
copying src/hydrilla/server/malcontent.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/server
copying src/hydrilla/server/serve.py -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/server
copying src/hydrilla/server/templates/base.html -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/server/templates
copying src/hydrilla/server/templates/index.html -> hydrilla-3.0b2.dev22+gf7c4dff/src/hydrilla/server/templates
copying tests/__init__.py -> hydrilla-3.0b2.dev22+gf7c4dff/tests
copying tests/config.json -> hydrilla-3.0b2.dev22+gf7c4dff/tests
copying tests/helpers.py -> hydrilla-3.0b2.dev22+gf7c4dff/tests
copying tests/test_build.py -> hydrilla-3.0b2.dev22+gf7c4dff/tests
copying tests/test_item_infos.py -> hydrilla-3.0b2.dev22+gf7c4dff/tests
copying tests/test_json_instances.py -> hydrilla-3.0b2.dev22+gf7c4dff/tests
copying tests/test_local_apt.py -> hydrilla-3.0b2.dev22+gf7c4dff/tests
copying tests/test_pattern_tree.py -> hydrilla-3.0b2.dev22+gf7c4dff/tests
copying tests/test_server.py -> hydrilla-3.0b2.dev22+gf7c4dff/tests
copying tests/test_url_patterns.py -> hydrilla-3.0b2.dev22+gf7c4dff/tests
copying tests/test_versions.py -> hydrilla-3.0b2.dev22+gf7c4dff/tests
copying tests/url_patterns_common.py -> hydrilla-3.0b2.dev22+gf7c4dff/tests
Writing hydrilla-3.0b2.dev22+gf7c4dff/setup.cfg
Creating tar archive
removing 'hydrilla-3.0b2.dev22+gf7c4dff' (and everything under it)
Successfully built hydrilla-3.0b2.dev22+gf7c4dff.tar.gz
VER="$(grep '^Version:' src/hydrilla.egg-info/PKG-INFO | cut -d' ' -f2)" &&                                           \
    RELNAME=hydrilla-"$VER" &&                        \
    DISTFILE=dist/"$RELNAME".tar.gz &&                \
    make clean-source-tarball-repack &&             \
    mkdir source-tarball-repack/ &&                    \
    tar -C source-tarball-repack/ -xf "$DISTFILE" &&  \
    guix time-machine --commit=a86979b41a49a8fcdaa887970ba594dbba701226 -- shell tar -- tar --mtime='1970-01-01 00:00Z' --sort=name --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime -C source-tarball-repack/     \
        -cf "$DISTFILE" "$RELNAME"
make[1]: Entering directory '/home/jacobk/Programs/pydrilla'
rm -rf source-tarball-repack/
make[1]: Leaving directory '/home/jacobk/Programs/pydrilla'
Generated source tarball in:
./dist/hydrilla-3.0b2.dev22+gf7c4dff.tar.gz
guix time-machine --commit=a86979b41a49a8fcdaa887970ba594dbba701226 -- pack -L ./hydrilla-guix -RR hydrilla          \
    -S /hydrilla=bin/hydrilla                        \
    -S /hydrilla-builder=bin/hydrilla-builder        \
    -S /hydrilla-server=bin/hydrilla-server          \
    -S /haketilo=bin/haketilo | tee make-release.log
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
The following derivation will be built:
  /gnu/store/wcw6n07lpywqwzxhp5gffg41qgqhajp6-hydrilla-3.0b2.dev22+gf7c4dff.drv

building /gnu/store/wcw6n07lpywqwzxhp5gffg41qgqhajp6-hydrilla-3.0b2.dev22+gf7c4dff.drv...
| 'check' phasebuilder for `/gnu/store/wcw6n07lpywqwzxhp5gffg41qgqhajp6-hydrilla-3.0b2.dev22+gf7c4dff.drv' failed with exit code 1
build of /gnu/store/wcw6n07lpywqwzxhp5gffg41qgqhajp6-hydrilla-3.0b2.dev22+gf7c4dff.drv failed
View build log at '/var/log/guix/drvs/wc/w6n07lpywqwzxhp5gffg41qgqhajp6-hydrilla-3.0b2.dev22+gf7c4dff.drv.gz'.
guix pack: error: build of `/gnu/store/wcw6n07lpywqwzxhp5gffg41qgqhajp6-hydrilla-3.0b2.dev22+gf7c4dff.drv' failed
VER="$(grep '^Version:' src/hydrilla.egg-info/PKG-INFO | cut -d' ' -f2)" &&                                                   \
    RELNAME=haketilo-and-hydrilla-bin-"$VER"-"$(arch)" &&    \
    PACKFILE="$(tail -1 make-release.log)" &&                 \
    make clean-bin-tarball-repack &&                        \
    mkdir bin-tarball-repack/ &&                               \
    mkdir bin-tarball-repack/"$RELNAME" &&                    \
    tar -C bin-tarball-repack/"$RELNAME"/ -xf "$PACKFILE" && \
    chmod -R +w bin-tarball-repack/"$RELNAME" &&              \
    guix time-machine --commit=a86979b41a49a8fcdaa887970ba594dbba701226 -- shell tar -- tar --mtime='1970-01-01 00:00Z' --sort=name --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime -C bin-tarball-repack/                \
        -cf "$RELNAME".tar.gz "$RELNAME"
make[1]: Entering directory '/home/jacobk/Programs/pydrilla'
test -d bin-tarball-repack/ && chmod -R +w bin-tarball-repack/ || true
rm -rf bin-tarball-repack/
make[1]: Leaving directory '/home/jacobk/Programs/pydrilla'
tar: : Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
make: *** [Makefile:58: release] Error 2

Strangely, file dist/hydrilla-3.0b2.dev22+gf7c4dff.tar.gz prints dist/hydrilla-3.0b2.dev22+gf7c4dff.tar.gz: POSIX tar archive, and gzip -d dist/hydrilla-3.0b2.dev22+gf7c4dff.tar.gz prints gzip: dist/hydrilla-3.0b2.dev22+gf7c4dff.tar.gz: not in gzip format. It does seem to be a valid tar file with the source code though.

I can build v3.0b1, but not the latest koszko branch. Should I open up a new issue for this?

#24

Updated by koszko 10 months ago

I can build v3.0b1, but not the latest koszko branch. Should I open up a new issue for this?

You seriously scared me with this. But it's probably just missing git submodules :) What's needed is git clone --recursive or equivalent. I probably ought to document this...

Anyway, if you experience further issues after cloning all git submodules, it's indeed a good idea to open a new issue. Otherwise, there's no need.

Btw, if curious, you can view the actual build log from Guix with

bunzip2 -c /var/log/guix/drvs/wc/w6n07lpywqwzxhp5gffg41qgqhajp6-hydrilla-3.0b2.dev22+gf7c4dff.drv.gz | less
#25

Updated by jacobk 10 months ago

Yep, that's what the problem was. After cloning the submodules properly, everything is working fine.

Thanks for all your help!

Also available in: Atom PDF