Package Details: arronax 0.8.1-5

Git Clone URL: https://aur.archlinux.org/arronax.git (read-only, click to copy)
Package Base: arronax
Description: A GTK based GUI program to create and modify starters (*.desktop files) for applications, files, and URIs.
Upstream URL: https://www.florian-diesch.de/software/arronax
Licenses: GPL-3.0-or-later
Submitter: max.bra
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 20
Popularity: 0.042767
First Submitted: 2015-02-05 16:23 (UTC)
Last Updated: 2024-04-21 23:44 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

max.bra commented on 2022-01-22 21:00 (UTC) (edited on 2022-01-22 21:01 (UTC) by max.bra)

ok, thanks for the launchpad submit. meanwhile, what is your system response of this:

python -c "import sys; print(sys.prefix); print(sys.exec_prefix)"

AZMCode commented on 2022-01-22 19:48 (UTC) (edited on 2022-01-22 19:49 (UTC) by AZMCode)

Temporary workaround for the issue is to apply this patch to /sbin/arronax, @simona may be interested if they still have this issue:

32c32,33
<       sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
---
>       # sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
>       sys.argv[0] = '/usr/share/arronax'

AZMCode commented on 2022-01-22 19:41 (UTC)

Submitted with an explanation: https://bugs.launchpad.net/archlinux/+source/arronax/+bug/1958728

AZMCode commented on 2022-01-22 19:22 (UTC)

I think I'll submit this to the launchpad.

AZMCode commented on 2022-01-22 19:20 (UTC) (edited on 2022-01-22 19:21 (UTC) by AZMCode)

Indeed I do. /sbin/arronax, which is what is executed when calling the command. It is a script that calls the entrypoint in arronax and seems to be generated by setuptools.

I doubt I just discovered a bug in setuptools, so perhaps the author of arronax thought setuptools would always call their program from the same directory in which the other files resided?

max.bra commented on 2022-01-22 19:18 (UTC)

(backtrace: sorry for the inversion :-D )
do you have something in /sbin? (nothing in this pkg point over there...)

AZMCode commented on 2022-01-22 19:12 (UTC) (edited on 2022-01-22 19:12 (UTC) by AZMCode)

From what I can tell, for the path to work out correctly, the entrypoint would need to be called with sys.argv[0] == "/usr/share/arronax", and currently it is called (from the script placed in /sbin/arronax) with sys.argv[0] == "/sbin/arronax".

Essentially, arronax finds the directories necessary for it to function from the location in which the executable is thought to reside, which I'd imagine is causing this load of problems.

Can this be fixed using the PKGBUILD?

AZMCode commented on 2022-01-22 18:51 (UTC) (edited on 2022-01-22 18:51 (UTC) by AZMCode)

Sure Sure. Sorry for the delay, didn't get notified via email somehow.

As for the backtrace, surely you mean the Traceback thrown on the error?

Here's what I got so far as for information:

Traceback (most recent call last):
  File "/sbin/arronax", line 33, in <module>
    sys.exit(load_entry_point('arronax==0.8.1', 'console_scripts', 'arronax')())
  File "/usr/lib/python3.10/site-packages/arronax/editor.py", line 726, in main
    editor = Editor(args.path, args.stype, args.dir)
  File "/usr/lib/python3.10/site-packages/arronax/editor.py", line 44, in __init__
    self.create_builder()
  File "/usr/lib/python3.10/site-packages/arronax/editor.py", line 129, in create_builder
    self.builder.add_from_file(os.path.join(settings.UI_DIR, 
gi.repository.GLib.GError: g-file-error-quark: Failed to open file “/share/arronax/ui/edit.ui”: No such file or directory (4)

If you need me to do anything else to help diagnose/debug the issue, @max.bra, I'm all for it.

max.bra commented on 2022-01-22 08:33 (UTC) (edited on 2022-01-22 20:28 (UTC) by max.bra)

@AZMCode in 2019 another user (simona) had the same problem as you ... we didn't get it right

max.bra commented on 2022-01-20 20:46 (UTC)

hi AZMCode, i don't have any of these issues... can you backtrace something?