Actually just /usr/local/bin/zim works fine, but this is not the version
I run from the icon (I can check with Help/About: the icon launches 0.63).
But perhaps the -D information is useful for the seqdiag problem:

agustins-air-2:zim-0.63 agustinlobo$ zim -D

WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'

INFO: This is zim 0.60

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: pyzim-trunk

  revision: 672 jaap.karssenb...@gmail.com-20130430172720-n6jaw95wiyevdqln

  date: 2013-04-30 19:27:20 +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: Running command: gui


(process:22018): Gtk-WARNING **: Locale not supported by C library.

Using the fallback 'C' locale.

DEBUG: Loading config from:
/Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks/notebook.zim

DEBUG: Wrote /Users/agustinlobo/.config/zim/notebooks.list

INFO: Opening default notebook

DEBUG: Remote call from 22018: <RemoteMethodCall: 22018:
zim.ipc.Server(None).ping((), {})>

DEBUG: Starting server by spawning new process

INFO: Spawning: ['/usr/bin/python', '/usr/local/bin/zim',
'--ipc-server-main',
'/var/folders/b0/6x4l5fdd7xgb5prw1qpww2sr0000gn/T/zim-agustinlobo/zim-server-socket',
'10'] (cwd: None)

DEBUG: Process started with PID: 22020

DEBUG: Remote call from 22018: <RemoteMethodCall: 22018:
zim.ipc.Server(None).ping((), {})>

WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'

INFO: Server starting 22020 at
/var/folders/b0/6x4l5fdd7xgb5prw1qpww2sr0000gn/T/zim-agustinlobo/zim-server-socket

DEBUG: Remote call from 22018: <RemoteMethodCall: 22018:
zim.ipc.Server(None).ping((), {})>

DEBUG: Remote call returned to 22018: ('ACK', 22020)

DEBUG: Remote call from 22018: <RemoteMethodCall: 22018:
zim.ipc.Server(None).has_object((<RemoteObject:
zim.gui.GtkInterface(file:///Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks)>,),
{})>

DEBUG: Remote call returned to 22018: False

DEBUG: Remote call from 22018: <RemoteMethodCall: 22018:
zim.ipc.Server(None).init_object((<RemoteObject:
zim.gui.GtkInterface(file:///Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks)>,),
{})>


(process:22021): Gtk-WARNING **: Locale not supported by C library.

Using the fallback 'C' locale.

/Library/Python/2.7/site-packages/zim/gui/__init__.py:220: 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)

DEBUG: Loading config from: <ConfigFile:
/Users/agustinlobo/.config/zim/preferences.conf>

DEBUG: Gtk version is (2, 24, 0)

DEBUG: Pygtk version is (2, 24, 0)

/Library/Python/2.7/site-packages/zim/gui/widgets.py:1452: PangoWarning:
couldn't load font ".Lucida Grande UI Not-Rotated 12", falling back to
"Sans Not-Rotated 12", expect ugly output.

  gtk.Entry.__init__(self)

/Library/Python/2.7/site-packages/zim/gui/widgets.py:1452: PangoWarning:
failed to choose a font, expect ugly output.
engine-type='PangoRenderATSUI', script='common'

  gtk.Entry.__init__(self)

DEBUG: Loading config from: <ConfigFile:
/Users/agustinlobo/.config/zim/style.conf>

DEBUG: Opening notebook:
file:///Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks

DEBUG: Wrote <UnixFile:
/Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks/.zim/tmp>

INFO: Remove file: <UnixFile:
/Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks/.zim/tmp>

DEBUG: Loading config from: <UnixFile:
/Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks/notebook.zim>

DEBUG: Cache dir: <Dir:
/Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks/.zim>

DEBUG: Index database file: <UnixFile:
/Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks/.zim/index.db>

DEBUG: Loading config from: <UnixFile:
/Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks/.zim/state.conf>

DEBUG: Loaded plugin "arithmetic" (<ArithmeticPlugin object at 0x10a477e10
(zim+plugins+PluginClass at 0x7fe44a117be0)>)

DEBUG: Loaded plugin "attachmentbrowser" (<AttachmentBrowserPlugin object
at 0x10a477eb0 (zim+plugins+PluginClass at 0x7fe44a117c60)>)

DEBUG: Loaded plugin "calendar" (<CalendarPlugin object at 0x10a477f00
(zim+plugins+PluginClass at 0x7fe44a117ce0)>)

DEBUG: Registered plugin <InsertGNURPlotPlugin object at 0x10a4840a0
(zim+plugins+PluginClass at 0x7fe44a117b00)> for image type "gnu_r_plot"

DEBUG: Loaded plugin "gnu_r_ploteditor" (<InsertGNURPlotPlugin object at
0x10a4840a0 (zim+plugins+PluginClass at 0x7fe44a117b00)>)

DEBUG: Loaded plugin "inlinecalculator" (<InlineCalculatorPlugin object at
0x10a4841e0 (zim+plugins+PluginClass at 0x7fe4490bc440)>)

DEBUG: Loaded plugin "insertsymbol" (<InsertSymbolPlugin object at
0x10a4842d0 (zim+plugins+PluginClass at 0x7fe4490bc5c0)>)

DEBUG: Loaded plugin "printtobrowser" (<PrintToBrowserPlugin object at
0x10a484460 (zim+plugins+PluginClass at 0x7fe4490bc200)>)

DEBUG: Loaded plugin "quicknote" (<QuickNotePlugin object at 0x10a484500
(zim+plugins+PluginClass at 0x7fe4490bc580)>)

DEBUG: Loaded plugin "tableofcontents" (<ToCPlugin object at 0x10a484640
(zim+plugins+PluginClass at 0x7fe4490bc800)>)

DEBUG: Loaded plugin "tags" (<TagsPlugin object at 0x10a4848c0
(zim+plugins+PluginClass at 0x7fe4490bce40)>)

DEBUG: Loaded plugin "tasklist" (<TaskListPlugin object at 0x10a48dc30
(zim+plugins+tasklist+TaskListPlugin at 0x7fe449986060)>)

INFO: No VCS detected

DEBUG: Loaded plugin "versioncontrol" (<VersionControlPlugin object at
0x10a853780 (zim+plugins+PluginClass at 0x7fe449986580)>)

DEBUG: Child process started 22021 for <RemoteObject:
zim.gui.GtkInterface(file:///Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks)>

DEBUG: Remote call returned to 22018: True

INFO: Starting async index update

DEBUG: Remote call from 22018: <RemoteMethodCall: 22018:
zim.gui.GtkInterface(file:///Users/agustinlobo/Dropbox/WikiMind/notes/Notebooks).present((None,),
{})>

INFO: Open page: <FileStorePage: ZimNotes:Home:testcrash> (<HistoryPath:
ZimNotes:Home:testcrash>)

DEBUG: Found template 'Default' for <FileStorePage: ZimNotes:Home:testcrash>

INFO: Loading template from: <UnixFile:
/Applications/Zim063.app/Contents/Resources/zim-0.63/data/templates/wiki/Default.txt>

/Library/Python/2.7/site-packages/zim/gui/__init__.py:538: GtkWarning:
open_page_back_alt1: missing action open_page_back_alt1

  self.uimanager.ensure_update()

/Library/Python/2.7/site-packages/zim/gui/__init__.py:538: GtkWarning:
open_page_forward_alt1: missing action open_page_forward_alt1

  self.uimanager.ensure_update()

DEBUG: Accelmap: /Users/agustinlobo/.config/zim/accelmap

DEBUG: Wrote <UnixFile: /Users/agustinlobo/.config/zim/preferences.conf>

INFO: Accelerator changed for <Actions>/MainWindowExtension/calculate

INFO: Accelerator changed for <Actions>/MainWindowExtension/print_to_browser

/Library/Python/2.7/site-packages/zim/gui/widgets.py:2723: PangoWarning:
couldn't load font ".Lucida Grande UI 12", falling back to "Sans 12",
expect ugly output.

  gtkwindowclass.show_all(self)

DEBUG: Action: toggle_statusbar

DEBUG: Action: set_pathbar_recent

DEBUG: Action: set_toolbar_icons_small

/Library/Python/2.7/site-packages/zim/gui/widgets.py:2723: PangoWarning:
couldn't load font ".Lucida Grande UI Italic Not-Rotated 12", falling back
to "Sans Italic Not-Rotated 12", expect ugly output.

  gtkwindowclass.show_all(self)

/Library/Python/2.7/site-packages/zim/gui/pathbar.py:172: PangoWarning:
couldn't load font ".Lucida Grande UI Bold Not-Rotated 12", falling back to
"Sans Bold Not-Rotated 12", expect ugly output.

  child_wh_tuples = [c.size_request() for c in self.get_children()[2:]]

Jan 20 18:28:06 agustins-air-2.home python[22021] <Error>: clip: empty path.

/Library/Python/2.7/site-packages/zim/gui/__init__.py:604: PangoWarning:
couldn't load font ".Lucida Grande UI Bold Italic Not-Rotated 12", falling
back to "Sans Bold Italic Not-Rotated 12", expect ugly output.

  gtk.main()

DEBUG: Remote call returned to 22018: None

DEBUG:

NOTE FOR BUG REPORTS:

At this point zim has send the command to open a notebook to a

background process and the current process will now quit.

If this is the end of your debug output it is probably not useful

for bug reports. Please close all zim windows, quit the

zim trayicon (if any), and try again.


agustins-air-2:zim-0.63 agustinlobo$
/Library/Python/2.7/site-packages/zim/gui/__init__.py:604: GtkWarning:
open_page_back_alt1: missing action open_page_back_alt1

  gtk.main()

INFO: Accelerator changed for <Actions>/MainWindowExtension/toggle_fileview

/Library/Python/2.7/site-packages/zim/gui/__init__.py:604: GtkWarning:
open_page_forward_alt1: missing action open_page_forward_alt1

  gtk.main()

INFO: Index update done



On Wed, Jan 20, 2016 at 6:20 PM, Agustin Lobo <aloboa...@gmail.com> wrote:

> 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.karssenb...@gmail.com-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.karssenb...@gmail.com> wrote:
>
>> Please check "zim -D" for detailed output.
>>
>> -- Jaap
>>
>> On Fri, Jan 8, 2016 at 6:08 PM, Agustin Lobo <aloboa...@gmail.com> 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
>>> aloboa...@gmail.com
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~zim-wiki
>>> Post to     : zim-wiki@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~zim-wiki
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>
>
> --
> Agustin Lobo
> aloboa...@gmail.com
>



-- 
Agustin Lobo
aloboa...@gmail.com
_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to