ImportError: No module named site
David Charles <[email protected]>
| Newsgroups | gmane.comp.lang.jython.devel |
|---|---|
| Message-ID | <CAJHoYyJuP5GBFfpaMD58oGbZxkOKJa4dzkk9U9b7_PC67tmfoQ@mail.gmail.com> |
My apologies for abusing this list a second time, but I am still unable to
register at bugs.jython.org. :(
I am seeing "ImportError: No module named site" on 2.7b4 as described in
this issue:
* http://bugs.jython.org/issue2225
However, mine is a Webstart application.
My application is currently running properly on 2.7b1, since that
particular release does not exhibit the symptom, but I would like to be
using the latest if possible.
Here is what I see in the Webstart console when I start my app:
Java Web Start 11.31.2.13
Using JRE version 1.8.0_31-b13 Java HotSpot(TM) 64-Bit Server VM
User home directory = C:\Users\12345
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>
----------------------------------------------------
#### Java Web Start Error:
#### null
When I click on 'Details', I find the following exception stack trace:
ImportError: No module named site
at org.python.core.ImportError(Py.java:328)
at org.python.core.imp.import_first(imp.java:842)
at org.python.core.imp.load(imp.java:695)
at
org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:118)
at
org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:94)
at
org.python.util.InteractiveInterpreter.<init>(InteractiveInterpreter.java:39)
at
org.python.util.InteractiveInterpreter.<init>(InteractiveInterpreter.java:28)
at
org.python.util.InteractiveConsole.<init>(InteractiveConsole.java:67)
at
org.python.util.InteractiveConsole.<init>(InteractiveConsole.java:53)
at
org.python.util.InteractiveConsole.<init>(InteractiveConsole.java:33)
(my app)
Is there anyone who can tell me what is going on and how to fix it?
Thank you, kindly.
David
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Jython-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jython-dev