Quantcast
Channel: YouTrackYouTrack (JT) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 74845

JT-19288: Unable to import CSV using python libraries - 404 error

$
0
0
Reporter Mamata Krishnamurthy (mamata.krishnamurthy) Mamata Krishnamurthy (mamata.krishnamurthy)
Created Apr 3, 2013 9:39:17 PM
Updated Apr 4, 2013 5:40:32 PM
Priority Normal
Type Bug
State Open
Assignee Alexander Buturlinov (alexander.buturlinov)
Subsystem Import
Fix versions No Fix versions
Fixed in builds No Fixed in build
Affected versions No Affected versions
Browser Any Browser
OS Any OS
Verified in build Not verified
Verified by Nobody
Reviewed by No reviewed by
Severity Routine
What steps will reproduce the problem?
1.Run CommandLine command - python csv2youtrack.py C:\Users\mamata.krishnamurthy\Downloads\YouTrack\youtrack-rest-python-library-master\python\rmtCSV.csv https://stealthbits.myjetbrains.com/youtrack/rest/system/version "mamata.krishnamurthy" stealth99 SAT "SA Test"

What is the expected result?
Imported CSV file into YouTrack

What happens instead?

C:\Users\mamata.krishnamurthy\Downloads\YouTrack\youtrack-rest-python-library-ma
ster\python>c:\python27\python csv2youtrack.py C:\Users\mamata.krishnamurthy\Dow
nloads\YouTrack\youtrack-rest-python-library-master\python\rmtCSV.csv https://st
ealthbits.myjetbrains.com/youtrack/rest/system/version "mamata.krishnamurthy" <<password>>
SAT "SA Test"
source_file C:\Users\mamata.krishnamurthy\Downloads\YouTrack\youtrack-rest-pytho
n-library-master\python\rmtCSV.csv
target_url https://stealthbits.myjetbrains.com/youtrack/rest/system/version
target_login mamata.krishnamurthy
target_password <<password>>
Traceback (most recent call last):
File "csv2youtrack.py", line 145, in <module>
main()
File "csv2youtrack.py", line 25, in main
csv2youtrack(source_file, target_url, target_login, target_password)
File "csv2youtrack.py", line 35, in csv2youtrack
target = Connection(target_url, target_login, target_password)
File "C:\Users\mamata.krishnamurthy\Downloads\YouTrack\youtrack-rest-python-li
brary-master\python\youtrack\connection.py", line 31, in __init__
self._login(login, password)
File "C:\Users\mamata.krishnamurthy\Downloads\YouTrack\youtrack-rest-python-li
brary-master\python\youtrack\connection.py", line 41, in _login
    raise youtrack.YouTrackException('/user/login', response, content)
youtrack.YouTrackException: Error for [/user/login]: 404: Not Found: {"value":"N
ot Found"}

Please provide any additional information below.
Attach a screenshot if possible

Viewing all articles
Browse latest Browse all 74845

Trending Articles