installing pkg under octave!

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

installing pkg under octave!

Ashraf Mousa
Dear octave users
I am running windows 10 64 bit.
I installed octave 4.2.1 with no problem.
My problem is that I can not update pkgs nor installing new ones.
Here are examples of what I get :
1- command (pkg install -forge netcdf)
C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-YmhPqa: Permission denied
error: called from
    unpack at line 244 column 5
    untar at line 47 column 5
    install at line 81 column 9
    pkg at line 394 column 9
 2- command (pkg install netcdf-1.0.11.tar.gz) 
[Note that I used this command after downloading the pkg manually and I changed the dir to where I put the downloaded file]
C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-UiIKXz: Permission denied
error: called from
    unpack at line 244 column 5
    untar at line 47 column 5
    install at line 81 column 9
    pkg at line 394 column 9
3- command (pkg update)
C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-EzApRv: Permission denied
error: called from
    unpack at line 244 column 5
    untar at line 47 column 5
    install at line 81 column 9
    pkg at line 394 column 9
    pkg at line 552 column 11

Hope to receive some detailed help
best regards
Yours

Prof. Ashraf ElKutb Mousa
Prof. of Geodesy, Senior Geodesist
Crustal Movement lab
Geodynamic Dept.
National Research Institute of Astronomy and Geophysics, Helwan, Cairo
Mob. : +002-01061087313
Tel (home): +002-22-5187001
Tel (Work): +002-22-5541100 (ext. 347)
Fax (Work): +002-22-5548020

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: installing pkg under octave!

Oliver Heimlich
Hi,

I can't check in detail whether this causes your issue right now. On Windows the most frequent issue is that the normal user account can't install packages globally.

Please try pkg install with the -local option, which installs the package in your user profile, which should not fail because of file system permissions.

HTH
Oliver Heimlich


Am 6. Dezember 2017 12:54:13 MEZ schrieb Ashraf Mousa <[hidden email]>:
Dear octave users
I am running windows 10 64 bit.
I installed octave 4.2.1 with no problem.
My problem is that I can not update pkgs nor installing new ones.
Here are examples of what I get :
1- command (pkg install -forge netcdf)
C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-YmhPqa: Permission denied
error: called from
    unpack at line 244 column 5
    untar at line 47 column 5
    install at line 81 column 9
    pkg at line 394 column 9
 2- command (pkg install netcdf-1.0.11.tar.gz) 
[Note that I used this command after downloading the pkg manually and I changed the dir to where I put the downloaded file]
C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-UiIKXz: Permission denied
error: called from
    unpack at line 244 column 5
    untar at line 47 column 5
    install at line 81 column 9
    pkg at line 394 column 9
3- command (pkg update)
C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-EzApRv: Permission denied
error: called from
    unpack at line 244 column 5
    untar at line 47 column 5
    install at line 81 column 9
    pkg at line 394 column 9
    pkg at line 552 column 11

Hope to receive some detailed help
best regards
Yours

Prof. Ashraf ElKutb Mousa
Prof. of Geodesy, Senior Geodesist
Crustal Movement lab
Geodynamic Dept.
National Research Institute of Astronomy and Geophysics, Helwan, Cairo
Mob. : +002-01061087313
Tel (home): +002-22-5187001
Tel (Work): +002-22-5541100 (ext. 347)
Fax (Work): +002-22-5548020

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: installing pkg under octave!

Oliver Heimlich
Dear Ashraf,

the command that you used should have worked perfectly. I have tested it
on Windows 7, but it worked on my machine. I have no Windows 10
environment to check with.

It looks like Octave has no permission to write into your own users
temporary directory, which seems strange. Do you run Octave with
elevated privileges?

You could debug step-by-step through your package installation process
to find the root cause. Please try:

>> dbstop unpack 233 # place a break point before the error
>> pkg install -local -forge netcdf

Package installation will then halt right before the error. Please debug
step-by-step and verify in Windows Explorer whether creation of the
temporary directory has happened (with mkdir) and then check the folder
permissions of the temporary directory. This will help us to identify
the problem.

Best
Oliver




