[Github-comments] [geany/geany-osx] Cannot execute hg via GeanyVC (#5)

Frank Lanitz notifications at xxxxx
Fri Feb 3 08:37:46 UTC 2017


Not sure whether this is a 100% issue of the MacOS build, but I have seen such strange behaviour only on El Capitan by now. 

When trying to use Mercurial from GeanyVC I'm getting a backtrace

```
$ pwd
/Applications/Geany.app/Contents/MacOS
$ ./geany                                                                                                                                           1
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin:/Library/TeX/texbin:/Library/TeX/texbin
2017-02-03 09:31:39.632 geany-bin[40089:622171] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. 

(geany-bin:40089): SpellCheck-WARNING **: Stored language ('en_US') could not be loaded.
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 44, in <module>
    mercurial.util.setbinary(fp)
  File "/usr/local/Cellar/mercurial/4.0.2/lib/python2.7/site-packages/mercurial/demandimport.py", line 152, in __getattribute__
    self._load()
  File "/usr/local/Cellar/mercurial/4.0.2/lib/python2.7/site-packages/mercurial/demandimport.py", line 100, in _load
    mod = _hgextimport(_import, head, globals, locals, None, level)
  File "/usr/local/Cellar/mercurial/4.0.2/lib/python2.7/site-packages/mercurial/demandimport.py", line 53, in _hgextimport
    return importfunc(name, globals, *args, **kwargs)
  File "/usr/local/Cellar/mercurial/4.0.2/lib/python2.7/site-packages/mercurial/util.py", line 122, in <module>
    statfiles = getattr(osutil, 'statfiles', platform.statfiles)
  File "/usr/local/Cellar/mercurial/4.0.2/lib/python2.7/site-packages/mercurial/demandimport.py", line 152, in __getattribute__
    self._load()
  File "/usr/local/Cellar/mercurial/4.0.2/lib/python2.7/site-packages/mercurial/demandimport.py", line 100, in _load
    mod = _hgextimport(_import, head, globals, locals, None, level)
  File "/usr/local/Cellar/mercurial/4.0.2/lib/python2.7/site-packages/mercurial/demandimport.py", line 53, in _hgextimport
    return importfunc(name, globals, *args, **kwargs)
  File "/usr/local/Cellar/mercurial/4.0.2/lib/python2.7/site-packages/mercurial/__init__.py", line 120, in load_module
    mod = imp.load_module(name, *modinfo)
ImportError: dlopen(/usr/local/Cellar/mercurial/4.0.2/lib/python2.7/site-packages/mercurial/osutil.so, 2): Symbol not found: _clock_gettime
  Referenced from: /Applications/Geany.app/Contents/Resources/lib/liblzma.5.dylib (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Applications/Geany.app/Contents/Resources/lib/liblzma.5.dylib

(geany-bin:40089): GeanyVC-CRITICAL **: vcdiff_file_activated: assertion 'vc' failed
```

Mercurial is installed via brew and is working from normal shell. As well as e.g. git — also installed via brew — is working. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-osx/issues/5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170203/7e1e6f79/attachment.html>


More information about the Github-comments mailing list