albertferras / simplipy

plugin for qgis to simplify geometries with multiple constraints and advanced options.
21 stars 1 forks source link

error when installing on Linux: "invalid literal for int() with base 10: '2 r3921'" #2

Closed gioman closed 10 years ago

gioman commented 10 years ago

subject says it all. Thanks!

albertferras commented 10 years ago

I'm not able to reproduce this. How are you installing this + can you provide more info of the error?

gioman commented 10 years ago

I'm installing the plugin the standard way, using the plugin installer. It installs with no issues on Windows, on Linux (Mint/Ubuntu) I get the above message.

albertferras commented 10 years ago

It seems to be related with this: http://osgeo-org.1560.x6.nabble.com/Plugin-approval-VoGIS-Profiltool-1-8-4-td5097996.html

That guy gets this very similar error message when the shapely library is missing. You should have Shapely 1.2.18 or higher (probably older versions will work, but I didn't try).

gioman commented 10 years ago

Shapely is installed, version 1.2.14 If it is because of the shapely version than maybe would be better to add a check, catch the error and return a warning(?).

albertferras commented 10 years ago

I've commited some changes. Since I can't seem to reproduce this, can you try again please? Thanks!

gioman commented 10 years ago

Getting the same error, using the master branch from this repo.

albertferras commented 10 years ago

Apparently it's an error from the Shapely library they fixed on 1.2.15 (you have 1.2.14). Shapely can't read the version number when the GEOS lib has the svn revision as the version number.

https://github.com/Toblerity/Shapely/issues/76

https://github.com/ccrook/QGIS-Contour-Plugin/issues/3

Please upgrade Shapely lib

gioman commented 10 years ago

Then I guess you can close this ticket.