octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57825] pkg: install fails when current direct


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #57825] pkg: install fails when current directory is not writeable: urlwrite: unable to open file
Date: Sat, 15 Feb 2020 15:10:29 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?57825>

                 Summary: pkg: install fails when current directory is not
writeable: urlwrite: unable to open file
                 Project: GNU Octave
            Submitted by: mtmiller
            Submitted on: Sat 15 Feb 2020 12:10:28 PM PST
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Running 'pkg install -forge' on any package, when the current directory is not
writeable by the user, raises an unexpected error


>> pkg install -forge generate_html
error: urlwrite: unable to open file
error: called from
    pkg at line 439 column 25


This is presumably because the code to download a package from Octave Forge is
trying to write to the current directory.

Surprisingly, 'pkg install https://...' does work, it seems to be able to
download the URL to a file in a temporary directory instead of the current
directory.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57825>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]