I was getting that error. After updating it goes away but now I get the below. I am running it against web2pyslices.com source on a sqlite db with Python 2.5:
Traceback (most recent call last): File "C:\Users\nathan\workspace\web2py\gluon\restricted.py", line 188, in restricted exec ccode in environment File "C:/Users/nathan/workspace/web2py/applications/main/models/ menu.py", line 115, in <module> response.tagcloud = db().select(db.tags.ALL,orderby=~db.tags.count,limitby=(0,15),cache=(cache.disk, 600)) File "C:\Users\nathan\workspace\web2py\gluon\sql.py", line 3319, in select shutil.copyfileobj(file, dest_file) File "C:\Users\nathan\workspace\web2py\gluon\cache.py", line 282, in __call__ storage = shelve.open(self.shelve_name) File "C:\Python25\lib\shelve.py", line 225, in open return DbfilenameShelf(filename, flag, protocol, writeback) File "C:\Python25\lib\shelve.py", line 209, in __init__ Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback) File "C:\Python25\lib\anydbm.py", line 83, in open return mod.open(file, flag, mode) File "C:\Python25\lib\dbhash.py", line 16, in open return bsddb.hashopen(file, flag, mode) File "C:\Python25\lib\bsddb\__init__.py", line 310, in hashopen d.open(file, db.DB_HASH, flags, mode) DBPermissionsError: (1, 'Operation not permitted') On Dec 4, 4:00 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > can you please try again? > > Massimo > > On Dec 4, 12:31 pm, ron_m <ron.mco...@gmail.com> wrote: > > > Describe what I did > > > Copied the trunk hg area to a work area > > Renamed sql.py to sql-save.py > > Copied dal.py to sql.py in order to replace sql.py with dal.py > > Copied application I am working on to applications directory > > Backed up the database > > Ran the server as python web2py.py > > > Got this stack trace > > Traceback (most recent call last): > > File "/home/camcentral/Dev/web2py_hg/gluon/main.py", line 446, in > > wsgibase > > BaseAdapter.close_all_instances(BaseAdapter.commit) > > File "/home/camcentral/Dev/web2py_hg/gluon/sql.py", line 161, in > > close_all_instances > > if instance._pool_size: > > AttributeError: 'SQLiteAdapter' object has no attribute '_pool_size' > > I don't use SQLite as a database but the driver exists through default > > install, the db line invoking SQLite is commented out. > >