Menu

#296 On Linux in Octave, the AMT cannot be started

closed
Joonaksu
bug (35)
2024-08-19
2023-07-31
No

The package "io" cannot be loaded in Octave on some Linux systems. This bug currently prevents from using the AMT in Octave on some Linux machines.

Discussion

  • Piotr Majdak

    Piotr Majdak - 2023-07-31
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1 @@
    -The pacakge "io" cannot be loaded in Octave on Linux. This currently prevents from using the AMT in Octave on Linux.
    +The package "io" cannot be loaded in Octave on some Linux systems. This bug currently prevents from using the AMT in Octave on some Linux machines.
    
    • Milestone: 1.6.0 --> 1.5.1
     
  • Piotr Majdak

    Piotr Majdak - 2023-07-31
    • status: open --> accepted
     
  • Piotr Majdak

    Piotr Majdak - 2023-07-31

    Status to accepted because this should be tackled ASAP.

     
  • Alejandro Osses

    Alejandro Osses - 2023-09-10

    Just to add information to the issue: the io package is not installed by default, so the user needs to first run "pkg install io" or "pkg install -forge io". However, even after installing io the problem continues.
    The problem is actually that line 592: [~,info]=pkg('list'); produces an empty "info" in my computer (running on Linux) and therefore does not load the package...

     
  • Piotr Majdak

    Piotr Majdak - 2024-07-05
    • assigned_to: Piotr Majdak
     
  • Piotr Majdak

    Piotr Majdak - 2024-07-08
    • assigned_to: Piotr Majdak --> Joonaksu
     
  • Joonaksu

    Joonaksu - 2024-07-09

    Tested freshly installed VM: Kubuntu 24.04 64bit and octave version 8.4.0. I couldn't install io with pkg install -forge io, instead I installed it with sudo apt install octave-io. After that amt_start run without problems

     
  • Piotr Majdak

    Piotr Majdak - 2024-07-09

    That's good news - thanks!

    This means that we could just provide these specific instructions to the user and that's it. Correct?

    I've modified amt_start providing the information to the user in the case io package loading fails... Could you check?

     
  • Joonaksu

    Joonaksu - 2024-07-16

    amt_start('install') needs also package netcdf.
    To make it work I needed to install 'make' and 'libnetcdf-dev' (sudo apt install libnetcdf-dev) packages before pkg install -forge netcdf

     
  • Piotr Majdak

    Piotr Majdak - 2024-07-17
     
  • Piotr Majdak

    Piotr Majdak - 2024-07-29
    • status: accepted --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB