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

GitHub for Unity v1.1.0 does not initialize in projects. #941

Closed
Rud156 opened this issue Oct 14, 2018 · 22 comments
Closed

GitHub for Unity v1.1.0 does not initialize in projects. #941

Rud156 opened this issue Oct 14, 2018 · 22 comments
Labels
bug

Comments

@Rud156
Copy link

@Rud156 Rud156 commented Oct 14, 2018

Description

The first time the extension was loaded, it was unable to list the changes in the directory consistently. Mostly failed to detect change even if there were a lot of them.

Looking through the logs it says that the package commander was not found.

Steps to Reproduce

  1. Launch Unity with new empty project
  2. Open GitHub window
  3. Fails to initialize beyond showing the logo

Expected behavior: Initialization should be completed to make the Github window usable.

Actual behavior: Error message saying initialization failed.

Reproduces how often: Didn't work a single time.

Additional Information

Log:

github-unity.log
github-unity-old.log

P.S. The log file contains a bit of logs for version 1.0.3 as I switched back to it.

@StanleyGoldman StanleyGoldman added the bug label Oct 15, 2018
@StanleyGoldman
Copy link
Member

@StanleyGoldman StanleyGoldman commented Oct 15, 2018

Hey @Rud156 thanks for the bug report. We have been working on how resources are extracted. Seems you've found a bug with that.

Also though, your username on your computer is Rockin'So. It just seems like a bad idea to have special characters in your username. That's bound to lead to some unpredictable behavior and bugs in a lot of programs.

https://xkcd.com/327/
https://xkcd.com/327/

@fariazz
Copy link

@fariazz fariazz commented Oct 17, 2018

I'm having the same problem. No special characters on my username.

image

@StanleyGoldman
Copy link
Member

@StanleyGoldman StanleyGoldman commented Oct 17, 2018

Well that is egg on my face then... Can you upload a log file?

@SanyaIV
Copy link

@SanyaIV SanyaIV commented Oct 17, 2018

Same here with the initialization.
github-unity.log

@NZnick
Copy link

@NZnick NZnick commented Oct 18, 2018

Same here. Although sometimes I get an initialization failed error and other times I just get a logo that won't stop spinning. Here are my logs:
github-unity.log
github-unity-old.log

@ThomasAunvik
Copy link
Contributor

@ThomasAunvik ThomasAunvik commented Oct 18, 2018

Throws more 🥚

github-unity.log

@dwhit
Copy link

@dwhit dwhit commented Oct 19, 2018

I having the same issue, although for me it worked the first time I downloaded it and added the asset. So I was able to use it to set up the git repo. Every time after that though, no dice. Fails to initialize.

@StanleyGoldman
Copy link
Member

@StanleyGoldman StanleyGoldman commented Oct 19, 2018

Hey guys, I have the problem isolated.
I should have a new release for you guys on Monday.
Thanks for hanging in there.

@StanleyGoldman
Copy link
Member

@StanleyGoldman StanleyGoldman commented Oct 19, 2018

image

Good times...

@StanleyGoldman
Copy link
Member

@StanleyGoldman StanleyGoldman commented Oct 22, 2018

@Rud156 @SanyaIV @ThomasAunvik @dwhit @NZnick @fariazz

I'd like to push out a fix today/tomorrow. If you guys are around I'd appreciate if someone could test this out for me.

github-for-unity-1.1.1.5025-9223adea.unitypackage.zip

@dwhit
Copy link

@dwhit dwhit commented Oct 22, 2018

Still spins forever. I can actually interact with the tabs and windows behind the spinning wheel though

@Rud156
Copy link
Author

@Rud156 Rud156 commented Oct 22, 2018

@StanleyGoldman Still spins. Here is the latest log file if required.
Looks like its trying to find a module called package.json WOW!?? 😕

github-unity.log

@StanleyGoldman
Copy link
Member

@StanleyGoldman StanleyGoldman commented Oct 22, 2018

Hey @Rud156 and @dwhit

Goto %LOCALAPPDATA%\GitHubUnity\ and delete the folder called octorun.

I ran into this with @SanyaIV and @ThomasAunvik in Discord and we figured it out.

It turns out that I need you to fix this part for me.
The 🐛 created a path that is too long for me to manage to delete with Unity and Mono.

Let me know if that works.

@dwhit
Copy link

@dwhit dwhit commented Oct 22, 2018

that fixed it!

@StanleyGoldman
Copy link
Member

@StanleyGoldman StanleyGoldman commented Oct 22, 2018

nice

@NZnick
Copy link

@NZnick NZnick commented Oct 22, 2018

Works for me!!! Thanks. I did have to delete the octorun folder myself though.

@Rud156
Copy link
Author

@Rud156 Rud156 commented Oct 23, 2018

Yes. Works after deleting the octorun folder

@cspears2002
Copy link

@cspears2002 cspears2002 commented Dec 2, 2018

I am a Mac user, and I think I have the same issue.

github-unity.log

I managed to locate the octorun folder here:

/Users//Library/Application Support/GitHubUnity

Should I blow that away as well? I am just asking because the fix that is mentioned is for Windows.

@Rud156
Copy link
Author

@Rud156 Rud156 commented Dec 2, 2018

@cspears2002 Try it and see.

@cspears2002
Copy link

@cspears2002 cspears2002 commented Dec 2, 2018

I just renamed octorun to octorun_old, and the plugin worked. It created a new octorun directory. Looks like I am good to go.

@Rud156
Copy link
Author

@Rud156 Rud156 commented Dec 2, 2018

@cspears2002 Just delete the old octorun folder, that contains a huge nested path. Not exactly required

@StanleyGoldman
Copy link
Member

@StanleyGoldman StanleyGoldman commented Dec 3, 2018

@cspears2002 I'm glad you got it working.
@Rud156 Thanks for answering his question.

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
8 participants
You can’t perform that action at this time.