-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ticket troubles #327
Comments
Will try to reproduce! thanks. |
What version of iRODS server are you connecting to? I don't think that is going to be the issue, but it could narrow the search space. |
I'm just connecting to the Sorry that's not very helpful, please let me know if I am misunderstanding something or can provide any other info. Thanks |
No worries - if you have iCommands available/connected, you can run |
Ah ok, thanks. Running that after connecting with the same info gives
|
ok will repro with 4.2.8, thanks again @w-bonelli @trel |
thank you @trel @d-w-moore ! |
@w-bonelli Well, unfortunately I haven't been able to reproduce the first part of this issue, that is the
|
@w-bonelli I'm also not able to reproduce the CAT_SQL_ERR using the anon session downloading script you provided above. Let's please be sure you're using an install of v1.0.0 of the python irodsclient, or as recent as possible a checkout from the main branch. |
@w-bonelli However the inability to upload to a collection via a write ticket on the collection is a known problem! |
Thanks @d-w-moore ! Didn't catch the write ticket issue on the iRODS repo before. Is there any workaround you'd suggest for a service aiming to do least-privilege writes on users' behalf? Currently we use Terrain, but for any large data it seems much better to create an archive and |
Just tested the |
Ah, ok - I'll try it again via pip install, and will also look into the write functionality. |
Ah yes , that makes perfect sense. Explains why I haven't duplicated any of the problems you see. The ticket "functionality" in v1.0.0 is near-null in terms of added value. Tbh we should've released a new PRC by now or at least made it clear in the README that the discussed Sorry for the confusion! |
So, if everyone agrees this is moot - we can close the issue. Thanks! |
Ah, got it- Thanks both for the help. I did in fact find a way to get even the pip-installed version to work... after creating a Thanks again! |
Hello, I'm working with the ticket system and am struggling to determine what is my own user error vs. a possible issue. In particular I have hit a few stumbling blocks:
None
Invoking
issue
returns silently as if successful but the return value isNone
. I've confirmed it's not a malformed path or anything (adding a slash to the end producesirods.exception.CAT_UNKNOWN_COLLECTION
)To workaround the above I have been obtaining tickets from the Terrain API, e.g.
This succeeds and returns e.g.
Read and write tickets are both sufficient (as expected) to download items from an anonymous session. For instance, with a read-authorized ticket:
This successfully downloads the file but then produces a
irods.exception.CAT_SQL_ERR
(easily caught and smothered but seems to point to something strange going on under the hood).However uploads consistently fail, e.g.:
This gives
irods.exception.CAT_NO_ACCESS_PERMISSION: no permission to update collection '/iplant/home/wbonelli/a_test_folder'
. The same method (session.data_objects.put
) works fine with a password-authenticated session.Thanks in advance for any help
The text was updated successfully, but these errors were encountered: