[Qgis-developer] Re: [Qgis-user] Can't install "Image Cutter" plugin
Borys Jurgiel
borysiasty at aster.pl
Thu Oct 1 11:36:00 EDT 2009
Dnia czwartek, 1 października 2009 o 17:28:59 Bruce, Bob (CON) napisał(a):
> No Boris, I never received it. Could you please resend it?
Sorry, time to change my email provider :| Here it is:
---------------------------------------------------------------------------------------------
Dnia środa, 30 września 2009 o 13:49:53 napisałeś:
> Boris and Agus:
> I have updated the plugin repository page to
> indicate the correct versions of the zoom-to-point and Image Clipper
> plugins. The Image Clipper plugin has been updated to include the code
> to detect the QGIS version and execute the correct QObject.connect code.
Thanks! Now it works. However, the comment marks (""") in lines 1 and 27 of
the dlgimageclipper.py file can't be followed by any indent in order to work on
all systems.
The second notice is about the help images. Today my net connection is in bad
shape ;) and the plugin was dowloading round 10 minutes! :))) It is 100kB of
code + 7MB of images, I'm sure the images could be a bit smaller and/or
compressed :)
Also the image_cutter doesn't load on non-windows systems, because of missing
the resources file. There is the "qrc_resources.py", but the plugin looks for
"resources.py". On your machine (and maybe all windows systems) it works
thanks to the compiled resources.pyc file, but on other systems the pyc file has
to be compiled once again. So you can either remove the "qrc_resources.py" to
"resources.py" or just import the "qrc_resources" module.
In general, it is safe practice to remove all the .pyc files before packaging,
as I've seen some plugin crashes when those files are moved between different
operating systems.
Thanks for the plugins and enjoy Python! :)
More information about the Qgis-developer
mailing list