bugGNU Octave - Bugs: bug #67022, arduino package fails to install...

 
 

bug #67022: arduino package fails to install in Octave 10.1.0

Submitter:  mspo
Submitted:  Mon 14 Apr 2025 08:07:47 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  lostbard
Originator Name:  Open/Closed:  * Closed
Release:  * 10.1.0 Release: 
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 16 Apr 2025 03:19:10 PM UTC, comment #3: 

new release of arduino was made - closing as fixed

John Donoghue <lostbard>
Group Member
Tue 15 Apr 2025 07:05:51 AM UTC, comment #2: 

That's true. I installed it via

pkg install https://github.com/gnu-octave/octave-arduino/archive/refs/heads/main.zip

and it worked. Thank you! Note that there was still a warning about unusable help text, though.

mspo
Mon 14 Apr 2025 12:32:37 PM UTC, comment #1: 

This was fixed in the repo two weeks ago:

https://github.com/gnu-octave/octave-arduino/commit/f7e1d6182b75eed37d9f562f9dcad2c218b6d139

You can patch this yourself (it's just one char difference) or you have to wait until the next release ist done.

-- Andy

Andreas Weber <andy1978>
Group Member
Mon 14 Apr 2025 08:07:47 AM UTC, original submission:  

Running

pkg install -forge arduino


leads to a warning and an error, stopping the installation (I used a placeholder for my userprofile):

warning: doc_cache_create: unusable help text found in file 'example_spi_mcp3002'
warning: called from
    doc_cache_create>handle_function at line 98 column 5
    doc_cache_create>create_cache at line 118 column 6
    gen_doc_cache_in_dir>@<anonymous> at line 150 column 20
    doc_cache_create>gen_doc_cache_in_dir at line 151 column 3
    doc_cache_create at line 62 column 6
    install>generate_lookfor_cache at line 846 column 5
    install at line 241 column 7
    pkg at line 619 column 9

error: duplicate property 'LSM6DSO_REG_FIFO_DATA_OUT_X_H' in class 'lsm6dso' in file '<%userprofile%>\AppData\Roaming\octave\api-v60\packages\arduino-0.12.1\sensors\lsm6dso.m'
error: called from
    <unknown>
    doc_cache_create>create_cache at line 116 column 6
    gen_doc_cache_in_dir>@<anonymous> at line 150 column 20
    doc_cache_create>gen_doc_cache_in_dir at line 151 column 3
    doc_cache_create at line 62 column 6
    install>generate_lookfor_cache at line 846 column 5
    install at line 241 column 7
    pkg at line 619 column 9

I'm running the latest official Octave 10.1.0 release on Win 10 22H2.

It works on Octave 9.4.0, even though the installation shows a whole bunch of warnings there like this one:

<%userprofile%>\AppData\Local\Temp\octave-help-RUEryE:252: misplaced }


mspo

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by andy1978 (Posted a comment)
  • -email is unavailable- added by mspo (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-04-16 lostbard StatusReady For Test Fixed
        Assigned toNone lostbard
        Open/ClosedOpen Closed
    2025-04-14 andy1978 StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.14-962f.
    Corresponding source code