> Check your sql.log - did the database get made? yep, got the log. and also did $ sqlite3 storage.db .tables verified that all of the tables are there. -------------------------------------------------------- auth_event auth_permission document auth_group auth_user page auth_membership comment tag ---------------------------------------------------------- >From looking @ the code. I was thinking the same thing... maybe the tables were not there or correct. I can "select * from <db>", in all of the tables using the sqlite interface directly.
>>probably some catch if there is no db's or no connections would be helpful... there is a catch in the appadmin.html view for "no databases" Note: If I take out line 15 - 23 of web2py_wiki/views/appadmin.html the page will load. On Mar 17, 11:41 pm, Yarko Tymciurak <[email protected]> wrote: > On Tue, Mar 17, 2009 at 11:21 PM, Jeffield <[email protected]> wrote: > > > First, is this the correct place to report web2py-wiki bugs..? (if not > > I apologize, teach me) > > launchpad (https://bugs.launchpad.net/web2py-wiki/+filebug) seemed > > to suggest that > > that was not the correct place. ( so I figured here was.) > > I think you figured right... We may later enable launchpad bug reporting, > but even then, reporting here first to get agreement that a bug is indeed an > issue is the way to go, I think... > > > > > ( Note: tested these in both web2py 1.58 and .159), > > Pretty sure these are the web2py-wiki problems, not web2py problems. > > > web2py-wiki -r4 observations. > > > Ok, > > Things not working, > > ============================================= > > Bug #1: > > ============================================= > > - Going into, design and clicking on "database administration" > > generates a error. ( I am trying to track it down now.) > > Error traceback > > Traceback (most recent call last): > > File "/home/jds/web2py.1.58/gluon/restricted.py", line 98, in > > restricted > > exec ccode in environment > > File "/home/jds/web2py.1.58/applications/web2py_wiki/views/ > > appadmin.html", line 146, in <module> > > AttributeError: 'str' object has no attribute 'tag' > > -- snip -- > > for tag in db(db.tag.id>0).select(orderby=db.tag.name): > > response.write('\n',escape=False) > > response.write(LI(A(tag.name,_href=URL > > (r=request,f='pages_by_tag',args=tag.id)))) > > response.write('\n',escape=False) > > pass > > Check your sql.log - did the database get made? > > It might be if the _first_ thing you did is go to db administration this > would happen (for sqlite, there _is_ no db yet - it will create on first > access attempt from the application.... not sure what if you try to go to > db admin... but this sounds like it... probably some catch if there is no > db's or no connections would be helpful... > > If you have no sql.log, try running the wiki app once (e.g. select the > "index" function in the default controllers) and see if that solves it for > you. > > > > > ============================================= > > Bug #2: (this is a css, presentation thing) > > ============================================= > > Testing with client. > > ====================== > > Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111317 > > Ubuntu/8.04 (hardy) Firefox/3.0.4 > > - the "Create a page" page: > > form: body (the "Page Tags" is overlaying the body form box, > > needs some additional spacing so it is not on top of the right > > side of the > > text entry box. > > I do not see this w/ Firefox 3.0.7 or Chrome... can you send a screenshot? > > Thanks.. > > > > > Note: bug #1 is very frustrating because I am trying to get a handle > > on the tables being created and what is in them, and learn this wiki > > app. > > > sqlite> .tables > > is just not as fun. -- grin -- > > > Note: I am trying to track bug #1 I will let you know if I get any > > traction. > > Try running the app first, then looking at the tables that got "migrated". > > Note: if you were on something other than sqlite, you would need to create > the database (not the tables) in advance. > > Let us know if this helps. > > Regards, > Yarko > > > > > Thanks, > > Jeff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

