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

Cannot select layer to apply to #6

Closed
baidarkabob opened this issue Mar 23, 2021 · 8 comments
Closed

Cannot select layer to apply to #6

baidarkabob opened this issue Mar 23, 2021 · 8 comments
Assignees

Comments

@baidarkabob
Copy link

Hi, I am unable to select the layer to apply the .lyrx file too. Drop-down is non-responsive.

Windows 10 64 build 19041
QGIS 3.181
3840 x 2160 screen resolution

Screenshot 2021-03-23 121137

@bogind
Copy link
Contributor

bogind commented Jun 17, 2021

Sorry for the long response time,
Has this worked for you since?
Did you perhaps first open the plugin window and only then the layers?
Have you tried this with other versions of QGIS?

@mchisi
Copy link

mchisi commented Jun 18, 2021

Hi,
I'm having the same Problem. I am using QGIS 3.16.4. Is this the issue?

@bogind
Copy link
Contributor

bogind commented Jun 18, 2021

@mchisi
What operating system are you using?
What version of the plugin?
Did you try reopening the plugin window after loading layers?
Are you getting an error message?

@bogind bogind closed this as completed in 4abd081 Jun 18, 2021
@mchisi
Copy link

mchisi commented Jun 18, 2021

@mchisi
What operating system are you using?
What version of the plugin?
Did you try reopening the plugin window after loading layers?
Are you getting an error message?

Windows 10 Enterprise and the Version of the plugin is 0.3. I installed it once from the Plugin-Directory on QGIS and once from the ZIP-File, no difference.

The Error message is in the Python console on QGIS is:
Traceback (most recent call last):
File "C:/Users/vamch/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qlyrx\qlyrx.py", line 1525, in run
geometry_general_type_str = self.generalise_geom_type(layer) if not isRaster else 'raster'
File "C:/Users/vamch/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qlyrx\qlyrx.py", line 406, in generalise_geom_type
geometry_type_str = QgsWkbTypes.displayString(int(layer.wkbType()))
AttributeError: 'NoneType' object has no attribute 'wkbType'

But I think this has to do with me not having selected a Layer (because I can't) and clicking OK anyway

@bogind bogind self-assigned this Jun 18, 2021
@bogind
Copy link
Contributor

bogind commented Jun 18, 2021

You can try release 0.3.1 (just added), I rewrote the layer loading part of the plugin which seemed to have stopped working in newer versions.
It should be available form the plugins repository in a few hours at most I hope, or just take it from the releases.
https://github.com/arc2qgis/qlyrx/releases/tag/v0.3.1

@bogind
Copy link
Contributor

bogind commented Jun 18, 2021

@mchisi
can you update if the new release fixed this issue for you?
reopening until I can confirm this works.

@bogind bogind reopened this Jun 18, 2021
@mchisi
Copy link

mchisi commented Jun 18, 2021

@mchisi
can you update if the new release fixed this issue for you?
reopening until I can confirm this works.

Thank you so much! I did indeed work now with 0.3.1 yes :)

...I am having some issues with #Enable using differently named layers and fields #8 now but I will write there if I can't get them sorted.

Perfect support, thx again

@bogind
Copy link
Contributor

bogind commented Jun 18, 2021

#8 is an issue I opened for the further development, I hope I'll have time to implement that soon enough (2-3 months).
Closing this issue as it's now resolved.

@bogind bogind closed this as completed Jun 18, 2021
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

3 participants