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

App Crash Report - directions unclear #229

Closed
tysongibby opened this issue Dec 14, 2023 · 3 comments
Closed

App Crash Report - directions unclear #229

tysongibby opened this issue Dec 14, 2023 · 3 comments

Comments

@tysongibby
Copy link

tysongibby commented Dec 14, 2023

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)
AGRC_API_Client_AddYourData_Screenshot

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
@steveoh
Copy link
Member

steveoh commented Dec 14, 2023

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.

image

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?

@tysongibby
Copy link
Author

tysongibby commented Dec 14, 2023

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!

@steveoh
Copy link
Member

steveoh commented Dec 15, 2023

Ok, so your issue was with the drag and drop? I'll create a new issue from your suggestion. Thanks!

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

2 participants