Skip to content

error in post-checkout hook when switching from master to develop branch #1

Open
@MBrandt-NASA

Description

@MBrandt-NASA

Here is what I see in SourceTree when I attempt to switch from Master to Develop (at this time there are tons of new unstaged changes in my working dir., if that matters). This is on Windows 10 using System Git version 2.10.1, after having followed all instructions on your unity-hooks repo for Windows:

=========================================

git -c diff.mnemonicprefix=false -c core.quotepath=false checkout develop
Your branch is up-to-date with 'origin/develop'.

Switched to branch 'develop'

  • Post-checkout hooks

    • Remove empty asset directories. x FAIL
      %1 is not a valid Win32 application

      Traceback (most recent call last):
      File "C:\Users\mbrandt\AppData\Local\Programs\Python\Python35-32\lib\site-packages\envoy\core.py", line 214, in run
      out, err = cmd.run(data, timeout, kill_timeout, env, cwd)
      File "C:\Users\mbrandt\AppData\Local\Programs\Python\Python35-32\lib\site-packages\envoy\core.py", line 93, in run
      raise self.exc
      File "C:\Users\mbrandt\AppData\Local\Programs\Python\Python35-32\lib\site-packages\envoy\core.py", line 75, in target
      cwd=cwd,
      File "C:\Users\mbrandt\AppData\Local\Programs\Python\Python35-32\lib\subprocess.py", line 947, in init
      restore_signals, start_new_session)
      File "C:\Users\mbrandt\AppData\Local\Programs\Python\Python35-32\lib\subprocess.py", line 1224, in _execute_child
      startupinfo)
      OSError: [WinError 193] %1 is not a valid Win32 application

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions