Windows10/Windows8.1: getting Empty error message while running XBootmgr - wptoolkit

I manually copied WPT folder from a file server onto my Windows10 test machine and ran below XBootmgr command:
"Xbootmgr -trace shutdown -noPrepReboot -traceFlags BASE+CSWITCH+DRIVERS+POWER -numRuns 1 -resultPath d:\tempetl"
Note: copied WPT folder at location "C:\WPT" and I have manually created "D:\tempetl"
But it is not running and giving small error pop-up which doesn't contain any error message. Getting same issue on another Windows8.1 machine.
I thought there is some issue with the switches I have used, so I tried simple command:
"Xbootmgr -trace shutdown -noPrepReboot"
But faced same issue.
Can anybody help me to resolve this issue?
Thanks in Advance!

Manually copy-pasting the WPT folder won't work. You need to install WPT using an MSI file (WPTx64-x86_en-us.msi).
On a Windows PC which has WPT installed on it, you can find this file in
C:\Program Files (x86)\Windows Kits\8.1\Windows Performance
Toolkit\Redistributables
You can also install WPT as part of Windows Assessment and Deployment Kit (ADK) from https://www.microsoft.com/en-US/download/details.aspx?id=39982
Also, once you install WPT, you need to restart the computer once before you can start using the WPT commands for xbootmgr and xperf from an elevated command line window.

Related

gcloud stop working - "was unexpected at this time."

I just update my google cloud SDK on windows 10 (gcloud components update).
After the update the gcloud command stop working.
All I get is (for example : gcloud -h):
PATH\lib\gcloud.py" -h" was unexpected at this time.
I try to re-install but it didn't help:(
As noted in the other answers, this is a bug with the 274.0.0 version of gcloud. Another report of this issue actually identifies where the bug is and offers this fix:
If you are stuck and need an immediate solution, here's a workaround that will move you forward, but you should reinstall the Cloud SDK from scratch when a fix is ready.
Open C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk-bin\gcloud.cmd in your editor
Near line 170, change ) ELSE ( to be just )
Remove the ) on the last line in the file.
That should get you working in the short term (albeit with an extraneous error message every time you run a command). After getting it working you can revert to version 273.0.0 (so that you stop getting the error message and aren't using a modified version) using:
gcloud components update --version=273.0.0
This is being tracked in the public bug https://issuetracker.google.com/issues/146458519
We have a patch for two files that are causing these problems. These apply in two cases (both on Windows):
1. A new install fails, or
2. You are unable to run gcloud after performing a components update.
For case # 1, please download the attached file install.bat, and copy it to the location where you have attempted to install gcloud, e.g. C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk. Then run it, e.g.
cd C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk
.\install.bat
For both cases #1 and #2, download the attached file gcloud.cmd, and copy it to the bin directory under your gcloud installation, e.g.
C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin. When prompted to replace the previous copy, type Yes. This should allow you to run gcloud without being prompted to set CLOUDSDK_PYTHON.
The files are attached in the public bug tracker.
This is a known issue that is being tracked here
After hours of trying to fix it! I found how :)
uninstall google SDK
https://dl.google.com/dl/cloudsdk/channels/rapid/google-cloud-sdk.zip
https://cloud.google.com/sdk/docs/downloads-interactive#interactive_installation
This fix the bug.
After that I had new bug in pyCharm GAE:
ImportError: No module named _subprocess
I fix this with the solution here:
Error importing built-in module "_subprocess" using Google Cloud Platform's Local Development Server
Hope this helps and saves a lot of trouble for you guys :)
I solved this problem. I got the same error message.
My Env: gcloud v274.0.0, Windows 7
First, I re-installed Google SDK, and changed my path to \Google\CloudSDK\.
Second, I got this message
"\Google\CloudSDK\google-cloud-sdk\bin..\lib\gcloud.py" init" was unexpected at this time."
So I tried to use cd command to specific directory where gcloud.py is exist.
Finally, I found the path: \Google\CloudSDK\google-cloud-sdk\lib, and it works.
Hope it can help you, too.
The problem, or rather bug within the installer, is that you are using a directory that contains spaces within it. At some point of the script the space causes the command to be split up incorrectly, causing the error.
I had the same message and fixed it by re-installing the Google Cloud SDK in a directory without spaces (c:\Google\CloudSDK)

