Better yet, add at .gitignore, since that directory should be ignored. Here is a on liner that recursively adds .gitignore to empty directories, so git will track the dir but not the contents.
find . \( -type d -empty \) -and \( -not -regex ./\.git.* \) -exec touch {}/.gitignore \; Robin On Jan 15, 5:35 pm, ceej <cjlaz...@googlemail.com> wrote: > The reason is it's missing the cache folder under admin/welcome/ > example, the reason is GIT doesn't store emtpy folders in it. So any > other empty folder will be missing also. I could add an __init__.py > file to each folder which would fix this issue. What does everyone > think? > > On Jan 15, 3:28 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > I guess something is messed up in the GIT repository. Somebody should > > do a diff. I do not use GIT, can only guaranteed the Google and > > Launchpad repositories. > > > Massimo > > > On Jan 15, 12:57 pm, BigBaaadBob <w...@rwwa.com> wrote: > > > > If I do a SVN checkout from Google and then run web2py, everthing > > > works fine. > > > > If I do the same thing using git, I get this: > > > > $ ./web2py.py > > > default applications appear to be installed already > > > web2py Enterprise Web Framework > > > Created by Massimo Di Pierro, Copyright 2007-2008 > > > Version 1.55 (2009-01-07 21:07:28) > > > Database drivers available: SQLite3 > > > choose a password:password > > > please visit: > > > http://127.0.0.1:8000 > > > use "kill -SIGTERM 30396" to shutdown the web2py server > > > WARNING:root:no cache.disk > > > ERROR:root:Traceback (most recent call last): > > > File "/home/witr/Projects/web2py/repo/gluon/restricted.py", line 62, > > > in restricted > > > exec ccode in environment > > > File "/home/witr/Projects/web2py/repo/applications/welcome/models/ > > > db.py", line 8, in <module> > > > db=SQLDB('sqlite://storage.db') # if not, use SQLite or > > > other DB > > > File "/home/witr/Projects/web2py/repo/gluon/sql.py", line 458, in > > > __init__ > > > self._pool_connection(lambda:sqlite3.Connection(dbpath)) > > > File "/home/witr/Projects/web2py/repo/gluon/sql.py", line 423, in > > > _pool_connection > > > self._connection=f() > > > File "/home/witr/Projects/web2py/repo/gluon/sql.py", line 458, in > > > <lambda> > > > self._pool_connection(lambda:sqlite3.Connection(dbpath)) > > > OperationalError: unable to open database file > > > > Any suggestions how to debug this"? > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@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 -~----------~----~----~----~------~----~------~--~---