Apple Updates Catalog error in Simian GUI

71 views
Skip to first unread message

Hesan Yousif

unread,
Jan 19, 2017, 12:02:00 PM1/19/17
to Simian Discuss
Hi guys,

Weird error occurs after trying to go into Apple Updates Catalog Admin:

Traceback (most recent call last):
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 267, in Handle
    result = handler(dict(self._environ), self._StartResponse)
  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 570, in dispatch
    return method(*args, **kwargs)
  File "/base/data/home/apps/e~ci-simian-155416/c97bde76aac2.398560616884113107/simian/mac/admin/applesus.py", line 180, in get
    self._DisplayMain()
  File "/base/data/home/apps/e~ci-simian-155416/c97bde76aac2.398560616884113107/simian/mac/admin/applesus.py", line 196, in _DisplayMain
    p.stable_promote_date = applesus.GetAutoPromoteDate(common.STABLE, p)
  File "/base/data/home/apps/e~ci-simian-155416/c97bde76aac2.398560616884113107/simian/mac/common/applesus.py", line 350, in GetAutoPromoteDate
    previous_track_date = GetAutoPromoteDate('testing', applesus_product)
  File "/base/data/home/apps/e~ci-simian-155416/c97bde76aac2.398560616884113107/simian/mac/common/applesus.py", line 330, in GetAutoPromoteDate
    days = settings.APPLE_UNSTABLE_GRACE_PERIOD_DAYS
  File "/base/data/home/apps/e~ci-simian-155416/c97bde76aac2.398560616884113107/simian/settings.py", line 372, in __getattr__
    return self._Get(str(k).lower())
  File "/base/data/home/apps/e~ci-simian-155416/c97bde76aac2.398560616884113107/simian/settings.py", line 800, in _Get
    item, unused_mtime = self._module.models.Settings.GetItem(k)
  File "/base/data/home/apps/e~ci-simian-155416/c97bde76aac2.398560616884113107/simian/mac/models/settings.py", line 282, in GetItem
    value, mtime = cls.GetSerializedItem(name)
  File "/base/data/home/apps/e~ci-simian-155416/c97bde76aac2.398560616884113107/simian/mac/models/base.py", line 685, in GetSerializedItem
    entity = cls.MemcacheWrappedGet(key)
  File "/base/data/home/apps/e~ci-simian-155416/c97bde76aac2.398560616884113107/simian/mac/models/base.py", line 106, in MemcacheWrappedGet
    cached = memcache.get(memcache_key)
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/memcache/__init__.py", line 560, in get
    results = rpc.get_result()
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 613, in get_result
    return self.__get_result_hook(self)
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/memcache/__init__.py", line 620, in __get_hook
    rpc.check_success()
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 577, in check_success
    self.wait()
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 556, in wait
    assert self.__rpc.state == apiproxy_rpc.RPC.FINISHING, repr(self.state)
DeadlineExceededError: The overall deadline for responding to the HTTP request was exceeded.


Anyone seen this before?

Hesan

Maxim Ermilov

unread,
Jan 19, 2017, 12:51:20 PM1/19/17
to simian-...@googlegroups.com
Hi,

> Weird error occurs after trying to go into

How often does it happen?
Which instance type are you using?

_____
Maxim

--
You received this message because you are subscribed to the Google Groups "Simian Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hesan D Yousif

unread,
Jan 19, 2017, 3:18:49 PM1/19/17
to simian-...@googlegroups.com
Hi Maxim,

Fresh installation. First time of trying to access it. Failed initially as it complained no admin was under the ACL groups.

Still timing out.

Instance type? Google app engine python.

Hesan

To unsubscribe from this group and stop receiving emails from it, send an email to simian-discus...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Simian Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discus...@googlegroups.com.

Maxim Ermilov

unread,
Jan 19, 2017, 4:25:45 PM1/19/17
to simian-...@googlegroups.com
> Still timing out.

