[google-appengine] Re: How to fix pickling error
Hi! Im having the same problem on adding stuff to memcache! The error log shows it started 10 hours ago, and it hasnt been fixed since then. Do you guys think it'll be fixed? Greetings!! On Nov 12, 12:48 am, benben <[EMAIL PROTECTED]> wrote: > First ,thanks Marzia Niccolai for his email . > > Today ,my app get picklingerror. Lot's of those errors in admin > control panel . > “PicklingError: Can't pickle : it's not found > as __builtin__.instancemethod” > > This error throw out when set a query object into memcache . > > Do not use " Link.all().order('-weight')" to get all the data in Link > table , just use "Link.gql('ORDER BY weight desc').fetch(100)". it > will fix this error . > > good luck . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: How to fix pickling error
Hi, What is the error that you are seeing? And what are you trying to add to Memcache? Our engineers are looking in to fixing this issue with Memcache, but it's usually not advisable to put a query object in Memcache, one almost always wants to store the results of the query. If this is not the cause of the issue you are seeing, please let me know. -Marzia On Wed, Nov 12, 2008 at 5:48 AM, sirdarckcat <[EMAIL PROTECTED]> wrote: > > Hi! > > Im having the same problem on adding stuff to memcache! > > The error log shows it started 10 hours ago, and it hasnt been fixed > since then. > > Do you guys think it'll be fixed? > > Greetings!! > > On Nov 12, 12:48 am, benben <[EMAIL PROTECTED]> wrote: > > First ,thanks Marzia Niccolai for his email . > > > > Today ,my app get picklingerror. Lot's of those errors in admin > > control panel . > > "PicklingError: Can't pickle : it's not found > > as __builtin__.instancemethod" > > > > This error throw out when set a query object into memcache . > > > > Do not use " Link.all().order('-weight')" to get all the data in Link > > table , just use "Link.gql('ORDER BY weight desc').fetch(100)". it > > will fix this error . > > > > good luck . > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: How to fix pickling error
If you are seeing this error message in your logs: PicklingError: Can't pickle : it's not found as __builtin__.instancemethod This indicates that you are storing a query object in Memcache, which is currently causing issues. The fix that benben suggested will fix this issue. -Marzia On Wed, Nov 12, 2008 at 9:45 AM, gg <[EMAIL PROTECTED]> wrote: > > Same problem here on: > > econe.appspot.com > bwork.appspot.com > > On Nov 12, 9:41 am, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > > Hi, > > > > What is the error that you are seeing? And what are you trying to add to > > Memcache? > > > > Our engineers are looking in to fixing this issue with Memcache, but it's > > usually not advisable to put a query object in Memcache, one almost > always > > wants to store the results of the query. If this is not the cause of the > > issue you are seeing, please let me know. > > > > -Marzia > > > > On Wed, Nov 12, 2008 at 5:48 AM, sirdarckcat <[EMAIL PROTECTED]> > wrote: > > > > > Hi! > > > > > Im having the same problem on adding stuff to memcache! > > > > > The error log shows it started 10 hours ago, and it hasnt been fixed > > > since then. > > > > > Do you guys think it'll be fixed? > > > > > Greetings!! > > > > > On Nov 12, 12:48 am, benben <[EMAIL PROTECTED]> wrote: > > > > First ,thanks Marzia Niccolai for his email . > > > > > > Today ,my app get picklingerror. Lot's of those errors in admin > > > > control panel . > > > > "PicklingError: Can't pickle : it's not found > > > > as __builtin__.instancemethod" > > > > > > This error throw out when set a query object into memcache . > > > > > > Do not use " Link.all().order('-weight')" to get all the data in Link > > > > table , just use "Link.gql('ORDER BY weight desc').fetch(100)". it > > > > will fix this error . > > > > > > good luck . > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: How to fix pickling error
Same problem here on: econe.appspot.com bwork.appspot.com On Nov 12, 9:41 am, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > Hi, > > What is the error that you are seeing? And what are you trying to add to > Memcache? > > Our engineers are looking in to fixing this issue with Memcache, but it's > usually not advisable to put a query object in Memcache, one almost always > wants to store the results of the query. If this is not the cause of the > issue you are seeing, please let me know. > > -Marzia > > On Wed, Nov 12, 2008 at 5:48 AM, sirdarckcat <[EMAIL PROTECTED]> wrote: > > > Hi! > > > Im having the same problem on adding stuff to memcache! > > > The error log shows it started 10 hours ago, and it hasnt been fixed > > since then. > > > Do you guys think it'll be fixed? > > > Greetings!! > > > On Nov 12, 12:48 am, benben <[EMAIL PROTECTED]> wrote: > > > First ,thanks Marzia Niccolai for his email . > > > > Today ,my app get picklingerror. Lot's of those errors in admin > > > control panel . > > > "PicklingError: Can't pickle : it's not found > > > as __builtin__.instancemethod" > > > > This error throw out when set a query object into memcache . > > > > Do not use " Link.all().order('-weight')" to get all the data in Link > > > table , just use "Link.gql('ORDER BY weight desc').fetch(100)". it > > > will fix this error . > > > > good luck . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: How to fix pickling error
Helpful error : ) back-references modelname_set is a query On Nov 12, 9:50 am, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > If you are seeing this error message in your logs: > > PicklingError: Can't pickle : it's not found as > __builtin__.instancemethod > > This indicates that you are storing a query object in Memcache, which is > currently causing issues. The fix that benben suggested will fix this > issue. > > -Marzia > > On Wed, Nov 12, 2008 at 9:45 AM, gg <[EMAIL PROTECTED]> wrote: > > > Same problem here on: > > > econe.appspot.com > > bwork.appspot.com > > > On Nov 12, 9:41 am, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > What is the error that you are seeing? And what are you trying to add to > > > Memcache? > > > > Our engineers are looking in to fixing this issue with Memcache, but it's > > > usually not advisable to put a query object in Memcache, one almost > > always > > > wants to store the results of the query. If this is not the cause of the > > > issue you are seeing, please let me know. > > > > -Marzia > > > > On Wed, Nov 12, 2008 at 5:48 AM, sirdarckcat <[EMAIL PROTECTED]> > > wrote: > > > > > Hi! > > > > > Im having the same problem on adding stuff to memcache! > > > > > The error log shows it started 10 hours ago, and it hasnt been fixed > > > > since then. > > > > > Do you guys think it'll be fixed? > > > > > Greetings!! > > > > > On Nov 12, 12:48 am, benben <[EMAIL PROTECTED]> wrote: > > > > > First ,thanks Marzia Niccolai for his email . > > > > > > Today ,my app get picklingerror. Lot's of those errors in admin > > > > > control panel . > > > > > "PicklingError: Can't pickle : it's not found > > > > > as __builtin__.instancemethod" > > > > > > This error throw out when set a query object into memcache . > > > > > > Do not use " Link.all().order('-weight')" to get all the data in Link > > > > > table , just use "Link.gql('ORDER BY weight desc').fetch(100)". it > > > > > will fix this error . > > > > > > good luck . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: How to fix pickling error
I had some problems while I tried storing in memcache a query object obtained with the fuction db.GqlQuery(...) and I've solved my issue with Entity.all() function... The same problem appears when I try to storing in memcache a python list that contains several Object that I've created. I've pybassed the problem but I think that it's good to get you to know this issue. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: How to fix pickling error
Is there an issue on this? (I couldn't find one.) I'll star it if there is otherwise I'll add one. I ask because not being able to memcache/pickle query objects is something of a pain for me. (Caching/pickling query results isn't an option for my application.) On Nov 12, 9:50 am, Marzia Niccolai wrote: > If you are seeing this error message in your logs: > > PicklingError: Can't pickle : it's not found as > __builtin__.instancemethod > > This indicates that you are storing a query object in Memcache, which is > currently causing issues. The fix that benben suggested will fix this > issue. > > -Marzia > > > > On Wed, Nov 12, 2008 at 9:45 AM, gg wrote: > > > Same problem here on: > > > econe.appspot.com > > bwork.appspot.com > > > On Nov 12, 9:41 am, Marzia Niccolai wrote: > > > Hi, > > > > What is the error that you are seeing? And what are you trying to add to > > > Memcache? > > > > Our engineers are looking in to fixing this issue with Memcache, but it's > > > usually not advisable to put a query object in Memcache, one almost > > always > > > wants to store the results of the query. If this is not the cause of the > > > issue you are seeing, please let me know. > > > > -Marzia > > > > On Wed, Nov 12, 2008 at 5:48 AM, sirdarckcat > > wrote: > > > > > Hi! > > > > > Im having the same problem on adding stuff to memcache! > > > > > The error log shows it started 10 hours ago, and it hasnt been fixed > > > > since then. > > > > > Do you guys think it'll be fixed? > > > > > Greetings!! > > > > > On Nov 12, 12:48 am, benben <119...@gmail.com> wrote: > > > > > First ,thanks Marzia Niccolai for his email . > > > > > > Today ,my app get picklingerror. Lot's of those errors in admin > > > > > control panel . > > > > > "PicklingError: Can't pickle : it's not found > > > > > as __builtin__.instancemethod" > > > > > > This error throw out when set a query object into memcache . > > > > > > Do not use " Link.all().order('-weight')" to get all the data in Link > > > > > table , just use "Link.gql('ORDER BY weight desc').fetch(100)". it > > > > > will fix this error . > > > > > > good luck .- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---