On 10.12.2017 11:53, Ashraf Mousa wrote:

> Dear Oliver
> I have tried the following command:
> pkg install -local -forge netcdf
>
> However I get the same error about permision
> *C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-nJLy6R: Permission de*
> *nied*
> *error: called from*
> *    unpack at line 244 column 5*
> *    untar at line 47 column 5*
> *    install at line 81 column 9*
> *    pkg at line 394 column 9*
> *
> *
> *Did I used a wrong command?*
> *Shall I re-install octave using admin?*
> *Any other ideas.*
> *Thanks alot*
> *Cheers*
>  
> Prof. Ashraf ElKutb Mousa
> Prof. of Geodesy, Senior Geodesist
> Crustal Movement lab
> Geodynamic Dept.
> National Research Institute of Astronomy and Geophysics, Helwan, Cairo
> Mob. : +002-01061087313
> Tel (home): +002-22-5187001
> Tel (Work): +002-22-5541100 (ext. 347)
> Fax (Work): +002-22-5548020
>
>
> On Wednesday, December 6, 2017 5:03 PM, Oliver Heimlich
> <[hidden email]> wrote:
>
>
> Hi,
>
> I can't check in detail whether this causes your issue right now. On
> Windows the most frequent issue is that the normal user account can't
> install packages globally.
>
> Please try pkg install with the -local option, which installs the
> package in your user profile, which should not fail because of file
> system permissions.
>
> HTH
> Oliver Heimlich
>
>
> Am 6. Dezember 2017 12:54:13 MEZ schrieb Ashraf Mousa
> <[hidden email]>:
>
>     Dear octave users
>     I am running windows 10 64 bit.
>     I installed octave 4.2.1 with no problem.
>     My problem is that I can not update pkgs nor installing new ones.
>     Here are examples of what I get :
>     1- command (pkg install -forge netcdf)
>     C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-YmhPqa: Permission denied
>     error: called from
>         unpack at line 244 column 5
>         untar at line 47 column 5
>         install at line 81 column 9
>         pkg at line 394 column 9
>      2- command (pkg install netcdf-1.0.11.tar.gz) 
>     [Note that I used this command after downloading the pkg manually
>     and I changed the dir to where I put the downloaded file]
>     C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-UiIKXz: Permission denied
>     error: called from
>         unpack at line 244 column 5
>         untar at line 47 column 5
>         install at line 81 column 9
>         pkg at line 394 column 9
>     3- command (pkg update)
>     C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-EzApRv: Permission denied
>     error: called from
>         unpack at line 244 column 5
>         untar at line 47 column 5
>         install at line 81 column 9
>         pkg at line 394 column 9
>         pkg at line 552 column 11
>
>     Hope to receive some detailed help
>     best regards
>     Yours
>
>     Prof. Ashraf ElKutb Mousa
>     Prof. of Geodesy, Senior Geodesist
>     Crustal Movement lab
>     Geodynamic Dept.
>     National Research Institute of Astronomy and Geophysics, Helwan, Cairo
>     Mob. : +002-01061087313
>     Tel (home): +002-22-5187001
>     Tel (Work): +002-22-5541100 (ext. 347)
>     Fax (Work): +002-22-5548020
>
>
>

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: installing pkg under octave!

Oliver Heimlich
Nice to hear.

Happy hacking!

Am 11. Dezember 2017 08:40:14 MEZ schrieb Ashraf Mousa <[hidden email]>:
Dear Oliver
The problem is solved after I changed the permissions on the temp dir.
Cheers
 
Prof. Ashraf ElKutb Mousa
Prof. of Geodesy, Senior Geodesist
Crustal Movement lab
Geodynamic Dept.
National Research Institute of Astronomy and Geophysics, Helwan, Cairo
Mob. : +002-01061087313
Tel (home): +002-22-5187001
Tel (Work): +002-22-5541100 (ext. 347)
Fax (Work): +002-22-5548020


On Monday, December 11, 2017 9:10 AM, Ashraf Mousa <[hidden email]> wrote:


