I have been using GAE for about 2 months now, and so far, the journey has been quite smooth for me. Until today. Today, while the launcher was still on(along with other applications and programs), I had to shut down my PC without closing the existing running programs for some reason. When I restarted my PC, I couldn't launch my GAE application. When I try to force close it, it says that "GoogleAppEngineLauncher.exe is not responding". This is what opens up when I double click on the launcher icon:
When I maximize the window for the launcher:
Is this because my GAE application is now corrupted after I shut down the PC without closing it? Or is it something else? How can I resolve this problem?
Finally I found out what the problem was. Well, today I had installed two new softwares: Youtube Accelerator and CamStudio. Ever since then, my GAE wasn't starting. So I just uninstalled those two softwares, and now GAE is working again without any hassles! Don't really know why those softwares were causing this problem, but I am more than happy that I have the power of GAE back again!
Related
so I am currently trying to automate a windows programm using pywinauto. Unfortunately, the programm is limited to this coorporate (meaning that I cannnot disclose its name or any code that I am writing). My problem, though, is very simple. The programm invovles a communication with a server and getting data from it. When I run the .exe normally the application behaves normally without any errors or problems. Meanwhile, when I try to use pywinauto the moment I try to get any data from the sever I have connection issues and I get no data from the server. As I have little to no information about the inner programming of the application, my question is whether there is any way for a .exe to know it is being run from pywinauto. The app itself looks old (maybe first run for WinXP and barely updated). I have yet to try change my backend when I am trying to automate and also I should try to run it on Python 32-bit insted of Python 64-bit as the app is a 32-bit app. Any info or advice would be avaliable.
For “win32” backend 32-bit Python may really help. For “uia” backend it doesn’t matter usually. Other thing could be some lazy initialization that you can’t skip manually because manual action is slower. You can try app.wait_cpu_usage_lower() for such case. For DB-connected apps this is pretty normal situation.
I'm new to Python, Wing IDE and Google cloud apps.
I've been trying to get Wing IDE to stop at a breakpoint on the local (Windows 7) Google App Engine. I'm using the canned guestbook demo app and it launches fine and responds as expected in the web browser.
However breakpoints are not working. I'm not sure if this is important but I see the following status message when first starting the debugger:
Debugger: Debug process running; pid=xxxx; Not listening (too many connections) ...
My run arguments are as per the recommendation in the Wing IDE help file section "Using Wing IDE with Google App Engine", namely:
C:\x\guestbook --max_module_instances=1 --threadsafe_override=false
One problem I found when trying to follow these instructions. The instructions say go into Project Properties and the Debug/Execute tab and set the Debug Child Processes to Always Debug Child Process. I found this option doesn't exist.
Note also that in the guestbook app, if I press the pause button, the code breaks, usually in the python threading.py file in the wait method (which makes sense).
Further note also that if I create a generic console app in Wing IDE, breakpoints work fine.
I'm running 5.1.9-1 of Wing IDE Personal.
I've included the Google appengine directory and the guestbook directories in the python path.
Perhaps unrelated but I also find that sys.stdout.write strings are not appearing in the Debug I/O window.
I have copied the wingdbstub.py file (from debugger packages of Wing ide) to the folder I am currently running my project on and used 'import wingdbstub' & initiated the debug process. All went well, I can now debug modules.
As often happens with these things, writing this question gave me a couple of ideas to try. I was using the Personal edition ... so I downloaded the professional edition ... and it all worked fine.
Looks like I'm paying $95 instead of $45 when the 30 day trial runs out.
I have several django projects and they work well on my desktop. But when I run them on my laptop, they run ok for sometime. Then on a random occasion, opening a page won't work. The browser keeps trying to load the page (title tab keeps spinning, URL changes to the page its trying to open, and the page turns blank), while the development server (django on windows shell) says it has successfully served the page (200 status).
This behavior is consistent among Firefox, IE and Chrome. I tried changing ports, using machine IP instead of localhost, loading static files on external server, but nothing works. I tried opening the site (using laptop computer name) from desktop browsers and behaves the same. Another interesting thing is, even if I shutdown and restart the django server, I wont be able to open the page that have failed previously unless I close the loading page.
My laptop is running a basic Windows 8, while desktop is Windows 8 Pro. I think the windows version has something to do with it.
Does anyone know how to solve this? I hope I made myself clear. Thanks.
It is hard to tell whether the issue is related to Windows specifically, rather than compatibility issues with images/CSS/Javascript/plugins such as Flash. Are you running the latest versions of those browsers (or at least the same versions as on your desktop)? Do you have different security software/firewalls? Do other sites load inconsistently? Seems unlikely to be a Django issue (although you can try loading sites like djangoproject.com).
Thanks people for your comments and answer. I uninstalled from the laptop each application that is not present in the desktop and found which one is causing the problem. This app called NetWorx has a network filtering that I enabled and for some reason its blocking the django response. I disabled network filtering which is good enough for my need.
I'm having a problem with the Google App Engine Launcher (the GUI thingy).
I have it installed on two PCs. Both PCs have Python. On both, the launcher ran (the first time) successfully after the installation. On both, at first it failed to deploy an app I was feeding to it, apparently due to being unable to detect Python.
On my home PC, I opened preferences and manually set the path to Python. After that, the app was deployed, and the launcher has been working fine since then, never failing to start. On my work PC, I missed the opportunity to set the Python path, and the launcher fails to start. The log tells me: ConfigParser.NoOptionError: No option 'name' in section: '0'. I suspect this could be due to the missing Python variable.
Unfortunately there doesn't appear to be any kind of config file that contains this setting for GAE. Searching the Windows registry has turned up nothing useful either. I've tried searching the site for problems with the launcher, or how to set the Python path without using GUI, but only found information on problems with apps, not the launcher itself.
A quick google suggests:
try to find and delete file google_appengine_projects.ini
here
or
in Google folder , you have google_appengine_projects.ini file.
Delete it's [0] section.
Or just uninstall and reinstall the launcher.
If still nothing, download an IDE instead - I use pycharm. It's not free (there are free ones out there) but it does manage the launcher for you.
I'm having this weird problem where when I run an app on GAE locally on Windows 7. Everything works fine except when I update the code; It works well the first 10 minutes and then it doesn't update when I edit the code. I have to close the server and open it again.
It's not a cache problem, because even if I try it in a different browser the content still doesn't change.
I tried reinstalling python and appengine and it worked fine for 2 days, but then problem came back again. I would appreciate any help.
Thanks!
Since your issue is limited to Python files, it sounds like a bug that was brought up in the discussion forum and issue tracker.
The suggested workaround in the forum is to remove the .pyc files corresponding the .py file you are editing, restart the local server, and continue. Obviously this is sub-optimal, so I would suggest 'starring' the bug in the issue tracker to keep track of updates.