Reagan Moore
Is the "username" a valid user within your data grid?
Is the "coll-name" an existing collection?
Reagan Moore
What's in the server log (server/log/rodsLog*)? It may have some
additional information about the error.
I'm unable to reproduce the problem on my system.
- Wayne -
Date: Tue, 8 Jul 2008 12:25:21 -0700
From: "Shaofeng Liu" <liush...@gmail.com>
Are you using 1.1, or are you still using a pre-release version? I
fixed some problems a little before the release that could possibly be
related (altho I really don't think so).
The error indicates that adding the new access information (row) to
the table (r_objt_access) would violate the contraint that each
user-obj item in the table must be unique. But the ICAT code should
be deleting all user-obj rows just before that. So it shouldn't
happen.
We'll have to do some more digging to see what's happening.
I've recently added a Troubleshooting Guide page to our web site:
https://www.irods.org/index.php/Troubleshooting_Guide
Toward the end it mentions spLogSql. If you can set that and restart
your server and run the test again, the log should tell us even more.
Thanks,
- Wayne -
Date: Tue, 8 Jul 2008 13:22:50 -0700
So let's try to track it down some more, tomorrow. And let's just
email each other for now (drop the cc to the irods-chat).
If you could try it with spLogSql set that might tell us something.
Also, if the table is not too big, you might do 'psql ICAT' and
select * from r_objt_access;
to see what that says.
- Wayne -
Date: Tue, 8 Jul 2008 17:12:04 -0700
Leo and I looked into this some more and found that the error would
occur when doing a recursive ichmod ('ichmod -r') and when one or more
of the dataObjects in the collection had multiple copies, that is more
than one replica.
This was a bug in some ICAT code and has been fixed for the next
release. It's a one line change (extending some SQL in
chlModAccessControl). I can sent this change to you if you need it
(email me). The bug causes the 'ichmod -r' to fail, but otherwise
does no harm.
Leo has patched his system and it seems to be working fine.
- Wayne -
Date: Tue, 8 Jul 2008 18:01:13 -0700
From: "Shaofeng Liu" <liush...@gmail.com>
Great. See you at 2:00PM.
Best,
Leo
[...]