Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get error messages in plugin registration?
#4
I tried redirecting stderr and stdout but for some reason could not make it work.

But while trying I made some changes in the files, and the problem vanished! I don't understand, but am happy now (until next time...).

By the way, that page has the other advice, and there:

Code:
import sys; # extend the python path to include the plug-ins directory
sys.path=[gimp.directory+'/plug-ins']+sys.path #import the plugin import plugin

I do not understand this and am only guessing. But is it right? Should it not read:

Code:
import sys; # extend the python path to include the plug-ins directory
sys.path=[gimp.directory+'/plug-ins']+sys.path
import plugin  # import the plugin

I did not try. Just wondering.
Reply


Messages In This Thread
RE: How to get error messages in plugin registration? - by Ottia Tuota - 03-22-2020, 08:30 AM

Forum Jump: