We're Hiring!

problem by using import command

General user discussion about using the OMERO platform to its fullest. 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

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

Re: problem by using import command

Postby sbesson » Mon Jul 13, 2015 7:38 am

Hi Rahul,

thanks for the detailed issue including stack traces. Looking at it, the code is failing at the core Python library not the OMERO ones. Looking at the underlying error

Code: Select all
File "/usr/lib/python2.7/tempfile.py", line 212, in _get_default_tempdir
("No usable temporary directory found in %s" % dirlist))
IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/ccbt']


this thread suggests this error can be caused either by a disk space issue or a permissions issue (e.g. disk mounted as read-only).
Could you double check both of these suggestions on the machine where you are executing the command-line interface?

Best regards,
Sebastien
User avatar
sbesson
Team Member
 
Posts: 421
Joined: Tue Feb 28, 2012 7:20 pm

Re: problem by using import command

Postby rahulmekala » Tue Jul 14, 2015 5:08 am

Hi all , i am getting the error while connecting to server please some one help me out



InternalException: Failed to connect: exception ::Glacier2::CannotCreateSessionException
{
reason = Wrapped Exception: (org.springframework.dao.DataAccessResourceFailureException):
CallableStatementCallback; SQL [{? = call _prepare_session(?, ?, ?)}]; ERROR: could not extend file "base/21889/t5_29338": wrote only 4096 of 8192 bytes at block 0
Hint: Check free disk space.
Where: SQL statement "INSERT INTO _current_session VALUES (_event_id, _user_id, _group_id)"
PL/pgSQL function _prepare_session(bigint,bigint,bigint) line 9 at SQL statement; nested exception is org.postgresql.util.PSQLException: ERROR: could not extend file "base/21889/t5_29338": wrote only 4096 of 8192 bytes at block 0
Hint: Check free disk space.
Where: SQL statement "INSERT INTO _current_session VALUES (_event_id, _user_id, _group_id)"
PL/pgSQL function _prepare_session(bigint,bigint,bigint) line 9 at SQL statement
}
rahulmekala
 
Posts: 12
Joined: Tue Jun 23, 2015 5:50 am

Re: problem by using import command

Postby jmoore » Tue Jul 14, 2015 6:48 am

Hi Rahul,

as Sebastien states, it looks very much like your filesystem is out of space. You'll have to free up space and restart your server (including PostgreSQL).

Cheers,
~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Previous

Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest