thecocce / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

PyScripter cannot handle GAEUnit #309

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the zip file, unzip it
2. Go to "Run Configuration", click on the "Debug", and choose "run"
3. Go to your web browser, type in "http://localhost:8080/test". I am 
running GAEUnit in PyScripter
4. For all the 3 tests, they all fail with "ImportError: No module named 
Rpyc"

What is the expected output? What do you see instead?
In actual fact, I have already imported all the necessary Rpyc module. To 
check this you can go to the Project Explorer ( UnitTrustTracker), right 
click on it, choose "extra project path" and verify that all the Rpyc stuff 
is already there ( I am using Rpyc 2.60).

OTOH, if I start the server from command line ( dev_appserver.py %Python 
Project 
Path%),http://code.google.com/appengine/docs/python/tools/devserver.html

then there is no such problem; I won't get a import error.  

What version of the product are you using? On what operating system?
PyScripter 1.9.9.7. GAEUnit 1.2.8, Google App Engine 1.2.2.
Windows XP SP3.

Please provide any additional information below.

Original issue reported on code.google.com by soonhui.ngu on 6 Jun 2009 at 3:35

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
related issue 238

Original comment by soonhui.ngu on 6 Jun 2009 at 3:37

GoogleCodeExporter commented 9 years ago
Runs here fine with PyScripter 2.1.1. 

Output in the browser:
GAEUnit: Google App Engine Unit Test Framework
Version 1.2.8
Runs: 3/3   Errors: 1   Failures: 1

I have made a couple of changes in your run configuration:
Parameters: "$[Project-Dir]"
Working Directory: $[Project-Dir]\
I have checked the Reinitialize Before Run option

Then I right-clicked on the Run Configuration and selected Run.  It worked 
straight away.

Original comment by pyscripter on 18 Sep 2010 at 11:40

GoogleCodeExporter commented 9 years ago
PyScripter 1.9.9.7 did not bundle rpyc.  I suspect that you had not installed 
rpyc in Python 2.5, the version required for the Google app engine.  PyScripter 
v2.x now bundles rpyc so no separate installation is needed.

Original comment by pyscripter on 19 Sep 2010 at 12:16