Giter Site home page Giter Site logo

Comments (4)

marcel-dancak avatar marcel-dancak commented on August 28, 2024

Hi,
from this traceback it looks like you have a print layout in your project, but without a map element. And right now, plugin doesn't expect such situation. If there is a valid use case for such layouts, then plugin could ignore them, but right now I'm not sure. I will let this issue opened for further discussion.

from gisquick-qgis-plugin-old.

shapley avatar shapley commented on August 28, 2024

from gisquick-qgis-plugin-old.

shapley avatar shapley commented on August 28, 2024

I can confirm that there is no missing map element. I've tried some variations such as removing all layers and adding them back in one-by-one, nothing is allowing me to move from this error even re-installed the plugin. I would like this to work. How do i go about getting some development time for it to work?

Python Error:

2021-02-24T14:16:02 WARNING Traceback (most recent call last):
File "/home/paul/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gisquick-qgis-plugin/project.py", line 291, in validate
self.get_metadata()
File "/home/paul/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gisquick-qgis-plugin/project.py", line 1133, in get_metadata
units_conversion = map.mapUnitsToLayoutUnits()
AttributeError: 'NoneType' object has no attribute 'mapUnitsToLayoutUnits'

from gisquick-qgis-plugin-old.

marcel-dancak avatar marcel-dancak commented on August 28, 2024

It doesn't look like problem with layers, but with print layouts in your project. If you open your project in QGIS, you can try to run this code in Python Console (Plugins menu) to get more info.

project = QgsProject.instance()
pm = project.layoutManager()
[[layout.name(), layout.referenceMap()] for layout in pm.layouts()]

from gisquick-qgis-plugin-old.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.