change: "instance_class: F1" to "instance_class: F4" in app.yaml

It's should solve timeout issue, but will increase cost.

_____
Maxim

On Thu, Jan 19, 2017 at 3:18 PM, Hesan D Yousif <hesan....@gmail.com> wrote:
Hi Maxim,

Fresh installation. First time of trying to access it. Failed initially as it complained no admin was under the ACL groups.

Still timing out.

Instance type? Google app engine python.

Hesan
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discuss+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Simian Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discuss+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Simian Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discuss+unsubscribe@googlegroups.com.

Hesan D Yousif

unread,
Jan 19, 2017, 6:14:51 PM1/19/17
to simian-...@googlegroups.com
Does the app have to be re-pushed and the existing instance killed?

Why is this happening?

H


On Thu, 19 Jan 2017 at 21:25, 'Maxim Ermilov' via Simian Discuss <simian-...@googlegroups.com> wrote:
> Still timing out.

change: "instance_class: F1" to "instance_class: F4" in app.yaml

It's should solve timeout issue, but will increase cost.

_____
Maxim
On Thu, Jan 19, 2017 at 3:18 PM, Hesan D Yousif <hesan....@gmail.com> wrote:
Hi Maxim,

Fresh installation. First time of trying to access it. Failed initially as it complained no admin was under the ACL groups.

Still timing out.

Instance type? Google app engine python.

Hesan
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discus...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Simian Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discus...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Simian Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discus...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Simian Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discus...@googlegroups.com.

Hesan D Yousif

unread,
Jan 20, 2017, 11:42:18 AM1/20/17
to Simian Discuss
Hi Maxim,

This change was applied and the following error is noted:


Traceback (most recent call last):
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 267, in Handle
    result = handler(dict(self._environ), self._StartResponse)
  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 570, in dispatch
    return method(*args, **kwargs)
  File "/base/data/home/apps/e~ci-simian-155416/c97bde76aac2.398607938156929539/simian/mac/admin/applesus.py", line 180, in get
    self._DisplayMain()
  File "/base/data/home/apps/e~ci-simian-155416/c97bde76aac2.398607938156929539/simian/mac/admin/applesus.py", line 196, in _DisplayMain
    p.stable_promote_date = applesus.GetAutoPromoteDate(common.STABLE, p)
  File "/base/data/home/apps/e~ci-simian-155416/c97bde76aac2.398607938156929539/simian/mac/common/applesus.py", line 355, in GetAutoPromoteDate
    weekday=settings.APPLE_AUTO_PROMOTE_STABLE_WEEKDAY,
  File "/base/data/home/apps/e~ci-simian-155416/c97bde76aac2.398607938156929539/simian/settings.py", line 372, in __getattr__
    return self._Get(str(k).lower())
  File "/base/data/home/apps/e~ci-simian-155416/c97bde76aac2.398607938156929539/simian/settings.py", line 800, in _Get
    item, unused_mtime = self._module.models.Settings.GetItem(k)
  File "/base/data/home/apps/e~ci-simian-155416/c97bde76aac2.398607938156929539/simian/mac/models/settings.py", line 282, in GetItem
    value, mtime = cls.GetSerializedItem(name)
  File "/base/data/home/apps/e~ci-simian-155416/c97bde76aac2.398607938156929539/simian/mac/models/base.py", line 685, in GetSerializedItem
    entity = cls.MemcacheWrappedGet(key)
  File "/base/data/home/apps/e~ci-simian-155416/c97bde76aac2.398607938156929539/simian/mac/models/base.py", line 106, in MemcacheWrappedGet
    cached = memcache.get(memcache_key)
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/memcache/__init__.py", line 560, in get
    results = rpc.get_result()
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 613, in get_result
    return self.__get_result_hook(self)
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/memcache/__init__.py", line 620, in __get_hook
    rpc.check_success()
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 577, in check_success
    self.wait()
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 556, in wait
    assert self.__rpc.state == apiproxy_rpc.RPC.FINISHING, repr(self.state)
  File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_rpc.py", line 140, in state
    @property
