which web2py version? 1.7.6 Can you try delete everything in the cache folder of your application? No, I just Install and I try to run it for the first time
I try to use the embeded web server I reviewed the folder web2py/applications/welcome/database/ and it is empty Maybe the lib for sqlite doesn't work well Some test that I can do? On 14 ene, 19:31, mdipierro <mdipie...@cs.depaul.edu> wrote: > I slightly changes the behavior in trunk about his. > > The problem is corrupted cache file. So instead of failing, it will > now just log the failure to open the file. You will get an error only > if you actually try to use the cache.disk and the file is corrupted. > > We still need to understand how this can happen. My guess is this can > happen if a request takes too long and the web server happens to kill > a thread while it is writing on cache.disk. > > On Jan 14, 7:19 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > Never seen this before. which web2py version? > > > Can you try delete everything in the cache folder of your application? > > > On Jan 14, 7:16 pm, drayco <antrod...@gmail.com> wrote: > > > > I follow this: > > > >http://www.web2py.com/AlterEgo/default/show/239 > > > Installing web2py with MySQL on a bare CentOS 5 machine > > > > Because we work with Red Hat Enterprise Linux 5. > > > > When I run web2py. I see this: > > > > web2py Enterprise Web Framework > > > Created by Massimo Di Pierro, Copyright 2007-2010 > > > Version 1.74.6 (2010-01-13 11:12:48) > > > Database drivers available: pysqlite2, MySQL, PostgreSQL > > > Starting cron... > > > please visit: > > > http://127.0.0.1:7713 > > > use "kill -SIGTERM 6581" to shutdown the web2py server > > > > But when I try tohttp://localhost:7713/ > > > > I got this > > > > Error ticket for "welcome" > > > Ticket 127.0.0.1.2010-01-14.13-39-00.faf5f883-e4f2-48d2-96b6- > > > c1a697eafdfb > > > > Error traceback > > > > Traceback (most recent call last): > > > File "/home/drayco/web2py/gluon/main.py", line 478, in wsgibase > > > serve_controller(request, response, session) > > > File "/home/drayco/web2py/gluon/main.py", line 178, in > > > serve_controller > > > environment = build_environment(request, response, session) > > > File "/home/drayco/web2py/gluon/compileapp.py", line 248, in > > > build_environment > > > environment['cache'] = Cache(request) > > > File "/home/drayco/web2py/gluon/cache.py", line 358, in __init__ > > > self.disk = CacheOnDisk(request) > > > File "/home/drayco/web2py/gluon/cache.py", line 238, in __init__ > > > storage = shelve.open(self.shelve_name) > > > File "/usr/local/lib/python2.5/shelve.py", line 225, in open > > > return DbfilenameShelf(filename, flag, protocol, writeback) > > > File "/usr/local/lib/python2.5/shelve.py", line 209, in __init__ > > > Shelf.__init__(self, anydbm.open(filename, flag), protocol, > > > writeback) > > > File "/usr/local/lib/python2.5/anydbm.py", line 83, in open > > > return mod.open(file, flag, mode) > > > File "/usr/local/lib/python2.5/dbhash.py", line 16, in open > > > return bsddb.hashopen(file, flag, mode) > > > File "/usr/local/lib/python2.5/bsddb/__init__.py", line 310, in > > > hashopen > > > d.open(file, db.DB_HASH, flags, mode) > > > DBFileExistsError: (17, 'File exists -- __fop_file_setup: Retry limit > > > (100) exceeded') > > > > Can any help me? What this mean?
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.