Hello,
I think you have found a slight flaw in the Save As functionality. So
there are four directories that Analysis deals with. One for reference
data, one for the "userData" (which is where most of your project ends up,
e.g. your peaks, etc.), one for the backup up of that and the last for
storing the "user profile", so certain user-specific defaults (such as
background colour for the spectrumwindows). It is this last one that is
causing the problem. The Save As deals with the userData and backup
directories but leaves the reference and user profile ones alone.
As a quick hack I would do the following, assuming your home directory is
also on home. So at the python prompt in Analysis type:
>>> r = top.project.findFirstRepository(name='generalData')
>>> path = r.url.path.replace('emakou', 'YOUR_HOME_DIR')
>>> r.url = r.url.clone(path=path)
where YOUR_HOME_DIR is your home directory name. Then run the Save As
dialog. I haven't tried this but I hope it works.
Wayne
On Thu, 19 Nov 2009, Christoph Schmidt wrote:
> Hi,
>
> I have to work on a project of a colleague and I have read permission on her
> project.
> I opened her project (OK) and then tried to save it as some different name in
> my path: I get the following error message:
>
> "[Errno 13] Permission denied:
> ':/home/emakou/.ccpn/data/ccpnmr/AnalysisProfile/15NHSQC_...........
> 009-06-11-28-15-647-00001.xml.bak'
>
> This procedure used to work fine with ccpnmr1. Do I have to do this
> differently for ccpnmr2.0 or 2.1 which I have tried it with?
>
>
> Alternatively, I copied her ccpnmr folder into my directory opened it and
> tried to save it under a different name in my directory: I get the same error
> message.
>
>
>
> Help, please.
>
> Cheers,
>
> Christoph
>
>
>
> --
> Christoph Schmidt
> University of Edinburgh
> School of Chemistry
> King's Buildings
> West Mains Road
> Edinburgh EH9 3JJ
> UK
>
> tel: office +44 131 650 4704 (office 209)
>
>
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
|