[esp-r] Re: Error (17)
Jon Hand
jon at esru.strath.ac.uk
Sat Jul 17 10:58:44 BST 2010
A user attempted to access models on a mounted file store....
This is going to be rather difficult to debug because of the combination of
machine types and operating systems.
One step is to attempt to create a shoe-box model on the /home/projects
folder and the same model on the local machine. Then look at the
differences in all the files (use kompare or something like that). That
could identify something.
If I had this kind of setup I would probably be running the project manager
executable in a debugger such as DDD or gdb and I would set a break-point
near a point in the source where a file write is about to happen and see
at what line (and perhaps for what cause) the failure happened.
The thing that might be the issue is the Xserve. File permissions might
be an issue - various users probably need to be in the same group
to read and write to the folder.
Note that ESP-r was not written with the idea that multiple people
might be accessing a model at the same time. To prevent some forms
of chaos some groups adopt a policy of checking out a model from the central model
store and work on it and then upload the model back to the file
store at intervals.
The other possible problem might be the path length. If that gets
long then file names are truncated.
The specific message was about attempting to open ../databases/multicon.db
- does that file exist in the model folder?
And while I am thinking about it - the recommended folder to be in when
opening up an existing model is in the models cfg folder.
Regards, Jon Hand
________________________________________
From: esp-r-bounces at lists.strath.ac.uk [esp-r-bounces at lists.strath.ac.uk] On Behalf Of Philipp Kainberger [p.kainberger at tas-bauphysik.com]
Sent: 15 July 2010 09:37
To: esp-r at lists.strath.ac.uk
Subject: [esp-r] Error (17)
Dear all,
we recently changed our IT infrastructure, so instead of a single PC where
we ran ESP-r and stored all project files on this PC, we now have several
VMWare Machines on our Windows Workstations with ESP-r installed on them
(Ubuntu 10.04, ESP-r 11.9) and working from a shared project directory on
our fileserver (Apple XServe).
We mounted this directory in ubuntu (/home/projects). If we create a new
project with esp-r in this directory everything works fine, but if we copy
one of our old projects in this directory, edit something, (f.e.
constructions or operations ...) and then trying to save the changes made,
following error appears:
Error (17) opening the file ../databases/multicon.db
If we copy the old project on the local machine (f.e. /home/desktop) and
working with it from there, again everything is fine and we can save the
changes made.
The problem persists on both versions, X11 and GTK.
I already played around with the permissions (chmod 777) but I don’t think
that is the problem.
Maybe somebody can help. :-)
Thanks
Philipp Kainberger
TAS Bauphysik GmbH
Welser Straße 35-39
A-4060 Leonding
Telefon: +43 (0)732 / 67 51 67 - 25
Fax: +43 (0)732 / 67 51 67 - 5
E-Mail: p.kainberger at tas-bauphysik.com
Internet: www.tas-bauphysik.com
_______________________________________________
esp-r mailing list
esp-r at lists.strath.ac.uk
http://lists.strath.ac.uk/mailman/listinfo/esp-r
More information about the esp-r
mailing list