GithubHelp home page GithubHelp logo

Comments (7)

Testinator-X avatar Testinator-X commented on August 14, 2024 1

According to the installation instructions python 3.10 or newer is recommended. Have you already checked if this also happens when you update your python Version?

from trcli.

d-rede avatar d-rede commented on August 14, 2024

Hello @ch4h2s

Thanks for reporting this issue. Unfortunately, I am not able to replicate it. Could you kindly provide a report file that hasn't worked for you?

Thanks

from trcli.

bitcoder avatar bitcoder commented on August 14, 2024

Closing this in the next days unless there's more feedback on it

from trcli.

ch4h2s avatar ch4h2s commented on August 14, 2024

Note: this may have to do with the fact that python was running on windows (Win 10) and not on linux when this happened.
At any rate, trcli should force utf-8 when communicating with the testrail server and allow an option to read the encoding from the xml file and/or via an option on the command line and/or via environment.

from trcli.

bitcoder avatar bitcoder commented on August 14, 2024

As @Testinator-X mentioned, trcli requires at least Python 3.10; tests currently run on 3.10, 3.11, and 3.12.
@ch4h2s , can you please test it using the latest trcli version (1.6.2) and Python 3.10 and let us know if the problem arises? If so, can you please share the JUnit XML report?

from trcli.

ch4h2s avatar ch4h2s commented on August 14, 2024

Sorry, the old framework is not in use anymore, so cannot repro the issue here myself.
Also that same old framework had been patched to use ASCII to go around this bug well before being deprecated (actually before this bug was even reported), so it would not have been able to reproduce the issue anyway.

If you are sure that trcli now uses UTF-8 for the XML input (or reads the encoding from the xml headers), you can close the issue.

If you need to test it on your machines/frameworks, try to get some non-ascii, non-CP1252 characters inside all of the xml strings and see what happens when run on windows.

from trcli.

bitcoder avatar bitcoder commented on August 14, 2024

As neither of us is unable to reproduce it, I'm closing this issue.

from trcli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.