It is currently 13 Jul 2020, 17:50

• Featuring Members' Works (Image Attachments) •
1: member
2: member
3: member
4: member
5: member

GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Python occasional "Unexpected error: [Errno 9] Bad file descriptor"

Share your Python Fu Scripts/plug-ins for GIMP here
Post Reply
opusGlass
Newly Registered

Python occasional "Unexpected error: [Errno 9] Bad file descriptor"

Post#1 by opusGlass » 06 Mar 2020, 03:08


I have a batch python script that successfully runs through 22 images at a time, then crashes with the error "Unexpected error: [Errno 9] Bad file descriptor". After pointing it to the next set of images it continues for 22 more. Etc. ... Am I failing to properly dispose garbage or something?

Python plugin attached
Attachments
og_batch_paintedworld_normals.zip
(2.65 KiB) Downloaded 181 times
GIMP Learn rocks...
1

opusGlass
Newly Registered

Post#2 by opusGlass » 08 Mar 2020, 19:44


Turns out I needed to remove all print statements...gimp-fu bug
GIMP Learn rocks...
2

Wallace
Global Moderator

Post#3 by Wallace » 09 Mar 2020, 03:09


Glad you found the culprit. :thumbsup:
Image
0


GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 12 guests