Skip to content

Instantly share code, notes, and snippets.

@dimapaloskin
Created June 3, 2014 12:41
Show Gist options
  • Save dimapaloskin/2d80ecfeec60b96b3899 to your computer and use it in GitHub Desktop.
Save dimapaloskin/2d80ecfeec60b96b3899 to your computer and use it in GitHub Desktop.
4::/artifact/:{"error":"Traceback (most recent call last):\n File \"/var/www/mongoengine-gevent-socket.io/resources/artifact/resource.py\", line 36, in on_READ_LIST\n bundle = resource.read_list()\n File \"/var/www/mongoengine-gevent-socket.io/debug_utils.py\", line 83, in timed\n result = method(*args, **kw)\n File \"/var/www/mongoengine-gevent-socket.io/core/resource.py\", line 127, in read_list\n q = self.get_object_list(bundle)\n File \"/var/www/mongoengine-gevent-socket.io/core/resource.py\", line 119, in get_object_list\n q = q.options(joinedload(m)) #.load_only('id'),\n File \"/home/ubuntu/venv/socket/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py\", line 1062, in options\n return self._options(False, *args)\n File \"<string>\", line 2, in _options\n File \"/home/ubuntu/venv/socket/local/lib/python2.7/site-packages/sqlalchemy/orm/base.py\", line 165, in generate\n fn(self, *args[1:], **kw)\n File \"/home/ubuntu/venv/socket/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py\", line 1079, in _options\n opt.process_query(self)\n File \"/home/ubuntu/venv/socket/local/lib/python2.7/site-packages/sqlalchemy/orm/strategy_options.py\", line 89, in process_query\n self._process(query, True)\n File \"/home/ubuntu/venv/socket/local/lib/python2.7/site-packages/sqlalchemy/orm/strategy_options.py\", line 289, in _process\n val._bind_loader(query, query._attributes, raiseerr)\n File \"/home/ubuntu/venv/socket/local/lib/python2.7/site-packages/sqlalchemy/orm/strategy_options.py\", line 359, in _bind_loader\n raiseerr)\n File \"/home/ubuntu/venv/socket/local/lib/python2.7/site-packages/sqlalchemy/orm/strategy_options.py\", line 421, in _find_entity_prop_comparator\n x in query._mapper_entities))\nArgumentError: Can't find property 'artists' on any entity specified in this Query. Note the full path from root (Mapper|Artifact|collectrium_artifact,Mapper|Artist|collectrium_artist) to target entity must be specified.\n\nCan't find property 'artists' on any entity specified in this Query. Note the full path from root (Mapper|Artifact|collectrium_artifact,Mapper|Artist|collectrium_artist) to target entity must be specified."}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment