cancel
Showing results for 
Search instead for 
Did you mean: 

WinError 193 after latest TestComplete update, python modules do not work with new update.

SOLVED
Highlighted
Contributor

WinError 193 after latest TestComplete update, python modules do not work with new update.

After the most recent update to TestComplete (Version: 12.50.4142.7 x64), my python tests are no longer able to use the module `fdb`.

 

This is the exact line of code that breaks:

 

  

with fdb.connect(dsn='<redacted>', user='<redacted>', password='<redacted>', charset="none") as con:

 

 

%1.PNG

 

This same line of code works when run through the same interpreter (Python 3.6) via pyCharm on the same machine.

I've had to do some pretty dumb stuff to even get TC to see the module in the first place, seen here:

 

from os import sys
import os
sys.path.append('C:\Program Files (x86)\SmartBear\TestComplete 12\Bin\Extensions\Python\Python36\Lib\site-packages')

Without that append to the system path, I get:

module not found.PNG

 

And, again, I get none of these problems when run via PyCharm on the same machine. I even have PyCharm pointed to the same exact python executable:

pycharmconfig.PNG

Any help would be appreciated, I'm shut down until this is resolved. Thanks!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Contributor

Alright, for any poor souls that are as dense as I....

 

The problem was my local install of Python 3.6 is 32 bit, where as I've been running 64 bit Test Complete... running the 32 bit version of TC allowed my 3rd party modules to work again.


Boy oh boy, what a waste of my day, lol.

View solution in original post

2 REPLIES 2
Highlighted
Community Hero

This is something you should probably discuss with Support.  You can contact them here:

https://support.smartbear.com/testcomplete/

Highlighted
Contributor

Alright, for any poor souls that are as dense as I....

 

The problem was my local install of Python 3.6 is 32 bit, where as I've been running 64 bit Test Complete... running the 32 bit version of TC allowed my 3rd party modules to work again.


Boy oh boy, what a waste of my day, lol.

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get properties of a web page element

Participate!

Compare images using the Region Checkpoint

See replies!

Compare HTML table with Excel file and correct data in Excel file

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!
Top Kudoed Authors