We're Hiring!

problem creating OmeroMatlab session

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Re: problem creating OmeroMatlab session

Postby sophie » Wed Apr 28, 2010 2:30 pm

Hi,
I'm also trying to connect Matlab with our server for omero. I installed the latest version of OmeroMatlab.
But I cannot create a session. In Matlab(R2010a) I got this:
>> loadOmero;
--------------------------
OmeroMatlab Toolbox
Beta-4.2.0-DEV-r6677-b3094
--------------------------
>> c=omero.client('141.52.175.99')

c =

omero.client@121671e

>> s=c.createSession('username','password')
28.04.10 16:11:56:903 warning: main: null - createSession retry: 1

28.04.10 16:12:01:112 warning: main: null - createSession retry: 2

??? Java exception occurred:
omero.ClientError: Obtained null object proxy

at omero.client.createSession(client.java:615)

Any idea what's going wrong?
Could it also be a problem with the versions? I got these:
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu13)
OpenJDK 64-Bit Server VM(build14.0-b08, mixed mode)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18)
Postgresql: 8.3.10
icegridnode --version 3.3.0
icegridadmin --version 3.3.0

Any help would be great!
sophie
 
Posts: 4
Joined: Mon Apr 26, 2010 11:15 am

Re: problem creating OmeroMatlab session

Postby cxallan » Thu Apr 29, 2010 7:20 am

You cannot use OmeroMatlab from 4.2.0 (which is also not yet released) against a 4.1.x server.

Edit: The OpenJDK may also give you problems with Matlab so it may be good for you to switch to the Sun JDK.
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Re: problem creating OmeroMatlab session

Postby sophie » Wed May 05, 2010 8:01 am

Hi,
yes, that was definitely the problem. I downloaded Matlab-Beta-4.1.2 and now I can create a session. ;)
Thanks for your help!
sophie
 
Posts: 4
Joined: Mon Apr 26, 2010 11:15 am

Previous

Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest