Forum Discussion

praveenpal's avatar
praveenpal
Occasional Contributor
3 months ago
Solved

Any workaround for TC15.77 Python issue

I created ticket with Smartbear on the python issue with version 15.77, they asked us to try below steps

  1. Add the following line of code in the beginning of your script that you are running:                from tc import Log, Project, Sys. It should be the first line of code.
  2. Create a System environment variable with the name "TC_SKIP_PYTHON_FINALIZATION" and set the value to 1.

However this did not work for us, we are still getting "NameError: name Project is not defined". I also tried below work around but no luck.

gc.collect()

import gc 

Since we are facing chrome browser flashing issue, We cannot use 15.76 version as well. 

Any body has found any other workaround for the Python issue ?

7 Replies

  • No workaround yet. We are seeing the same issue after upgrading to v15.78 as well. Following for updates.

    • praveenpal's avatar
      praveenpal
      Occasional Contributor

      yes i did, we are waiting on the custom build

    • Michael_B's avatar
      Michael_B
      Contributor

      I tried the latest test package/settings provided by SmartBear support, but no luck yet. No solution yet, but if I get one, I will share info.

  • jli's avatar
    jli
    New Contributor

    I have the same issue, tests are not running at all after upgrading. but without upgrading we have chrome browser flashing issue. it sucks

    • Haritha_T's avatar
      Haritha_T
      New Member

      Any update on this?, now that we are at 15.80, I am also stuck with Python issue and now I have Chrome browser flasing so cant stay on 15.76 anymore. I installed 15.80 and still having the same python issues. Is there is quick solution without update all my import scripts for Alaises, logs, project, sys etc..

      • rraghvani's avatar
        rraghvani
        Icon for Champion Level 3 rankChampion Level 3

        Refer to the Solution by BD_Geoactive​ , everything is explained in that post. Unfortunately, there's no "quick" solution.