Skip to content

move to QGIS 3.0 with PyQt5#6

Open
agressin wants to merge 1 commit intostevengardiner:masterfrom
agressin:master
Open

move to QGIS 3.0 with PyQt5#6
agressin wants to merge 1 commit intostevengardiner:masterfrom
agressin:master

Conversation

@agressin
Copy link
Copy Markdown

Hi,

I update your code to allow using this plugin on QGIS 3.0,
I also add the possibility to create several parallel lines.
Would you push it to the QGIS plugin Repository ?

Thanks in advance,
Adrien

@Eierbrot
Copy link
Copy Markdown

Eierbrot commented Nov 5, 2019

Hi Adrien,
thanks a lot for the great work! I adapted all your changes and can now use the plugin in QIS 3.10. I do, however, get an error message when trying to run the plugin and can't seem to find a way to solve the problem. You must know, that I hardly have any coding experience at all.
Do you know what to do to resolve this problem? Here's the error message that I receive when trying to run the plugin:

AttributeError: 'QgsRasterLayer' object has no attribute 'selectedFeatures'
Traceback (most recent call last):
File "C:/Users/fabia/AppData/Roaming/QGIS/QGIS3\profiles\Fabian Kratz/python/plugins\ParallelOffset\paralleloffset.py", line 132, in run
for feature in layer.selectedFeatures():
AttributeError: 'QgsRasterLayer' object has no attribute 'selectedFeatures'

I hope you can help.
Thanks a lot in advance.

Fabian

@agressin
Copy link
Copy Markdown
Author

agressin commented Nov 5, 2019 via email

@Eierbrot
Copy link
Copy Markdown

Eierbrot commented Nov 6, 2019 via email

@stevengardiner
Copy link
Copy Markdown
Owner

stevengardiner commented Nov 6, 2019 via email

@Eierbrot
Copy link
Copy Markdown

Eierbrot commented Nov 6, 2019 via email

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

Successfully merging this pull request may close these issues.

3 participants