zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #03772
Re: Problem installing Insert sequence diagram plugin
By some reason I get an error at running from the terminal on the Mac
(I've tried a lot, hence my delayed answer)
although zim works with the Platypus icon. I think the -D option provides
useful information for the problem of the seqdiag though. Hopefully it
does enlighten you:
agustins-air-2:zim-0.63 agustinlobo$ pwd
/Applications/Zim063.app/Contents/Resources/zim-0.63
agustins-air-2:zim-0.63 agustinlobo$ ./zim.py -D
WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'
INFO: This is zim 0.63
DEBUG: Python version is sys.version_info(major=2, minor=7, micro=5,
releaselevel='final', serial=0)
DEBUG: Platform is posix
DEBUG: Zim revision is:
branch: zim-trunk
revision: 765 jaap.karssenberg@xxxxxxxxx-20150613194828-pygsvbwdn2sefqhe
date: 2015-06-13 21:48:28 +0200
DEBUG: Running from a source dir:
/Applications/Zim063.app/Contents/Resources/zim-0.63
DEBUG: Set XDG_DATA_HOME to /Users/agustinlobo/.local/share
DEBUG: Set XDG_DATA_DIRS to [<Dir: /usr/share>, <Dir: /usr/local/share>]
DEBUG: Set XDG_CONFIG_HOME to /Users/agustinlobo/.config
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /etc/xdg>]
DEBUG: Set XDG_CACHE_HOME to /Users/agustinlobo/.cache
DEBUG: Loading config from: <zim.notebook.VirtualFile object at 0x10c661390>
DEBUG: Loading config from:
/Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks/notebook.zim
DEBUG: Loading config from:
/Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks/notebook.zim
DEBUG: Wrote /Users/agustinlobo/.config/zim/notebooks.list
INFO: Using default notebook:
file:///Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks
DEBUG: Wrote /Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks/.zim/tmp
INFO: Remove file:
/Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks/.zim/tmp
DEBUG: Loading config from:
/Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks/notebook.zim
DEBUG: Cache dir:
/Users/agustinlobo/.cache/zim/notebook-Users_agustinlobo_Dropbox_WikiMind_notes_Notebooks
DEBUG: Index database file:
/Users/agustinlobo/.cache/zim/notebook-Users_agustinlobo_Dropbox_WikiMind_notes_Notebooks/index.db
ERROR: Exception in main()
Traceback (most recent call last):
File "/Applications/Zim063.app/Contents/Resources/zim-0.63/zim/main.py",
line 446, in main
obj.run()
File "/Applications/Zim063.app/Contents/Resources/zim-0.63/zim/main.py",
line 201, in run
notebook, page = self.build_notebook()
File "/Applications/Zim063.app/Contents/Resources/zim-0.63/zim/main.py",
line 168, in build_notebook
notebook, uripage = build_notebook(notebookinfo) # can raise
FileNotFound
File
"/Applications/Zim063.app/Contents/Resources/zim-0.63/zim/notebook.py",
line 576, in build_notebook
notebook = notebookclass(dir=dir)
File
"/Applications/Zim063.app/Contents/Resources/zim-0.63/zim/notebook.py",
line 907, in __init__
self.index = zim.index.Index(notebook=self)
File "/Applications/Zim063.app/Contents/Resources/zim-0.63/zim/index.py",
line 484, in __init__
self.set_notebook(notebook)
File "/Applications/Zim063.app/Contents/Resources/zim-0.63/zim/index.py",
line 502, in set_notebook
self._connect()
File "/Applications/Zim063.app/Contents/Resources/zim-0.63/zim/index.py",
line 535, in _connect
or self.properties['locale'] != "%s.%s" % locale.getlocale():
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py",
line 530, in getlocale
return _parse_localename(localename)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py",
line 443, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
(process:21787): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
/Applications/Zim063.app/Contents/Resources/zim-0.63/zim/gui/__init__.py:243:
GtkWarning: Could not find the icon 'zim-attachment'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases
pixbuf = icon_theme.load_icon(name, 24, 0)
Traceback (most recent call last):
File "./zim.py", line 53, in <module>
exitcode = zim.main.main(*argv)
File "/Applications/Zim063.app/Contents/Resources/zim-0.63/zim/main.py",
line 452, in main
zim.errors.exception_handler('Exception in main()')
File
"/Applications/Zim063.app/Contents/Resources/zim-0.63/zim/errors.py", line
101, in exception_handler
_run_error_dialog(error)
File
"/Applications/Zim063.app/Contents/Resources/zim-0.63/zim/errors.py", line
72, in _run_error_dialog
ErrorDialog(None, error, do_logging=False).run()
File
"/Applications/Zim063.app/Contents/Resources/zim-0.63/zim/gui/widgets.py",
line 3247, in __init__
text = self.get_debug_text(exc_info)
File
"/Applications/Zim063.app/Contents/Resources/zim-0.63/zim/gui/widgets.py",
line 3282, in get_debug_text
'Gtk: %s\n' % str(gtk.gtk_version) + \
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py",
line 511, in getdefaultlocale
return _parse_localename(localename)
File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py",
line 443, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
On Fri, Jan 15, 2016 at 3:10 PM, Jaap Karssenberg <
jaap.karssenberg@xxxxxxxxx> wrote:
> Please check "zim -D" for detailed output.
>
> -- Jaap
>
> On Fri, Jan 8, 2016 at 6:08 PM, Agustin Lobo <aloboaleu@xxxxxxxxx> wrote:
>
>> When I try to install the Insert sequence diagram plugin, I get
>> Dependencies:
>> seqdiag Failed
>>
>> but I do have installed seqdiag, i.e. seqdiag -h on the terminal works.
>>
>> Thanks
>>
>> --
>> Agustin Lobo
>> aloboaleu@xxxxxxxxx
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~zim-wiki
>> Post to : zim-wiki@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~zim-wiki
>> More help : https://help.launchpad.net/ListHelp
>>
>
>
--
Agustin Lobo
aloboaleu@xxxxxxxxx
Follow ups
References