Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8822499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:07:16+00:00 2026-06-14T06:07:16+00:00

I get an error in my python app on GAE (in my localhost) saying:

  • 0

I get an error in my python app on GAE (in my localhost) saying:

variable xyz in line 23 expects string.... bool given — SUPPOSE

Now, to fix that error i remove the entire line 23 and, thus, there is no variable called xyz in my script anymore. (I used ctrl+F to find xyz and i ensured there is no xyz in my script).

Then i hit refresh on the browser and even then i get the exactly same error again.

variable xyz in line 23 expects string.... bool given — meaning the code changes from my editor have not taken any effect in the GAE runtime, i suppose.

I refreshed the page several times… I gave the chrome browser some time… I refreshed the page again… no luck. Then I noticed that the code changes took effect ONLY WHEN I stopped and re-ran the python app from the GAE launcher.

Now, having to do this every time i updated the code is a pain. How do i fix this literal chaos? GAE just got updated on my Mac OS X 10.7.5 a few days ago.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T06:07:17+00:00Added an answer on June 14, 2026 at 6:07 am

    If you’re seeing this with 1.7.3 and not with 1.7.2, you’re likely running into http://code.google.com/p/googleappengine/issues/detail?id=8383

    The proposed solution (although not a fix, i guess) as given in the link above is to edit the file at $(GAE_SDK_ROOT)/google/appengine/tools/dev_appserver.py. Open the file and find the procedure definition of def AreModuleFilesModified(self). Then inside that procedure definition, place this line self._dirty = True as the FIRST line after the docstring and BEFORE the for-loop begins.

    Note that there are 2 dev_appserver.py files in GAE

    1. $(GAE_SDK_ROOT)/dev_appserver.py
    2. $(GAE_SDK_ROOT)/google/appengine/tools/dev_appserver.py

    We want to edit the file no. 2 and not the file no. 1

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to Python. I get an error that says undefined Variable. I
When building an app that is using sqlalchemy I get this error: creating python
I get a syntax error in Python 2.7.3 like so: [s += 'Orig' for
Does python support random json serialization? I get this error: Traceback (most recent call
When I type import sqlite3 in Python 2.5 interpreter (C:\Python25\Python), I get following error:
I tried running a python script: print Hello, World! And I get this error:
Why do I get a syntax error from print "Hello World" in Python 3.2?
I cannot compile python in pydev in eclipse. I get the following error: unable
When running a Python program that reads from stdin, I get the following error:
I recently upgraded my GAE Python app to Python 2.7. Since then, I periodically

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.