-
Notifications
You must be signed in to change notification settings - Fork 13
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
[BUG] ezomero for importing error by using omero-user-token for omero connection #100
Comments
Problem is coming from |
Using the code snippet above
A possibility could be to replaced |
Thank you for the response, client.getSessionId() works, do you mean to replace conn with client? If so |
@tymiao1220 of course it won't work since both methods are expected a |
okay I managed to import an image but I used a "private" method so not the strategy to use |
What I'm curious about is why a |
@erickmartins I believe that I have found the source of the problem in the |
See ome/omero-py#400 |
Awesome! I'll keep the issue open until I can test it against the merged PR, but I think that's the perfect solution. Thanks a lot! |
Running a test script importing an image using
|
@jburel can you share the test code you used for this? I am using the code from @tymiao1220 and the omero-py from your PR - still having issues. basically, if I do
I get
I get
gives me the same problem - last line fails with |
@erickmartins I pushed a new commit to my branch that should fix the. issue your notice |
@jburel Still seeing the same behavior as of commit 704e50f6, unfortunately. If you have specific code you're using to test it, that might help make sure I'm not doing anything different! |
This is the test
|
This works as expected |
I also tried
and it works fine |
Hmm, interesting. That still gives me a
|
are you sure you are using my branch?
for omero-py |
I was in the right commit but had missed the |
@tymiao1220 @jburel since the fix is coming upstream and I have now confirmed it works with ezomero as intended, I will go ahead and close this one. Feel free to reopen in the future if issues arise again! |
I released today omero-py version 5.19.2. This included the fix |
Dear ezomero support,
I am using omero-user-token omero-user-token 2 for generating a long term session, the reason is the analysis will need a long time to process and send back to omero server.
ezomero for importing result images back to the Omero server. Here is an example code:
I can get user info and groups(by ezomero) successfully, but an exception raised for the last line
I will appreciated of any suggestion.
The text was updated successfully, but these errors were encountered: