Hacker News new | ask | show | jobs
by casca 4582 days ago
Try im.save("/tmp/artsciimg.png"). This will most likely show that it's a local permission error.

Then identify which directory it's trying to write to with os.system("pwd") and chmod 777 that directory.

1 comments

Holy shit! The error stopped. Thanks soo much. In fact, the error is, I was supposed to give absolute path for im.save() but your answer ("/tmp/artsciimg.png") showed me the way, Thank you :)