I am upgrading spreadjs 8 to 10.
By the way I cannot upgrade this line.
sheet.addKeyMap(GC.Spread.Sheets.Key.del, false, false, false, false, GC.Spread.Sheets.SpreadActions.none);
I think this is delete disable function.
How can I upgrade this line?
Yeah looks like that particular function was in v9 but removed in v10, and they don't seem to have added an equivalent going by this table...
http://help.grapecity.com/spread/SpreadSheets10/webframe.html#APIWSChanges.html
Related
I'm trying to get the result of a scan using a MobileBarcodeScanner. If I save the result as a var everything works fine, but as soon as I try to use ZXing.Result, I get the message The type 'Result' exists in both 'zxing, Version=0.16.5.0 ...' and 'zxing.portable, Version=0.16.2.0 ...'
I have these packages installed:
ZXing.Net.Mobile.Forms, Version 2.4.1
ZXing.Net.Mobile, Version 2.4.1
Zxing.Net, Version 0.16.5
I've seen other people use ZXing.Result, do I have an extra package installed? Am I missing one? Is there a way to mitigate this conflict?
Though removing Zxing.Net may work, but it could cause some issues when you release your project.
The proper solution should be:
- Look at the dependency of ZXing.Net.Mobile for the exact version it's using Zxing.Net.
- Install that version, there is a high chance that ZXing.net 0.16.5 is lower than the version it's expecting.
Removing ZXing.Net seems to have solved my issue.
I am trying to host a small app in heroku. The app is already up. Now when I was trying to push additional changes and hence logging; I am getting this error in my cmd.
The app is in laravel 5.4. I am running windows 10. And I am relatively new to hosting and heroku.
What might be the possible solution to the problem?
I've had the same problem today and I think it is related to the automatic Heroku CLI update.
I managed to fix it by changing this file: %LOCALAPPDATA%\heroku\client\7.0.15\bin\heroku.cmd
On line 4 it was:
if not "%HEROKU_REDIRECTED%"=="1" if exist "%LOCALAPPDATA%\heroku\client\bin\heroku.cmd" (
and I changed it to:
if not %HEROKU_REDIRECTED%=="1" if exist "%LOCALAPPDATA%\heroku\client\bin\heroku.cmd" (
Basically when %HEROKU_REDIRECTED% was wrapped in double quotes first if statement always evaluated to true, causing recursion.
Heroku posted an update and fix for this:
https://help.heroku.com/FMA2YNC8/heroku-cli-windows-v7-setlocal-recursion-error
The recursion error has been patched in version 7.0.13, however the
bug may render earlier versions of the CLI unusable. To fix this,
delete the CLI client folder at
C:\Users\\AppData\Local\heroku\client then run heroku
update.
I am using Laravel 5.1 and I would like to know how to upgrade to the latest version of Laravel which is 5.4.
Can we directly upgrade to Laravel 5.4 From 5.1 ?
The best way to upgrade is to follow the steps for each version. So upgrade to 5.2 then 5.3 then finally 5.4. The upgrade guides look lengthy but it most cases it wont take to much time because the guide covers all potential changes but they won't all apply to your application.
Alternatively you could install a fresh version of 5.4 then copy your application code into the new Laravel. Since the upgrade for each version is relatively straight forward and this method would lose your git history I wouldn't recommend it.
Another paid method would be to use Laravel Shift which will automate the upgrade process for you.
Edit: As #Scott mentioned you should make sure your server meets the server requirements for your target Laravel version. Specifically make sure you have PHP >= 5.6.4 installed
Well, you first you need to update your composer.json file. Around line 9, you should be requiring in the framework itself. Change that to use version 5.4.*. After that, run a composer update and then, yes, you do need to go through your files manually to address any incompatibilities.
after you replace provider folder to the new version.
https://github.com/laravel-shift/laravel-5.4/tree/master/app/Providers.
In previous versions of SonarQube we had a property that allowed setting the context root sonar.web.context however after a recent update, this does not appear work anymore. Is there an alternative method of performing this function?
Seems like they have decided to just drop the capability on 5.4 https://jira.sonarsource.com/browse/SONAR-7122
But may be reintroduced in 5.5 https://jira.sonarsource.com/browse/SONAR-7494 so I guess I had downgraded Sonar to 5.3. That way my reverse-proxy-auth-sonar-plugin that I for my installation still functions correctly.
You can upgrade to 5.6.3 LTS http://docs.sonarqube.org/display/SONAR/Upgrading, the capability was included again from 5.5 on.
Does anyone know if a project that was originally created in step 7 v.5.4, then opened, edited, and saved in 5.5, can then be reopened in 5.4 again?
No, it can't be re-opened if it was saved in a later version.
It is not recommended that you open project with older version, but you can do it.
You may run into some anomalies when using project with different Step 7 versions. But I have not run into anything serious, yet.