-
Notifications
You must be signed in to change notification settings - Fork 921
Upgrading isn't working #2138
Comments
I was able to reproduce #2131 just now after downloading and install 0.8.0 and then supposedly upgrading it to 0.8.1. |
So, to clarify, I was able to reproduce this issue just now on a Windows 7 computer [T]. |
@cldwalker @rundis I narrowed this down somewhat. I'm using #2131 as my example issue – that seemed to have been caused by resources\app\core\node_modules\lighttable\cljs\lt\objs\docs.js not being copied during the upgrade. And it's not being copied because it doesn't exist in the tarball that's downloaded. Here's the relevant code that generates the tarball URLs:
Those URLs correspond to the GitHub API 'get archive link' method:
It seems like we broke this during the Atom→Electron migration. I strongly suspect that the previous I'm going to work on using the GitHub releases instead of the source archive tarballs. |
@kenny-evitt Thanks for taking a look. That sounds like a good place to dig in |
Yeah I've used an upgraded 0.8.1 and started getting all kinds of weird errors. Ended up downloading a package from lighttable.com. What's more I can't build from source on OS/X El Capitan, but that's a separate issue. |
@cldwalker @rundis I created a PR for this – #2176. The two commits are very-much WIP. The major change is that we want to download a release file (with the compiled ClojureScript) instead of the source tarball (as the code does now). That's mildly tricky for a few reasons:
Related to [2], there's an existing 'edge' setting that seems to control whether the user is running the latest source version. I'm going to defer implementing that for now, but we could potentially use the Travis CI builds to support that. As-is, I'm going to continue with my current 'solution', i.e. by modifying |
Please un-assign me. |
There are several recent bug reports for users that upgraded in LT, for 0.8.1 in particular, that are reported as being fixed by downloading the relevant release package directly. Some of those issues:
I was able to reproduce one of those bugs on a Windows 10 computer [L] after upgrading in LT from 0.8.0 to 0.8.1. I downloaded the release package for 0.8.1 directly and compared the directories where the 0.8.0 and 0.8.1 versions were installed; a lot (all?) of the 0.8.0 version files seem to not have been upgraded.
As explained previously, too much has changed between versions 0.7.2 and 0.8.0 so this should be restricted to upgrades between 0.8.0 and 0.8.1 (or newer verions).
The text was updated successfully, but these errors were encountered: