SGladys / mediacomp-jes

Automatically exported from code.google.com/p/mediacomp-jes
0 stars 0 forks source link

Trying to import JES libraries in Jython 2.2.1 #49

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Starting Jython 2.2.1 shell
2. Using the following commands (pg 227 in Intro to Computing and Programming 
in Python):
>>> import sys
>>> sys.path.insert(0,"C:\Program Files\JES 4.3\Sources")
>>> from media import *
3. These lines cause a series of "ClassNotFound Exceptions" starting
on line 183 in media.py (in the Sources directory).

If I comment out lines 184-204 in media.py (namely the makeEmptySound function 
and the makeEmptySoundBySeconds function), the lines above work and I am able 
to use the majority of the JES library.

What is the expected output? What do you see instead?
Expected successful import of all items in media.py.  Get an error instead.

What version of the product are you using? On what operating system?
Using JES 4.3, Jython 2.2.1, on Windows Vista

Please provide any additional information below.
I should note that I had no issues utilizing the image/color functions in the 
library outside the JES.

Original issue reported on code.google.com by jason.r....@gmail.com on 16 May 2011 at 7:07

GoogleCodeExporter commented 8 years ago
This problem is remaining when running Jython 2.7.b2 and Windows 7. I am glad I 
stumbled on this thread after many attempts. //Annica

Original comment by kristoff...@gmail.com on 5 May 2014 at 9:11