Closed yuechuanx closed 5 years ago
Hello Yuechuan Xiao,
the 500 Internal Server Error indicates, that the Testlink Server itself runs into a code error, either in its php source or sql statements. One starting point for debugging the reason would be analyse the the error log of your httpd server or to observe it (e..g tail -f /var/log/appache2/error.log), while you are running TestLinkExample.py.
I tested the client release with py27 and py36, while you are using py35. But i guess, this should make no difference. More interessting beside the httpd error log messages would be, which TestLink Server version you use and which TestLink-API-Python-client version.
Regards Luiko
Sorry I haven't got back to you sooner.
Yes, i tried py36 & py37 & py27 to run the script but just same result. so python version is not the cause and I use docker file to build TestLink server(docker image from bitnami), i'm not sure where the logs file locates.
I will try another TestLink version and TestLink-API-Python-client version. Hope it will fix it.
Thanks for the quick reply.
Try to run TestLinkExample.py in python version 3.5, then got a Error as follows:
code position is here:![image](https://user-images.githubusercontent.com/19339293/55678869-612c2d00-5933-11e9-9ab8-2021f2157e92.png)