Button Save disabled in ABAP Editor for Auto Completion - editor

Recently I've installed the SAPGUI, and I want to turn on the auto-completion option "Suggest Non-Keywords from the Text".
But the button to save this setting is disabled.
How to save the setting?

Most likely a permission problem preventing the SAPGUI from performing updates.
C:\Users\\AppData\Roaming\SAP\SAP GUI\ABAP EDITOR\Settings.xml
Check how SAPGUI is Launched. Try launching with ADMIN rights.
Does your organisation restrict roaming profiles ?
Perhaps an admin guy there knows why you cant update
...AppData\Roaming\SAP\SAP GUI\ABAP EDITOR\Settings.xml
<Code_Completion>
<AutoCompletion>1</AutoCompletion>
<AutoOpen>0</AutoOpen>
<TimeOpen>1500</TimeOpen>
<UseExternalDict>0</UseExternalDict>
<UseLocalDict>1</UseLocalDict>
<QuickInfo>1</QuickInfo>
<CodeHints>1</CodeHints>
<KKCharsNum>2</KKCharsNum>
<AutoHideToolTip>1</AutoHideToolTip>
<AutoHideDelay>3000</AutoHideDelay>
<UseSimpleAutocomp>1</UseSimpleAutocomp> <<<<<< set this to 1
<CurrentScope>1</CurrentScope>
<Transparency>100</Transparency>
<HoveringDelay>500</HoveringDelay>
<HoveringInfo>1</HoveringInfo>
<CodeHintAgreeByReturn>0</CodeHintAgreeByReturn>
</Code_Completion>

For anyone facing this problem, I just uninstall and install the SAPGUI, and it solves.

Related

Where is OMSDataSet.xml (used by EZoms and EZomsRTD)?

Some times the user needs to wipe the cache of stored orders. This could be done by deleting OMSDataSet.xml file.
Where is it located?
OMSDataSet for EZoms and RTD is located in:
C:\Users\Sgoldberg\AppData\Roaming\EZoms
You can also accomplish the same thing by using EZoms from the Menu: 
File -> Logout (then close the Login dialog box)
Edit -> Clear All
Then shut down Ezoms and start up RTD.
This will cause both apps to login and fetch all orders from the server.

PEPPER (SoftBank Robotics): ALSpeechRecognition Engine issue - How to restart it when it doesnìt work?

During my test on Pepper, I found some difficulties in realizing continuative collaborative dialog.
In particular, after about 10 minutes, it seems that the ALSpeechRecognition engine stops working.
In other words, Pepper dialog panel remains empty and/or the robot does not understand my words, even if the structure worked some minute before.
I tried to stop and restart it (i.e., the engine) via SSH terminal, by using:
qicli call ALSpeechRecognition.pause 1
qicli call ALSpeechRecognition.pause 0
It should restart the engine according to the guidelines shown here, but it does not work.
Thank you so much guys.
Sincerely,
Giovanni
According to the tutorial, starting and stopping the speech recognition engine is done by subscribing/unsubscribing it.
The recommended way to do this is unsubscribing and subscribing back to it. For me it also worked changing the speech reco language and chaging it back to the one you had previously.
Luis is right and to do so just create a function as below given and call it if ActiveListenning event comes false from ALSpeechRecognition module. Note: Use ALMemory module to get data from ALSpeechRecogntion.
asr_service = ALProxy("ALSpeechRecognition",ip,port)
memory = ALProxy("ALMemory",ip,port)
def reset():
asr_service.unsubscribe("ASR_Engine")
asr_service.subscribe("ASR_Engine")
ALS = memory.getData("ALSpeechRecognition/ActiveListening")
if ALS==False:
reset()

Don't have access to Pureftp using Unix credentials