DeadlineExceededError: The overall deadline for responding to the HTTP request was exceeded.

On 19 January 2017 at 23:14, Hesan D Yousif <hesan....@gmail.com> wrote:
Does the app have to be re-pushed and the existing instance killed?

Why is this happening?

H
On Thu, 19 Jan 2017 at 21:25, 'Maxim Ermilov' via Simian Discuss <simian-discuss@googlegroups.com> wrote:
> Still timing out.

change: "instance_class: F1" to "instance_class: F4" in app.yaml

It's should solve timeout issue, but will increase cost.

_____
Maxim
On Thu, Jan 19, 2017 at 3:18 PM, Hesan D Yousif <hesan....@gmail.com> wrote:
Hi Maxim,

Fresh installation. First time of trying to access it. Failed initially as it complained no admin was under the ACL groups.

Still timing out.

Instance type? Google app engine python.

Hesan
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discuss+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Simian Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discuss+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Simian Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discuss+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Simian Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discuss+unsubscribe@googlegroups.com.

Hesan D Yousif

unread,
Jan 23, 2017, 10:49:25 AM1/23/17
to Simian Discuss
Hi Maxim,

Amending app.yaml to F4 saves on exit, but once 'make release' is completed to upload the app to appengine, the file reverts back to F1 instance and I cannot confirm whether the change has made it to google apps.

Is this to be amended online or locally?

Hesan

Maxim Ermilov

unread,
Jan 23, 2017, 11:17:46 AM1/23/17
to simian-...@googlegroups.com
Hi,

Issue should be fixed in 97bde7 .

_____
Maxim

Maxim Ermilov

unread,
Jan 23, 2017, 11:19:08 AM1/23/17
to simian-...@googlegroups.com

Hesan D Yousif

unread,
Jan 23, 2017, 11:23:29 AM1/23/17
to Simian Discuss
Just did a git pull and updated and now releasing to google to see if the commit has made a difference.

Hesan

Hesan D Yousif

unread,
Jan 23, 2017, 11:31:32 AM1/23/17
to Simian Discuss
Maxim,

Same error:

16:26:54.204 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 267, in Handle result = handler(dict(self._environ), self._StartResponse) 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 570, in dispatch return method(*args, **kwargs) File "/base/data/home/apps/e~ci-simian-155416/ce05164fcb4b.398677287169591700/simian/mac/admin/applesus.py", line 180, in get self._DisplayMain() File "/base/data/home/apps/e~ci-simian-155416/ce05164fcb4b.398677287169591700/simian/mac/admin/applesus.py", line 232, in _DisplayMain self.Render('applesus_list.html', data) File "/base/data/home/apps/e~ci-simian-155416/ce05164fcb4b.398677287169591700/simian/mac/admin/__init__.py", line 264, in Render html = template.render(path, values) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/webapp/template.py", line 94, in render return t.render(Context(template_dict)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/webapp/template.py", line 174, in wrap_render return orig_render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 173, in render return self._render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 167, in _render return self.nodelist.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 794, in render bits.append(self.render_node(node, context)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 807, in render_node return node.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/loader_tags.py", line 125, in render return compiled_parent._render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 167, in _render return self.nodelist.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 794, in render bits.append(self.render_node(node, context)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 807, in render_node return node.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/loader_tags.py", line 62, in render result = block.nodelist.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 794, in render bits.append(self.render_node(node, context)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 807, in render_node return node.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/loader_tags.py", line 62, in render result = block.nodelist.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 794, in render bits.append(self.render_node(node, context)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 807, in render_node return node.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/defaulttags.py", line 173, in render nodelist.append(node.render(context)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/defaulttags.py", line 173, in render nodelist.append(node.render(context)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/defaulttags.py", line 257, in render return self.nodelist_true.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 794, in render bits.append(self.render_node(node, context)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 807, in render_node return node.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 842, in render output = self.filter_expression.resolve(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 577, in resolve new_obj = func(obj, *arg_vals) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/defaultfilters.py", line 679, in date return formats.date_format(value, arg) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/utils/formats.py", line 84, in date_format return dateformat.format(value, get_format(format or 'DATE_FORMAT')) DeadlineExceededError: The overall deadline for responding to the HTTP request was exceeded.

Hesan

On 23 January 2017 at 16:23, Hesan D Yousif <hesan....@gmail.com> wrote:
Just did a git pull and updated and now releasing to google to see if the commit has made a difference.

Hesan

Maxim Ermilov

unread,
Jan 23, 2017, 11:40:56 AM1/23/17
to simian-...@googlegroups.com
Same error:

Did you switched default version in cloud console ?

if yes, can you try removing 10.9 from src/simian/mac/common/applesus.py ?

Thanks,
Maxim

Hesan D Yousif

unread,
Jan 23, 2017, 11:51:55 AM1/23/17
to Simian Discuss
Hi Maxim,

Error after updating:

16:49:14.950 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 267, in Handle result = handler(dict(self._environ), self._StartResponse) 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 570, in dispatch return method(*args, **kwargs) File "/base/data/home/apps/e~ci-simian-155416/ce05164fcb4b.398677667002338464/simian/mac/admin/applesus.py", line 180, in get self._DisplayMain() File "/base/data/home/apps/e~ci-simian-155416/ce05164fcb4b.398677667002338464/simian/mac/admin/applesus.py", line 232, in _DisplayMain self.Render('applesus_list.html', data) File "/base/data/home/apps/e~ci-simian-155416/ce05164fcb4b.398677667002338464/simian/mac/admin/__init__.py", line 264, in Render html = template.render(path, values) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/webapp/template.py", line 94, in render return t.render(Context(template_dict)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/webapp/template.py", line 174, in wrap_render return orig_render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 173, in render return self._render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 167, in _render return self.nodelist.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 794, in render bits.append(self.render_node(node, context)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 807, in render_node return node.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/loader_tags.py", line 125, in render return compiled_parent._render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 167, in _render return self.nodelist.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 794, in render bits.append(self.render_node(node, context)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 807, in render_node return node.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/loader_tags.py", line 62, in render result = block.nodelist.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 794, in render bits.append(self.render_node(node, context)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 807, in render_node return node.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/loader_tags.py", line 62, in render result = block.nodelist.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 794, in render bits.append(self.render_node(node, context)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 807, in render_node return node.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/defaulttags.py", line 173, in render nodelist.append(node.render(context)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 847, in render return _render_value_in_context(output, context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 829, in _render_value_in_context return escape(value) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/utils/functional.py", line 255, in wrapper for arg in list(args) + kwargs.values(): DeadlineExceededError: The overall deadline for responding to the HTTP request was exceeded.

Maxim Ermilov

unread,
Jan 23, 2017, 12:05:16 PM1/23/17
to simian-...@googlegroups.com
Can you try clean build ?

1. remove old versions before deploying
2. do clean checkout

_____
Maxim

On Mon, Jan 23, 2017 at 11:51 AM, Hesan D Yousif <hesan....@gmail.com> wrote:
Hi Maxim,

Error after updating:

16:49:14.950 Traceback (most recent call last): File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 267, in Handle result = handler(dict(self._environ), self._StartResponse) 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 570, in dispatch return method(*args, **kwargs) File "/base/data/home/apps/e~ci-simian-155416/ce05164fcb4b.398677667002338464/simian/mac/admin/applesus.py", line 180, in get self._DisplayMain() File "/base/data/home/apps/e~ci-simian-155416/ce05164fcb4b.398677667002338464/simian/mac/admin/applesus.py", line 232, in _DisplayMain self.Render('applesus_list.html', data) File "/base/data/home/apps/e~ci-simian-155416/ce05164fcb4b.398677667002338464/simian/mac/admin/__init__.py", line 264, in Render html = template.render(path, values) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/webapp/template.py", line 94, in render return t.render(Context(template_dict)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/webapp/template.py", line 174, in wrap_render return orig_render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 173, in render return self._render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 167, in _render return self.nodelist.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 794, in render bits.append(self.render_node(node, context)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 807, in render_node return node.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/loader_tags.py", line 125, in render return compiled_parent._render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 167, in _render return self.nodelist.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 794, in render bits.append(self.render_node(node, context)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 807, in render_node return node.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/loader_tags.py", line 62, in render result = block.nodelist.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 794, in render bits.append(self.render_node(node, context)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 807, in render_node return node.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/loader_tags.py", line 62, in render result = block.nodelist.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 794, in render bits.append(self.render_node(node, context)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 807, in render_node return node.render(context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/defaulttags.py", line 173, in render nodelist.append(node.render(context)) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 847, in render return _render_value_in_context(output, context) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/template/__init__.py", line 829, in _render_value_in_context return escape(value) File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/_internal/django/utils/functional.py", line 255, in wrapper for arg in list(args) + kwargs.values(): DeadlineExceededError: The overall deadline for responding to the HTTP request was exceeded.

Hesan D Yousif

unread,
Jan 23, 2017, 12:07:28 PM1/23/17
to Simian Discuss
You mean 'make clean' and then re-deploy?

Hesan

Maxim Ermilov

unread,
Jan 23, 2017, 12:12:34 PM1/23/17
to simian-...@googlegroups.com
No.
Remove old directory.
Do new checkout.

On Jan 23, 2017 12:07 PM, "Hesan D Yousif" <hesan....@gmail.com> wrote:
You mean 'make clean' and then re-deploy?

Hesan
...

Hesan D Yousif

unread,
Jan 23, 2017, 12:30:50 PM1/23/17
to Simian Discuss
Finally fixed! :) 

Thanks Maxim.

Hesan Yousif

unread,
Mar 7, 2017, 7:44:35 AM3/7/17
to Simian Discuss
Maxim,

This keeps rearing its ugly face again on new builds. Can you explain? I know the instance was changed to F1, but noted that the OS version to 10.9 was still present in app.yaml.

What is the status on this?

Timing out.

Hesan


On Monday, 23 January 2017 17:30:50 UTC, Hesan Yousif wrote:
Finally fixed! :) 

Thanks Maxim.

Hesan Yousif

unread,
Mar 7, 2017, 8:01:16 AM3/7/17
to Simian Discuss
Ignore!

da...@thoughtmachine.net

unread,
Mar 23, 2017, 12:42:15 PM3/23/17
to Simian Discuss
This forum has been a godsend for my initial attempts at getting setup - thank you for the detail so far!
Having recently synced a copy of master I believe I have the relevant bits included in 97bde7.

I see the tips on 
1. Upgrading instance to F4
2. Removing 10.9 from the applesus.py file

Being cost conscious I wanted to check if things "should" still work with F1, and also if there is a way of making the instance change OR the applesus.py change without pushing a new build to appengine?

Best,

David


On Tuesday, March 7, 2017 at 1:01:16 PM UTC, Hesan Yousif wrote:
Ignore!

On Tuesday, 7 March 2017 12:44:35 UTC, Hesan Yousif wrote:
Maxim,

This keeps rearing its ugly face again on new builds. Can you explain? I know the instance was changed to F1, but noted that the OS version to 10.9 was still present in app.yaml.

What is the status on this?

Timing out.

Hesan

On Monday, 23 January 2017 17:30:50 UTC, Hesan Yousif wrote:
Finally fixed! :) 

Thanks Maxim.
To unsubscribe from this group and stop receiving emails from it, send an email to simian-discus...@googlegroups.com.

Hesan D Yousif

unread,
Mar 23, 2017, 1:01:29 PM3/23/17
to Simian Discuss
Hi David,

Alas, myself included in that! Great guys who help out also.

Unless you are running the app on a localhost basis, I don't believe there is a way to update the instance - and rather you have to redeploy the app. The redeploy however is not an issue usually, and you can configure google to use the previous instance if you so needed to.

Best,
Hesan

To unsubscribe from this group and stop receiving emails from it, send an email to simian-discuss+unsubscribe@googlegroups.com.

da...@thoughtmachine.net

unread,
Mar 24, 2017, 6:47:31 AM3/24/17
to Simian Discuss
Hi Hesan, Maxim

Hesan, Thanks for the tips, I think I am treading a similar path to yours!
I've noted that in the version I have checked out (most recent) the default instance is already F4. 
I've now removed 10.9 from my list and done another make release (with new version number following git branch) and I'm still getting the error on the Apple Updates Catalog admin - even with App Engine running the most recent uploaded build.

Do I actually need to remove all instances, data, or a subset from App Engine somehow to ensure it stops wasting time mucking about with 10.9 updates?

Thanks again,

David

Hesan D Yousif

unread,
Mar 24, 2017, 7:13:25 AM3/24/17
to Simian Discuss

Hi David,

I hate to say it, but Maxim advised a brand news simian instance and that did the trick for me!

Hesan

da...@thoughtmachine.net

unread,
Mar 24, 2017, 8:04:36 AM3/24/17
to Simian Discuss
Thanks Hesan,
If this happens again, or for anyone in the same situation:
I managed to evade a new simian instance in the end by deleting the applesus datastore entities from the datastore section of the dashboard, then clearing the memcache from the appengine section of dashboard.
Being unsure if the entities would be recreated, I did another make release in case empty tables were needed (might not be necessary).
I can now access the catalog admin on the Simian frontend \o/

Jesse Murphy

unread,
Mar 27, 2017, 3:42:21 PM3/27/17
to Simian Discuss
Hey David,

I'm running into this issue also. Can you tell me exactly which datastore entities you removed?

Thanks!

da...@thoughtmachine.net

unread,
Mar 28, 2017, 4:22:56 AM3/28/17
to Simian Discuss
Hi Jesse,

It looks like you already managed to from the other thread, but I "think" I removed the 

Before then panicking a little bit, restoring them from a backup, and clearing the tables out completely instead (in case the entity wouldn't be autocreated). I think that was overkill - especially given yours sounds like it is created / fills up again.
Otherwise, I left mine on the default F4 instance from install (not sure if there is any magic to make it change the instance type or if "make release" will update it accordingly.

Hope it helps!

David

Jesse Murphy

unread,
Mar 28, 2017, 2:54:29 PM3/28/17
to Simian Discuss
Thanks David,

I cleared those two, and also AdminAppleSUSProductLog and Catalog, then cleared memcache. As soon as I clear these, I get access to the Catalog Admin again, but the second it starts re-downloading Catalogs, I lose access again.

I also changed my instance back to F4, and only added 10.11 and 10.12 to OS_VERSIONS.

David Harvey

unread,
Mar 28, 2017, 3:51:02 PM3/28/17
to simian-...@googlegroups.com
No probs. I'd have to defer to the experts, as those settings reflect mine,which does load (usually at least, and eventually!) My only Idea based on science would be if you haven't set up billing and then appengine starts refusing to do some operations (visible in appengine error log IIRC)

One question (which may or may not be relevant) that i was pondering during my experience, was if all the things are replaced when you upload/ make release a new build of the app which contains the same app Id / version number. When the git version stays the same, the only way i managed to make another version available on appengine was by git branching the copy i was playing with. 

Good luck!

--
You received this message because you are subscribed to a topic in the Google Groups "Simian Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/simian-discuss/a_R7ZhRWrZk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to simian-discuss+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages