It is currently Thu Jul 25, 2024 4:22 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 200 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10  Next
Author Message
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Mon Apr 07, 2014 9:09 am  (#141) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
akovia wrote:
ofnuts wrote:
Hmm. What do you mean by "lock the layers group open"? I have no problem manipulating layers and opening/closing groups when the script is displaying a window.

Also, in typical usage, you don't keep it permanently open...


Well I don't leave it open. If it is used at all then I am unable to open or close layer groups until I restart gimp. Even if I don't actually use the manager and just open and close it. I am at a loss on what to check for.

All the cleverness of the plugin is that it only exists while the window in up:

Attachment:
PythonPluginProcessTree.png
PythonPluginProcessTree.png [ 12.54 KiB | Viewed 1599 times ]


When you close the window the process should be removed from memory (and then I don't explain why it would mess with user interactions at that point...). So that would be the first thing to check.

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Mon Apr 07, 2014 10:09 am  (#142) 
Offline
GimpChat Member
User avatar

Joined: Jan 15, 2013
Posts: 133
Well I've tried removing all plugins except the Brush Manager and this still happens. I'm not completely lost around the command line but I'm not sure how to troubleshoot this further.

Just so it's clear what's happening..
https://dl.dropboxusercontent.com/u/935 ... anager.mkv

Any advice is appreciated.

_________________
Gimp 2.8.16
Arch Linux - XFCE 4.12
Some of my work.


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Mon Apr 07, 2014 3:01 pm  (#143) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
After closing the addonManager window, execute:

ps -eaf | grep addonCollectionManager


Is there a python process listed?

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Mon Apr 07, 2014 3:52 pm  (#144) 
Offline
GimpChat Member
User avatar

Joined: Jan 15, 2013
Posts: 133
ofnuts wrote:
After closing the addonManager window, execute:

ps -eaf | grep addonCollectionManager


Is there a python process listed?


None at all, which means something is changed maybe? I don't know how layer groups work so I don't understand how they could be affected. I also tried changing my theme back to the standard theme instead of small on a hunch but that didn't work either. :(

_________________
Gimp 2.8.16
Arch Linux - XFCE 4.12
Some of my work.


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Mon Apr 07, 2014 5:21 pm  (#145) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
What is your version of Python? And of PyGTK?

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Mon Apr 07, 2014 6:20 pm  (#146) 
Offline
GimpChat Member
User avatar

Joined: Jan 15, 2013
Posts: 133
ofnuts wrote:
What is your version of Python? And of PyGTK?


$ python
Python 2.7.3 (default, Feb 27 2014, 19:58:35)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
>>> gtk.pygtk_version
(2, 24, 0)

_________________
Gimp 2.8.16
Arch Linux - XFCE 4.12
Some of my work.


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Mon Apr 07, 2014 6:31 pm  (#147) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
Roughly same here:
python
Python 2.7.3 (default, Feb 27 2014, 19:37:34)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
>>> gtk.pygtk_version
(2, 24, 0)


Which window manager? Unity, Gnome, KDE, LXDE, other?

To tell if its PyGTK related:

1) use any of the tricks in the readme file to have Gimp rerun the registration
2) do not start a manager window
3) check if you still have the problem (the registration will make the plugin run but not open any windows)

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Mon Apr 07, 2014 6:56 pm  (#148) 
Offline
GimpChat Member
User avatar

Joined: Jan 15, 2013
Posts: 133
ofnuts wrote:
Which window manager? Unity, Gnome, KDE, LXDE, other?

XFCE 4

To tell if its PyGTK related:
ofnuts wrote:
1) use any of the tricks in the readme file to have Gimp rerun the registration
Backed up then deleted pluginrc. Everything re-registered but still same thing.
A few errors but nothing looked serious to me.
ofnuts wrote:
2) do not start a manager window
3) check if you still have the problem (the registration will make the plugin run but not open any windows)
Not sure what you mean here or how to do it. There is an option in gimp for no UI --no-interface, but I doubt that's what you mean.
If you mean don't start the brush manager then I don't have any way to check if it works so I'm a bit confused.

_________________
Gimp 2.8.16
Arch Linux - XFCE 4.12
Some of my work.


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Apr 08, 2014 1:46 am  (#149) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
The manager isn't there permanently, so the only explanation of its responsibility in your problems is that it does something that outlives it in the Gimp environment. Above it has run as part of the registration process, but without creating any windows. So by testing if your problem is there without opening one of the manager windows we can tell if the problem could be is in the general code or in the PyGTK one.

This said, if gimpfu3 doesn't work, remove it, because that one also deals with the GTK environment.

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Apr 08, 2014 6:37 am  (#150) 
Offline
GimpChat Member
User avatar

Joined: Jan 15, 2013
Posts: 133
ofnuts wrote:
The manager isn't there permanently, so the only explanation of its responsibility in your problems is that it does something that outlives it in the Gimp environment. Above it has run as part of the registration process, but without creating any windows. So by testing if your problem is there without opening one of the manager windows we can tell if the problem could be is in the general code or in the PyGTK one.

Well I deleted all plugins except the manager and deleted the pluginrc again. Opened an image and checked that I could indeed open and close layer groups and it works fine. Then I opened the brush manager and didn't change anything and just closed the window. The layer groups are locked now.

ofnuts wrote:
This said, if gimpfu3 doesn't work, remove it, because that one also deals with the GTK environment.

I went ahead and removed it from my backup plugins. I just installed this recently but haven't had time to troubleshoot it.

This is seriously strange isn't it? LOL
Anyway, I am very thankful for your help. I'll try anything you can think of.

_________________
Gimp 2.8.16
Arch Linux - XFCE 4.12
Some of my work.


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Apr 08, 2014 6:59 am  (#151) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
The only difference I can think of is your XFCE desktop. I'm not suggesting that you change it, but if you know somebody else who uses both Gimp and XFCE, you can try to have him/her install the plugin and see if it produces the same problem.

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Apr 08, 2014 3:57 pm  (#152) 
Offline
GimpChat Member
User avatar

Joined: Jan 15, 2013
Posts: 133
ofnuts wrote:
The only difference I can think of is your XFCE desktop. I'm not suggesting that you change it, but if you know somebody else who uses both Gimp and XFCE, you can try to have him/her install the plugin and see if it produces the same problem.


I pretty embedded in XFCE as I've used it for years now so that's really not an option. I guess I'll ask on the list and hope someone might be able to help there. I appreciate your time on this.

Cheers.

_________________
Gimp 2.8.16
Arch Linux - XFCE 4.12
Some of my work.


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 5:00 am  (#153) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
@ofnuts. Do I open the addonmanger to edit this. I am quite leary about it, I am afraid I will mess up my brushes sets, they work perfectly with your addonmanager.

Quote:
Ofnuts... addon Manager

If not done already, you have to make sure the addonCollectionManager.ini in the plug-ins directory has the fonts support enabled:

[all]
enable: brushes gradients fonts patterns scripts

This is not enough, due to the way Gimp checks if plugins have changed, it will not notice the change. See the REGISTRATION note in the readme file for the various techniques to make Gimp rerun the registration code of the plugin. If you are on Linux, you can also just use the "touch" command on the .py file in a terminal session:
Code: Select all
touch ~/.gimp-2.8/plug-ins/addonCollectionManager.py

This will bump the timestamp to "now", and Gimp will rerun the registration.


I tried this: touch ~/.gimp-2.8/plug-ins/addonCollectionManager.py in terminal root but it didn't do anything.

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 6:47 am  (#154) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
molly wrote:
@ofnuts. Do I open the addonmanger to edit this. I am quite leary about it, I am afraid I will mess up my brushes sets, they work perfectly with your addonmanager.

Quote:
Ofnuts... addon Manager

If not done already, you have to make sure the addonCollectionManager.ini in the plug-ins directory has the fonts support enabled:

[all]
enable: brushes gradients fonts patterns scripts

This is not enough, due to the way Gimp checks if plugins have changed, it will not notice the change. See the REGISTRATION note in the readme file for the various techniques to make Gimp rerun the registration code of the plugin. If you are on Linux, you can also just use the "touch" command on the .py file in a terminal session:
Code: Select all
touch ~/.gimp-2.8/plug-ins/addonCollectionManager.py

This will bump the timestamp to "now", and Gimp will rerun the registration.


I tried this: touch ~/.gimp-2.8/plug-ins/addonCollectionManager.py in terminal root but it didn't do anything.


You should do that with your id, not as root. '~' is the home directory of the current user...

What is the date of your "pluginrc" file (Gimp's directory) and of ~/.gimp-2.8/plug-ins/addonCollectionManager.py?

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 7:21 am  (#155) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
The only date I can find on this is Sean Bogie, MareroQ, Ofnuts 2013
I downloaded it about a year ago when you last revised it.
It is called /home/molly/.gimp-2.8/plug-ins/addonCollectionManager-3.0.py

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 8:28 am  (#156) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
molly wrote:
The only date I can find on this is Sean Bogie, MareroQ, Ofnuts 2013
I downloaded it about a year ago when you last revised it.
It is called /home/molly/.gimp-2.8/plug-ins/addonCollectionManager-3.0.py


I'm taking about the date, as indicated by your file manager:

Attachment:
acm.png
acm.png [ 9.71 KiB | Viewed 1660 times ]

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 8:36 am  (#157) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
02/07/2014 I notice you have the py one, I have the 3.0.py

viewtopic.php?p=149112#p149112

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 10:07 am  (#158) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4758
This is just an example... this is my working version, on which I tack a version number when I publish it.

The important bit is to have Gimp re-register the plugin. This will happen under several conditions, as explained in the readme, in the REGISTRATION note.

Additionally, on Linux, you can use the "touch" command so that the .py becomes more recent than the pluginrc file as shown by their respective file dates in your file manager.

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 10:56 am  (#159) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
ofnuts, will will please either do me a screen shot or explain where I type in this touch command, I have looked all over and even googled it. All I get is what is and does but doesn't tell me where to type it. I looked in my user plug-ins and all over.
I told you I was a techie nerd, ask me how to build a house and I can tell you every step.

_________________
Image


Top
 Post subject: Re: Improved MrQ add-on manager (dinasset's request)
PostPosted: Tue Sep 16, 2014 12:13 pm  (#160) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
molly wrote:
ofnuts, will will please either do me a screen shot or explain where I type in this touch command, I have looked all over and even googled it. All I get is what is and does but doesn't tell me where to type it. I looked in my user plug-ins and all over.
I told you I was a techie nerd, ask me how to build a house and I can tell you every step.
Open a terminal window in the dir of the file or cd the dir of the file.
Example (without options) for updating the access and modification times to the current time.
touch filename.py

To confirm last modification time,
date -r filename.py

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


Top
Post new topic Reply to topic  [ 200 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 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