Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Progress bar does not update #854

Closed
JesusPerez opened this issue Jun 29, 2018 · 3 comments
Closed

Progress bar does not update #854

JesusPerez opened this issue Jun 29, 2018 · 3 comments
Labels
bug

Comments

@JesusPerez
Copy link

@JesusPerez JesusPerez commented Jun 29, 2018

Description

UI Can not Initalize, it never ends.
Git command line works fine.
Working on a 3D clean project with 2018.6f1

Github Unity log

180629-23:58:07.812  INFO [ 1]                             Initializing GitHubForUnity:'v1.0.0' Unity:'v2018.1.6f1'
180629-23:58:07.844 TRACE [ 5]                       Download of http://github-vs.s3.amazonaws.com/unity/latest.json to /Users/jesusperezlorenzo/Library/Application Support/GitHubUnity/latest.json Attempt 1 of 1
180629-23:58:07.860 TRACE [ 4]                     Running 'bash -c "/usr/libexec/path_helper"'
180629-23:58:08.324 TRACE [ 5]                       Downloading http://github-vs.s3.amazonaws.com/unity/latest.json
180629-23:58:08.699 TRACE [ 5]                       Downloading http://github-vs.s3.amazonaws.com/unity/latest.json StatusCode:200
180629-23:58:08.701 TRACE [ 4]                Existing Environment Path Original:/usr/bin:/bin:/usr/sbin:/sbin Updated:PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin"; export PATH;
180629-23:58:09.310 TRACE [ 4]                          Unzip File: /Users/jesusperezlorenzo/Library/Application Support/GitHubUnity/downloads/octorun.zip to Path: /var/folders/gm/tyvxfqh52xz957wwzgw50dq80000gn/T/octorun_extract_archive_path_1478420854
180629-23:58:09.316 TRACE [ 5]                             Skipping GitHub for Unity update v1.0.0, we already have it
180629-23:58:09.543 ERROR [ 4]                A problem ocurred setting up Git
System.IO.IOException: Source and destination are not on the same device
  at System.IO.Directory.Move (System.String sourceDirName, System.String destDirName) [0x000f8] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Directory.cs:403 
  at GitHub.Unity.FileSystem.DirectoryMove (System.String toString, System.String s) [0x00000] in /Users/shana/code/work/github/Unity/src/GitHub.Api/IO/FileSystem.cs:224 
  at GitHub.Unity.FSWrapper.DirectoryMove (NPath from, NPath to) [0x00000] in /Users/shana/code/work/github/Unity/src/GitHub.Api/IO/NiceIO.cs:1277 
  at GitHub.Unity.NPath.Move (NPath dest) [0x000c9] in /Users/shana/code/work/github/Unity/src/GitHub.Api/IO/NiceIO.cs:806 
  at GitHub.Unity.OctorunInstaller.MoveOctorun (NPath fromPath) [0x0001c] in /Users/shana/code/work/github/Unity/src/GitHub.Api/Installer/OctorunInstaller.cs:57 
  at GitHub.Unity.OctorunInstaller.SetupOctorunIfNeeded () [0x0008f] in /Users/shana/code/work/github/Unity/src/GitHub.Api/Installer/OctorunInstaller.cs:43 
  at GitHub.Unity.ApplicationManagerBase.m__0 () [0x000fd] in /Users/shana/code/work/github/Unity/src/GitHub.Api/Application/ApplicationManagerBase.cs:93 
=======
   at GitHub.Unity.ApplicationManagerBase.m__0() in /Users/shana/code/work/github/Unity/src/GitHub.Api/Application/ApplicationManagerBase.cs:line 145

Using Pull button

I get a warning to commit first and following error:

EndLayoutGroup: BeginLayoutGroup must be called first.
UnityEngine.GUILayout:EndVertical()
GitHub.Unity.Window:OnUI() (at /Users/shana/code/work/github/Unity/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs:451)
GitHub.Unity.BaseWindow:OnGUI() (at /Users/shana/code/work/github/Unity/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/BaseWindow.cs:93)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Additional Information

initalizing-for-ever

Initialize instructions unclear

As Intializing method does not work, cloud you create an example for manual Initialize Repository:

  1. .gitattributes example
  2. How to configure the project to serialize meta files as text ?
    Perhaps a default bash/cmd to do it by terminal/console.
@Ckirby101
Copy link

@Ckirby101 Ckirby101 commented Jul 6, 2018

same. stuck with rotating image..

180706-17:53:54.724 INFO [ 1] Initializing GitHubForUnity:'v1.0.0' Unity:'v2017.2.0f3'
180706-17:53:54.742 TRACE [ 4] Download of http://github-vs.s3.amazonaws.com/unity/latest.json to C:\Users\ckirb\AppData\Local\GitHubUnity\latest.json Attempt 1 of 1
180706-17:53:54.750 TRACE [ 5] Running 'C:\Users\ckirb\AppData\Local\GitHubUnity\git-lfs\git-lfs.exe version'
180706-17:53:54.761 TRACE [ 4] Downloading http://github-vs.s3.amazonaws.com/unity/latest.json
180706-17:53:54.889 TRACE [ 5] C:\Users\ckirb\AppData\Local\GitHubUnity\git\cmd\git.exe is out of date
180706-17:53:55.009 TRACE [ 4] Downloading http://github-vs.s3.amazonaws.com/unity/latest.json StatusCode:200
180706-17:53:55.019 TRACE [ 4] Skipping GitHub for Unity update v1.0.0, we already have it

@daubers
Copy link

@daubers daubers commented Jul 15, 2018

I had this same issue, but installed Git from https://git-scm.com/download/win , set it to use that and then it worked fine?

@StanleyGoldman
Copy link
Member

@StanleyGoldman StanleyGoldman commented Jul 30, 2018

I did some digging and I realize what the problem is here.

The progress bar had some math errors and never showed any progress updates.
Without that you guys were bound to get impatient thinking something froze.

@StanleyGoldman StanleyGoldman changed the title Initializing never ends - Can not initalize Progress bar does not update Jul 30, 2018
@StanleyGoldman StanleyGoldman changed the title Progress bar does not update Initialization progress bar does not update Jul 30, 2018
@StanleyGoldman StanleyGoldman changed the title Initialization progress bar does not update Progress bar does not update Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.