GNOME Bugzilla – Bug 786478
Warnings when running GIMP console batch process
Last modified: 2018-05-24 18:19:33 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):
+ Trace 237812
exec line
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.
-- 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.