Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python "no return values, shouldn't happen"
#3
(6 hours ago)Ofnuts Wrote: Yes, the locale message can be ignored.

Looking at the message I would wonder what makes it try to invoke that gjs command (somewhere in another script?). Is it because the path/libpath that are expected aren't the ones that are used under Gimp? Or if you are using a flatpak or snap Gimp installation their virtual filesystem doesn't include the one where the gjs command resides (or map it to their own local file system)?

I'm using arch linux and it's installed via the pacman package manager.  I installed the gjs package (JavaScript Bindings for GNOME), and it clears up that error message, but I still have the same problem.


Code:
[nathan@TARDIS file-prs]$ gimp
set device 'Wayland Pointer' to mode: disabled
[file-prs-load] The catalog directory does not exist: /home/nathan/.config/GIMP/3.0/plug-ins/file-prs/locale
[file-prs-load] Override method set_i18n() for the plug-in to customize or disable localization.
[file-prs-load] Localization disabled
[file-prs-load] The catalog directory does not exist: /home/nathan/.config/GIMP/3.0/plug-ins/file-prs/locale
[file-prs-load] Override method set_i18n() for the plug-in to customize or disable localization.
[file-prs-load] Localization disabled
PrsLoad called

(file-prs.py:3219474): LibGimp-WARNING **: 03:52:04.070: _gimp_procedure_run_array: no return values, shouldn't happen
/home/nathan/.config/GIMP/3.0/plug-ins/file-prs/file-prs.py:46: Warning: g_error_new: assertion 'domain != 0' failed
 Gimp.main(PrsLoader.__gtype__, sys.argv)
INFO: a stray image seems to have been left around by a plug-in: "[Untitled]"[nathan@TARDIS file-prs]$
Reply


Messages In This Thread
RE: Python "no return values, shouldn't happen" - by Nathan - 5 hours ago

Forum Jump: