App engine windows error - The system cannot find the path specified - python-2.7

I am using google app engine with Python. When I launch the app engine application I get a prompt message that error occurred and suggest me to see the log file. I have checked the log file and found the following message
WindowsError: [Error 3] The system cannot find the path specified:
'C:\\Program Files (x86)\\Google\\Cloud SDK\\google-cloud-sdk\\platform\\bundledpython;
C:\\Program Files (x86)\\Google\\Cloud SDK\\google-cloud-sdk\\platform\\bundledpython\\Lib\\site-packages;
C:\\Program Files (x86)\\Google\\Cloud SDK\\google-cloud-sdk\\platform\\gsutil\\third_party\\oauth2client\\oauth2client/Google'
I have recently setup some environment variable and these paths seem valid to me apart from the last path which i cannot see in any of my env variables.
I have also tried to uninstall the Google Cloud SDK and App Engine SDK but I am still getting the same error.
Thanks

I have removed all the app engine install directory path from the environment variable and re-install the app engine sdk. I am no longer getting the The system cannot find the path specified error.
Thanks

I get this error on windows when the full path of any file gets too long

Related

running 'heroku login' won't create _netrc file

I am using on a 64-bit system running Windows 11 with Python 3.7 installed and working in a virtual environment where I have installed Django 3.2. I am trying to deploy my project using Heroku.
I have tried adding heroku cli 64-bit Windows version to various paths. I have set the env variable HOME with a value of C:/Users/<username>/_netrc. I have cleaned up the path on each installation so there is only the current path.
When I run heroku login from within my project, I get the following error:
EPERM: operation not permitted, open C:/Users/<username>/_netrc
Any help here is appreciated
I have set the env variable HOME with a value of C:/Users/<username>/_netrc
HOME should be a directory. Heroku will take care of the _netrc part.
Try setting it to C:/Users/<username>/ instead.
delete the existing file in path C:/User//_netrc
used git bash or terminal for it as i was unable to find the _netrc file in file Explorer.
after deleting It run the below command in project folder.
heroku git:remote -a <heroku_app_name>
by running the above command it will create a new _netrc file

local server error in divio app installation django-cms

I am trying to install DIVIO app ,
and when I try to set it up this is the error i received:
New version 3.3.2 is available. Type `divio version` to show information about upgrading.
Usage: divio project setup [OPTIONS] SLUG
Error: Invalid value for "-p" / "--path": Path "." is not writable...
I am running windows 7 and docker terminal is already running
Your Divio application is trying to write some files, but doesn't have permission to. This issue is generally caused when your Divio projects are not located within your user's filespace.
Make sure that in the Divio application settings your projects will be somewhere within your home folder.

Apex (apex.run) installation issues

I want to install Apex (similar to the Serverless Framework) on a Windows 7 machine. I have followed the steps for installation at apex.run. After installing the binary file downloaded from apex.run, it shows the usage commands.
But when I try to run any command, its giving me error saying
apex is not recognized as internal or external command, operable program or batch file.
I have also setup AWS CLI configuration and it works.
What might be the problem?
I used windows (32-bit) also. for AWS & apex both, after installation, I had to update the environment variables before it worked everywhere.. previously they both worked only from the folder in which they were installed.
go to start menu
write 'edit environment variables for your account' (without the quotes of course)
select the path variable and enter the location(s) of the AWS.EXE file and the APEX.EXE file at the end of your existing PATH variable
C:\Ruby24\bin;C:\Program Files\Amazon\AWSCLI;C:\apex_1.0.0-rc2_windows_386
close all command prompts windows
open a new cmd window
now 'apex init' or 'apex deploy' etc should run as intended

webstorm IDE: program path not specified when running JS script how can I fix this?

I'm trying to run my JavaScript script, however the message keeps on giving me an error saying:
Configuration is still incorrect. Do you want to edit it again?
Is there a way to fix this?
I had a similar error and it was because I did not specify my path to where I installed node.js. In webstorm, go to File -> Settings -> Language&Frameworks -> Node.js and NPM and in the Node interpreter text box, point it to the path of where node.js was installed. For me it was at C:\Program Files (x86)\nodejs.
If you didn't install node.js and npm, you need to do so.
If you are trying to debug js code and you are using a chrome browser, you need to install their extension and use "Inspect in WebStorm" action.
Found the above behavior occurs with the WebStorm project folder within the OneDrive path (Windows 10). As shown in the image of the run configuration, WebStorm shows and error for location of the path to the JavaScript file even though it is correct. Click Run > Continue from here and it executes with node.js as expected. Move the project to a folder outside of the OneDrive path and the error is gone.
Image: Webstorm Run Configuration Error in OneDrive

Cannot install VisualSVN Server - error creating temporary file - Win 7

I'm on Windows 7 64 bit. Every time I try to install the latest version of VisualSVN Server (3.3.1) I get an error saying it could not create any temporary files.
I really can't figure out what's causing this error. I am installing as an administrator.
Here is a link to the installation logs.
Any help would be appreciated!
The full error is:
MSI (s) (F8!A8) [13:29:08:907]: Product: VisualSVN Server 3.3.1 -- Error 25000. Custom action InstallWMISchemaExecute failed: Error creating temporary file (0x8004402F)
The 0x8004402F is Windows Management Instrumentation (WMI) specific error code:
https://msdn.microsoft.com/en-us/library/aa394559
So you have some issues with WMI on your computer. Suggested actions to troubleshoot this issue:
run sfc /scannow command
remove all files in C:\Windows\Temp directory
remove all files in %TEMP% directory
check that LOCAL SYSTEM account has full access to 'C:\Windows\Temp\ directory