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

Error: Exception: Invalid syntax for time format #1

Closed
srvsxc opened this issue Oct 17, 2017 · 1 comment
Closed

Error: Exception: Invalid syntax for time format #1

srvsxc opened this issue Oct 17, 2017 · 1 comment

Comments

@srvsxc
Copy link

srvsxc commented Oct 17, 2017

Hi,
Having the following error for converting cl51 data.

`Traceback (most recent call last):
File "/home/sourav/anaconda3/bin/cl2nc", line 240, in read_input
d.update(line0(line))
File "/home/sourav/anaconda3/bin/cl2nc", line 51, in line0
if m is None: raise Exception('Invalid syntax for time format')
Exception: Invalid syntax for time format

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/sourav/anaconda3/bin/cl2nc", line 478, in
'check': args.check
File "/home/sourav/anaconda3/bin/cl2nc", line 275, in read_input
raise Exception('Error on line %d: %s: %s' % (line_number, e, line))
Exception: Error on line 4: Invalid syntax for time format: �CL010326�
`

Any suggestion?
Thanks in advance

@peterkuma
Copy link
Owner

[Already resolved in private e-mail communication, but copying the response here for anyone reading github comments.]

The error is due to cl2nc currently not supporting Python 3 - please use Python 2.7 instead.

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