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

Not a Directory Error Message #55

Open
stev-0 opened this issue Mar 30, 2021 · 4 comments
Open

Not a Directory Error Message #55

stev-0 opened this issue Mar 30, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@stev-0
Copy link

stev-0 commented Mar 30, 2021

Describe the bug
Unexpected NotADirectory Error message

To Reproduce
Export a map with all layers in a local SQLite file.
Error:
NotADirectoryError: [WinError 267] The directory name is invalid: 'C:\\Users\\xxxx\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\Unfolded\\resources\\tmpwh9dv49s\\airports.csv'

Also

File "C:\OSGeo4W\apps\Python39\lib\shutil.py", line 613, in _rmtree_unsafe
    os.unlink(fullname)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\Stephen.Knox\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins\\Unfolded\\resources\\tmp14cuulbg\\airports.csv'

Expected behavior
File should export correctly

Desktop (please complete the following information):

  • Plugin: 1.1
  • QGIS 3.18
  • Python: 3.9
  • OS: Windows 10

Additional context
File attached
world.zip

@stev-0 stev-0 added the bug Something isn't working label Mar 30, 2021
@Joonalai
Copy link
Contributor

Joonalai commented Mar 30, 2021

Thank you @stev-0 for reporting the issue and for using the plugin! The plugin exports zip files that can be imported to the Unfolded Studio. Could you put a directory in the Configuration output directory and try again? Edit: no need to do this.

@Joonalai
Copy link
Contributor

I tested with your geopackage and I the same error happened in my machine. I will further investigate this.

@Joonalai
Copy link
Contributor

Joonalai commented Mar 30, 2021

It seems that all the errors are caused by unsupported styles. At the moment SvgMarker and Symbol type invertedPolygonRenderer are not supported by the plugin just yet. If you try to export layers world places and world countries, it should work just fine. The error messages need to be tuned though.

@stev-0
Copy link
Author

stev-0 commented Mar 30, 2021

To be fair that was raised as well, just not in the python trace, I think in the main QGIS error log.

I can confirm it does work with those layers without the exotic types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants