Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/httpexceptor/__init__.py", line 58, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/wsgi.py", line 190, in __call__ output = self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/serve.py", line 161, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/serve.py", line 117, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/query.py", line 44, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/wsgi.py", line 128, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/extractor.py", line 34, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/wsgi.py", line 38, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/negotiate.py", line 30, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/selector.py", line 137, in __call__ return app(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlywebplugins/utils.py", line 32, in _entitle output = handler(environ, start_response, *args, **kwds) File "/usr/local/lib/python2.7/dist-packages/tiddlywebplugins/utils.py", line 60, in _do_html output = handler(environ, start_response, *args, **kwds) File "/home/data/www-sysadmin/Sysadmin/tiddly/tiddlywebplugins/wimporter.py", line 49, in interface return _send_wimport(environ, start_response) File "/home/data/www-sysadmin/Sysadmin/tiddly/tiddlywebplugins/wimporter.py", line 180, in _send_wimport template = get_template(environ, 'wimport.html') File "/usr/local/lib/python2.7/dist-packages/tiddlywebplugins.templates-0.9.7-py2.7.egg/tiddlywebplugins/templates.py", line 74, in get_template return TEMPLATE_ENV.get_template(template_name) File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.8-py2.7.egg/jinja2/environment.py", line 812, in get_template return self._load_template(name, self.make_globals(globals)) File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.8-py2.7.egg/jinja2/environment.py", line 774, in _load_template cache_key = self.loader.get_source(self, name)[1] File "/usr/local/lib/python2.7/dist-packages/Jinja2-2.8-py2.7.egg/jinja2/loaders.py", line 399, in get_source raise TemplateNotFound(template) TemplateNotFound: wimport.html
tiddlywebconfig.py
config = {
'system_plugins': ['tiddlywebplugins.wimporter', 'tiddlywebwiki'],
'secret': '18e1230221d9333010136477905101005d41f4ec3',
'twanager_plugins': ['tiddlywebwiki'],
'server_host': {
'scheme': 'http', # or https
'host': '<servername>', # <-- i put my actual server name here
'port': '8000', #
}
}
http://<servername>:8000/recipes/default/tiddlers.wiki
is running correctly.
Thank you a lot for some suggestions.
Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/httpexceptor/__init__.py", line 58, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/wsgi.py", line 190, in __call__ output = self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/serve.py", line 161, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/serve.py", line 117, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/query.py", line 44, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/wsgi.py", line 128, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/extractor.py", line 34, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/wsgi.py", line 38, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/negotiate.py", line 30, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/selector.py", line 137, in __call__ return app(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlywebplugins/utils.py", line 32, in _entitle output = handler(environ, start_response, *args, **kwds) File "/usr/local/lib/python2.7/dist-packages/tiddlywebplugins/utils.py", line 60, in _do_html output = handler(environ, start_response, *args, **kwds) File "/home/data/www-sysadmin/Sysadmin/tiddly/tiddlywebplugins/wimporter.py", line 64, in wimport _process_file(environ, files[0].file, tmp_bag) File "/home/data/www-sysadmin/Sysadmin/tiddly/tiddlywebplugins/wimporter.py", line 149, in _process_file store.put(tiddler) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/store.py", line 206, in put result = func(thing) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/stores/text.py", line 215, in tiddler_put raise NoTiddlerError('unable to put tiddler: %s' % exc) NoTiddlerError: unable to put tiddler: [Errno 36] File name too long: "/home/data/www-sysadmin/Sysadmin/tiddly/store/bags/import-tmp-638c91d8-5dbd-4f2d-9543-030041cdecad/tiddlers/Warning%3A%20mysqldump%3A%20Couldn't%20execute%20'SELECT%20%2F*!40001%20SQL_NO_CACHE%20script%2F%20ntpstatus.txt%20script%20vi%20FROM%20%60EVENTS%60'%3A%20Cannot%20proceed%20because%20system%20tables%20used%20by%20Event%20Scheduler%20were%20found%20damaged%20at%20server%20start%20(1577)%20Warning%3A%20Failed%20to%20dump%20mysql%20databases%20information_schema"
http://diuf-file:8000/recipes/default/tiddlers.wiki
Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/httpexceptor/__init__.py", line 58, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/wsgi.py", line 190, in __call__ output = self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/serve.py", line 161, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/serve.py", line 117, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/query.py", line 44, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/wsgi.py", line 128, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/extractor.py", line 34, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/wsgi.py", line 38, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/web/negotiate.py", line 30, in __call__ return self.application(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/selector.py", line 137, in __call__ return app(environ, start_response) File "/usr/local/lib/python2.7/dist-packages/tiddlywebplugins/utils.py", line 32, in _entitle output = handler(environ, start_response, *args, **kwds) File "/usr/local/lib/python2.7/dist-packages/tiddlywebplugins/utils.py", line 60, in _do_html output = handler(environ, start_response, *args, **kwds) File "/home/data/www-sysadmin/Sysadmin/tiddly/tiddlywebplugins/wimporter.py", line 64, in wimport _process_file(environ, files[0].file, tmp_bag) File "/home/data/www-sysadmin/Sysadmin/tiddly/tiddlywebplugins/wimporter.py", line 149, in _process_file store.put(tiddler) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/store.py", line 206, in put result = func(thing) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/stores/text.py", line 210, in tiddler_put tiddler_base_filename = self._tiddler_base_filename(tiddler) File "/usr/local/lib/python2.7/dist-packages/tiddlyweb/stores/text.py", line 497, in _tiddler_base_filename raise NoTiddlerError(exc) NoTiddlerError
ok, the import worked for a tiddlywiki containing 13618 lines.
It created a new bag http://servername:8000/bags/import-tmp-0438b80c-ba8f-42e8-83ea-aeabc28425b4/tiddlers.wiki
Two more questions:
1) How can I now import this into the
http://servername:8000/recipes/default/tiddlers.wiki
2) The tiddlywiki containing 40'000 lines gives me still the following error - even after having deleted all the tiddlers containing too long names. And please note: this error appears directly, I don't get the intermetiate screen where I could select or deselect single tiddlers.
Your current error seems to be
that you have a tiddler without a title.
Note that there is another plugin, called
tiddlywebplugins.twimport[1], which you can use from the command
line to import a tiddlywiki directly into a bag without the
intervening selection step. For what you are doing it might be a
better choice.
/home/data/www-sysadmin/Sysadmin/tiddly/store/bags/common/tiddlers/
mv /home/data/www-sysadmin/Sysadmin/tiddly/store/bags/import-tmp-2c86db96-c96e-4d68-907a-b1dfcd8f31e5/tiddlers/* /home/data/www-sysadmin/Sysadmin/tiddly/store/bags/common/tiddlers/