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

Issues running Import photo #106

Open
M-SOULEZ opened this issue Jun 29, 2023 · 1 comment
Open

Issues running Import photo #106

M-SOULEZ opened this issue Jun 29, 2023 · 1 comment

Comments

@M-SOULEZ
Copy link

I'm trying to use import photos but after I successfuly created the point layer I get folling message when trying to print pictures with the click.
The following error message is :
2023-06-29T12:28:12 WARNING Traceback (most recent call last):
File "C:/Users/msoulez/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ImportPhotos\ImportPhotos.py", line 275, in setMouseClickMapTool
if layer.type() == QgsMapLayerType.VectorLayer and layer.fields().names() == FIELDS:
NameError: name 'QgsMapLayerType' is not defined

I'm running on QGIS 3.4

@Janne013
Copy link

Since update of plugin 'import photo' in 1/2025 there is an error by using the function 'click photo' :

2025-01-16T11:25:10 WARNING Traceback (most recent call last):
File "C:\Users/theisen.000/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ImportPhotos\code\MouseClick.py", line 157, in canvasReleaseEvent
self.photosDLG.add_window_place.setText(name_)
TypeError: setText(self, a0: Optional[str]): argument 1 has unexpected type 'QDateTime'

QGIS Version 3.34.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants