Ranorex

run sample scripts

 
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexPython
View previous topic :: View next topic  
Author Message
connie



Joined: 24 Jul 2006
Posts: 1

PostPosted: Mon Jul 24, 2006 3:41 pm    Post subject: run sample scripts
hello

when trying to run the sample scripts I get the following error:
Traceback (most recent call last):
File "H:\python\ranorex\Scripts\CalcTest1-de.py", line 20, in ?
import RanorexPython as Ranorex
ImportError: No module named RanorexPython

but I have copied the the RanorexCore.dll and RanorexPython.dll files into the dll directory of python, so that should'nt be the problem.

(when installing python I got the message, that MSVCR71.dll was missing, so I downloaded that file and put it in the windows/system directory. don't know if that has anything to do with it)

any suggestions?

thanks
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 05 Jul 2006
Posts: 351

PostPosted: Tue Jul 25, 2006 11:26 pm    Post subject:
Hi Connie,

It seems to be a Python 2.4.3 installation problem.
(Ranorex-0.9.1 works with the Python Version 2.4.3)

RanorexPython needs RanorexCore.dll and Python24.dll.
Python24.dll needs MSVCR71.dll.
The DLLs Python24.dll and MSVCR71.dll must be in the Windows\System32 directory.
The DLLs RanorexPython.dll and RanorexCore.dll should be in the Python24\DLLs directory.

Please check the DLLs, if it doesn't work, please copy RanorexPython.dll and RanorexCore.dll into the Ranorex\Scripts directory, and try to start the testscript again.
Please inform me about the results.

Jenö Herget
Ranorex Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> RanorexPython All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum