Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Map saving #1

Closed
BikashPandey17 opened this issue Mar 10, 2020 · 2 comments
Closed

Map saving #1

BikashPandey17 opened this issue Mar 10, 2020 · 2 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@BikashPandey17
Copy link

BikashPandey17 commented Mar 10, 2020

why is the map saved in the location C:\\Users\\admin\\AppData\\Local\\Temp\\tmp20ubm6zg which gives a PermissionError: [Errno 13] Permission denied: it can either save it in a chosen location or in the same directory.

Entire error message :
Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\admin\AppData\Local\Programs\Python\Python37\Lib\tkinter\__init__.py", line 1705, in __call__ return self.func(*args) File "E:\git\wisp\venv\lib\site-packages\wisp-0.0.8b0-py3.7.egg\wisp.py", line 753, in show_map MAP_FINAL.save(tmp.name) File "E:\git\wisp\venv\lib\site-packages\branca\element.py", line 164, in save fid = open(outfile, 'wb') PermissionError: [Errno 13] Permission denied: 'C:\\Users\\admin\\AppData\\Local\\Temp\\tmpod9udnn7'

What is the policy for contributing?

@Jimut123
Copy link
Owner

Looks like the version 0.0.8-b of the GUI app doesn't work well in windows. Try running

$ python wisp_v2.py

Which contains the actual Naive algorithm for the app (version-2). Please provide the API key beforehand... Though it only supports CLI.

If you want to make the previous release work in windows, then I will be more than happy if you could fork it and submit a P.R.

@Jimut123
Copy link
Owner

Jimut123 commented May 16, 2020

Bikash, if you want to resolve this... then I'm giving you the ticket and closing this.
Though looks like a minor windows issue.

@Jimut123 Jimut123 added good first issue Good for newcomers help wanted Extra attention is needed labels Nov 7, 2020
@Jimut123 Jimut123 pinned this issue Nov 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants