save and load bug.

David Bateman dbateman at dbateman.org
Sun Dec 28 04:12:07 CST 2008


Ben Abbott wrote:
> On Dec 27, 2008, at 10:16 PM, GARY FORBIS wrote:
>   
>> octave-3.0.3.exe:8> save vars
>> error: octave_base_value::save_ascii(): wrong type argument `swig_ref'
>>   (I have reloaded GNU Octave 4 times.  It always complains.  I  
>> don't know if
>>    it's something about my hardware.  Is this a symptom of a real  
>> problem?)
>>
>> in cygwin:
>>
>> # Created by Octave 3.0.3, Sat Dec 27 19:10:15 2008 Pacific Standard  
>> Time <unknown at unknown>
>> # name: SQL_ENSURE
>> # type: global scalar
>> 1
>>
>>     
<snip>

>> # name: SQL_OUTER_JOINS
>> # type: global scalar
>> 38
>> # name: SQL_FETCH_FIRST
>> # type: global scalar
>> 2
>> # name: sqlite3_index_info_aConstraintUsage
>> # type: global swig_ref
>>
>> I wonder how many more variables there are.
>>     
>
>
> ok, I'm at a loss as to what may be wrong.
>
> I've cc'd the list again.
>
> Hopefully someone will notice your post with the have an idea as to  
> what might be wrong.
>
>   
Either don't save all of the variables or don't have database or ftp 
that rely on SWIG loaded.... The swig packages don't have the code to 
save the swig objects.. Perhaps these packages shouldn't be marked as 
autoloaded

D.

-- 
David Bateman                                dbateman at dbateman.org
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)



More information about the Help-octave mailing list