You can subscribe to this list here.
Showing
9
results of 9
Hi!
I've been wondering if there are any GUI designer for Swing that would ma=
ke=20
sense with Jython and if somebody has experience with this?
TIA,
Andreas
--=20
Andreas Kostyrka=09=09=09=09+43 676 4091256
andreas@...=09=09=09andreas@...
From: <Matt_Conway@...>
>.
regards.
On 06/20/2002 03:46:58 PM jython-users-admin wrote:
>
> By default each PythonInterpreter shares the same PySystemState object.
This
> may work well for a single threaded app but we found that it was totally
> unreliable when running several interpreters in separate threads.
Passing a
> new PySystemState object in to each interpreter seemed to fix our
problems.
> From what I remember of the code I doubt that there is ever going to be
a
> time when separate threads can successfully share the same PySystemState
> object.?
Matt
Hello everyone,
Well...I am still trying to figure-out how to get xml parsing running in
Jython. I have decided to modify my question so that I can just find-out
where to go from here.
I am currently using xml.minidom to parse my XML from within Python.
Apparently this does not work when I Jythonize this code.
I am willing to re-write my XML parsing function if someone can just tell
me what to use to parse XML in Python so that when Jythonized the code
still works. I was told to possibly use PyXML, however then told that that
has bugs and might not work. I've spent three days trying to figure this
stuff out and am still no further along. Any help would be greatly
appreciated. Thanks in advance.
- Morgan
>?
yes a testcase that produces your problem would be indeed
useful.
regards.?
> > PySystemState state=new PySystemState();
> > interpreter =new PythonInterpreter (null,state);
> >
> This code is correct, (btw it really depends on
> what you are trying to do whether you need
> a PySytemState per thread or not, YMMV,
> you can try both ways)
I should know what a PySytemState really does, but I do not. Its said it is
the sys module, hm.
> Your IllegalStatException is solved by
> calling *once* *globally* (not per-thread):
> PySystemState.initialize()
Ok, done that, it works for this part.
--
Best Regards,
Martin Möbius
[mvlinton@...]
>Well, I thought that I had found a solution to my XML problem, however I
>was sadly mistaken. Before I did not have my classpath pointing to the
>Xerces jar, however after fixing that and recompiling I am still unable to
>parse an XML file, below is the error that I get:
>...
>SAXReaderNotAvailable: No parsers found
There is some magic stuff in the xml.sax code that attempts to
find XML parsers based on locating suitable drivers. I remember
having trouble with it. However, given that I was happy to
specify the parser I wanted, I was able to bypass the
magic:
parser = sax.make_parser(["xml.sax.drivers2.drv_xmlproc"])
Sean
I'm writing intelligent test agents to test Web Services using Jython and
TestMaker. TestMaker implements SOAP protocol handlers in Java, which I
import into my Jython script.
I use thread.start_new_thread() to create concurrently running threads.
Within each thread at times I want the thread to sleep for a few seconds.
Should I use time.sleep() within the thread? What does that actually tell to
sleep? Will just that thread sleep or will Jython sleep?
-Frank
[Brett Morgan]
>
> Speaking of community spirit, is there any one out there with weblogs with
> rss feeds that I can subscribe to? I am getting addicted to
> Userland Radio's
> news aggregator. Its fun. I wanna re-implement it in java/jython. :)
You could try subscribing to my MovableType blog:
--
Patrick K. O'Brien
Orbtech
-----------------------------------------------
"Your source for Python software development."
-----------------------------------------------
Web:
Wiki:
-----------------------------------------------