Dear Oliver
Thanks alot for your kind support.
I have did as you said
and this is what I get:
>> dbstop unpack 233
ans =  233
>> pkg install -local -forge netcdf
stopped in C:\Octave\OCTAVE~1.1\share\octave\4.2.1\m\miscellaneous\unpack.m at line 233
233:   s = stat (dir);
debug>

Please let me know how to debug (i.e. what are the command
Cheers
Ashraf
  
Prof. Ashraf ElKutb Mousa
Prof. of Geodesy, Senior Geodesist
Crustal Movement lab
Geodynamic Dept.
National Research Institute of Astronomy and Geophysics, Helwan, Cairo
Mob. : +002-01061087313
Tel (home): +002-22-5187001
Tel (Work): +002-22-5541100 (ext. 347)
Fax (Work): +002-22-5548020


On Sunday, December 10, 2017 2:12 PM, Oliver Heimlich <[hidden email]> wrote:


Dear Ashraf,

the command that you used should have worked perfectly. I have tested it
on Windows 7, but it worked on my machine. I have no Windows 10
environment to check with.

It looks like Octave has no permission to write into your own users
temporary directory, which seems strange. Do you run Octave with
elevated privileges?

You could debug step-by-step through your package installation process
to find the root cause. Please try:

>> dbstop unpack 233 # place a break point before the error
>> pkg install -local -forge netcdf

Package installation will then halt right before the error. Please debug
step-by-step and verify in Windows Explorer whether creation of the
temporary directory has happened (with mkdir) and then check the folder
permissions of the temporary directory. This will help us to identify
the problem.

Best
Oliver




On 10.12.2017 11:53, Ashraf Mousa wrote:

> Dear Oliver
> I have tried the following command:
> pkg install -local -forge netcdf
>
> However I get the same error about permision
> *C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-nJLy6R: Permission de*
> *nied*
> *error: called from*
> *    unpack at line 244 column 5*
> *    untar at line 47 column 5*
> *    install at line 81 column 9*
> *    pkg at line 394 column 9*
> *
> *
> *Did I used a wrong command?*
> *Shall I re-install octave using admin?*
> *Any other ideas.*
> *Thanks alot*
> *Cheers*
>  
> Prof. Ashraf ElKutb Mousa
> Prof. of Geodesy, Senior Geodesist
> Crustal Movement lab
> Geodynamic Dept.
> National Research Institute of Astronomy and Geophysics, Helwan, Cairo
> Mob. : +002-01061087313
> Tel (home): +002-22-5187001
> Tel (Work): +002-22-5541100 (ext. 347)
> Fax (Work): +002-22-5548020
>
>
> On Wednesday, December 6, 2017 5:03 PM, Oliver Heimlich
> <[hidden email]> wrote:
>
>
> Hi,
>
> I can't check in detail whether this causes your issue right now. On
> Windows the most frequent issue is that the normal user account can't
> install packages globally.
>
> Please try pkg install with the -local option, which installs the
> package in your user profile, which should not fail because of file
> system permissions.
>
> HTH
> Oliver Heimlich
>
>
> Am 6. Dezember 2017 12:54:13 MEZ schrieb Ashraf Mousa
> <[hidden email]>:
>
>    Dear octave users
>    I am running windows 10 64 bit.
>    I installed octave 4.2.1 with no problem.
>    My problem is that I can not update pkgs nor installing new ones.
>    Here are examples of what I get :
>    1- command (pkg install -forge netcdf)
>    C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-YmhPqa: Permission denied
>    error: called from
>        unpack at line 244 column 5
>        untar at line 47 column 5
>        install at line 81 column 9
>        pkg at line 394 column 9
>     2- command (pkg install netcdf-1.0.11.tar.gz) 
>    [Note that I used this command after downloading the pkg manually
>    and I changed the dir to where I put the downloaded file]
>    C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-UiIKXz: Permission denied
>    error: called from
>        unpack at line 244 column 5
>        untar at line 47 column 5
>        install at line 81 column 9
>        pkg at line 394 column 9
>    3- command (pkg update)
>    C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-EzApRv: Permission denied
>    error: called from
>        unpack at line 244 column 5
>        untar at line 47 column 5
>        install at line 81 column 9
>        pkg at line 394 column 9
>        pkg at line 552 column 11
>
>    Hope to receive some detailed help
>    best regards
>    Yours
>
>    Prof. Ashraf ElKutb Mousa
>    Prof. of Geodesy, Senior Geodesist
>    Crustal Movement lab
>    Geodynamic Dept.
>    National Research Institute of Astronomy and Geophysics, Helwan, Cairo
>    Mob. : +002-01061087313
>    Tel (home): +002-22-5187001
>    Tel (Work): +002-22-5541100 (ext. 347)
>    Fax (Work): +002-22-5548020
>
>
>





_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: installing pkg under octave!

tmacchant
Octave 4.2.1 for windows has pre-build netcdf package if you install octave-forge packages.

Please type 
>> pkg list netcdf
and see the result


In my case 


>> pkg list netcdf
Package Name  | Version | Installation directory
--------------+---------+-----------------------
      netcdf  |  1.0.11 | C:\Octave\OCTAVE~1.1\share\octave\packages\netcdf-1.0.11



To activate netcdf package, you have execute
>> pkg load netcdf

Tatsuro
----- Original Message -----

>From: Oliver Heimlich <[hidden email]>
>To: Ashraf Mousa <[hidden email]>
>Cc: "[hidden email]" <[hidden email]>
>Date: 2017/12/11, Mon 16:53
>Subject: Re: installing pkg under octave!
>
>
>Nice to hear.
>
>Happy hacking!
>
>
>Am 11. Dezember 2017 08:40:14 MEZ schrieb Ashraf Mousa <[hidden email]>:
>Dear Oliver
>>The problem is solved after I changed the permissions on the temp dir.
>>Cheers
>> 
>>Prof. Ashraf ElKutb Mousa
>>Prof. of Geodesy, Senior Geodesist
>>Crustal Movement lab
>>Geodynamic Dept.
>>National Research Institute of Astronomy and Geophysics, Helwan, Cairo
>>Mob. : +002-01061087313
>>Tel (home): +002-22-5187001
>>Tel (Work): +002-22-5541100 (ext. 347)
>>Fax (Work): +002-22-5548020
>>
>>
>>
>>On Monday, December 11, 2017 9:10 AM, Ashraf Mousa <[hidden email]> wrote:
>>
>>
>>
>>Dear Oliver
>>Thanks alot for your kind support.
>>I have did as you said
>>and this is what I get:
>>>> dbstop unpack 233
>>ans =  233
>>>> pkg install -local -forge netcdf
>>stopped in C:\Octave\OCTAVE~1.1\share\octave\4.2.1\m\miscellaneous\unpack.m at line 233
>>233:   s = stat (dir);
>>debug>
>>
>>
>>Please let me know how to debug (i.e. what are the command
>>Cheers
>>Ashraf
>>  
>>Prof. Ashraf ElKutb Mousa
>>Prof. of Geodesy, Senior Geodesist
>>Crustal Movement lab
>>Geodynamic Dept.
>>National Research Institute of Astronomy and Geophysics, Helwan, Cairo
>>Mob. : +002-01061087313
>>Tel (home): +002-22-5187001
>>Tel (Work): +002-22-5541100 (ext. 347)
>>Fax (Work): +002-22-5548020
>>
>>
>>
>>On Sunday, December 10, 2017 2:12 PM, Oliver Heimlich <[hidden email]> wrote:
>>
>>
>>
>>Dear Ashraf,
>>
>>the command that you used should have worked perfectly. I have tested it
>>on Windows 7, but it worked on my machine. I have no Windows 10
>>environment to check with.
>>
>>It looks like Octave has no permission to write into your own users
>>temporary directory, which seems strange. Do you run Octave with
>>elevated privileges?
>>
>>You could debug step-by-step through your package installation process
>>to find the root cause. Please try:
>>
>>>> dbstop unpack 233 # place a break point before the error
>>>> pkg install -local -forge netcdf
>>
>>Package installation will then halt right before the error. Please debug
>>step-by-step and verify in Windows Explorer whether creation of the
>>temporary directory has happened (with mkdir) and then check the folder
>>permissions of the temporary directory. This will help us to identify
>>the problem.
>>
>>Best
>>Oliver
>>
>>
>>
>>
>>
>>On 10.12.2017 11:53, Ashraf Mousa wrote:
>>> Dear Oliver
>>> I have tried the following command:
>>> pkg install -local -forge netcdf
>>>
>>> However I get the same error about permision
>>> *C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-nJLy6R: Permission de*
>>> *nied*
>>> *error: called from*
>>> *    unpack at line 244 column 5*
>>> *    untar at line 47 column 5*
>>> *    install at line 81 column 9*
>>> *    pkg at line 394 column 9*
>>> *
>>> *
>>> *Did I used a wrong command?*
>>> *Shall I re-install octave using admin?*
>>> *Any other ideas.*
>>> *Thanks alot*
>>> *Cheers*
>>>  
>>> Prof. Ashraf ElKutb Mousa
>>> Prof. of Geodesy, Senior Geodesist
>>> Crustal Movement lab
>>> Geodynamic Dept.
>>> National Research Institute of Astronomy and Geophysics, Helwan, Cairo
>>> Mob. : +002-01061087313
>>> Tel (home): +002-22-5187001
>>> Tel (Work): +002-22-5541100 (ext. 347)
>>> Fax (Work): +002-22-5548020
>>>
>>>
>>> On Wednesday, December 6, 2017 5:03 PM, Oliver Heimlich
>>> <[hidden email]> wrote:
>>>
>>>
>>> Hi,
>>>
>>> I can't check in detail whether this causes your issue right now. On
>>> Windows the most frequent issue is that the normal user account can't
>>> install packages globally.
>>>
>>> Please try pkg install with the -local option, which installs the
>>> package in your user profile, which should not fail because of file
>>> system permissions.
>>>
>>> HTH
>>> Oliver Heimlich
>>>
>>>
>>> Am 6. Dezember 2017 12:54:13 MEZ schrieb Ashraf Mousa
>>> <[hidden email]>:
>>>
>>>     Dear octave users
>>>     I am running windows 10 64 bit.
>>>     I installed octave 4.2.1 with no problem.
>>>     My problem is that I can not update pkgs nor installing new ones.
>>>     Here are examples of what I get :
>>>     1- command (pkg install -forge netcdf)
>>>     C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-YmhPqa: Permission denied
>>>     error: called from
>>>         unpack at line 244 column 5
>>>         untar at line 47 column 5
>>>         install at line 81 column 9
>>>         pkg at line 394 column 9
>>>      2- command (pkg install netcdf-1.0.11.tar.gz) 
>>>     [Note that I used this command after downloading the pkg manually
>>>     and I changed the dir to where I put the downloaded file]
>>>     C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-UiIKXz: Permission denied
>>>     error: called from
>>>         unpack at line 244 column 5
>>>         untar at line 47 column 5
>>>         install at line 81 column 9
>>>         pkg at line 394 column 9
>>>     3- command (pkg update)
>>>     C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-EzApRv: Permission denied
>>>     error: called from
>>>         unpack at line 244 column 5
>>>         untar at line 47 column 5
>>>         install at line 81 column 9
>>>         pkg at line 394 column 9
>>>         pkg at line 552 column 11
>>>
>>>     Hope to receive some detailed help
>>>     best regards
>>>     Yours
>>>
>>>     Prof. Ashraf ElKutb Mousa
>>>     Prof. of Geodesy, Senior Geodesist
>>>     Crustal Movement lab
>>>     Geodynamic Dept.
>>>     National Research Institute of Astronomy and Geophysics, Helwan, Cairo
>>>     Mob. : +002-01061087313
>>>     Tel (home): +002-22-5187001
>>>     Tel (Work): +002-22-5541100 (ext. 347)
>>>     Fax (Work): +002-22-5548020
>>>
>>>
>>>
>>
>>
>>
>>
>>
>_______________________________________________
>Help-octave mailing list
>[hidden email]
>https://lists.gnu.org/mailman/listinfo/help-octave
>
>
>

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|

Re: installing pkg under octave!

Ashraf Mousa
Thanks alot Tatsuro Matsuoka
It was only permission problem and It is ok now
Thanks again
Cheers 
 
Prof. Ashraf ElKutb Mousa
Prof. of Geodesy, Senior Geodesist
Crustal Movement lab
Geodynamic Dept.
National Research Institute of Astronomy and Geophysics, Helwan, Cairo
Mob. : +002-01061087313
Tel (home): +002-22-5187001
Tel (Work): +002-22-5541100 (ext. 347)
Fax (Work): +002-22-5548020


On Monday, December 11, 2017 11:02 AM, Tatsuro MATSUOKA <[hidden email]> wrote:


Octave 4.2.1 for windows has pre-build netcdf package if you install octave-forge packages.

Please type 
>> pkg list netcdf
and see the result


In my case 


>> pkg list netcdf
Package Name  | Version | Installation directory
--------------+---------+-----------------------
      netcdf  |  1.0.11 | C:\Octave\OCTAVE~1.1\share\octave\packages\netcdf-1.0.11



To activate netcdf package, you have execute
>> pkg load netcdf

Tatsuro

----- Original Message -----

>From: Oliver Heimlich <[hidden email]>
>To: Ashraf Mousa <[hidden email]>
>Cc: "[hidden email]" <[hidden email]>
>Date: 2017/12/11, Mon 16:53
>Subject: Re: installing pkg under octave!
>
>
>Nice to hear.
>
>Happy hacking!
>
>
>Am 11. Dezember 2017 08:40:14 MEZ schrieb Ashraf Mousa <[hidden email]>:
>Dear Oliver
>>The problem is solved after I changed the permissions on the temp dir.
>>Cheers
>> 
>>Prof. Ashraf ElKutb Mousa
>>Prof. of Geodesy, Senior Geodesist
>>Crustal Movement lab
>>Geodynamic Dept.
>>National Research Institute of Astronomy and Geophysics, Helwan, Cairo
>>Mob. : +002-01061087313
>>Tel (home): +002-22-5187001
>>Tel (Work): +002-22-5541100 (ext. 347)
>>Fax (Work): +002-22-5548020
>>
>>
>>
>>On Monday, December 11, 2017 9:10 AM, Ashraf Mousa <[hidden email]> wrote:
>>
>>
>>
>>Dear Oliver
>>Thanks alot for your kind support.
>>I have did as you said
>>and this is what I get:
>>>> dbstop unpack 233
>>ans =  233
>>>> pkg install -local -forge netcdf
>>stopped in C:\Octave\OCTAVE~1.1\share\octave\4.2.1\m\miscellaneous\unpack.m at line 233
>>233:   s = stat (dir);
>>debug>
>>
>>
>>Please let me know how to debug (i.e. what are the command
>>Cheers
>>Ashraf
>>  
>>Prof. Ashraf ElKutb Mousa
>>Prof. of Geodesy, Senior Geodesist
>>Crustal Movement lab
>>Geodynamic Dept.
>>National Research Institute of Astronomy and Geophysics, Helwan, Cairo
>>Mob. : +002-01061087313
>>Tel (home): +002-22-5187001
>>Tel (Work): +002-22-5541100 (ext. 347)
>>Fax (Work): +002-22-5548020
>>
>>
>>
>>On Sunday, December 10, 2017 2:12 PM, Oliver Heimlich <[hidden email]> wrote:
>>
>>
>>
>>Dear Ashraf,
>>
>>the command that you used should have worked perfectly. I have tested it
>>on Windows 7, but it worked on my machine. I have no Windows 10
>>environment to check with.
>>
>>It looks like Octave has no permission to write into your own users
>>temporary directory, which seems strange. Do you run Octave with
>>elevated privileges?
>>
>>You could debug step-by-step through your package installation process
>>to find the root cause. Please try:
>>
>>>> dbstop unpack 233 # place a break point before the error
>>>> pkg install -local -forge netcdf
>>
>>Package installation will then halt right before the error. Please debug
>>step-by-step and verify in Windows Explorer whether creation of the
>>temporary directory has happened (with mkdir) and then check the folder
>>permissions of the temporary directory. This will help us to identify
>>the problem.
>>
>>Best
>>Oliver
>>
>>
>>
>>
>>
>>On 10.12.2017 11:53, Ashraf Mousa wrote:
>>> Dear Oliver
>>> I have tried the following command:
>>> pkg install -local -forge netcdf
>>>
>>> However I get the same error about permision
>>> *C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-nJLy6R: Permission de*
>>> *nied*
>>> *error: called from*
>>> *    unpack at line 244 column 5*
>>> *    untar at line 47 column 5*
>>> *    install at line 81 column 9*
>>> *    pkg at line 394 column 9*
>>> *
>>> *
>>> *Did I used a wrong command?*
>>> *Shall I re-install octave using admin?*
>>> *Any other ideas.*
>>> *Thanks alot*
>>> *Cheers*
>>>  
>>> Prof. Ashraf ElKutb Mousa
>>> Prof. of Geodesy, Senior Geodesist
>>> Crustal Movement lab
>>> Geodynamic Dept.
>>> National Research Institute of Astronomy and Geophysics, Helwan, Cairo
>>> Mob. : +002-01061087313
>>> Tel (home): +002-22-5187001
>>> Tel (Work): +002-22-5541100 (ext. 347)
>>> Fax (Work): +002-22-5548020
>>>
>>>
>>> On Wednesday, December 6, 2017 5:03 PM, Oliver Heimlich
>>> <[hidden email]> wrote:
>>>
>>>
>>> Hi,
>>>
>>> I can't check in detail whether this causes your issue right now. On
>>> Windows the most frequent issue is that the normal user account can't
>>> install packages globally.
>>>
>>> Please try pkg install with the -local option, which installs the
>>> package in your user profile, which should not fail because of file
>>> system permissions.
>>>
>>> HTH
>>> Oliver Heimlich
>>>
>>>
>>> Am 6. Dezember 2017 12:54:13 MEZ schrieb Ashraf Mousa
>>> <[hidden email]>:
>>>
>>>     Dear octave users
>>>     I am running windows 10 64 bit.
>>>     I installed octave 4.2.1 with no problem.
>>>     My problem is that I can not update pkgs nor installing new ones.
>>>     Here are examples of what I get :
>>>     1- command (pkg install -forge netcdf)
>>>     C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-YmhPqa: Permission denied
>>>     error: called from
>>>         unpack at line 244 column 5
>>>         untar at line 47 column 5
>>>         install at line 81 column 9
>>>         pkg at line 394 column 9
>>>      2- command (pkg install netcdf-1.0.11.tar.gz) 
>>>     [Note that I used this command after downloading the pkg manually
>>>     and I changed the dir to where I put the downloaded file]
>>>     C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-UiIKXz: Permission denied
>>>     error: called from
>>>         unpack at line 244 column 5
>>>         untar at line 47 column 5
>>>         install at line 81 column 9
>>>         pkg at line 394 column 9
>>>     3- command (pkg update)
>>>     C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-EzApRv: Permission denied
>>>     error: called from
>>>         unpack at line 244 column 5
>>>         untar at line 47 column 5
>>>         install at line 81 column 9
>>>         pkg at line 394 column 9
>>>         pkg at line 552 column 11
>>>
>>>     Hope to receive some detailed help
>>>     best regards
>>>     Yours
>>>
>>>     Prof. Ashraf ElKutb Mousa
>>>     Prof. of Geodesy, Senior Geodesist
>>>     Crustal Movement lab
>>>     Geodynamic Dept.
>>>     National Research Institute of Astronomy and Geophysics, Helwan, Cairo
>>>     Mob. : +002-01061087313
>>>     Tel (home): +002-22-5187001
>>>     Tel (Work): +002-22-5541100 (ext. 347)
>>>     Fax (Work): +002-22-5548020

>>>
>>>
>>>
>>
>>
>>
>>
>>
>_______________________________________________
>Help-octave mailing list
>[hidden email]
>https://lists.gnu.org/mailman/listinfo/help-octave

>
>
>


_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave