upgrade

Rails app crashes on Heroku but runs fine locally -> “State changed from starting to crashed”

偶尔善良 提交于 2019-12-06 01:39:34
问题 repo at: git@github.com:assafshomer/sample_app.git This app is my learning app based on Michael Hartl's excellent railstutorial. App runs smoothly in development and test suite is all green When deploying to Heroku I get the following error immediatly: "Application Error. An error occurred in the application and your page could not be served" The problem started after upgrading to Rails4 (but I know the problem is not Rails4 itself because, e.g. git://github.com/railstutorial/sample_app_rails

SVN how upgrade working copy

落爺英雄遲暮 提交于 2019-12-05 21:52:40
I use STS for working with SVN. When I try upgrade (version 1.6) I received this error: org.apache.subversion.javahl.ClientException: Invalid operation on the current working directory svn: Can't upgrade 'C:\..... as it is not a pre-1.7 working copy directory Can't find an entry svn: Missing default entry But is sure that missed - I have add new folder. How it can be resolved? Thanks. You try to upgrade already 1.7 (WC-NG) working copy. But upgrade needed only once for 1.6 WC I know this question is quite old, but for people who stumble upon it like I did and are still having problems, there

Prevent services from losing settings on major upgrade in WiX

淺唱寂寞╮ 提交于 2019-12-05 20:14:38
问题 I'm trying to prevent my services from losing their settings (credentials and other options) on major upgrades in my WiX installer. I followed the advice here, and I'm trying to use <InstallExecuteSequence> <DeleteServices>NOT UPGRADINGPRODUCTCODE</DeleteServices> </InstallExecuteSequence> But my services are still being reinstalled on upgrades, losing my credentials and other service settings on each upgrade. In the log, it looks like my condition is being honored only once. I see MSI (s)

Lua updating from 5.1 - LUA_GLOBALSINDEX problems

别等时光非礼了梦想. 提交于 2019-12-05 18:23:00
I've recently updated my old Lua 5.1 project to the newest version of the library, and I'm having problems with LUA_GLOBALSINDEX - it became undefined. I only used it in lua_getfield functions, like so: void luastartgame(void) { if(startgamefunction.empty())return ; lua_getfield(globalL, LUA_GLOBALSINDEX, startgamefunction.c_str()); // go to function in Lua script int numArgs = 0; int res = lua_pcall(globalL,numArgs,0, 0); if(!luaresf(res)) // did the function call result in an error? { return; } } I tried replacing it with some constant integers - if it is something other than 0, my program

aapt.exe is throwing unhandled exception while building *.apk file for Android project in Eclipse

一个人想着一个人 提交于 2019-12-05 17:18:21
i just upgraded my system to Ice Cream Sandwich (Android 4.0) and now everytime I attempt to run my application in the debugger, I get a crash in aapt.exe . If I just build, it builds fine, but when I go to run it in the debugger, aapt.exe crashes (which pops up a dialog and asks me if I want to send data to Microsoft) and my project icon in Project_Explorer shows that it has error(s). Rajdeep Dua There is a known issue in AAPT for r15, try to change the build output to normal http://tools.android.com/knownissues AAPT crashes on Windows in some cases when the build output is set to verbose.

Symfony Update 2.8 to 3.4

百般思念 提交于 2019-12-05 17:11:45
I wanted to upgrade my old Symfony project from 2.8 to 4.0 but I stacked at upgrade from 2.8 to 3.4. I used this tutorial for the upgrade Moving to Symfony 3.4 . I got some errors while trying to update through composer Composer Upgrade Errors : # php composer.phar update symfony/symfony --with-dependencies Dependency "symfony/polyfill-apcu" is also a root requirement, but is not explicitly whitelisted. Ignoring. Dependency "twig/twig" is also a root requirement, but is not explicitly whitelisted. Ignoring. Dependency "ircmaxell/password-compat" is also a root requirement, but is not

How to reset an Android application states when upgrading / updating

点点圈 提交于 2019-12-05 16:16:12
I have applications already published on the market. When users download the new version, I want the application to clean all its previous states ( SharedPreferences , SQLite schema ... ). That'd be equivalent to uninstall the application first then install the new version . I read various solutions to SharedPreferences Android: How to reset FirstRun SharedPreferences when my app is updated? SQLiteOpenHelper SQLiteOpenHelper onUpgrade() Confusion Android But I want one solution to all these problems. Just wonder if it is possible to trigger a "clean states" when the application is being

EF5 to EF6 upgrade - navigation properties are broken

浪子不回头ぞ 提交于 2019-12-05 16:10:19
I used nuget to upgrade EF5 to EF6, and somewhere a breaking change was introduced for my solution. I discovered this when running one of my unit tests (it affects everything though). In each test, I init by doing this: // warm up EF. using (var context = new ReportingDbContext()) { context.Database.Initialize(false); // <-- boom! } // init the service _inventoryService = new InventoryService(); It tosses me this exception: The property 'EmployeeID' cannot be configured as a navigation property. The property must be a valid entity type and the property should have a non-abstract getter and

upgade python version using pip

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-05 13:25:06
问题 So I have python 2.7.3 installed on Windows 7 64 bit and I want to do an incremental upgrade to version 2.7.5. I have pip installed and it works fine; I just installed Django using it. I ran into this command: pip install --upgrade 'python>=2.7,<2.7.99' Now it forces pip to download the latest version that is not Python 3 which is what I want. 2.7.5 starts downloading and I get the following error: Downloading/unpacking python>=2.7,<2.7.99 Downloading Python-2.7.5.tar.bz2 (12.1MB): 12.1MB

Upgrade process for fontawesome from 4 to 5

戏子无情 提交于 2019-12-05 09:41:06
问题 We contributed to font-awesome 5 (yea), and we are looking from moving from our existing icons (Symbol set) to font-awesome. Will the naming of icons and usage of font-awesome 5 be backwards compatible with font-awesome 4.7? IE: Should we go to 4.7 now, and have very easy upgrade to 5.0? OR should we hold off until font-awesome 5 comes out? 回答1: It's not backwards compatible. I just publish a script to do the migration from 4 to 5 in: https://github.com/estebandelaf/scripts/blob/master