Search found 124 matches

by Jon
Fri Feb 28, 2014 6:30 pm
Forum: Scripting
Topic: importing new jython tools when running in a jython shell
Replies: 26
Views: 13071

Re: importing new jython tools when running in a jython shell

Hi Joleen, I'm really sorry for not noticing this earlier, but that version of Jython (2.2.1) is pretty old (2007-10-14). Assuming you're executing McV by running "jython -Dpython.security.respectJavaAccessibility=false -i mcvinit.py", you may need to upgrade the version of Jython you're u...
by Jon
Wed Feb 19, 2014 7:23 pm
Forum: Scripting
Topic: importing new jython tools when running in a jython shell
Replies: 26
Views: 13071

Re: importing new jython tools when running in a jython shell

Hi Joleen,

I don't know if this will help, but I've attached an updated mcvinit.py that should work better with the McV nightly build. The only real differences are the versions of the various JAR files (and I added the IDV's "external.jar").
by Jon
Wed Feb 19, 2014 6:00 pm
Forum: Scripting
Topic: importing new jython tools when running in a jython shell
Replies: 26
Views: 13071

Re: importing new jython tools when running in a jython shell

Strange…what happens if you place the following lines before the "from see import see" line?

Code: Select all

import sys
print sys.version
by Jon
Tue Jan 21, 2014 7:53 pm
Forum: Bug Reports
Topic: java Memory leak /Threads
Replies: 10
Views: 4558

Re: java Memory leak /Threads

Hi Henry, Without knowing the details of your script, you may want to try the "boomstick" function (the terrible name signifies that it shouldn't be used lightly!). It removes all data sources, displays, and attempts to do garbage collection. The following is some very limited pseudocode t...
by Jon
Thu Jan 16, 2014 5:12 pm
Forum: General Questions
Topic: Remote install on Macs
Replies: 2
Views: 1885

Re: Remote install on Macs

It's difficult to tell without having more information about the contents of the distribution directory. That said, the McIDAS-V installers actually have fairly decent support for unattended installations. Here's the approach I've been using: ⋅ Using a VM or sample machine, install McIDAS-...
by Jon
Mon Jan 13, 2014 3:35 pm
Forum: Bug Reports
Topic: java Memory leak /Threads
Replies: 10
Views: 4558

Re: java Memory leak /Threads

Hello Henry, I apologize for the delayed reply; I've been trying to replicate the problem…but it's proving difficult to do so without having the script and/or data to work with. Is there any way I can get those? Also, I saw your post on the Jogamp Java3D forum. FWIW we've been working with Unidata t...
by Jon
Wed Nov 20, 2013 5:23 pm
Forum: Bug Reports
Topic: corrupted memory allocation
Replies: 2
Views: 1663

Re: corrupted memory allocation

Hi HP.

Apologies for the bug. I believe I've fixed the problem and have updated the "nightly" builds to include the fix.

Jon
by Jon
Thu Nov 14, 2013 9:36 pm
Forum: Scripting
Topic: navigated display
Replies: 2
Views: 2110

Re: navigated display

Hi Joleen,

I'm having difficulties replicating this behavior…could you try running the following and replying with the output?

Code: Select all

print panel
for p in panel:
    print p
    print see(p)
    print
    print see(p.getJavaInstance(), pattern='*get*')
    print '-'*79
by Jon
Tue Nov 12, 2013 6:33 pm
Forum: Bug Reports
Topic: layer control is returning NoneType for createDisplay
Replies: 4
Views: 2374

Re: layer control is returning NoneType for createDisplay

Hi Joleen,

Does changing the code to the following help?

Code: Select all

layerVIS = panel[0].createLayer('Image Display', imgVIS)
# might want to try using see to make sure everything is as it should be:
# print see(panel[0])
by Jon
Thu Nov 07, 2013 7:14 pm
Forum: General Questions
Topic: optimal number of Java Threads
Replies: 1
Views: 1599

Re: optimal number of Java Threads

Hi Kris, I dug through the VisAD/IDV/McV source code and also asked the other developers for their opinions…the general consensus seems to be that long animation loops may see noticeable performance boosts with more threads, but keep in mind that the default number of rendering threads is the same a...