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
Unable to deserialize snapshot correctly #20794
Comments
What happens if you run "pub serve --verbose" from the command line? |
This comment was originally written by boon...@gmail.com I try run "pub serve --verbose" show message below "Dart_LoadScriptFromSnapshot: Unable to deserialize snapshot correctly" |
This comment was originally written by Med...@gmail.com Once I updated my Dart Editor to 1.7.2, I bumped into this error too. What version of the product are you using? On what operating system? |
This comment was originally written by davewalsh...@gmail.com Unable to deserialize snapshot correctly. I am seeing this as well after updating to 1.7.2 (STABLE) |
This comment was originally written by @bgourlie I'm also seeing this. Is there a snapshot cache that can be cleared out? |
This comment was originally written by litt.fi...@gmail.com I'm currently getting the same error, but my use case is different. I'm using the Sublime Text dart plugin. And I'm install dart using Harald's ppa at: https://launchpad.net/~hachre/+archive/ubuntu/dart My SDK path is set up correctly for the sublime package. Here is my output from the console: Running pub... |
This comment was originally written by @bgourlie I got it when using webstorm. It's not a dart editor issue, it appears to |
This comment was originally written by 7ogity...@gmail.com Reinstalling the DartEditor solved the issue. This happened to me too when I updated from 1.6 to 1.7.2 using the "Check for update…" option on the Help About dialog (on a Windows 8.1, 64 bit machine). However, I was pleasantly surprised to discover that my working environment was restored simply by replacing the original install with a version downloaded and installed (unpacked) from the Dart web site rather than via the editor. |
This comment was originally written by litt.fi...@gmail.com For myself, using the ppa on ubuntu, doing apt-get upgrade also solved this issue. |
This comment was originally written by dhuba...@gmail.com I'm also on Windows 8.1 64-bit Upgrading from 1.6.0 to 1.7.2 using the "Check for Update" button also made pub fail constantly. Trying fresh reinstall now. |
This comment was originally written by tommi.enenk...@gmail.com Windows 7 64-bit Upgraded from 1.6.x to 1.7 via "Check for Update" pub cache repair didnt work |
This comment was originally written by @mezoni What are an official position of Google Dart developers? |
In versions prior to 1.7, there were some known cases where the update would only partially complete (usually due to Dartium currently running at the same time as the update and thereby preventing Dartium itself from being updated). That problem should be fixed in 1.7 but the fix won't really have an effect until users are updating from 1.7 to 1.8 in the future. We are speculating that this issue might be due to a partial update (although several comments also suggest it might be a separate problem or that there are a couple different problems being reported here). We had not seen Dart_LoadScriptFromSnapshot reference in an issue related to a failed update, so the original report might be unrelated to an update issue (even if many of the follow-up comments are update related). A reinstall of Dart Editor (which also means a reinstall of the Dart SDK, Dartium, etc.) is always a good idea if you are experiencing weird problems like this. Most of the time, that seems to fix the problem. |
Removed Area-VM label. |
I'm not convinced that the original issue reported here is update related. If it is, then it is a dup of Issue #17018 which was fixed for 1.7 a few weeks ago. Added this to the 1.8 milestone. |
This issue was originally filed by boonbi...@gmail.com
What steps will reproduce the problem?
What is the expected output? What do you see instead?
it 's show message below :
--- 5:01:03 PM Starting pub serve : app1 ---
Dart_LoadScriptFromSnapshot: Unable to deserialize snapshot correctly.
What version of the product are you using?
dart editor 1.7.0-dev.0.1
On what operating system?
window 8 64 bit
What browser (if applicable)?
Please provide any additional information below.
The text was updated successfully, but these errors were encountered: