Hello Dzhovani,

These two documents [1 
<https://airbrake.io/blog/python-exception-handling/attributeerror>][2 
<https://docs.python.org/3/library/exceptions.html>] provide further 
details on AttributeError. The AttributeError in Python is raised when an 
invalid attribute reference is made, or when an attribute assignment fails. 

>From the definition and looking into number of StackOverflow cases 
<https://www.google.com/search?q=AttributeError:+%27module%27+object+has+no+attribute+%27Project%27+site:stackoverflow.com&rlz=1CAHPZX_enCA830&sa=X&ved=2ahUKEwiRiL67m63gAhWJJTQIHReWDl8QrQIoBDAEegQIABAM>
 
it appears the issue is in the code.

However it is difficult to tell with certainty why you are receiving the 
error without inspecting the logs or looking into the codes of your 
project. 

Please kindly note that this forum is meant for general discussion of the 
App Engine platform, not specific technical issues.

If you believe that what you've encountered is platform specific issue you 
can report this by creating an issue in the Issue Tracker 
<https://cloud.google.com/support/docs/issue-trackers> and Google Cloud 
Support team member will assist you to resolve your issue.  If your issue 
is not a platform issue but rather a problem with how you've configured 
your code, although you're not sure what it may be specifically, you should 
post to StackOverflow <http://www.stackoverflow.com/> and community of 
developers will assist you. 


On Monday, January 28, 2019 at 4:15:58 AM UTC-5, Dzhovani Chemishanov wrote:
>
> Hi, 
>   We store results from datastore queries in memcache with the query 
> as key and results as values. We started having issues with one of the 
> datastore models and I'm not sure if the issues is in our code or 
> something with memcache or with pickle. The relevant part of the stack 
> trace is: 
>
>     entries = memcache.get(query) 
>   File 
> "/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/api/memcache/__init__.py",
>  
>
> line 562, in get 
>     results = rpc.get_result() 
>   File 
> "/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
>  
>
> line 615, in get_result 
>     return self.__get_result_hook(self) 
>   File 
> "/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/api/memcache/__init__.py",
>  
>
> line 632, in __get_hook 
>     returned_item.flags(), self._do_unpickle) 
>   File 
> "/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/api/memcache/__init__.py",
>  
>
> line 273, in _decode_value 
>     return do_unpickle(value) 
>   File 
> "/base/alloc/tmpfs/dynamic_runtimes/python27g/f612b68945952bd1/python27/python27_lib/versions/1/google/appengine/api/memcache/__init__.py",
>  
>
> line 404, in _do_unpickle 
>     return unpickler.load() 
> AttributeError: 'module' object has no attribute 'Project' 
>
> where 'Project' is a class Project(db.Model) and no recent deployments 
> to the serving version had been made in the last few months. 
>
> -- 
> -------- Disclaimer -------- 
> This email and any files transmitted may 
> contain proprietary and confidential information of ICT Group N.V. or any 
> of its subsidiaries like Strypes (“ICT”) and is intended only for the (use 
> of the) named recipient(s) above. If you have received this message in 
> error or are not the intended or named recipient(s) of this message, 
> please 
> immediately notify the sender by returning and deleting this email message 
> from your computer. Any views or opinions presented are solely those of 
> its 
> author and do not necessarily represent those of Strypes or ICT. You are 
> hereby notified that unauthorized disclosure, use, dissemination, 
> forwarding, printing or copying of this e-mail and its attachments either 
> whole or partial of its contents is strictly prohibited. Strypes or ICT 
> cannot guarantee that email communications are secure and error-free and 
> does not accept any liability for damages resulting from the use of email. 
> The general terms and conditions of purchase respectively sale and 
> delivery 
> of ICT are applicable to all transactions and undertakings resulting 
> therefrom. 
>

-- 
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/aaf34308-0945-4bd0-98b7-9034e3a1b592%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appeng... Dzhovani Chemishanov
    • [google-a... 'Mohammad I (Cloud Platform Support)' via Google App Engine

Reply via email to