[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error with publish
From: |
Ben Abbott |
Subject: |
Re: error with publish |
Date: |
Thu, 19 Sep 2013 19:33:46 -0400 |
On Sep 19, 2013, at 6:06 PM, Francis Poulin wrote:
> On 2013-09-19, at 5:58 PM, Francis Poulin <address@hidden> wrote:
>
>> On 2013-09-19, at 4:56 PM, Ben Abbott <address@hidden>
>> wrote:
>>
>>> On Sep 19, 2013, at 1:50 PM, Francis Poulin wrote:
>>>
>>>> On 2013-09-18, at 9:36 AM, Ben Abbott <address@hidden> wrote:
>>>>
>>>>> On Sep 17, 2013, at 2:24 PM, Francis Poulin wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I am running octave 3.6.4 that I have installed on my mac using fink. I
>>>>>> wanted to play with the publish command to see how it works. I
>>>>>> installed it using fink, loaded it ok, but then when I tried to publish
>>>>>> I simple script I got the following error
>>>>>>
>>>>>> error: 'exec_print' undefined near line 277 column 33
>>>>>> error: called from:
>>>>>> error: /sw/share/octave/3.6.4/packages/miscellaneous-1.2.0/publish.m
>>>>>> at line 277, column 31
>>>>>> error: /sw/share/octave/3.6.4/packages/miscellaneous-1.2.0/publish.m
>>>>>> at line 136, column 5
>>>>>>
>>>>>> It is not essential that I use this but thought I would point it out in
>>>>>> case someone knows how to fix this.
>>>>>>
>>>>>> Thanks, Francis
>>>>>
>>>>> exec_print() is a function that is internal to publish.m. For
>>>>> miscellaneous-1.2.0, It begins on line 307 of publish.m. Perhaps there
>>>>> is something wrong with your publish.m (corrupted or modified by mistake)?
>>>>>
>>>>> Ben
>>>>>
>>>>
>>>> Hello Ben,
>>>>
>>>> I spoke too soon. One example publishes correctly, and looks great by the
>>>> way, but another fails with another program. The error I get is
>>>>
>>>> error: 'exec_print' undefined near line 216 column 33
>>>> error: called from:
>>>> error: /sw/share/octave/3.6.4/packages/miscellaneous-1.2.0/publish.m at
>>>> line 216, column 31
>>>> error: /sw/share/octave/3.6.4/packages/miscellaneous-1.2.0/publish.m at
>>>> line 138, column 5
>>>>
>>>> I removed my fink install and reinstalled it and it gives the same error.
>>>>
>>>> When I look at publish.m I se that line 277 uses exec_print. I believe the
>>>> comments finish near lines 114.
>>>>
>>>> Would this be a fink issue?
>>>>
>>>> Initially I tried using pkg -forge but that failed. Fink installed it and
>>>> it sometimes works, which is a bit better but maybe there's an outstanding
>>>> issue? Or I'm doing something silly.
>>>>
>>>> Francis
>>>
>>> Can you provide an example that I should be able to duplicate?
>>>
>>> Ben
>>
>> Hello,
>>
>> Yes, here is an example that doesn't work for me.
>>
>> Thanks,
>> Francis
>>
>> <FD_error.m>
>
> I should also add that I tried this command.
>
> publish('FD_error.m','format','html','imageFormat','jpg')
The problem is the "clear all". When that executes, the functions internal to
publish.m are cleared from memory. Just remove the "clear all" and all should
be ok.
Ben