[changeset] property value not paired with name in __add_datasource__.m

Ben Abbott bpabbott at mac.com
Mon Sep 1 08:34:45 CDT 2008


On Sep 1, 2008, at 9:32 AM, David Bateman wrote:

> Ben Abbott wrote:
>>
>> On Sep 1, 2008, at 6:30 AM, David Bateman wrote:
>>
>>> This is not the correct fix as __add_datasource__ is looking for a  
>>> prop/val pair with the name ?DataSource. It doesn't however make  
>>> the assumption that the other arguments that are passed are all  
>>> property/value pairs, and in some cases they are.
>>>
>>> Trying to generate or error with
>>>
>>> plot(1:10,1:10,"LineWidth", 3)
>>>
>>> the code works correctly. I then tried a rebuild of voroni.eps  
>>> with the changeset I just sent and the build when find. I'd  
>>> therefore suggest not making the change to __add_datasource__ you  
>>> suggest..
>>>
>>> Regards
>>> David
>>>
>>
>> octave:1> plot(1:10,1:10,"LineWidth", 3)
>> error: set: invalid number of arguments
>> error: called from:
>> error:   /Users/bpabbott/Development/mercurial/octave-3-0-0/scripts/ 
>> plot/__plt2vv__.m at line 83, column 7
>> error:   /Users/bpabbott/Development/mercurial/octave-3-0-0/scripts/ 
>> plot/__plt2__.m at line 68, column 14
>> error:   /Users/bpabbott/Development/mercurial/octave-3-0-0/scripts/ 
>> plot/__plt__.m at line 79, column 10
>> error:   /Users/bpabbott/Development/mercurial/octave-3-0-0/scripts/ 
>> plot/plot.m at line 189, column 5
>>
>> The problem appears to remains.
>
> Is this in the 3.1.51+ sources or the 3.0.2+ sources as implied by  
> octave-3-0-0 above? I'm assuming its 3.1.51+
>
> Ok, this is odd. This works find here.

hmmm ... good point. Please ignore my labeling of the version. I'm  
using jwe's default branch.

Ben




More information about the Octave-maintainers mailing list