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

Refreshing Repository Loop #151

Open
yceballost opened this issue Jul 9, 2020 · 1 comment
Open

Refreshing Repository Loop #151

yceballost opened this issue Jul 9, 2020 · 1 comment

Comments

@yceballost
Copy link

yceballost commented Jul 9, 2020

Describe the bug

Sometimes, the program stuck in "refreshing repository" state.

Version & OS

Kactus 0.3.29
Mac OS X 10.15.5

Steps to reproduce the behavior

I don't really know how to reproduce it, its common but very random

Screenshots

Screenshot 2020-07-09 at 09 31 55

Logs

2020-07-09T08:46:29.292Z - info: [ui] [BranchPruner] Pruning 0 branches that have been merged into the default branch, production (1d3474f11586f811e8cefe7d07a4938ec75471f5), from 'mistica-design-libraries
2020-07-09T08:46:32.421Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 3.225s)
2020-07-09T08:46:32.421Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 3.104s)
2020-07-09T08:47:00.219Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 2.714s)
2020-07-09T08:47:10.255Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 2.723s)
2020-07-09T08:47:47.069Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 2.735s)
2020-07-09T08:48:10.981Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 2.730s)
2020-07-09T08:49:07.386Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 2.739s)

Actual solution

Close Kactus and open

Here the logs

2020-07-09T08:52:49.670Z - info: [ui] launching: 0.3.29 (Mac OS 10.15.5)
2020-07-09T08:52:49.671Z - info: [ui] execPath: '/Applications/Kactus.app/Contents/Frameworks/Kactus Helper (Renderer).app/Contents/MacOS/Kactus Helper (Renderer)'
2020-07-09T08:52:53.728Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 4.042s)
2020-07-09T08:52:54.452Z - info: [ui] Executing [Kactus] get kactus status (took 4.594s)
2020-07-09T08:52:59.806Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=normal --branch --porcelain=2 -z (took 4.614s)
2020-07-09T08:53:02.116Z - info: [ui] Executing exportCommit: git archive 1d3474f11586f811e8cefe7d07a4938ec75471f5 -o /Users/yayo/Library/Application Support/Kactus/previews/10/1d3474f11586f811e8cefe7d07a4938ec75471f5.tar (took 4.192s)
2020-07-09T08:53:02.130Z - error: [ui] Error in sketch preview callback
Error: Command failed: /usr/bin/tar -x -f 1d3474f11586f811e8cefe7d07a4938ec75471f5.tar -C 1d3474f11586f811e8cefe7d07a4938ec75471f5
tar: could not chdir to '1d3474f11586f811e8cefe7d07a4938ec75471f5'


    at ChildProcess.exithandler (child_process.js:308:12)
    at ChildProcess.emit (events.js:203:13)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:430:11)
    at Socket.emit (events.js:203:13)
    at Pipe.<anonymous> (net.js:588:12)
@HNCSoo
Copy link

HNCSoo commented Aug 7, 2023

I also faced the same problem.. Did you solve this problem??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants