Search found 124 matches

by Jon
Tue Oct 04, 2016 7:46 pm
Forum: General Questions
Topic: DOE-4 Data
Replies: 2
Views: 2188

Re: DOE-4 Data

Sorry about that. The new nightly builds on the web server should be working as expected.

I really should migrate all of the JARs to the "name-<VERSION>.jar" standard...
by Jon
Thu Sep 29, 2016 12:29 am
Forum: Scripting
Topic: java or jython error codes
Replies: 2
Views: 2188

Re: java or jython error codes

Hi Joleen,

I've written this up as Inquiry 2427. I'm still working on a fix for Windows, but I believe that the first commit should have things working on macOS and Linux.
by Jon
Wed Sep 28, 2016 5:22 pm
Forum: Scripting
Topic: importing new jython tools when running in a jython shell
Replies: 26
Views: 13067

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

Hi Joleen, Sorry for the silence on my end. Every time I sit down to type up a reply, I wind up trying to fix the problem instead of just replying. (on the plus side, I have a batch of commits coming up that you'll probably like) As for the actual problem, I get bitten by the same thing from time to...
by Jon
Thu Jun 23, 2016 10:13 pm
Forum: Scripting
Topic: importing function not in jython library
Replies: 7
Views: 4177

Re: importing function not in jython library

Hi Joleen, That's a great idea! Unfortunately, there appear to be issues when a ".git" directory (or essentially any "dot file") is in the McV python directory. We hope to have this fixed immediately after the upcoming 1.6 release! That said, once this is available, it should be ...
by Jon
Wed Sep 30, 2015 5:58 pm
Forum: Scripting
Topic: datetime object from loadADDEImage
Replies: 6
Views: 3922

Re: datetime object from loadADDEImage

FWIW I wrote this up as Inquiry 2178, and here's the commit:

https://github.com/mcidasv/mcidasv/comm ... d6169bcf12
by Jon
Wed Sep 30, 2015 4:04 pm
Forum: Scripting
Topic: datetime object from loadADDEImage
Replies: 6
Views: 3922

Re: datetime object from loadADDEImage

Hi Joleen,

Just so we're on the same page, you're looking for something like a 'datetime' key that points to a DateTime object...correct? If so, I should have something committed today.

Jon
by Jon
Fri Sep 04, 2015 5:09 pm
Forum: Scripting
Topic: importing new jython tools when running in a jython shell
Replies: 26
Views: 13067

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

You shouldn't need to do anything differently--but I'll dig into it.

One thing to try is simply putting a "print" statement immediately after the loadADDEImage call. Presumably you'd see the output after loadADDEImage finishes.
by Jon
Wed Aug 19, 2015 3:59 pm
Forum: Scripting
Topic: importing new jython tools when running in a jython shell
Replies: 26
Views: 13067

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

Hi Joleen, usercustomize.py : ~/.local/lib/jython2.7/site-packages/usercustomize.py should always be implicitly loaded by Jython (assuming the file exists). It does look like "runMcV -pyfile/-script file.py" (incorrectly) ignores usercustomize.py, but usercustomize.py should be getting loa...
by Jon
Thu Jul 23, 2015 3:41 pm
Forum: Scripting
Topic: accounting information
Replies: 1
Views: 1767

Re: accounting information

There isn't really a convenient way at the moment. One idea that comes to mind is to modify loadADDEImage so that it will attempt to find accounting information for remote servers if the loadADDEImage "accounting" parameter has not been set. Another would be to simply add a function that w...
by Jon
Wed Jul 22, 2015 11:40 am
Forum: Scripting
Topic: importing new jython tools when running in a jython shell
Replies: 26
Views: 13067

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

Hi Joleen, I have things in a "works for me" state--hopefully it won't be limited to just me. At any rate, the command line was getting pretty cumbersome, so I added a shell script that can be used to launch things. If you'd like to avoid the additional script, you can always alter the las...