Hi. I have an app in appspot using the Course Builder. App worked fine 
until a few days ago where when I try to add a new Unit I get: 500 Internal 
Server Error  The server has either erred or is incapable of performing the 
requested operation.

I checked the log files and saw that the error that repeats is 

AttributeError: 'NoneType' object has no attribute 'lesson_id'get (
/base/data/home/apps/e~sev-exports/20170426t200457.400835856987044385/controllers/lessons.py:139
 
<https://console.cloud.google.com/debug/fromlog?appModule=default&appVersion=20170427t113542&file=%2Fbase%2Fdata%2Fhome%2Fapps%2Fe~sev-exports%2F20170426t200457.400835856987044385%2Fcontrollers%2Flessons.py&line=139&project=sev-exports>
)

RAW shows:

Traceback (most recent call last):
  File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py",
 line 1535, in __call__
    rv = self.handle_exception(request, response, e)
  File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py",
 line 1529, in __call__
    rv = self.router.dispatch(request, response)
  File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py",
 line 1278, in default_dispatcher
    return route.handler_adapter(request, response)
  File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py",
 line 1102, in __call__
    return handler.dispatch()
  File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py",
 line 572, in dispatch
    return self.handle_exception(e, self.app.debug)
  File 
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py",
 line 570, in dispatch
    return method(*args, **kwargs)
  File 
"/base/data/home/apps/e~sev-exports/20170426t200457.400835856987044385/controllers/sites.py",
 line 868, in get
    handler.get()
  File 
"/base/data/home/apps/e~sev-exports/20170426t200457.400835856987044385/controllers/lessons.py",
 line 139, in get
    self.template_value['lesson_id'] = lesson.lesson_id
AttributeError: 'NoneType' object has no attribute 'lesson_id'



Any ideas/solutions?


Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b5fccf2a-1c04-45ac-a195-dcb2a10d2081%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine] Co... christos vassilopoulos

Reply via email to