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

Downloading revision 'get' of undefined #1514

Closed
mehocode opened this Issue Jul 10, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@mehocode
Copy link

mehocode commented Jul 10, 2017

IMPORTANT: Please try to describe how did it happen.
Uploaded 3 artboards, nothing showed up in project folder, hit refresh button and all 3 artboards got downloaded. Tried to open one of them and got this error. It is still loading with cancel button on the bottom while I'm typing this and I'm sure it won't open the artboard if I let it sit like that so going to cancel. 1 out of three opens fine. THe other two giving me the same error.

App v. 2.14.5
Avocode UID: 67766

TypeError: Cannot read property 'get' of undefined
    at t._updateBranchSyncStates (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:708940)
    at t._updateRevisionBranchSyncStates (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:708652)
    at t._addDownloadingRevisionById (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:707817)
    at file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:707631
    at /Applications/Avocode.app/Contents/Resources/app.asar/node_modules/immutable/dist/immutable.js:2701:43
    at List.__iterate (/Applications/Avocode.app/Contents/Resources/app.asar/node_modules/immutable/dist/immutable.js:2208:13)
    at OrderedMap.__iterate (/Applications/Avocode.app/Contents/Resources/app.asar/node_modules/immutable/dist/immutable.js:2700:25)
    at OrderedMap.forEach (/Applications/Avocode.app/Contents/Resources/app.asar/node_modules/immutable/dist/immutable.js:4383:19)
    at t._addDownloadingRevisionStorage (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:707583)
    at t._handleRevisionDownloadStart (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:706387)
    at t._handleRevisionDownloadStart (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:702235)
    at t._handleAction (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:705199)
    at Object.ID_17 (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:702235)
    at Dispatcher._invokeCallback (/Applications/Avocode.app/Contents/Resources/app.asar/node_modules/flux/lib/Dispatcher.js:198:24)
    at Dispatcher.dispatch (/Applications/Avocode.app/Contents/Resources/app.asar/node_modules/flux/lib/Dispatcher.js:174:14)
    at Dispatcher.dispatch (/Applications/Avocode.app/Contents/Resources/app.asar/node_modules/@avocode/flux/lib/dispatcher.js:76:28)
    at t.dispatch (/Applications/Avocode.app/Contents/Resources/app.asar/node_modules/@avocode/flux/lib/action-creator.js:37:24)
    at t.startRevisionDownload (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:613797)
    at e._downloadRevision (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:1972381)
    at file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:1971865
    at e._processRevision (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:2149354)
    at e._processRevision (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:2147388)
    at e.addRevision (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:2148079)
    at e._addRevisionToQueueWithPriority (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:1971263)
    at e._downloadRevisionAsPrioritized (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:1971590)
    at e.downloadRevisionById (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:1968723)
    at e.downloadRevisionById (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:2092606)
    at e._downloadRevisionById (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:2215733)
    at e._ensureCompleteRevision (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:2212877)
    at e._loadRevision (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:2211743)
    at e.loadRevisionById (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:2211297)
    at e.value (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:1554526)
    at e.<anonymous> (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:1572714)
    at r (https://fast.appcues.com/24524.js:1:246598)
    at Generator._invoke (https://fast.appcues.com/24524.js:1:248025)
    at Generator.t.(anonymous function) [as next] (https://fast.appcues.com/24524.js:1:246777)
    at r (file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:1570252)
    at file:///Applications/Avocode.app/Contents/Resources/app.asar/dist/avocode.min.js:1:1570346
@jakubzitny

This comment has been minimized.

Copy link
Member

jakubzitny commented Jul 10, 2017

Hi @mehocode, thanks for reporting this issue. Do you have any further details on how did you get this error, please? Did it happen more than once? I think it might have happened after syncing a Sketch file, is that right? Anyway, it's a bug and we'll try to fix it as soon as possible.

@jakubzitny jakubzitny added this to the 2.14.6 milestone Jul 10, 2017

@jakubzitny jakubzitny changed the title Unexpected error Downloading revision 'get' of undefined Jul 10, 2017

@jakubzitny

This comment has been minimized.

Copy link
Member

jakubzitny commented Jul 10, 2017

Right thanks. Would you be willing to send us the Sketch file you synced to team@avocode.com.

Also, we're tracking this same error in #1509, so I am going to close this issue and let's continue the conversation there. Thanks for the info for now :)

@jakubzitny jakubzitny closed this Jul 10, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.