Traceback (most recent call last):


 "/mnt/hdd/projects-3rdparty/PIM/zim-desktop-wiki/zim/notebook/notebook.py", line 532, in _store_page_async_thread_main

page._store_tree(parsetree)


 "/mnt/hdd/projects-3rdparty/PIM/zim-desktop-wiki/zim/notebook/page.py", line 507, in _store_tree

lines = dumper.dump(tree, file_output=True)


 "/mnt/hdd/projects-3rdparty/PIM/zim-desktop-wiki/zim/formats/zim_markdown.py", line 733, in dump

return TextDumper.dump(self, tree)


 "/mnt/hdd/projects-3rdparty/PIM/zim-desktop-wiki/zim/formats/__init__.py", line 1180, in dump

tree.visit(self)


 "/mnt/hdd/projects-3rdparty/PIM/zim-desktop-wiki/zim/formats/__init__.py", line 560, in visit

self._visit(visitor, self._etree.getroot())


 "/mnt/hdd/projects-3rdparty/PIM/zim-desktop-wiki/zim/formats/__init__.py", line 571, in _visit

self._visit(visitor, child) # recurs


 "/mnt/hdd/projects-3rdparty/PIM/zim-desktop-wiki/zim/formats/__init__.py", line 571, in _visit

self._visit(visitor, child) # recurs


 "/mnt/hdd/projects-3rdparty/PIM/zim-desktop-wiki/zim/formats/__init__.py", line 576, in _visit

visitor.append(node.tag, node.attrib, node.text)


 "/mnt/hdd/projects-3rdparty/PIM/zim-desktop-wiki/zim/formats/__init__.py", line 1254, in append

strings = method(tag, attrib, [self.encode_text(tag, text)])


 "/mnt/hdd/projects-3rdparty/PIM/zim-desktop-wiki/zim/formats/zim_markdown.py", line 765, in dump_link

linked_path = self.notebook.pages.resolve_link(self.page, HRef.new_from_wiki_link(href))


 "/mnt/hdd/projects-3rdparty/PIM/zim-desktop-wiki/zim/notebook/index/pages.py", line 753, in resolve_link

id, pagename = self._pages.resolve_link(source, href)


 "/mnt/hdd/projects-3rdparty/PIM/zim-desktop-wiki/zim/notebook/index/pages.py", line 366, in resolve_link

parent, parent_id, names = self._resolve_link(source, href, ignore_link_placeholders, source_id)


 "/mnt/hdd/projects-3rdparty/PIM/zim-desktop-wiki/zim/notebook/index/pages.py", line 377, in _resolve_link

start_id = self.get_page_id(start)


 "/mnt/hdd/projects-3rdparty/PIM/zim-desktop-wiki/zim/notebook/index/pages.py", line 359, in get_page_id

'SELECT id FROM pages WHERE name=?', (pagename.name,)
sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 140627211577152 and this is thread id 140626983110400.

Traceback (most recent call last):


 "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner

self.run()


 "/usr/lib/python2.7/threading.py", line 754, in run

self.__target(*self.__args, **self.__kwargs)


 "/home/ldy/2017/SRGAN/tensorlayer/prepro.py", line 87, in apply_fn

results[i] = fn(data, **kwargs)


 "/home/ldy/2017/SRGAN/utils.py", line 24, in downsample_fn

x = imresize(x, size=[96, 96], interp='bicubic', mode=None)


 "/home/ldy/2017/SRGAN/tensorlayer/prepro.py", line 834, in imresize

if x.shape[-1] == 1:
AttributeError: 'NoneType' object has no attribute 'shape'
