Closed oversanne closed 10 years ago
Sorry, it's too ugly ;-)
Currently only wget
availability is tested in assert_connectors_well_configured()
function in inc/common.inc.sh
. Add curl
will be excessive…
You must find a value misinterpreted by Jira connector to reproduce the bug :-/
echo $data | python -c "import json,sys;s=sys.stdin.read();s=s.replace('\r\n', '');s=json.loads(s);print s['fields']['summary'];" 2>~/www/twgit/.history.error
gives:
Traceback (most recent call last):
File "
I change encoding. PR update. Could you check?
This solved my problem, and now it works fine :)
It's not the solution to convert into ASCII… Some characters will be unreadable.
I read the code of Jira connector and I realize his author went a bit too fast :-/
I open a hotfix and ask you for validation. Thanks for your perseverance ^^
Ok thanks :)
Still boggy on my side. Any progress ?
There is an issue using python. Sometimes in jira it doesn't interprete correctly return of jira api. But in PHP it works.
I propose this quick ugly hotfix, and I propose to use curl instead of wget.