• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • 4.2.2
    • Bitbucket
    • None
    • Severity 3 - Minor

      When I set Iterm2 as my terminal it doesn't open the dir correctly:

       

      ```

      Last login: Thu Mar  2 10:12:11 on ttys003
      cd '/Users/user/Projects/Client/LV03_/''my-project'
      ➜  ~ cd '/Users/user/Projects/Client/LV03_/''my-project'
      cd: no such file or directory: /Users/user/Projects/Client/LV03_/my-project

      ```

      Actual dir path is `/Users/user/Projects/Client/LV03_my-project`

            [SRCTREE-8011] Iterm2 doesn't open project dir

            mxnmike added a comment - - edited

            It's Still broken, can you reopen it please? 2566180e0bc8 

             

            the way I reproduce it is force quit SourceTree and iTerm2
            then open SourceTree

            then open a repo

            click open in terminal

            then the bug happens

            mxnmike added a comment - - edited It's Still broken, can you reopen it please? 2566180e0bc8     the way I reproduce it is force quit SourceTree and iTerm2 then open SourceTree then open a repo click open in terminal then the bug happens

            Issue fixed in v4.2.8

            Arati Mohanty added a comment - Issue fixed in v4.2.8

            mxnmike added a comment - - edited

            Additional comments to this bug I see that is adding an extra '/' to the path and is unable to open the proper directory from terminal, also a blank space is added before the last folder

            Last login: Wed Apr 17 07:06:14 on ttys000
            cd '/Users/mxnmike/Documents/Mike//scorenew/''BassForce'
            ❯ cd '/Users/mxnmike/Documents/Mike//scorenew/''BassForce'
            cd: no such file or directory: /Users/mxnmike/Documents/Mike//scorenew/BassForce

             

            mxnmike added a comment - - edited Additional comments to this bug I see that is adding an extra '/' to the path and is unable to open the proper directory from terminal, also a blank space is added before the last folder Last login: Wed Apr 17 07:06:14 on ttys000 cd '/Users/mxnmike/Documents/Mike//scorenew/''BassForce' ❯ cd '/Users/mxnmike/Documents/Mike//scorenew/''BassForce' cd: no such file or directory: /Users/mxnmike/Documents/Mike//scorenew/BassForce  

            d8012f9eb871,
            Ok, thanks for answers. It looks like it will require further analysis from our side. We created internal issue to analyse this and we will work on it in order of priorities.
            Thank you!

            Raman Sidarakin (Inactive) added a comment - d8012f9eb871 , Ok, thanks for answers. It looks like it will require further analysis from our side. We created internal issue to analyse this and we will work on it in order of priorities. Thank you!

            Vedmant added a comment - - edited
            1. Build 3.4.19
            2. Version 12.4 (21F79)
            3. Yes
            4. zsh
            5. Nothing specific, it works ok for example if I open dir from PathFinder

            I noticed that some projects it opens normally, others "no such file or directory".

            Also another thing, when I open this project I mentioned right after opening repository window it opens actually subfolder 

            Last login: Thu Mar  2 13:10:00 on ttys002
            cd '/Users/vedmant/Projects/Client/LV03_my-project/my-project/''composables'
            ➜  ~ cd '/Users/vedmant/Projects/Client/LV03_my-project/my-project/''composables'

            Which it opens normally, but then I click on different branch (without switching) it starting trying to open `cd '/Users/user/Projects/Client/LV03_/''my-project'`.

             

            For privacy reasons I changes some names in the paths, I can send actual paths in some private message.

            Vedmant added a comment - - edited Build 3.4.19 Version 12.4 (21F79) Yes zsh Nothing specific, it works ok for example if I open dir from PathFinder I noticed that some projects it opens normally, others "no such file or directory". Also another thing, when I open this project I mentioned right after opening repository window it opens actually subfolder  Last login: Thu Mar  2 13:10:00 on ttys002 cd '/Users/vedmant/Projects/Client/LV03_my-project/my-project/''composables' ➜  ~ cd '/Users/vedmant/Projects/Client/LV03_my-project/my-project/''composables' Which it opens normally, but then I click on different branch (without switching) it starting trying to open `cd '/Users/user/Projects/Client/LV03_/''my-project'`.   For privacy reasons I changes some names in the paths, I can send actual paths in some private message.

            Hi, d8012f9eb871
            Thanks for contacting us.

            It looks like we need some additional information regarding this issue. I've tried to repeat the same by creating repo at the same path as yours `/Users/user/Projects/Client/LV03_my-project` and iTerm2 opened this dir successfully.

            Could you please answer questions below? It may help to understand this issue better.
            1. Which iTerm2 exact version are you using? (iTerm2 -> About iTerm2)
            2. Which macOS version is installed on your machine?
            3. Could you please confirm, that your version of Sourcetree is 4.2.2?
            4. Which shell interpreter is configured in your iTerm2 settings? (sh, zsh, e.c.t)
            5. Maybe you have some specific configuration in iTerm2 and you think it may be related to this issue, then please share details with us.

            Thanks in advance for your answers.

            Raman Sidarakin (Inactive) added a comment - Hi, d8012f9eb871 Thanks for contacting us. It looks like we need some additional information regarding this issue. I've tried to repeat the same by creating repo at the same path as yours `/Users/user/Projects/Client/LV03_my-project` and iTerm2 opened this dir successfully. Could you please answer questions below? It may help to understand this issue better. 1. Which iTerm2 exact version are you using? (iTerm2 -> About iTerm2) 2. Which macOS version is installed on your machine? 3. Could you please confirm, that your version of Sourcetree is 4.2.2? 4. Which shell interpreter is configured in your iTerm2 settings? (sh, zsh, e.c.t) 5. Maybe you have some specific configuration in iTerm2 and you think it may be related to this issue, then please share details with us. Thanks in advance for your answers.

              2566180e0bc8 Arati Mohanty
              d8012f9eb871 Vedmant
              Affected customers:
              1 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: