App Crash Report - directions unclear
Closed this issue · 3 comments
What happened?
LOVING this resource! Thank you!
The formatting the csv file needs is unclear. Please provide a few rows of example data that includes the required header on the "Add your data" page for the client (see attached AGRC_API_Client_AddYourData_Screenshot.png)
Trying to use Windows AGRC API Client. After uploading my csv file with a sample address I get the error
Cannot read properties of undefined (reading 'path')
TypeError: Cannot read properties of undefined (reading 'path')
at l (file:///C:/Users/tyson/AppData/Local/ugrc-api-client/app-1.6.0/resources/app.asar/.webpack/renderer/main_window/index.js:2:470722)
at file:///C:/Users/tyson/AppData/Local/ugrc-api-client/app-1.6.0/resources/app.asar/.webpack/renderer/main_window/index.js:2:374614
at file:///C:/Users/tyson/AppData/Local/ugrc-api-client/app-1.6.0/resources/app.asar/.webpack/renderer/main_window/index.js:2:374832
Steps To Reproduce
Run client
Enter Key
Upload csv file
App Version
1.6.0
Electron Version
18.0.4
Operating System
Windows 11
Relevant log output
Error message
Cannot read properties of undefined (reading 'path')
Stack trace
TypeError: Cannot read properties of undefined (reading 'path')
at l (file:///C:/Users/tyson/AppData/Local/ugrc-api-client/app-1.6.0/resources/app.asar/.webpack/renderer/main_window/index.js:2:470722)
at file:///C:/Users/tyson/AppData/Local/ugrc-api-client/app-1.6.0/resources/app.asar/.webpack/renderer/main_window/index.js:2:374614
at file:///C:/Users/tyson/AppData/Local/ugrc-api-client/app-1.6.0/resources/app.asar/.webpack/renderer/main_window/index.js:2:374832
Thank you for the issue and I apologize that you're having a hard time with the CSV file.
We've tried to make the CSV file as flexible as possible to allow for any variety of schema. I believe all that is required is 2 columns and a header row.
Once you select a CSV the app presents some options to connect to the fields it needs and shows you a single row snapshot of the street and zone data from your file. e.g.
This image is of a CSV with this data
id,street,zone
1,259 W MAIN,Delta
There are some other sample CSV's available in https://github.com/agrc/geocoding-toolbox/tree/master/tests.
What you are showing almost makes it look like the app cannot access the file you are providing it. You might try closing the app after a few minute to let it update to 1.6.8 which is the most recent version.
Are you able to share your file or some variety of it?
Thanks for such a quick response. That is what I thought at first, too. Not sure they the drag and drop will not work. Uploaded with the "Choose File" (file broswer) and it worked. Suggestion, maybe provide an example of what the file should like on the "Add your data" screen. Something like:
address, city, state, zip
3950 Adams Ave, Ogden, UT, 84403
The tool is great BTW thanks!
Ok, so your issue was with the drag and drop? I'll create a new issue from your suggestion. Thanks!