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

"Details" dialog for "This is not a valid source path / URL" cannot be closed, app hung

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 1.8.1
    • General
    • None
    • Macbook Pro running OS X 10.9.1

    • Severity 3 - Minor

    Description

      STEPS:

      1. View > Show Bookmarks > click button to "Add Repository"
      2. In the field "Source Path / URL" enter a valid url for an existing repo. Notice that the "Destination Path" field should be auto-populated based on your current username and the repo name.
      3. Place cursor in another field, which should auto-trigger a new login dialog for the URL you just entered
      4. In this login dialog, click "Cancel" (perhaps you realized you entered the wrong URL and want to change it)
      5. Now back in the "Clone Repository" dialog, you will see the message "This is not a valid source path / URL"
      6. Click the "Details" button to the right of that warning message

      RESULT:
      This opens a new "Details" dialog with a full Python stack, but this dialog cannot be closed. Additionally, the Sourcetree app is now unresponsive and must be forced-quit from the Apple menu (doesn't even work from the dock).

      STACK:
      Here is part of the Python stack, it's all I was able to grab:

      warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)
      ** unknown exception encountered, please report by visiting
      **  http://mercurial.selenic.com/wiki/BugTracker
      ** Python 2.7.5 (default, Sep 12 2013, 21:33:34) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]
      ** Mercurial Distributed SCM (version 2.2.2)
      ** Extensions loaded: transplant, fetch, extdiff, rebase, mq, sourcetree_auth, gpg, hgattic, hgflow
      Traceback (most recent call last):
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/hg_local", line 35, in <module>
          mercurial.dispatch.run()
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 27, in run
          sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 64, in dispatch
          return _runcatch(req)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 87, in _runcatch
          return _dispatch(req)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 696, in _dispatch
          cmdpats, cmdoptions)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 472, in runcommand
          ret = _runcommand(ui, options, cmd, d)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 786, in _runcommand
          return checkargs()
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 757, in checkargs
          return cmdfunc()
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/dispatch.py", line 693, in <lambda>
          d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/util.py", line 463, in check
          return func(*args, **kwargs)
        File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/extensions.py", line 139, in wrap
      
      ( ... )
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            471a94e84596 Todd Patterson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: