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

The tool fails while converting .style to xml #112

Closed
1milenac opened this issue Nov 5, 2021 · 11 comments · Fixed by #116
Closed

The tool fails while converting .style to xml #112

1milenac opened this issue Nov 5, 2021 · 11 comments · Fixed by #116
Labels

Comments

@1milenac
Copy link

1milenac commented Nov 5, 2021

Hi,

I am trying to convert .style to xml but the tools fails after a few seconds and return this error. Not sure how to solve it. The output xml is empty.
image

  • QGIS 3.20.2
@1milenac 1milenac added the bug label Nov 5, 2021
@nyalldawson
Copy link
Collaborator

Are you able to attach the style file?

@1milenac
Copy link
Author

1milenac commented Nov 5, 2021

unfortunately not as It cannot be shared outside of the organization

@nyalldawson
Copy link
Collaborator

Could you email it to nyall@north-road.com?

@fabianshenk
Copy link

@oguerrarea
Copy link

I have a similar issue. Attached is the style file
PRUEBA_50K.zip

nyalldawson added a commit that referenced this issue Nov 26, 2021
Amongst other things, fixes parsing of picture fill v7

Fixes #112
nyalldawson added a commit that referenced this issue Nov 26, 2021
Amongst other things, fixes parsing of picture fill v7

Fixes #112
nyalldawson added a commit that referenced this issue Nov 26, 2021
Amongst other things, fixes parsing of picture fill v7

Fixes #112
@oguerrarea
Copy link

Thank you for the effort Nyall. Works quite fine for the file I send, but (unfortunately) still not working for more bigger and complicated style files.

@nyalldawson
Copy link
Collaborator

@oguerrarea are you able to attach one of those?

@oguerrarea
Copy link

OAGR_2021.zip
Dear Nyall, here is the bigger style file. Thank you.
OG

@nyalldawson
Copy link
Collaborator

Thanks @oguerrarea! Seems the ordering of columns in the .style database is different in that file. I wasn't previously aware that that was possible..!

I'll push a fix shortly

@nyalldawson
Copy link
Collaborator

@oguerrarea fixed in the version just pushed!

@oguerrarea
Copy link

Thank you again Nyall, works fine now.
OG

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

Successfully merging a pull request may close this issue.

4 participants