Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-2900

2.0.4 upgrade breaks hg - 'hg status' failed with code 1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Highest
    • None
    • 2.0.4
    • None
    • None
    • OSX 10.7.5

    Description

      2.0.3 was working fine, upgraded to 2.0.4 to fix the security fault, and now nothing works. Not hg, not git. Completely broken.

      This is the report on the hg failure. On startup, I see:

      'hg status' failed with code 1:'Traceback (most recent call last):
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/hg_local", line 33, in <module>
          mercurial.util.setbinary(fp)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/demandimport.py", line 106, in __getattribute__
          self._load()
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/demandimport.py", line 78, in _load
          mod = _hgextimport(_import, head, globals, locals, None, level)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/demandimport.py", line 47, in _hgextimport
          return importfunc(name, globals, *args)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/util.py", line 69, in <module>
          statfiles = getattr(osutil, 'statfiles', platform.statfiles)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/demandimport.py", line 106, in __getattribute__
          self._load()
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/demandimport.py", line 78, in _load
          mod = _hgextimport(_import, head, globals, locals, None, level)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/demandimport.py", line 47, in _hgextimport
          return importfunc(name, globals, *args)
      ImportError: dlopen(/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/osutil.so, 2): Library not loaded: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
        Referenced from: /Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/osutil.so
        Reason: image not found
      
      The /System/Library/Frameworks/CoreGraphics.framework does not exist on my Lion system.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              matt.gumbley Matt Gumbley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: