question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can no longer open sketch file

See original GitHub issue

Description

Was working last night. This morning, nobody can open the Sketch file. No error message.

Version 47.1

Kactus version: 0.2.10

OS version: OSX 10.12.6

Steps to Reproduce

  1. Open Sketch
  2. Open platform.sketch
  3. Nothing happens

Expected behavior: I expected to continue working on my file.

Actual behavior: The file does not open. It also will not open for any of my colleagues.

Reproduces how often: 100%

Logs

2017-10-26T00:01:46.095Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.496s) 2017-10-26T00:01:48.488Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.627s) 2017-10-26T00:01:49.938Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.375s) 2017-10-26T00:01:52.443Z - info: [ui] Executing unstageAll: git reset – . (took 3.168s) 2017-10-26T00:01:52.487Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.162s) 2017-10-26T00:01:52.603Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 1.505s) 2017-10-26T00:02:00.793Z - info: [ui] Executing push: git -c credential.helper= push origin master:master --progress (took 6.074s) 2017-10-26T00:17:33.367Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.636s) 2017-10-26T00:22:48.933Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.588s) 2017-10-26T00:28:06.004Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.593s) 2017-10-26T00:33:22.751Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.470s) 2017-10-26T00:38:41.809Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.637s) 2017-10-26T00:39:37.807Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.571s) 2017-10-26T00:39:41.528Z - info: [ui] Executing getCommits: git log origin/master…master --date=raw --max-count=100 --pretty=%H%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%P -z --no-color (took 1.632s) 2017-10-26T00:39:41.544Z - info: [ui] Executing getAuthorIdentity: git var GIT_AUTHOR_IDENT (took 1.610s) 2017-10-26T00:39:41.544Z - info: [ui] Executing getRemotes: git remote -v (took 1.626s) 2017-10-26T00:39:41.546Z - info: [ui] Executing unstageAll: git reset – . (took 2.918s) 2017-10-26T00:39:43.336Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 1.394s) 2017-10-26T00:39:43.372Z - info: [ui] Executing createCommit: git commit -F - (took 1.408s) 2017-10-26T00:39:43.921Z - error: [ui] git -c credential.helper= pull --no-rebase --progress origin exited with an unexpected code: 128. warning: fetch updated the current branch head. fast-forwarding your working tree from commit a79482e418b1a7e8dac4c450ff904c718b511651. error: Unable to create ‘/Users/apost/Documents/Product/product/.git/index.lock’: File exists.

Another git process seems to be running in this repository, e.g. an editor opened by ‘git commit’. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier: remove the file manually to continue. fatal: Cannot fast-forward your working tree. After making sure that you saved anything precious from $ git diff a79482e418b1a7e8dac4c450ff904c718b511651 output, run $ git reset --hard to recover.

2017-10-26T00:40:38.923Z - info: [ui] Executing pull: git -c credential.helper= pull --no-rebase --progress origin (took 6.079s) 2017-10-26T00:40:39.357Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 4.266s) 2017-10-26T00:41:20.273Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.860s) 2017-10-26T00:42:30.964Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.692s) 2017-10-26T00:42:31.323Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.062s) 2017-10-26T00:42:42.720Z - info: [ui] Executing push: git -c credential.helper= push origin master:master --progress (took 7.260s) 2017-10-26T00:44:00.946Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.033s) 2017-10-26T00:44:01.885Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.812s) 2017-10-26T00:44:13.467Z - info: [ui] Executing push: git -c credential.helper= push origin master:master --progress (took 5.315s) 2017-10-26T01:18:00.106Z - info: [ui] Executing push: git -c credential.helper= push origin master:master --progress (took 4.766s) 2017-10-26T01:18:58.931Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 4.994s) 2017-10-26T01:22:00.633Z - info: [ui] Executing push: git -c credential.helper= push origin master:master --progress (took 5.477s) 2017-10-26T15:14:31.069Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 – (took 1.340s) 2017-10-26T15:14:31.072Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(parent)%00%(subject)%00%(body)%00%1F refs/heads refs/remotes (took 1.441s) 2017-10-26T15:14:34.833Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(parent)%00%(subject)%00%(body)%00%1F refs/heads refs/remotes (took 2.747s) 2017-10-26T15:14:35.573Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 3.228s) 2017-10-26T15:14:44.434Z - info: [ui] Executing getCommits: git log origin/master…master --date=raw --max-count=100 --pretty=%H%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%P -z --no-color (took 8.259s) 2017-10-26T15:14:44.435Z - info: [ui] Executing getAuthorIdentity: git var GIT_AUTHOR_IDENT (took 7.440s) 2017-10-26T15:14:44.435Z - info: [ui] Executing getRemotes: git remote -v (took 7.582s) 2017-10-26T15:14:44.686Z - info: [ui] launching: 0.2.10 (Mac OS 10.12.6) 2017-10-26T15:14:46.366Z - info: [ui] Executing installGlobalLFSFilter: git lfs install --skip-repo (took 1.843s) 2017-10-26T15:14:52.901Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 6.732s) 2017-10-26T15:39:01.407Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 4.090s) 2017-10-26T15:43:28.151Z - info: [ui] Executing push: git -c credential.helper= push origin master:master --progress (took 6.103s) 2017-10-26T15:44:08.225Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 2.939s)

Additional Information

It was working fine for me before my colleague tried to get Kactus working. He has been unable to get it working so far, but I suspect something happened there, since I was fine for weeks before this.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mathieudutourcommented, Oct 26, 2017

hum could you send me your sketch file? Or better yet link me to the repo?

0reactions
mathieudutourcommented, Oct 27, 2017

oh so that the latest one on GitHub. Can you try again to reset to 85b42fd1d3ad70942bf387d892c815e4a2b87a51?

  • close sketch
  • git reset --hard 85b42fd1d3ad70942bf387d892c815e4a2b87a51
  • delete the sketch files
  • open kactus
  • click on a sketch file in the side bar at the top
  • regenerate the sketch file

?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting
Troubleshooting. Step-by-step guides for solving common documents, libraries, components, or troubleshooting issues on the Mac and Web apps.
Read more >
3 Simple Ways to Open Sketch Files
1. Go to https://www.photopea.com/. Photopea is a highly rated and suggested software that supports the editing of Sketch files. The software is free...
Read more >
Sketch files not opening. PLEASE HELP : r/sketchapp
Hello ladies and gents, so today I woke up in the mood to get some work done and all of a sudden none...
Read more >
How to Open Sketch File on Windows
It was developed from scratch by hacking the sketch file format. Hint: let's open, edit, and save Sketch files on Windows.
Read more >
The document “xxx.sketch” could not be opened.
I faced with problem Sketch refusing to open my project file... Error message - "The document “xxx.sketch” could not be opened.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found