Hi Christos,


Google Groups is meant for general product discussions and not for 
technical support.

It is recommended you open an issue at the Issue Tracker 
<https://cloud.google.com/support/docs/issue-trackers> report with more 
information such as your project-ID, app.yaml/appengine-web.xml config 
files, and the exact timestamp of when this issue occurred so that our 
support can better assist you, thanks!


- Jun


On Thursday, May 4, 2017 at 4:48:14 AM UTC-4, christos vassilopoulos wrote:
>
> 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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/5df2a0d1-ab4e-445e-833c-c10779508ec1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine] Co... christos vassilopoulos
    • [google-appengin... 'Jun (Cloud Platform Support)' via Google App Engine

Reply via email to