It is currently Thu Jul 25, 2024 10:01 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 200 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 10  Next
Author Message
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Fri May 10, 2013 4:05 am  (#41) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
Graechan wrote:
ofnuts if you mean this Instruction

Quote:
there is no need to edit the Python source, all user changes are handled with a configuration file

where is the configuration file as the download only contained the python file

also when I stated menu I was referring to the selection dialog from the manager
as displayed below

[ Image ]

1) yes
2) see here
3) go to this post, download the attached script version, follow the instructions in the post, run the manager once (ie, up to the empty selection dialog), and post the resulting trace.txt file.

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Fri May 10, 2013 9:05 pm  (#42) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
ofnuts thank you for your assistance This is the trace.txt file that was created in my bin folder

Attachment:
trace.zip [592 Bytes]
Downloaded 87 times

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Fri May 10, 2013 9:41 pm  (#43) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Hopefully my Windows setup might help someone.
Path to the plugin, (original file, no change).
C:\Users\Odin\.gimp-2.8\plug-ins\addonCollectionManager.py

Path to my config file, (from readme, no change).
C:\Users\Odin\.gimp-2.8\plug-ins\addonCollectionManager.ini

Example paths to resources, (sub folders only, no zip files).
C:\Users\Odin\.gimp-2.8\brushes_storage\Splatter Brushes
C:\Users\Odin\.gimp-2.8\fonts_storage\Celtic
C:\Users\Odin\.gimp-2.8\gradients_storage\AG_Gradients
C:\Users\Odin\.gimp-2.8\palettes_storage\COPIA
C:\Users\Odin\.gimp-2.8\patterns_storage\Bling Text
C:\Users\Odin\.gimp-2.8\scripts_storage\saulgoode

My config file.
#-------------------------------------------------------------------------
[all]
enable:brushes dynamics fonts gradients palettes patterns scripts
addons_active:{GimpUser}/{type}
addons_stored:{GimpUser}/{type}_storage
menu_location:{<Type>}
menu_entry:{Type} sets...
menu_description:Manage {type} sets...
dialog_title:{Type} sets manager
[brushes]
extensions:.gbr .vbr .gih .abr .GBR .VBR .GIH
[dynamics]
extensions:.gdyn .GDYN
[fonts]
extensions:.ttf .otf .TTF .OTF
[gradients]
extensions:.ggr .GGR
[palettes]
extensions:.pal .PAL
[patterns]
extensions:.png .pat .PNG .PAT
[scripts]
menu_location:<Image>/Help
extensions:.scm .SCM
#-------------------------------------------------------------------------

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Fri May 10, 2013 11:54 pm  (#44) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Odin somewhere I've lost the plot(probably at about 40 'many years ago') would you be able to post this file as an attachment and let me know where I should put my amended version, e.g in my plugin folder with the addon manager file

I tried this↓ but still have an empty brush menu, my resources are all located at C:\Gurm\brushes e.t.c

#-------------------------------------------------------------------------
[all]
enable:brushes dynamics fonts gradients palettes patterns scripts
addons_active:{GimpUser}/{type}
addons_stored:C:\Gurm\{type}
menu_location:{<Type>}
menu_entry:{Type} sets...
menu_description:Manage {type} sets...
dialog_title:{Type} sets manager
[brushes]
extensions:.gbr .vbr .gih .abr .GBR .VBR .GIH
[dynamics]
extensions:.gdyn .GDYN
[fonts]
extensions:.ttf .otf .TTF .OTF
[gradients]
extensions:.ggr .GGR
[palettes]
extensions:.pal .PAL
[patterns]
extensions:.png .pat .PNG .PAT
[scripts]
menu_location:<Image>/Help
extensions:.scm .SCM
#-------------------------------------------------------------------------

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Sat May 11, 2013 3:13 am  (#45) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
I'm not sure what your asking, Graechan?
I've stored my brushes, fonts, patterns, etc.,in Gimp user folder.
C:\Users\Odin\.gimp-2.8
The plugin and config files are in user plug-ins folder (un-edited).
C:\Users\Odin\.gimp-2.8\plug-ins
All resources example,
C:\Users\Odin\.gimp-2.8\brushes
and for MrQ,
C:\Users\Odin\.gimp-2.8\brushes_storage

I think it might be easier for you to move and rename the resource folders (brushes_storage) rather than try to rewrite the code. The plugin's a very clever piece of work as is.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Sat May 11, 2013 3:43 am  (#46) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
Graechan wrote:
ofnuts thank you for your assistance This is the trace.txt file that was created in my bin folder

Attachment:
trace.zip


Your Gimp set up is strange because it looks for the config file in "C:\gimp_2_8_0-32bits\pref_1\plug-ins\addonCollectionManager.ini" (is this a "portable" version?). But now you know where to put the config file :)

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Sat May 11, 2013 3:47 am  (#47) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
Graechan wrote:
Odin somewhere I've lost the plot(probably at about 40 'many years ago') would you be able to post this file as an attachment and let me know where I should put my amended version, e.g in my plugin folder with the addon manager file

I tried this↓ but still have an empty brush menu, my resources are all located at C:\Gurm\brushes e.t.c

#-------------------------------------------------------------------------
[all]
enable:brushes dynamics fonts gradients palettes patterns scripts
addons_active:{GimpUser}/{type}
addons_stored:C:\Gurm\{type}
menu_location:{<Type>}
menu_entry:{Type} sets...
menu_description:Manage {type} sets...
dialog_title:{Type} sets manager
[brushes]
extensions:.gbr .vbr .gih .abr .GBR .VBR .GIH
[dynamics]
extensions:.gdyn .GDYN
[fonts]
extensions:.ttf .otf .TTF .OTF
[gradients]
extensions:.ggr .GGR
[palettes]
extensions:.pal .PAL
[patterns]
extensions:.png .pat .PNG .PAT
[scripts]
menu_location:<Image>/Help
extensions:.scm .SCM
#-------------------------------------------------------------------------

If you put the config file where the plugin expects it it should work. But it can be shortened to:
[all]
addons_stored:C:\Gurm\{type}

since the rest looks identical to the defaults.

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Sat May 11, 2013 10:49 pm  (#48) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Quote:
If you put the config file where the plugin expects it it should work. But it can be shortened to:

ofnuts so now I have a config file that should work if I can find the place where to put it

please can someone let me know where the plugin expects to find the config file

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Sat May 11, 2013 11:06 pm  (#49) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
User plug-ins folder.
[user]\.gimp-2.8\plug-ins\addonCollectionManager.py
[user]\.gimp-2.8\plug-ins\addonCollectionManager.ini

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Sun May 12, 2013 2:53 am  (#50) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Odin I Tried that but it still failed

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Sun May 12, 2013 6:09 am  (#51) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Graechan, I'd like to hear from you that you are enjoying this enhanced script, so I will try to give you my way:
1 - clear pluginrc (this step is absolutely necessary, if you don't want to simply delete it, just be sure to remove all the lines related to addonCollectionManager
2 - move into [user]\.gimp-2.8\plug-ins my two files, attached here: the plug-in and the .ini
3 - move into [user]\.gimp-2.8 my four *_storage folders, attached here
4 - start gimp and you should see under Help the four managers and clicking on one of those the list of the sub-folder(s) inside the *_storage folder of point 3
If you succeed on setting up my environment, then change whatever you like in the .ini and the referenced *_storage or whatever else folders you prepared, then repeat step 1 (mandatory) and steps 2 and 3 with your files/folders
Hope you will succeed


Attachments:
brushes_storage.7z [129.36 KiB]
Downloaded 106 times
addonCollectionManager-tracing.7z [3.95 KiB]
Downloaded 88 times
addonCollectionManager.7z [491 Bytes]
Downloaded 101 times

_________________
"Where am I ?"
Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Sun May 12, 2013 6:12 am  (#52) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
..follow-on (because only 3 attachments are allowed)...
I hope you hear good news, when you'll wake up tomorrow morning...


Attachments:
gradients_storage.7z [5.04 KiB]
Downloaded 84 times
palettes_storage.7z [4.76 KiB]
Downloaded 86 times
patterns_storage.7z [331.45 KiB]
Downloaded 93 times

_________________
"Where am I ?"
Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Sun May 12, 2013 8:30 am  (#53) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
Graechan wrote:
Quote:
If you put the config file where the plugin expects it it should work. But it can be shortened to:

ofnuts so now I have a config file that should work if I can find the place where to put it

please can someone let me know where the plugin expects to find the config file


Where the trace file tells you:

C:\gimp_2_8_0-32bits\pref_1\plug-ins\addonCollectionManager.ini

Another way to find:
- Start Gimp
- "Filters/python-fu/console"
- Enter "print gimp.directory" (without the quotes)

In your case this should answer "C:\gimp_2_8_0-32bits\pref_1".

This is the directory/folder where by default the add-ons manager will look for everything (active add-ons directories, *_storage directories, and the config file (plug-ins\addonCollectionManager.ini under that directory).

_________________
Image


Last edited by ofnuts on Sun May 12, 2013 8:39 am, edited 1 time in total.

Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Sun May 12, 2013 8:33 am  (#54) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
dinasset wrote:
Graechan, I'd like to hear from you that you are enjoying this enhanced script, so I will try to give you my way:
1 - clear pluginrc (this step is absolutely necessary, if you don't want to simply delete it, just be sure to remove all the lines related to addonCollectionManager
2 - move into [user]\.gimp-2.8\plug-ins my two files, attached here: the plug-in and the .ini
3 - move into [user]\.gimp-2.8 my four *_storage folders, attached here
4 - start gimp and you should see under Help the four managers and clicking on one of those the list of the sub-folder(s) inside the *_storage folder of point 3
If you succeed on setting up my environment, then change whatever you like in the .ini and the referenced *_storage or whatever else folders you prepared, then repeat step 1 (mandatory) and steps 2 and 3 with your files/folders
Hope you will succeed


Won't work.... Graechan hasn't got a stantard set up... His Gimp profile isn't at the usual place (I suspect he is using a "portable" version).

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Sun May 12, 2013 9:58 am  (#55) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2446
Windoze - hohoho - as per Ofnuts I don't know about a portable Gimp
but
A bit of messing around in a Win7 VM & Gimp 2.8.4 with a C:\gurm resources folder.
Looks to me that it will not work unless everything is zipped, either collections, or as we know single files.
The previous ini file I think is correct, for the test I used a cut down one
#
[all]
enable:brushes scripts
addons_active:{GimpUser}\{type}
addons_stored:C:\gurm\{type}
menu_location:{<type>}
menu_entry:{type} sets...
menu_description:Manage {type} sets...
dialog_title:{type} sets manager
#
[brushes]
menu_location:<Image>/Tools/Resource
extensions:.gbr .vbr .gih .abr .GBR .VBR .GIH
#
[scripts]
menu_location:<Image>/Tools/Resource
extensions:.scm .SCM

The only things to note are the backslash for the win paths and forwardslash if you want a bespoke menu location.

It will hang Gimp (at least it does here) if the resources are not zipped.

video of the test http://youtu.be/vu2UPYIogSc 5 mins.

edit:
A couple more things
Make sure the names of the gurm folders reflect the gimp folders
ie. gurm\brushes = .gimp-2.8\brushes
The bespoke menu entry is case sensitive 'Tools' is not the same as 'tools'.

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Sun May 12, 2013 10:24 am  (#56) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
@Ofnuts / @Graechan
I didn't (and don't) know Graechan's environment, I was hoping to help his trials...
It's so nice and clean that plug-in!

_________________
"Where am I ?"


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Sun May 12, 2013 10:34 am  (#57) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
@Rich2005
in my environment (Win 7, 32-bits, Gimp 2.8.4 installed, not portable), Ofnuts' script is working nicely with sub-folders under the referenced folder (e.g. ../brushes_storage, has in it the sub-folder Bubbleset), I didn't zip anything (I did zip the files attached here previously only because of gimp-chat rules)

_________________
"Where am I ?"


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Sun May 12, 2013 10:42 am  (#58) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2446
@dinasset
It does here as well, in linux. Same as you I have the resource folders in the ./gimp-2.8 folder structure. Unzipped folders work ok, individual files are zipped. It was a quick test (Spanish grand-prix was on) and looked like there is a problem if using C:\something and unzipped files.

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Sun May 12, 2013 10:45 am  (#59) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
I see.
Happy for Alonso? I am...

_________________
"Where am I ?"


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Sun May 12, 2013 10:56 am  (#60) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
rich2005 wrote:
It was a quick test (Spanish grand-prix was on)


Wasn't that last weekend?

*checks*

Ah, on 4 wheels. Eww. :)

_________________
Image


Top
Post new topic Reply to topic  [ 200 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 10  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Thank you Dinasset

7

No new posts Attachment(s) dinasset's photos modified

35

No new posts Lines Art 2024 by Dinasset (Video)

9

No new posts Attachment(s) Addon Manager not working

14

No new posts Resource Manager advice

6



* Login  



Powered by phpBB3 © phpBB Group