I've been struggling with PureFTP on my Orange Pi Zero (Armbian 5.38, ubuntu), I don't know what should I do to enter with system credentials, I have "no" on PAMAuthentication and "yes" on UnixAuthentication, I dont know why it takes me as "Anonymous" (ANONY. OFF).
I'm not using pure-ftpd.conf (That's getting me off) and I just want to leave as simple as it seems to work. I don't want to use Virtual Users, so pure-pw didn't be configured...
I think that could be by the TLS option, I'm trying to set it "pure-ftpd -Y 0" but frozen my ssh connection... Why? there are similar commands of PureFTP that do the same behavior, the temperature is okay (33ºC)
Thanks
Finally RESOLVED!
Forget to know what was inside auth/70pam or auth/65unix, that was my error... (contains YES or NO)
Once changed 65unix to "NO" and 70pam to "YES"
Then on conf/PAMAuthentication set to "YES", and UnixAuthentication to "NO" (Because PAMAuthentication includes a
module with Unix authentication , by default)
Finally It didn't was what I'm looking for (Because I was looking for an user with chroot only on 1 directory), so I created Pure-FTP virtual users (First create an user for Linux (ftpuser) and then you can create multiple "virtual users" through pure-pw command, simple once you understand virtual users of pureftp).
Hope it helps!

Firefox extension upgrade: distinguish betw. user-initiated vs. auto-update

https://developer.mozilla.org/en-US/Add-ons/SDK/Tutorials/Listening_for_load_and_unload#options.loadReason provides a (indirect) way to listen for an add-on upgrade event (loadReason == “upgrade”).
Is there a programmatic way to detect whether the upgrade was user-initiated, or was an auto-update?
a) User-initiated (user goes to my web site and installs the latest version of the add-on): once the new version is loaded, I’d like to pop a new tab/URL that says “Thank you for upgrading...”
b) Auto-update (update.rdf): No user messaging.
However, in both the a) and b) scenarios, my exports.main() is seeing loadReason == “upgrade”, so I don’t know how to distinguish between the two.
Any workaround suggestions?
TIA
This is a cool question. I'm not sure myself but https://developer.mozilla.org/en-US/Add-ons/Add-on_Manager/Addon there we see something called foreignInstall. To access that do this:
Cu.import('resource://gre/modules/AddonManager.jsm');
AddonManager.getAddonByID('NativeShot#jetpack', function(addon) {
console.log(addon.foreignInstall)
});
I'm not sure what qualifies as "third party installation".

Unable to click button using NHtmlUnit

I have a unit test which simulates a login on Uber. The goal is to acquire a token that isn't otherwise accessible without an interactive login. I've had this working in the passed but it appears the Uber login experience has changed and now I'm having issues getting NHtmlUnit to successfully submit the login button.
Here's my latest attempt: https://github.com/wadewegner/uber-sdk-for-net/blob/42fd845fe43e11e3153b07d830ed40e3577b1ed3/src/UberSDKForNet.FunctionalTests/Tests.cs#L100
Here's the key area:
var loginFormButtons = loginForm.GetElementsByTagName("button");
Assert.IsNotNull(loginFormButtons);
var loginButton = (HtmlButton)loginFormButtons.First();
Assert.IsNotNull(loginButton);
var loginButtonText = loginButton.AsText();
StringAssert.Contains("sign in", loginButtonText.toLowerCase());
loginButton.SetAttribute("type", "submit");
loginForm.AppendChild(loginButton);
var consentPage = (HtmlPage)loginButton.Click();
Assert.IsNotNull(consentPage);
I know the code is verbose, but unit testing NHtmlUnit is a nightmare. I've also tried a ton of different permutations, but they pretty much all end up with a HtmlButton.
Everything works great until https://github.com/wadewegner/uber-sdk-for-net/blob/42fd845fe43e11e3153b07d830ed40e3577b1ed3/src/UberSDKForNet.FunctionalTests/Tests.cs#L174. What I'd expect is for this to take me to the consent page where I'd either allow or deny the Uber app access to my information. However, it appears to simply reload the original page and consentPage appears to simply be the same as loginPage.
Any NHtmlUnit experts who might have some ideas?
The only thing I'll also point out is that in the past I was able to successfully use HtmlSubmitInput instead of HtmlButton but this appears to be one of the changes made by Uber. Perhaps this is part of the problem?
Well, it's not perfect, but it appears setting the WebClient to FIREFOX_17 instead of CHROME solved it.
var webClient = new WebClient(BrowserVersion.FIREFOX_17);
See here: https://github.com/wadewegner/uber-sdk-for-net/blob/ceb1cdf80cebb31608744c050b649ddd6a75fb7a/src/UberSDKForNet.FunctionalTests/Tests.cs#L107

Resources