[Bugs] #1404 UNSP: metadatareader: error return without exception set

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Sep 20 16:11:18 EDT 2009


#1404: metadatareader: error return without exception set
------------------------------------------+---------------------------------
    Reporter:  sascha_silbe               |          Owner:  sascha_silbe     
        Type:  defect                     |         Status:  new              
    Priority:  Unspecified by Maintainer  |      Milestone:  0.86             
   Component:  sugar-datastore            |        Version:  Git as of bugdate
    Severity:  Blocker                    |       Keywords:                   
Distribution:  Unspecified                |   Status_field:  Assigned         
------------------------------------------+---------------------------------
 I'm getting the following error (in shell.log) two times during startup on
 an ARM/EABI system (but not on an i386 system):

 {{{
 Traceback (most recent call last):
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/jarabe/journal/listmodel.py", line 108, in on_iter_n_children
     return self._result_set.length
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/jarabe/journal/model.py", line 107, in get_length
     entries, self._total_count = self.find(query)
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/jarabe/journal/model.py", line 222, in find
     byte_arrays=True)
   File "/usr/lib/pymodules/python2.5/dbus/proxies.py", line 140, in
 __call__
     **keywords)
   File "/usr/lib/pymodules/python2.5/dbus/connection.py", line 622, in
 call_blocking
     message, timeout)
 dbus.exceptions.DBusException: org.freedesktop.DBus.Python.SystemError:
 Traceback (most recent call last):
   File "/usr/lib/pymodules/python2.5/dbus/service.py", line 702, in
 _message_cb
     retval = candidate_method(self, *args, **keywords)
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/carquinyol/datastore.py", line 228, in find
     metadata = self._metadata_store.retrieve(uid, properties)
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/carquinyol/metadatastore.py", line 39, in retrieve
     return metadatareader.retrieve(metadata_path, properties)
 SystemError: error return without exception set
 }}}

 To reproduce from outside Sugar:

 {{{
 sascha.silbe at flatty:~/sugar-jhbuild$ dbus-launch ./sugar-jhbuild run
 python
 Warning: unknown distro version, automatic fallback to unstable.
 Python 2.5.4 (r254:67916, Feb 18 2009, 07:14:14)
 [GCC 4.3.3] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import sugar.datastore.dbus_helpers
 >>> sugar.datastore.dbus_helpers.find({'order_by': ['+timestamp'],
 'limit': 30}, ['fdjkfd'], None, None)
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/sugar/datastore/dbus_helpers.py", line 94, in find
     return _get_data_store().find(query, properties, byte_arrays=True)
   File "/usr/lib/pymodules/python2.5/dbus/proxies.py", line 68, in
 __call__
     return self._proxy_method(*args, **keywords)
   File "/usr/lib/pymodules/python2.5/dbus/proxies.py", line 140, in
 __call__
     **keywords)
   File "/usr/lib/pymodules/python2.5/dbus/connection.py", line 622, in
 call_blocking
     message, timeout)
 dbus.exceptions.DBusException: org.freedesktop.DBus.Python.SystemError:
 Traceback (most recent call last):
   File "/usr/lib/pymodules/python2.5/dbus/service.py", line 702, in
 _message_cb
     retval = candidate_method(self, *args, **keywords)
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/carquinyol/datastore.py", line 228, in find
     metadata = self._metadata_store.retrieve(uid, properties)
   File "/home/sascha.silbe/sugar-jhbuild/install/lib/python2.5/site-
 packages/carquinyol/metadatastore.py", line 39, in retrieve
     return metadatareader.retrieve(metadata_path, properties)
 SystemError: error return without exception set
 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1404>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list