def open(self):
        self.close()
        try:
            self.item = rationalize_file(fsq_path.item(self.queue, self.id,
                                                       host=self.host),
                                         _c.FSQ_CHARSET, lock=self.lock)
        except (OSError, __HOLE__, ), e:
            if e.errno == errno.ENOENT:
                raise FSQWorkItemError(e.errno, u'no such item in queue {0}:'\
                                       u' {1}'.format(self.queue, self.id))
            raise FSQWorkItemError(e.errno, wrap_io_os_err(e))
dataset/ETHPy150Open axialmarket/fsq/fsq/items.py/FSQWorkItem.open