Opened 13 years ago

Closed 12 years ago

#252 closed question (fixed)

OSError: [Errno 13] Permission denied:

Reported by: jvazquez@… Owned by: Malte Marquarding
Priority: normal Milestone: ASAP 4.0
Component: General Version: 2.0
Severity: normal Keywords:
Cc:

Description

Help with following after installation; then wheun launching asap after step 172...

OSError: [Errno 13] Permission denied: '/home/jose/.asap/db' Could not create crash report on disk.

I have OS=Ubuntu in amd64 installed. I am using CASA.

Change History (5)

comment:1 Changed 13 years ago by Malte Marquarding

Owner: changed from Malte Marquarding to Malte Marquarding
Status: newassigned

Hi,

the first time you have run asap it seems like you ran it as 'root' or with 'sudo'. Remove /home/jose/.asap as root or

cd /home/jose
sudo rm -rf .asap

Then start asap again but this time not as sudo/root.

comment:2 Changed 12 years ago by jvazquez@…

Hello, I just re-installed Ubuntu 3.0.0-12-generic on x86_64 GNU/Linux. I also installed asap_4.0.0_amd64.deb with Ubuntu Software Center but when run-ed from home$ it halts with following output:

jose@ubuntu:~$ pwd
/home/jose
jose@ubuntu:~$ asap
Loading ASAP...
=========
 IPython
=========

...

[TerminalIPythonApp] Unrecognized flag: '-ipythondir'
jose@ubuntu:~$ 

when used asap2to3, give

jose@ubuntu:~$ asap2to3
asap2to3: Version 20090915MM
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::at
Aborted
jose@ubuntu:~$

and when used:

jose@ubuntu:~$ asap_update_data
Checking if an update is required.
Data already at latest available version.
If you still get errors running asap, please report this.
jose@ubuntu:~$

I shall appreciate some help with above issues.

Thanks,

Jose

comment:3 in reply to:  1 ; Changed 12 years ago by anonymous

hello, I did Remove /home/jose/.asap as root, but i got no where...see outcome:

jose@ubuntu:~$ cd /home/jose
jose@ubuntu:~$ sudo rm -rf .asap
jose@ubuntu:~$ asap

Loading ASAP...
First time ASAP use. Setting up ~/.asap
=========
 IPython
=========

Tools for Interactive Computing in Python
=========================================

    A Python shell with automatic history (input and output), dynamic object
    introspection, easier configuration, command completion, access to the
    system shell and more.  IPython can also be embedded in running programs.

Usage
...
blah  blah ...

   ipython profile create foo # create profile foo w/ default config files
    ipython profile -h         # show the help string for the profile subcmd

[TerminalIPythonApp] Unrecognized flag: '-ipythondir'
jose@ubuntu:~$

where should i be installed ASAP and dependencies? It seems that a specific PATH is needed from /home/jose

Thanks for any advise

Jose

comment:4 in reply to:  3 Changed 12 years ago by jvazquez@…

Hi Andy,

I did run the script for tutorial-1 from ipython, then import asap and it works well. But by typng ASAP it does not.

Jose

comment:5 Changed 12 years ago by Malte Marquarding

Resolution: fixed
Status: assignedclosed

This was an ipython version issue. Use ipython <= 0.10.

The next release will only support ipython>=0.11

Note: See TracTickets for help on using tickets.