Re: [MaxImDL] Python and MaxIm (was Re: Scripting Error)


Jun 16, 2006

 


----------------------------

#24662 Jun 16, 2006

--- In MaxImDL@yahoogroups.com, "Dustin Moore" dustin.moore@...> wrote: >

> I'm converting my vbscript program to python and I've noticed

> that my camera.SaveImage(filename) no longer works. Maxim DL

> returns the automation exception 65535 which is entitled

> "Invalid Input". It gives throws this exception regardless of whether

> I give it

> camera.SaveImage("c:\\test.fit") #under python the \ is escaped

> or

> camera.SaveImage("")

> and it pulls the same error. My old vbscript code reads

> camera.SaveImage("c:\test.fit")

>

> Does anyone know what "Invalid Format" refers to?



Searching through the archive of this list I have stumbled over this

old message from 2001 (!).

We got exactly the same error a few months ago but thanks to the

great support by the MaxIm guys (who installed Python) and Mark

Hammond of pywin32 (who installed MaxIm) the problem was solved

once and for all.

I do not remember the details, so maybe MaxIm folks could give an

update on the situation?



As far as I have heard Version 4.54 is supposed to have the few buggy

methods corrected.



Reiner



----------------------------

#24665 Jun 16, 2006

My vbscript starting throwing an exception on both SaveImage and StartSequence once they put up Ver 4.50. Like you say, hopefully a fix can be found for the next

version released.



- Jerry

---------------

From: "Reiner M. Stoss" rstoss@...> > --- In MaxImDL@yahoogroups.com, "Dustin Moore" dustin.moore@...> wrote:

> >

> > I'm converting my vbscript program to python and I've noticed

> > that my camera.SaveImage(filename) no longer works. Maxim DL

> > returns the automation exception 65535 which is entitled

> > "Invalid Input". It gives throws this exception regardless of whether

> > I give it

> > camera.SaveImage("c:\\test.fit") #under python the \ is escaped

> > or

> > camera.SaveImage("")

> > and it pulls the same error. My old vbscript code reads

> > camera.SaveImage("c:\test.fit")

> >

> > Does anyone know what "Invalid Format" refers to?

>

> Searching through the archive of this list I have stumbled over this

> old message from 2001 (!).

> We got exactly the same error a few months ago but thanks to the

> great support by the MaxIm guys (who installed Python) and Mark

> Hammond of pywin32 (who installed MaxIm) the problem was solved

> once and for all.

> I do not remember the details, so maybe MaxIm folks could give an

> update on the situation?

>

> As far as I have heard Version 4.54 is supposed to have the few buggy

> methods corrected.

>

> Reiner

>

>

>

>

>

>

>

>

> Yahoo! Groups Links

>

>

>

>

>

>

>



Contact Us
This Site's Privacy Policy
Google's privacy policies

S
e
n
i
o
r
T
u
b
e
.
o
r
g