After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786478 - Warnings when running GIMP console batch process
Warnings when running GIMP console batch process
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: Windows Installer
gimp-2-8
Other Windows
: Normal normal
: ---
Assigned To: GIMP Bugs
Jernej Simončič
Depends on:
Blocks:
 
 
Reported: 2017-08-18 17:58 UTC by TJ
Modified: 2018-05-24 18:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description TJ 2017-08-18 17:58:03 UTC
I am running gimp-2.8.22 on Windows 10 and every time I run a batch process through the console I'm getting the following warnings.

gimp-console-2.8.exe : Error processing line 3 of C:\Program Files\GIMP 2\Python\lib\site-packages\pygtk.pth:
At C:\Users\TJ\Documents\WindowsPowerShell\Modules\OptimizeImages\OptimizeImages.psm1:363 char:13
+             & $gimpConsole -i -b "(batch-optimize-images \`"$gimpPatt ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Error processin...ages\pygtk.pth::String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
  Traceback (most recent call last):
  • File "C:\Program Files\GIMP 2\Python\lib\site.py", line 152 in addpackage
    exec line
  • File "<string>", line 1 in <module>
    ImportError: No module named runtime Remainder of file ignored ** (pythonw.exe:13032): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags' ** (pythonw.exe:13032): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' ** (pythonw.exe:13032): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' (gimp-console-2.8.exe:6996): LibGimpBase-WARNING **: gimp-console-2.8.exe: gimp_wire_read(): error batch command executed successfully

The batch process seems like it is working correctly, but it would be nice if there weren't unnecessary warnings every time a batch process is run.

It looks like the same problem was noted in this bug https://bugzilla.gnome.org/show_bug.cgi?id=676546

It says it was fixed, but in my current install of GIMP the import runtime line in pygtk.pth is still there. Did someone find that this is actually necessary and it was put back in? Also the warnings about GFlags looks like it was never addressed.
Comment 1 GNOME Infrastructure Team 2018-05-24 18:19:33 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/1171.