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

Unknown Location Error #110

Closed
Pittsie72 opened this issue Oct 2, 2020 · 9 comments
Closed

Unknown Location Error #110

Pittsie72 opened this issue Oct 2, 2020 · 9 comments
Labels

Comments

@Pittsie72
Copy link

Pittsie72 commented Oct 2, 2020

Files.zip

Description

I have 2 identical .yaml files. Only difference is the location the information is stored and one looks for CFO positions and the other Human Resource. However, the Human Resource has the following error where as the CFO does not:
Traceback (most recent call last):
File "/home/pittsie/.local/bin/funnel", line 8, in
sys.exit(main())
File "/home/pittsie/.local/lib/python3.8/site-packages/jobfunnel/main.py", line 28, in main
job_funnel.run()
File "/home/pittsie/.local/lib/python3.8/site-packages/jobfunnel/backend/jobfunnel.py", line 86, in run
self.master_jobs_dict = self.read_master_csv()
File "/home/pittsie/.local/lib/python3.8/site-packages/jobfunnel/backend/jobfunnel.py", line 405, in read_master_csv
locale = locale.UNKNOWN
AttributeError: 'NoneType' object has no attribute 'UNKNOWN'

Both files have been attached in a zip

Expected behavior

Run

Actual behavior

Error shown above only on Bill.yaml not 2Mom.yaml

Environment

  • Build: 3.0.0
  • Operating system and version: Ubuntu 20.04
@Pittsie72 Pittsie72 added the bug label Oct 2, 2020
@Pittsie72
Copy link
Author

Discovered it was an issue in the CSV

@PaulMcInnis
Copy link
Owner

Ah, yes this would seem to have been caused by an empty column in the CSV.

I think there is value in handling these errors more efficiently though, I will look into improving this.

@Pittsie72
Copy link
Author

Pittsie72 commented Oct 2, 2020 via email

@PaulMcInnis
Copy link
Owner

hmm that's not good, was the issue with the CSV that all it got all mixed up? I've been seeing this on my end when something in the job description isn't escaped correctly (it's comma-separated after all).

@Pittsie72
Copy link
Author

Pittsie72 commented Oct 2, 2020 via email

@PaulMcInnis
Copy link
Owner

yeah if you're comfortable please send it over, I'm trying to fix some bugs that are cropping up with CSV updating.

@PaulMcInnis
Copy link
Owner

(I'm most interested in the CSV that caused the failure if you still have it)

@Pittsie72
Copy link
Author

Pittsie72 commented Oct 2, 2020 via email

@PaulMcInnis
Copy link
Owner

hmm it seems like the attachment didn't make it onto the github, Feel free to send me an email @ paulmcinnis99@gmail.com with the CSV file and I'll take a look.

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

No branches or pull requests

2 participants