kevincobain2000 / jProcessing

Japanese Natural Langauge Processing Libraries
http://readthedocs.org/docs/jprocessing/en/latest/
BSD 2-Clause "Simplified" License
148 stars 30 forks source link

Python rtcclient 0.6.0 issue: ERROR client.RTCClient: not well-formed (invalid token): line 17, column 77 #13

Closed kevinhe2017 closed 6 years ago

kevinhe2017 commented 6 years ago

Hello Everyone,

I'm trying to use Python rtcclient 0.6.0 and following the example code to get work items from RTC 6.0.3. The url ends with ccm and the RTC server doesn't have proxies. The url is like https://rtc-ccm-1.int.xxxx.com:9443/ccm/web/projects/xxxx (note: some characters are substituted with xxxx for confidential reason). Here are part of sample code I use:

from rtcclient.utils import setup_basic_logging from rtcclient import RTCClient

setup_basic_logging() url = "https://rtc-ccm-1.int.xxxx.com:9443/ccm/web/projects/xxxx" username = "myusername" password = "mypassword"

myclient = RTCClient(url, username, password, ends_with_jazz=False) print myclient wk = myclient.getWorkitem("1631898")

Here are execution results (note: some characters are substituted with xxxx for confidential reason): results.txt

The script seems to connect the server without issue (no error in debug log). The print command prints out "RTC Server at https://rtc-ccm-1.int.xxxx.com:9443/ccm/web/projects/xxxx" and the work item "1631898" does exist. Don't know why it still throws out "Not found <Workitem 1631898>" error.

If you have any idea, I would be grateful for your help!