Re: [OctDev] Revived: Bug report: COM errors in Windows package

2011-06-29 Thread Michael Goffioul
On Wed, Jun 29, 2011 at 6:08 PM, Philip Nienhuis wrote: >> On Wed, Jun 29, 2011 at 5:18 PM, Michael Goffioul >>  wrote: >>> >>> The java package uses the same system, so if it works for java object, it >>> should >>> logically also work for COM objects. > > Yes, I thought of that too, but: > (1)

Re: [OctDev] Revived: Bug report: COM errors in Windows package

2011-06-29 Thread Philip Nienhuis
Michael Goffioul wrote: > Additionally, does it work if you decompose the statement in 2: > > wbs = xlapp.Workbooks > wb = wbs.Open(fname) octave.exe:2> xlapp = actxserver ('Excel.Application') xlapp = octave.exe:3> wbs = xlapp.Workbooks error: can't perform indexing operations for octave_com_o

Re: [OctDev] Revived: Bug report: COM errors in Windows package

2011-06-29 Thread Michael Goffioul
Additionally, does it work if you decompose the statement in 2: wbs = xlapp.Workbooks wb = wbs.Open(fname) Michael. On Wed, Jun 29, 2011 at 5:18 PM, Michael Goffioul wrote: > The java package uses the same system, so if it works for java object, it > should > logically also work for COM objec

Re: [OctDev] Revived: Bug report: COM errors in Windows package

2011-06-29 Thread Michael Goffioul
The java package uses the same system, so if it works for java object, it should logically also work for COM objects. By looking at the code for both, I can't see any obvious difference. Some debugging might be needed, but I can't investigate at the moment. Michael. On Wed, Jun 29, 2011 at 11:07

Re: [OctDev] using leasqr with developement version

2011-06-29 Thread c.
On 29 Jun 2011, at 12:21, Olaf Till wrote: > It occured to me that with your example the returns within the blocks > weren't supposed to be met at all, but only > > Cell retval (rdims); > > ... > > return octave_value (retval); > > in the outer function block. And cell2cell should have not

Re: [OctDev] using leasqr with developement version

2011-06-29 Thread Olaf Till
On Wed, Jun 29, 2011 at 11:58:55AM +0200, c. wrote: > > On 29 Jun 2011, at 11:02, Olaf Till wrote: > > > I'd try to clarify first if indeed having a single return point is > > considered mandatory > > It sure isn't mandatory in Octave-Forge where coding guidelines are not as > strict as in Octa

[OctDev] Revived: Bug report: COM errors in Windows package

2011-06-29 Thread Philip Nienhuis
Hi Michael, While trying the windows package with Tatsuro Matsuoka's octave-3.4.2 MingW testing binary, I hit an old error: = octave.exe:29> xlapp = actxserver ('Excel.Application') xlapp = octave.exe:30> wb = xlapp.Workbooks.Open (fname) error: can't

Re: [OctDev] using leasqr with developement version

2011-06-29 Thread c.
On 29 Jun 2011, at 10:57, Olaf Till wrote: > > But this version was already checked in. You probably didn't update to > current SVN ... You are right, although I did update the SVN repository the version I had installed is the released one. Updating to the SVN version demo leasqr now works

Re: [OctDev] using leasqr with developement version

2011-06-29 Thread c.
On 29 Jun 2011, at 11:02, Olaf Till wrote: > I'd try to clarify first if indeed having a single return point is > considered mandatory It sure isn't mandatory in Octave-Forge where coding guidelines are not as strict as in Octave core. On the other hand I do find it useful when debugging ... >

Re: [OctDev] using leasqr with developement version

2011-06-29 Thread Olaf Till
On Wed, Jun 29, 2011 at 09:54:11AM +0200, c. wrote: > > On 29 Jun 2011, at 09:16, Olaf Till wrote: > > > I'm not ready, but: > > > > Your example with cell2cell works for me, too: > > is your version of cell2cell the same as in the repository? > > > octave:5> function prova () > >> m = 1; n =

Re: [OctDev] using leasqr with developement version

2011-06-29 Thread Olaf Till
On Wed, Jun 29, 2011 at 09:53:29AM +0200, c. wrote: > ... > Could you please check-in your versio of optim to the SVN? > the current version of leasqr is totally unusable to me, > even just > > "demo leasqr" > > fails and erases the contents of the global workspace But this version was already

Re: [OctDev] Octave-Forge package installations

2011-06-29 Thread Philip Nienhuis
Clay Fulcher wrote: > Thank you Philip. > > Here is the information you asked for: > > - Octave version 3.2.4 (built with MinGW compiler) installed with > Windows Installer > - Packages that do not install: > database-1.0.4 > fl-core-1.0.0 > nan-2.4.4 > octproj-1.0.2 > openmpi_ext-1.0.2 > parallel-

Re: [OctDev] using leasqr with developement version

2011-06-29 Thread c .
On 29 Jun 2011, at 09:16, Olaf Till wrote: > I'm not ready, but: > > Your example with cell2cell works for me, too: is your version of cell2cell the same as in the repository? > octave:5> function prova () >> m = 1; n = 1; >> plabels = cell2cell (num2cell ((1:n).'), 1); >> m >> endfunction > o

Re: [OctDev] using leasqr with developement version

2011-06-29 Thread c .
Hi, Thanks for the quick reply! On 29 Jun 2011, at 08:59, Olaf Till wrote: > Please wait a minute. > > In SVN some days ago I had already removed any usage of "cell2cell" in > the optim package, including leasqr (replaced it by num2cell). And > your example with leasqr works for me. OK, I will

Re: [OctDev] using leasqr with developement version

2011-06-29 Thread Olaf Till
On Wed, Jun 29, 2011 at 08:59:16AM +0200, Olaf Till wrote: > On Wed, Jun 29, 2011 at 12:06:14AM +0200, Carlo de Falco wrote: > > > > On 28 Jun 2011, at 18:06, Carlo de Falco wrote: > > > > > Hi, > > > > > > I am posting this to both Octave and Octave-Forge as I think this > > > problem encounte