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.
Related
I am building a kiosk application using webkitgtk on the raspberry pi 4.
This application will not be connected to the internet and all the html,css, javascript for the UI are all located on the local filesystem.
I am using buildroot to setup the Linux system, starting with the pi 4 defconfig provided in buildroot.
I have enabled all the packages needed to get webkitgtk running.
Also, the kiosk application has been tested on my desktop, using the same software stack and it works
However, when i try to launch the application on the raspberry pi, a blank page pops up. I have played around with the WebKitWebSettings object associated with my WebKitWebView by enabling local file access. It still shows up a blank screen.
Also included in my pi4 application bundle is a simple gtk3+ application. This launches successfully!
I will really appreciate some pointers as to why this is happening as i have sort of reached a dead end
UPDATE
I enabled the MiniBrowser app that comes with the Webkitgtk package.
Entering the local url, The page does not load. It only gives me a message at the top saying "Successfully downloaded".
It seems to be treating my input as a download
UPDATE 2
After some more experimenting, i was finally able to get webkitgtk working on the pi 4.
The problem seems to originate from using the webkit_web_view_load_uri() api.
It does not seem to recognize my html document as a web page.
I got around it using the webkit_web_view_load_html() call. This included some hacks by first reading in the contents of the html doc into a character buffer, and passing it to webkit_web_view_load_html().
You also have to provide a base path to this function call to be able to resolve all the urls (scripts, css, images etc) in your html document.
Another problem i haven't been able to work around is, SVG images are not loading in webkitgtk. I have used jpg formats and they work. I suspect this my be due to a configuration switch in building webkigtk
It's hard for me to figure out what might be happening without having access to your environment and settings. My gut feeling is that pages are showing blank because perhaps some shared libraries are missing. You can check that with:
$ ldd WebKitBuild/GTK/Release/bin/MiniBrowser
I am using buildroot to setup the Linux system, starting with the pi 4 defconfig provided in buildroot.
There's a buildroot repository for building WPE for RPi. WPE (WebPlatform for Embeded) is like WebKitGTK but doesn't depend on GTK toolkit. Another important difference is that WPE runs natively on Wayland.
If you're interested in having a webapp embedded in a browser running in a device with limited capabilities, WPE is a better choice than WebKitGTK. The buildroot repo for building WPE for RPi is here:
https://github.com/WebPlatformForEmbedded/buildroot
There's is also this very interesting step-by-step guide on how to build WPE for RPi3:
https://samdecrock.medium.com/building-wpe-webkit-for-raspberry-pi-3-cdbd7b5cb362
I'm not sure whether the buildroot recipe would work for RPi4. It seems to work for all previous versions, so you might be stepping in new land if you try to build WPE on RPi4.
If you have an RPi3 available I'd try to build WPE for RPi3 first, and make sure that works. Then try for RPi4.
I wrote a UWP-App and after generating and installing the .appxbundle, every time I start the App I get a net_http_client_execution_error. The App is starting and running fine, when started in Visual Studio 2015. So there is no chance for me to get the problem, if I debug the app.
Update:
By default Windows restricts apps to reach the localhost (127.0.0.1). I have running a couch database there. This couch database should run there for our costumers as well.
Is it possible to allow a App to reach the localhost (enable local network loopback)?
For a line of business app use the checknetisolation.exe tool to grant the app a loopback exception.
To enable loopback use this command:
c:\>checknetisolation loopbackexempt -a -n=<package family name>
To disable loopback use this command:
c:\>checknetisolation loopbackexempt -d -n=<package family name>
The package family name for a UWP app can be found in several places: Visual Studio shows it in Package.appxmanifest editor on the packaging tab, PowerShell's get-appxpackage cmdlet displays it, etc. It will look something like "MyPackage_edj12ye0wwgwa"
In some cases loopback exemption will work for some time and then stop working. In this case you might need to run the following command to clean/remove all exemptions and then add them back one by one to get back in a good state. (from Pawel Sledzikowski's comment)
c:\>checknetisolation loopbackexempt -c
There is a whitepaper with more details at https://msdn.microsoft.com/en-us/library/windows/apps/dn640582.aspx
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
I am following the instructions on https://cloud.google.com/tools/android-studio/vcs. I push my code apparently successfully. But when I try to go see my code in the browser I cannot find
In the left navigation bar, select Source Code > Browse
Try Tools->Development->Source Code
As for as my knowledge goes, you could not see your uploaded source code in GAE console. I really appreciate that too, since as a owner you shall have the source code in your own development.
The reason might be more than that. However, GAE is providing option for downloading the source code from the GAE console.
Goto https://console.cloud.google.com/ Open Menu -> Tools -> Development
Use "Clone your Cloud Repository to a local Git repository" tab for downloading the code.
As a point of note, you could also disable the option of downloading the source code from the GAE. This is a better safer option, if you have good protection of your source code in your machine or somewhere.
I installed a launcher (syndicateapps ICS 4.0) on my rooted Kindle Fire; like an idiot I ticked 'Set to Default' only to get "The application ICS 4.0 Launcher (process android.process.acore) has stopped unexpectedly".
Force close just loops round to the same screen.
I can access my KF with adb but haven't able to find the file I need to edit which will remove the default.
Advice appreciated.
I had the same issue... here is a solution using a windows machine.
Refer to this link and the back links in the video description to setup the Kindle Fire Utility.
Once installed -- if not already, open kindle Fire Utility folder, you should see a file called 'run' inside. Double click on that file, you should see a command prompt window display.
Type in '7' for going into the 'Extras' options.
From there type in '2' which "Installs Google Apps / Go Launcher.
Once all the packages are installed you will gain access to your home screen to remove the launcher you have and use your fire again.