This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > PainShop Pro Scripting > January 2007 > Pixelnook's PS Curve Converter Script Problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Pixelnook's PS Curve Converter Script Problem
Rod

2007-01-10, 8:50 pm

I've been trying out preset actions with my PSPX curves application. I
downloaded Pixelnook's PS Curve Converter Script, which worked successfully
the first time I tried it. However, I now receive the following warning
each time I attempt to re-run the script. Does anyone have any ideas on how
this "broken" script may be fixed? Regards, Rod.

Executing RunScript

Executing ReturnFileLocations

Exception in Tkinter callback

Traceback (most recent call last):

File "C:\Program Files\Corel\Corel Paint Shop Pro X\Python
Libraries\lib\lib-tk\Tkinter.py", line 1345, in __call__

return self.func(*args)

File "C:\Program Files\Corel\Corel Paint Shop Pro
X\Scripts-Trusted\Actions\PS Curve Converter.PspScript", line 224, in
OnConvert

x.ReadCurves(adobeFile)

File "C:\Program Files\Corel\Corel Paint Shop Pro
X\Scripts-Trusted\Actions\PS Curve Converter.PspScript", line 88, in
ReadCurves

raise Exeception

NameError: global name 'Exeception' is not defined

Script 'PS Curve Converter' has completed successfully.




SuzShook

2007-01-10, 8:50 pm

I'm not sure, Rod, but if I were to hazard a guess, I'd suggest changing the
spelling on "Exeception" in line 88 to "Exception" and see if that works.
Suz

Rod wrote:
> I've been trying out preset actions with my PSPX curves application. I
> downloaded Pixelnook's PS Curve Converter Script, which worked
> successfully the first time I tried it. However, I now receive the
> following warning each time I attempt to re-run the script. Does
> anyone have any ideas on how this "broken" script may be fixed? Regards,
> Rod.
> Executing RunScript
>
> Executing ReturnFileLocations
>
> Exception in Tkinter callback
>
> Traceback (most recent call last):
>
> File "C:\Program Files\Corel\Corel Paint Shop Pro X\Python
> Libraries\lib\lib-tk\Tkinter.py", line 1345, in __call__
>
> return self.func(*args)
>
> File "C:\Program Files\Corel\Corel Paint Shop Pro
> X\Scripts-Trusted\Actions\PS Curve Converter.PspScript", line 224, in
> OnConvert
>
> x.ReadCurves(adobeFile)
>
> File "C:\Program Files\Corel\Corel Paint Shop Pro
> X\Scripts-Trusted\Actions\PS Curve Converter.PspScript", line 88, in
> ReadCurves
>
> raise Exeception
>
> NameError: global name 'Exeception' is not defined
>
> Script 'PS Curve Converter' has completed successfully.



Rod

2007-01-10, 8:50 pm

I changed the spelling of "Exception" as suggested, but the script is still
not working - and now the output warning dialogue reads as copied
immediately below. The strange thing about this problem is tha script
worked perfectly the first time it was used (even with the original Line 88
spelling of "Exeception"). Any other suggestions on how to fix the problem
would be appreciated. Thanks, Rod.

Executing RunScript

Executing ReturnFileLocations

Exception in Tkinter callback

Traceback (most recent call last):

File "C:\Program Files\Corel\Corel Paint Shop Pro X\Python
Libraries\lib\lib-tk\Tkinter.py", line 1345, in __call__

return self.func(*args)

File "C:\Program Files\Corel\Corel Paint Shop Pro
X\Scripts-Trusted\Actions\PS Curve Converter.PspScript", line 224, in
OnConvert

x.ReadCurves(adobeFile)

File "C:\Program Files\Corel\Corel Paint Shop Pro
X\Scripts-Trusted\Actions\PS Curve Converter.PspScript", line 88, in
ReadCurves

raise Exception

Exception


"SuzShook" <suzshook@adelphia.net> wrote in message
news:45912adc$1_2@cnews...
> I'm not sure, Rod, but if I were to hazard a guess, I'd suggest changing
> the spelling on "Exeception" in line 88 to "Exception" and see if that
> works. Suz
>
> Rod wrote:
>
>



SuzShook

2007-01-10, 8:50 pm

What's the error message that follows the line that tells you the error is
in line 88? Like the "NameError: global name 'Exeception' is not defined"
you got when you got the error before?

I don't know why you did not get the error the first time you ran the
script - perhaps it has to do with which presets you were converting. I
don't have any Photoshop curves presets to convert, so I can't help much
there. It might be that you did not enter that particular part of the
if-else routine the first time you ran the script. Let us know if you get
this sorted out, Rod. Suz

Rod wrote:[color=darkred]
> I changed the spelling of "Exception" as suggested, but the script is
> still not working - and now the output warning dialogue reads as
> copied immediately below. The strange thing about this problem is
> tha script worked perfectly the first time it was used (even with the
> original Line 88 spelling of "Exeception"). Any other suggestions on
> how to fix the problem would be appreciated. Thanks, Rod.
>
> Executing RunScript
>
> Executing ReturnFileLocations
>
> Exception in Tkinter callback
>
> Traceback (most recent call last):
>
> File "C:\Program Files\Corel\Corel Paint Shop Pro X\Python
> Libraries\lib\lib-tk\Tkinter.py", line 1345, in __call__
>
> return self.func(*args)
>
> File "C:\Program Files\Corel\Corel Paint Shop Pro
> X\Scripts-Trusted\Actions\PS Curve Converter.PspScript", line 224, in
> OnConvert
>
> x.ReadCurves(adobeFile)
>
> File "C:\Program Files\Corel\Corel Paint Shop Pro
> X\Scripts-Trusted\Actions\PS Curve Converter.PspScript", line 88, in
> ReadCurves
>
> raise Exception
>
> Exception
>
>
> "SuzShook" <suzshook@adelphia.net> wrote in message
> news:45912adc$1_2@cnews...


Rod

2007-01-10, 8:50 pm

Hi Suz - Thank you for your advice. The second batch of .acv files (curves
presets) I was endeavouring to convert seemingly contained some "rogue"
files which Pixelnook's converter was unable to digest. On your advice, I
decided it was better to treat each file individually - and the bulk of them
converted quite happily. Thanks again - Cheers, Rod.


"SuzShook" <suzshook@adelphia.net> wrote in message
news:4591c469$1_1@cnews...
> What's the error message that follows the line that tells you the error is
> in line 88? Like the "NameError: global name 'Exeception' is not defined"
> you got when you got the error before?
>
> I don't know why you did not get the error the first time you ran the
> script - perhaps it has to do with which presets you were converting. I
> don't have any Photoshop curves presets to convert, so I can't help much
> there. It might be that you did not enter that particular part of the
> if-else routine the first time you ran the script. Let us know if you get
> this sorted out, Rod. Suz
>
> Rod wrote:
>
>



SuzShook

2007-01-10, 8:50 pm

Glad to help, Rod. Suz

Rod wrote:[color=darkred]
> Hi Suz - Thank you for your advice. The second batch of .acv files
> (curves presets) I was endeavouring to convert seemingly contained
> some "rogue" files which Pixelnook's converter was unable to digest. On
> your advice, I decided it was better to treat each file
> individually - and the bulk of them converted quite happily. Thanks
> again - Cheers, Rod.
>
> "SuzShook" <suzshook@adelphia.net> wrote in message
> news:4591c469$1_1@cnews...


Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews