Re: [web2py] Re: Cannot import module 'guppy', appadmin cache
On Fri, Apr 19, 2013 at 10:01 AM, BlueShadow wrote: > I did now and I can't import it in python: > ImportError: No module named gubby > Dont know if is a copy paste typo, but is guppy not gubby Anyway: Since you are using cache.disk, the cache file is simply a shelve file you can inspect it with from datetime import datetime import shelve items = shelve.open('cache.shelve') stats = None for item in items.items(): #print key, ts, repr(content[:50]) if item[0] == 'web2py_cache_statistics': stats = repr(item) else: key, (ts, content) = item print key, "%s(%s)" % (datetime.fromtimestamp(ts), ts), len(content), repr(content[:20]) if stats: print stats run this script inside you app/cache folder Ricardo -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[web2py] Re: Cannot import module 'guppy', appadmin cache
this is what appadmin does from guppy import hpy hp = hpy() On Friday, April 19, 2013 11:01:56 AM UTC+2, BlueShadow wrote: > > I did now and I can't import it in python: > ImportError: No module named gubby > > > On Friday, April 19, 2013 9:54:08 AM UTC+2, Niphlod wrote: >> >> did you try opening a python shell and seeing if you can still import >> guppy (i.e. it wasn't removed after all) ? >> >> On Thursday, April 18, 2013 11:51:05 PM UTC+2, BlueShadow wrote: >>> >>> I did kill all processes remotly related to web2py an uswgi and the >>> internet restarted all and the cache page still wont load without that >>> error. >>> >>> >>> On Thursday, April 18, 2013 11:08:14 PM UTC+2, Niphlod wrote: guppy has not been updated in a while, there are some known bugs with the "stable release" and there seems to be already a bug listed on web2py's "official issues". I tried to install it from sources, but didn't had luck with that either. Seems also that the debian package is somewhat oldie.. to sum up, I never saw it working ^_^ But if you uninstalled it and you restarted uwsgi (hard restart, better) you should be able to get to your "need to install guppy" simple cache page. Sure that you're restarting the uwsgi process (and not reloading it) ? -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[web2py] Re: Cannot import module 'guppy', appadmin cache
I did now and I can't import it in python: ImportError: No module named gubby On Friday, April 19, 2013 9:54:08 AM UTC+2, Niphlod wrote: > > did you try opening a python shell and seeing if you can still import > guppy (i.e. it wasn't removed after all) ? > > On Thursday, April 18, 2013 11:51:05 PM UTC+2, BlueShadow wrote: >> >> I did kill all processes remotly related to web2py an uswgi and the >> internet restarted all and the cache page still wont load without that >> error. >> >> >> On Thursday, April 18, 2013 11:08:14 PM UTC+2, Niphlod wrote: >>> >>> guppy has not been updated in a while, there are some known bugs with >>> the "stable release" and there seems to be already a bug listed on >>> web2py's "official issues". >>> I tried to install it from sources, but didn't had luck with that either. >>> Seems also that the debian package is somewhat oldie.. to sum up, I >>> never saw it working ^_^ >>> >>> But if you uninstalled it and you restarted uwsgi (hard restart, better) >>> you should be able to get to your "need to install guppy" simple cache >>> page. Sure that you're restarting the uwsgi process (and not reloading it) ? >>> >>> -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[web2py] Re: Cannot import module 'guppy', appadmin cache
did you try opening a python shell and seeing if you can still import guppy (i.e. it wasn't removed after all) ? On Thursday, April 18, 2013 11:51:05 PM UTC+2, BlueShadow wrote: > > I did kill all processes remotly related to web2py an uswgi and the > internet restarted all and the cache page still wont load without that > error. > > > On Thursday, April 18, 2013 11:08:14 PM UTC+2, Niphlod wrote: >> >> guppy has not been updated in a while, there are some known bugs with the >> "stable release" and there seems to be already a bug listed on web2py's >> "official issues". >> I tried to install it from sources, but didn't had luck with that either. >> Seems also that the debian package is somewhat oldie.. to sum up, I >> never saw it working ^_^ >> >> But if you uninstalled it and you restarted uwsgi (hard restart, better) >> you should be able to get to your "need to install guppy" simple cache >> page. Sure that you're restarting the uwsgi process (and not reloading it) ? >> >> -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[web2py] Re: Cannot import module 'guppy', appadmin cache
I did kill all processes remotly related to web2py an uswgi and the internet restarted all and the cache page still wont load without that error. On Thursday, April 18, 2013 11:08:14 PM UTC+2, Niphlod wrote: > > guppy has not been updated in a while, there are some known bugs with the > "stable release" and there seems to be already a bug listed on web2py's > "official issues". > I tried to install it from sources, but didn't had luck with that either. > Seems also that the debian package is somewhat oldie.. to sum up, I > never saw it working ^_^ > > But if you uninstalled it and you restarted uwsgi (hard restart, better) > you should be able to get to your "need to install guppy" simple cache > page. Sure that you're restarting the uwsgi process (and not reloading it) ? > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[web2py] Re: Cannot import module 'guppy', appadmin cache
guppy has not been updated in a while, there are some known bugs with the "stable release" and there seems to be already a bug listed on web2py's "official issues". I tried to install it from sources, but didn't had luck with that either. Seems also that the debian package is somewhat oldie.. to sum up, I never saw it working ^_^ But if you uninstalled it and you restarted uwsgi (hard restart, better) you should be able to get to your "need to install guppy" simple cache page. Sure that you're restarting the uwsgi process (and not reloading it) ? -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.