question

maloy avatar image
maloy asked maloy answered

STC automation with python

I am trying to run stc automation with python in linux. As I understand it's prerequisites are 32 bit machine and python 2.7.6

So I built python2.7.6 from source and using that as my python interpreter. My test script is as follows

from StcPython import StcPython
#print dir(StcPython)
stc = StcPython()
print dir(stc)

When I run this code by "/path/to/python2.7.6 test_script.py, it fails with "Could not load a transcoding service"

What is the reason of the error?

automationpython
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
maloy avatar image
maloy answered

I think it is not related to stc. Rather my minimal os and python built from source because when I ran the steps in a ubuntu vm with python 2.7.6 pre-installed, these error does not come any more. Though I still have no idea which caused the error in first place!

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.