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

Cannot get this to work. #12

Open
InfoSecured opened this issue Nov 9, 2018 · 1 comment
Open

Cannot get this to work. #12

InfoSecured opened this issue Nov 9, 2018 · 1 comment

Comments

@InfoSecured
Copy link

Hi,

I've been looking all over the place for a script like this an its promising based on the examples you have, but I've tried numerous combinations of 'csv_configs' and just cannot get anything to output correctly to ics. The only thing I get in an output are the first two lines below:

BEGIN:VCALENDAR
END:VCALENDAR

I've even gone so far as to use the same data and configuration from your csv file and arrive.py file, within my csv and script, and even that doesn't work. Any thoughts on what I could be doing wrong?

@Robami
Copy link

Robami commented Jan 29, 2019

I had the exact same problem trying to use a CSV file of my own. Finally, I figured out that I was causing a Value Error, which caused each row to pop out of the stack in accordance with this instruction:
except ValueError:
convert.csv_data.pop(i)

As a result, when convert.py got hold of this, there was no row value to instantiate the Event class as an "event".

My issue was caused by a mis-alignment of columns in csv_configs, but given the breadth of the built-in ValueError, there may be many causes. Hope this helps.

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