We are having trouble deploying our Google Appengine application. We get the following error message
from the indicated deployment command at the Unix shell prompt.
/home/leffstudent/appengine/bin/appcfg.sh update ~/u3/web/war -p proxy.wiu.edu:8080
The following URL can be used to authenticate:
https://accounts.google.com/o/oauth2/auth?access_type=offline&approval_prompt=force&client_id=550516889912.apps.googleusercontent.com&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&scope=https://www.googleapis.com/auth/appengine.admin%20https://www.googleapis.com/auth/cloud-platform
Attempting to open it in your browser now.
Unable to open browser. Please open the URL above and copy the resulting code.
Please enter code:
There is no browser on this computer, a Linux virtual machine, used as the programming opportunity for the School of
Computer Sciences. We simply use putty to log in.
I cut and pasted the address and entered into Chrome into the computer that has run putty. I get the code in that browser. I cut that and tried to paste it back
into the browser. NO luck.
I get
"java.net.ConnectException: Connection refused"
(This has been difficult because this Putty does not seem to have menu items for cut and paste.)
I tried about seven times. Several times, I also tried simply typing the code in carefully. No luck.
The graduate student on the project also tried themselves--no luck!
Thanks for any insight. In particular, it seems I should I ask the system administrator who set up the disk slice with our School of Computer Sciences'
server for a "browser." What should I specifically ask for? I did not see any documentation of what the google appcfg.sh program is doing when it tries to "open it in your browser now."
We have a project on which five people have worked over several year time frame that is dead in the water because we can no longer
deploy.
I'm not sure why the code isn't working - it should. As a work-around why not:
push the code to a git repo (e.g. bitbucket)
pull it to a machine that does have a browser
Set up the browser-machine to run GCloud under the account you're hoping to authenticate with
Deploy from there
Related
I'm conducting a study and I need to store some data. I found an open source data scraper and parser online: https://github.com/hicsail/materials
I've followed some instructions (some of which but not all came from here) and
installed Postgres, created a docker-compose.yml file, and created a config file:
Above is the config file, and this is the .yml file
I started by going into the pgAdmin folder and running "docker-compose up", after which, this was the result:
I'm not sure if the "no privileges flag" means anything. Anyway, after this, I opened up a localhost:5050 in my browser and logged into pgAdmin.
I named the database "materials" as this was what it was supposed to be named.
Same thing with the username and password; both were named "root". However, when I run the command to parse the data, I'm getting this error:
I've been stuck on this for a long time now, and I can't seem to find any solution. This is running in a python2.7 conda environment, as per the requirements. These were the other installed libraries (I'm not 100% sure those were the exact versions, but I tried to get them as close as possible).
psycopg2==2.7.3.1
requests>=2.20.0
SQLAlchemy==1.0.9
wheel==0.24.0
If I need to clarify anything please let me know.
Thanks.
I found an answer for this. I had to go into services, then to postgres, and stop it from running. I then had to kill the port "5432" and run it again.
I have installed PostgreSQL v9.6 on Windows 7 using my user (PC-Admin), the problem is when I start Pgadmin4.exe the application shows that it is starting then freeze without showing the GUI , taking the following notes into consideration:
it is working fine for other users on the PC even if not in admin group.
I tried to uninstall it , delete registry folders for local machine & local user and also delete the temp folder and Apps roaming , also the folder of the program in c:/ drive and then re-install it again and problem has not been solved.
I believe that something went wrong during first time installation for my user
but I could not figure it out.
Please help me, what to do in order to clear my installation profile and then having the GUI launched after short while from starting the Pgadmin4.exe
Regards
Solved and GUI started ! just by disconnecting PC from internet before opening the application.
pgAdmin4 hosts desktop application on 127.0.0.1:(Random_Port) when started, So if you have proxy setup then upgrade to pgAdmin4 version1.6, It has resolved the this proxy related issue. (Link)
I followed these instructions to install Google CourseBuilder. Used Ubuntu via vagrant on a vm. I want to access my course site on my host windows pc since my ubuntu does not have a GUI. To do this it recommended I use the --noauth flag.
It asks for a verification code - where do I get this? See command I ran below:
Notice it says:
Go to the following link in your browser:
https://accounts.google.com....
You have to open that link in your browser(by copying and pasting or by clicking). This will present the Google Account Chooser dialog where you select the Google Account you want to deploy the course builder app with... At the end of the flow you'll be presented with a code which you then copy and paste back in your shell and Enter.
I also experienced some trouble with installation. For anyone having trouble installing Course Builder from any operating system (Windows, Linux, Mac, etc.), I made a guide and video which details how to do so:
https://www.youtube.com/watch?v=zfNQle_ZxLc
The full text guide is in the YouTube video's description.
Hopefully someone here can help me out.
Currently I have a small AngularJS app. I want to put this on an USB drive and make it very easy to run. The idea is someone can just plug in the drive click a file and run the app. I've been thinking about using node for this and then make a little script that would start the server and app. So people can click the script and the app runs. The problem is however (afaik) you need to have node installed on the computer which can't be done.
The client hasn't got his webserver running and still want to run the app. So please don't tell me why would you make an angular app and wanna run it without webserver.
Hopefully anyone has any solution or idea to make this work.
So in short:
AngularJS Application on USB
Plug in the USB, click a file and run the app in the browser.
Thanks for reading and thinking with me.
Have you considered running a standard web server on the USB Stick?
I see that you have suggested Node, but another alternative could be to use XAMPP?
XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to use.
I am new to this, and I hope someone can help me with the supposedly simple task of downloading an update of Drupal. A few months ago I finally created a website at Unoeuro and with Drupal. I even got around to chose themes and put content in.
My system: Windows 7, Webserver Apache, host: Unoeuro, run Drupal 7.32 just fine, besides the warning message on most of the pages on my site's Admin.
Problem: A little while ago Drupal started saying "There is a security update available for your version of Drupal. To ensure the security of your server, you should update immediately! See the available updates page for more information and to install your missing updates."
When I follow the link, it says: "Manual updates required" and "Updates of Drupal core are not supported at this time."
Do you think THAT is the reason, why I can't make it work?
However, since there is a link to the latest update, Drupal 7.34. and it is coloured red and looks like I need it.
When I follow the Update link, I'm told to download it through one of three methods- https://www.drupal.org/project/drupal After checking my Systemrequirements through NetCraft.com, reading the Installation Guide, and downloading and extracting the 7.34 zip-file with Zipwizzard, my command prompt doesn't know, what I'm talking about.
I've tried alsmost every combination of methods, both the Drush and Command Prompt, and different zip-files and tar-files and extracting in every command prompt.
Problem: It seems like none of them are not connected to a 'prober Drupal environment', as they say.
I've tried changing the PATH to the drupal-7.34 folder, where the environment should be (I suppose, because I just downloaded it). But the command prompt still says '... is not recognized as an internal or external command, operable program or batch file' or that the command is not made in a 'prober Drupal Environment'.
I don't know what I'm doing wrong and I hope someone can give me a hint about it.
Bro you need to be in the correct folder to use drush to update your site. If you are running a non-multi site instance move to [drupal_root]/sites/all and run the command "drush up", press y a few times and enjoy. SO thats:
ssh selsen#selsonssite.com
cd [drupal_root]/sites/all
drush up -y
PS using -y on drush up means you don't have to press y multiple times.
You can also contact me # josh#hamrent.com for more Drupal support.