PowerBI Visuals Tools - error after pbiviz start command

I trying to start my custom visual (like usually) but after I updated powerbi-custom-visual to version beta 3.0.11 from version 3.0.10 I got the following error:
error ENOENT: no such file or directory, open '/Users/mar/CustomVisuals/rangechart/.tmp/precompile/visualPlugin.ts'
(node:1454) UnhandledPromiseRejectionWarning: Error: Failed to generate visualPlugin.ts
at generateVisualPlugin.then.catch.ex (/usr/local/lib/node_modules/powerbi-visuals-tools/node_modules/powerbi-visuals-webpack-plugin/index.js:168:12)
at <anonymous>
Does anyone knows why is that? I returned back to the previous beta version of powerbi-custom-visual but it did not help. With version 2.3.0 everything works fine.
I ran into something similar after I deleted the .tmp folder in my project to clean up from an old build. I found that I had to manually (re)create the .tmp/precompile directories inside my project folder. Not sure why the tool couldn't handle creating them itself.

extensions xsl and intl are missing (need them to run Magento2). I'm using Windows 8.1

I installed php7.0.15/apache2.4.25/phpMyAdmin 4.6.5.2 via xampp, but it turns out that the extensions xsl and intl are missing (need them to run Magento2).
I'm using Windows 8.1.
Both files php_xsl.dll and php_intl.dll exist in xampp/php/ext and I tried deleting the related ";" from extension=.. from in php.ini,
re-saving the php.ini and restarting apache server;
also copied in apache/bin folder the icu*.dll files from php;
BUT no success with that: still missing with magento2 Readiness Check.
Have any advise?
I have two suggestions for you---
No.1
Are you restarting the apache as administrator as I forget to do that most of the time.
No.2
Check your environment variable path. Did you set it properly.
Hope this can help!

Issue in uninstallation with "Uninstall previous installation action" on Mac

I have built an app which would uninstall any old installation if the app is installed in the same directory. For this I have used the action "Uninstall previous installation" action before start of installation. It is working fine on Windows and Linux but on Mac it is throwing the below error in the installation.log and does not install the older app at all.
INFO] com.install4j.runtime.beans.actions.UninstallPreviousAction [ID 305]: Execute action
Property installationDirectory: null
Property onlyIfSameApplicationId: false
Property rollbackSupported: true
checking running processes
checking running processes ok
getting previous installation id
starting uninstaller
Error
com.install4j.runtime.installer.helper.launching.LaunchHelper: return value is 1
[INFO] com.install4j.runtime.beans.actions.UninstallPreviousAction$UninstallerThread: uninstaller process returned 1
see uninstallPrevious.log for the log file of the uninstaller
While searching for uninstallPrevious.log in the .install4j directory I don't fine it. Please advise on this.
It's a bug in install4j 6.0 that this file is not copied to the .install4j directory on Mac OS X. This will be fixed in install4j 6.1. As a workaround you should be able to see the uninstaller log file in the temp directory. Execute
open $TMPDIR
in a terminal, sort by file modification time and look for file names starting with "i4jlog". One of them will be the log file of the uninstaller.

Minko error building SDK

I am trying to compile the Minko framework on Windows 10 targeted at HTML. However, I'm hitting an error running the build_html5.bat script.
I've followed the instructions and completed all the steps (except for moving from the main branch to the dev branch, which is listed as optional). I cloned the source, set the new Environment Variable, ran the install_emscripten.bat file, and ran the specified commands in the emscripten command prompt.
However, when I try to run the build_html5.bat script, I get the following error:
I've looked in the MINKO_HOME directory and was able to find the jsoncpp.cpp file, but the jsoncpp.o file is not where in the directory specified in the command being called. The only file in MINKO_HOME/framework/obj/html5/release is a file named 'linker.rsp'.
I tried pulling down the dev branch into a different directory and updating the MINKO_HOME variable accordingly. I couldn't find the tool directory, but I was able to run the script scripts/solution_gmake_full.bat, after my first error trying to run build_html5_full.bat. When trying to run build_html5_full.bat, however, I get a different error:
Am I missing something here? Any help would be appreciated!
Sincerely,
Alex