Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use plugin with QGIS 2.4 64 bits - Python Error #29

Closed
Doctor-Who opened this issue Jul 28, 2014 · 2 comments
Closed

Unable to use plugin with QGIS 2.4 64 bits - Python Error #29

Doctor-Who opened this issue Jul 28, 2014 · 2 comments
Assignees
Labels

Comments

@Doctor-Who
Copy link

Doctor-Who commented Jul 28, 2014

LizMap Plugin 1.9.8
openSUSE 12.3 64 bits
QGIS 2.4 64 bits

When open a project, launch lizmap, got these errors lines when i click on save :

Traceback (most recent call last):
  File "/home/n.rochard/.qgis2/python/plugins/lizmap/lizmap.py", line 2120, in getMapOptions
    self.writeProjectConfigFile()
  File "/home/n.rochard/.qgis2/python/plugins/lizmap/lizmap.py", line 1626, in writeProjectConfigFile
    r = QgsMapRenderer()
TypeError: C++ type 'const QgsMapLayer*' is not supported as  type
Version de Python :
2.7.3 (default, Apr 14 2012, 08:58:41) [GCC]

Version de QGIS :
2.4.0-Chugiak Chugiak, exported

and after, got these errors when I tunr off this error window :

Traceback (most recent call last):
  File "/home/n.rochard/.qgis2/python/plugins/lizmap/lizmap.py", line 2492, in warnOnClose
    self.writeProjectConfigFile()
  File "/home/n.rochard/.qgis2/python/plugins/lizmap/lizmap.py", line 1626, in writeProjectConfigFile
    r = QgsMapRenderer()
TypeError: C++ type 'const QgsMapLayer*' is not supported as  type
Version de Python :
2.7.3 (default, Apr 14 2012, 08:58:41) [GCC]

Version de QGIS :
2.4.0-Chugiak Chugiak, exported
@mdouchin mdouchin self-assigned this Aug 20, 2014
@mdouchin mdouchin added the bug label Aug 20, 2014
@mdouchin
Copy link
Contributor

It seems to be a QGIS problem in your OpenSuze. Could you try the following code in the same QGIS in the python console and give the output :

r = iface.mapCanvas().mapRenderer()
type(r)

@Gustry
Copy link
Member

Gustry commented Aug 26, 2019

Closing as this line doesn't exist anymore in the plugin. Feel free to reopen another issue.

@Gustry Gustry closed this as completed Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants