Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble with addonCollectionManager
#8
(12-02-2020, 10:11 AM)carmen Wrote: Hello! 
As to point 1, the trouble IMHO is in the unescaped '\': attached logs with escaped '\\' and linux-style '/' in the .ini file. No errors--neither dialogs in Gimp!

Point 2: no trouble!

IMHO: needed a way to tell plugin to search for {type}_storage in parent directory...

I'm lost. In you original log, you can't read the config file at all:

Quote:Configuration file C:\Users\cfier\AppData\Roaming\GIMP\2.10\plug-ins\addonCollectionManager.ini not found or not readable: [Errno 2] No such file or directory: 'C:\\Users\\cfier\\AppData\\Roaming\\GIMP\\2.10\\plug-ins\\addonCollectionManager.ini'

In you new log, the configuration file can be read:
Quote:Configuration file C:\Users\cfier\AppData\Roaming\GIMP\2.10\plug-ins\addonCollectionManager.ini read successfully

Escaping backslashes is only necessary in source code (string literals). But here the python code read the file names exactly as they are in the config file and does not consider the backslashes as special.
Reply


Messages In This Thread
Trouble with addonCollectionManager - by carmen - 12-01-2020, 07:06 PM
RE: Trouble with addonCollectionManager - by Ofnuts - 12-02-2020, 11:28 AM

Forum Jump: