Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #6829 (closed)

Opened 13 years ago

Closed 13 years ago

Bug: Web drive-space NO images

Reported by: wmoore Owned by: atarkowska
Priority: minor Milestone: OMERO-Beta4.3.3
Component: Web Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by jmoore)

If there are no images in the database, you get an error in the query for original files.

Traceback (most recent call last):

 File "/srv/omeroserver/lib/python/django/core/handlers/base.py", line 92, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "/srv/omeroserver/lib/python/omeroweb/webadmin/views.py", line 168, in wrapped
   return f(request, *args, **kwargs)

 File "/srv/omeroserver/lib/python/omeroweb/webadmin/views.py", line 871, in load_drivespace
   rv = usersData(conn, offset)

 File "/srv/omeroserver/lib/python/omeroweb/webadmin/controller/drivespace.py", line 99, in usersData
   "where m.child.id in (:pids)", p2, ctx)

 File "/srv/omeroserver/lib/python/omero/gateway/__init__.py", line 2959, in __call__
   return self.handle_exception(e, *args, **kwargs)

 File "/srv/OMERO.server-Beta-4.3.2/lib/python/omeroweb/webclient/webclient_gateway.py", line 1652, in handle_exception
   e, *args, **kwargs)

 File "/srv/omeroserver/lib/python/omero/gateway/__init__.py", line 2956, in __call__
   return self.f(*args, **kwargs)

 File "/srv/omeroserver/lib/python/omero_api_IQuery_ice.py", line 138, in findAllByQuery
   return _M_omero.api.IQuery._op_findAllByQuery.invoke(self, ((query, params), _ctx))

ApiUsageException: exception ::omero::ApiUsageException
{
   serverStackTrace = ome.conditions.ApiUsageException: unexpected end of subtree [select m from ome.model.core.PixelsOriginalFileMap as m join fetch m.parent where m.child.id in ()]; nested exception is org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree [select m from ome.model.core.PixelsOriginalFileMap as m join fetch m.parent where m.child.id in ()]
       at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:660)
       at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)

See: http://lists.openmicroscopy.org.uk/pipermail/ome-users/2011-September/002821.html

Change History (2)

comment:1 Changed 13 years ago by jmoore

  • Description modified (diff)
  • Milestone changed from OME-5.0 to OMERO-Beta4.3.3

comment:2 Changed 13 years ago by atarkowska

  • Resolution set to duplicate
  • Status changed from new to closed

duplicated in #6863

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.65365 sec.)

We're Hiring!