importing from CSV - SyntaxError: invalid syntax

Hi all.

I'm using YouTrack 5.0.5.
I've followed this help page:
http://confluence.jetbrains.com/display/YTD5/Import+from+a+CSV+File.

when running this command:
python csv2youtrack.py csv_file youtrack_url youtrack_login youtrack_password

i'm getting
C:\youtrack-rest-python-library-master\python>python csv2youtrack.py "C:\youtrack-rest-python-library-master\python\excelfile.csv" http://localhost:<myPort>/youtrack root <mypassword>

Traceback (most recent call last):
  File "csv2youtrack.py", line 6, in <module>
    import youtrack
  File "C:\youtrack-rest-python-library-master\python\youtrack\__init__.py", line 456
    except YouTrackException, e:
             ^
SyntaxError: invalid syntax
1 comment
Comment actions Permalink
Hello,

What version of Python do you have?
Please, note our import scripts require Python 2.6.

Let me know, if it doesn't help.
0

Please sign in to leave a comment.