--> --> -->
 
 
<type 'exceptions.IOError'>
Python 2.7.3: /usr/bin/python
Fri Jul 21 09:29:34 2017

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/wikier/linkedmarkmail.wikier.org/service.py in ()
     86         data = lmm.get_message(i)
     87     elif (t == "thread"):
=>   88         data = lmm.get_thread(i)
     89     else:
     90         invalid_input_error()
data = None, lmm = <linkedmarkmail.LinkedMarkMail instance>, lmm.get_thread = <bound method LinkedMarkMail.get_thread of <linkedmarkmail.LinkedMarkMail instance>>, i = 'dcue2bsyrsgbzsd5'
 /home/wikier/linkedmarkmail.wikier.org/linkedmarkmail.py in get_thread(self=<linkedmarkmail.LinkedMarkMail instance>, key='dcue2bsyrsgbzsd5')
     74             triples = len(siocThread)
     75             if (self.cache.is_dirty(siocThread)):
=>   76                 self.cache.update(siocThread)
     77                 logging.info("Updated cache of thread %s (%d triples)" % (key, triples))
     78             logging.info("Returning %d triples of thread %s" % (triples, key))
self = <linkedmarkmail.LinkedMarkMail instance>, self.cache = <cache.Cache instance>, self.cache.update = <bound method Cache.update of <cache.Cache instance>>, siocThread = <swaml.Thread instance>
 /home/wikier/linkedmarkmail.wikier.org/cache.py in update(self=<cache.Cache instance>, item=<swaml.Thread instance>, force=True)
     79     def update(self, item, force=True):
     80         if (force):
=>   81             self.write(item)
     82             return True
     83         else:
self = <cache.Cache instance>, self.write = <bound method Cache.write of <cache.Cache instance>>, item = <swaml.Thread instance>
 /home/wikier/linkedmarkmail.wikier.org/cache.py in write(self=<cache.Cache instance>, item=<swaml.Thread instance>)
     75         path = self.__build_path(item.get_key(), item.__class__)
     76         graph = item.get_graph()
=>   77         serialize_graph_file(graph, path)
     78 
     79     def update(self, item, force=True):
global serialize_graph_file = <function serialize_graph_file>, graph = <Graph identifier=GOgxkHKQ0 (<class 'rdflib.graph.ConjunctiveGraph'>)>, path = 'cache/thread-dcue2bsyrsgbzsd5.rdf'
 /home/wikier/linkedmarkmail.wikier.org/utils.py in serialize_graph_file(graph=<Graph identifier=GOgxkHKQ0 (<class 'rdflib.graph.ConjunctiveGraph'>)>, path='cache/thread-dcue2bsyrsgbzsd5.rdf', format='pretty-xml', encoding='utf8')
     53 
     54 def serialize_graph_file(graph, path, format="pretty-xml", encoding="utf8"):
=>   55     f = open(path, "w")
     56     graph.serialize(destination=f, format=format, encoding=encoding)
     57     f.flush()
f undefined, builtin open = <built-in function open>, path = 'cache/thread-dcue2bsyrsgbzsd5.rdf'

<type 'exceptions.IOError'>: [Errno 2] No such file or directory: 'cache/thread-dcue2bsyrsgbzsd5.rdf'
      args = (2, 'No such file or directory')
      errno = 2
      filename = 'cache/thread-dcue2bsyrsgbzsd5.rdf'
      message = ''
      strerror = 'No such file or directory'