[web2py] Re: Getting an error in auth.wiki()

2012-10-28 Thread Andrew W
I can't step through it right now, but in step6 did you type in the name of your new page before pressing the button? You need to enter the name of the page, or slug before pressing Create from Slug. Maybe that is it, your page doesn't actually have a slug. ( who came up with that name in the

[web2py] Re: Getting an error in auth.wiki()

2012-10-28 Thread Andrew W
someone else test and let me know if I am being an idiot or confirm that there is a problem. Thanks Simon On Sunday, 28 October 2012 07:56:30 UTC, Andrew W wrote: I can't step through it right now, but in step6 did you type in the name of your new page before pressing the button? You

[web2py] Re: Getting an error in auth.wiki()

2012-10-28 Thread Andrew W
You're welcome, and I agree - doco is required to make any sense of it. I have gleamed what I know from various posts to this group. It does need to be combined and given a bit of context. I would like to do the same but am trying to get a little more understanding first (and time !). I guess

[web2py] Re: Getting an error in auth.wiki()

2012-10-27 Thread Andrew W
Because you don't. ( at least I haven't had to)- Back to your first post, how did you create your first page because the URL you have there is not what web2y produces. It's working ok for me so far so if you could add some more detail as to how you did it and what you clicked. --

[web2py] Re: how to hide the [wiki] menu option in auth.wiki

2012-10-26 Thread Andrew W
, Massimo Di Pierro wrote: I agree. Changed the behavior in trunk. On Thursday, 25 October 2012 03:44:08 UTC-5, Andrew W wrote: the [wiki] menu option is good for the person maintaining the website, but shouldn't be seen by others (at least those not logged in) . How do I hide

[web2py] how to hide the [wiki] menu option in auth.wiki

2012-10-25 Thread Andrew W
the [wiki] menu option is good for the person maintaining the website, but shouldn't be seen by others (at least those not logged in) . How do I hide it for unauthorised users ? Any update on when the book will contain auth.wiki information ? I can see plugin_wiki still there. Thanks Andrew

[web2py] Re: Error accessing users in Instant Press

2012-10-25 Thread Andrew W
I logged that one, and I emailed Martin with details of a fix. Hoping to here from him. On Sunday, September 30, 2012 5:47:22 AM UTC+13, Jimi wrote: Never mind, I see now it's been logged as an issue. On Sunday, September 23, 2012 11:17:49 AM UTC-4, Jimi wrote: New to web2py, so

[web2py] Re: Instant Press CMS 2010?

2012-10-25 Thread Andrew W
You may be looking at the wrong version. There is one at https://bitbucket.org/mulonemartin/instantpress , last updated early 2012. You are probably looking at http://code.google.com/p/instant-press/. which I believe is the old version. Martin, could you remove the second one please (if it

[web2py] Is the Windows download meant to have a wsgihandler.py file

2012-10-25 Thread Andrew W
Trying to run the windows app with Apache, but it doesn't have the wsgihandler.py file. Can this version run with Apache, or do I need the source version. What should WSGIScriptAlias in the Apache conf file be set to ? --

[web2py] InstantPress and web2py Version 2

2012-09-19 Thread Andrew W
Anyone using Instantpress with web2py V2.x ? I get this error when I click on Users icon on the panel: File applications/instantpress/modules/plugins/users.py, line 135, in lambda db.auth_user.username.represent = lambda value, row: status(value, row) File

[web2py] Re: InstantPress and web2py Version 2

2012-09-19 Thread Andrew W
FYI, I've also logged this on the project's bitbucket site: https://bitbucket.org/mulonemartin/instantpress/issue/12/error-clicking-on-users-menu-option In case you're using Instantpress, the issue is caused by a mismatch between the specified fields and then referencing a field that is not

[web2py] Re: Installing Windows Service (2.0.9 Win exe)

2012-09-18 Thread Andrew W
Thanks Tim, Just confirming, you used the settings in options_std.py file in web2 py dir, not the ones shown in book. --

[web2py] Re: Installing Windows Service (2.0.9 Win exe)

2012-09-17 Thread Andrew W
I used the nightly build, I'll try the source version next. --

[web2py] Re: Installing Windows Service (2.0.9 Win exe)

2012-09-16 Thread Andrew W
Done. 1011. --

[web2py] Re: Installing Windows Service (2.0.9 Win exe)

2012-09-16 Thread Andrew W
Thanks. Well it installs OK, but won't start - just times out. Found some inconsistencies in the book: *Deployment Recipes:* In order to use web2py as a Windows service, you must create a file options.py with startup parameters and one of the options mentioned numthreads appears in the

Re: [web2py] Many-many options

2012-09-13 Thread Andrew W
Yes option 1 sounds right. Otherwise you're entering 4th normal form territory http://en.wikipedia.org/wiki/Fourth_normal_form There may be many ways to do things in web2py, but you should still have a good database design. --

[web2py] Beginner trying to adapt the Chapter 11 ajax function 'echo' example

2012-09-13 Thread Andrew W
The book example is specifically talking about field names in a form. You have an id for a HTML element. Maybe it is field/form specific, in that it is getting the text from the specific named field. --

[web2py] Beginner trying to adapt the Chapter 11 ajax function 'echo' example

2012-09-13 Thread Andrew W
Not sure, but try adding the attribute name= to the element. --

Re: [web2py] LOAD Ajax

2012-09-13 Thread Andrew W
You don't use LOAD() in the page.load file, you use it to from another x.html file to load the page.load. Is that what you were doing? --

Re: [web2py] short term roadmap

2012-09-13 Thread Andrew W
Great idea, allowing a core set of options, and add your own as well. I've been meaning to have a look at Martin's bootstrap app, it would fit into this approach - Having more than one valid option/approach. On Friday, September 14, 2012 8:43:27 AM UTC+12, rochacbruno wrote: also it will need

[web2py] Installing Windows Service (2.0.9 Win exe)

2012-09-13 Thread Andrew W
Having troubles installing web2py as a windows service. I'm running 2.0.9 windows exe.Note that I've never run it like this before until version 2.0.x. File gluon/winservice.py, line 157, in web2py_windows_service_handler WindowsError: [Error 267] The directory name is invalid : 'E:\\ ...

[web2py] Re: web2py default layout.html

2012-09-12 Thread Andrew W
missing some /div s for the first span12s ? On Wednesday, September 12, 2012 5:42:29 PM UTC+12, Annet wrote: Anthony is right, it's the span12 that's causing the problem. I had the same problem, and solved it by following the bootstrap pattern more strictly. header class=header mastheader

Re: [web2py] Modelless app no longer works with web2py 2.0.x ???

2012-09-12 Thread Andrew W
Perfect ! Thanks for the quick response. I saw your solution above, but assumed that you had added it to github. All's Good. One more question please (which I asked on web2py slices): How to use auth.wiki with movuca. There was a web2pyslices post in relation to plugin_wiki, and I was

[web2py] Re: comprehensive cheetsheet

2012-09-12 Thread Andrew W
Thankyou, an excellent resource. If I could suggest one more, and I'd be happy to attempt this. I don't know about others, but before I can make any sense of a page's layout and what other people are saying about css ids and classes (this happened with the menu bar), is that I have to draw a

Re: [web2py] Re: Web2py. for a minimalist app, it feels bloated. Do it I need it?

2012-09-11 Thread Andrew W
With its SQL http://code.google.com/p/orient/wiki/GraphDatabase#SQL it sounds like a candidate for a straight dal database adapter. A graph database sounds interesting.. --

Re: [web2py] Modelless app no longer works with web2py 2.0.x ???

2012-09-11 Thread Andrew W
Is anyone else using Movuca with web2py version 2.x experiencing this ? I downloaded the latest Movuca and I'm running web2py off trunk. On Monday, September 10, 2012 4:59:08 PM UTC+12, Andrew W wrote: Hi Bruno, I got the same error with movuca, which I downloaded today: File D

Re: [web2py] Re: need a simple wiki...

2012-09-09 Thread Andrew W
Thanks Massimo, I'm testing it out now. Does it support html helpers like H1(Hello) or {{ type python stuff here}} ? In another thread, the topic of WYSIWYG editors came up, but I think that was in relation to just doing Markmin text entry. Does a WYSIWYG editor make sense for

[web2py] Re: Getting auth.wiki pages to display without login

2012-09-09 Thread Andrew W
I've looked for the magic is_public button, but I can't find it. On Sunday, September 9, 2012 3:57:28 AM UTC+12, villas wrote: Just a thought, but doesn't the wiki page have an is_public field? If so, did you tick it? On Saturday, September 8, 2012 9:41:35 AM UTC+1, Andrew W wrote

Re: [web2py] Modelless app no longer works with web2py 2.0.x ???

2012-09-09 Thread Andrew W
Thanks Bruno for the comments, I have been looking into the modelless approach so it's interesting to read your views on the new lazy_tables feature.I think it is a lot simpler creating an app that follows the MVC structure out of the box, so the lazy option sounds like a great breakthrough

Re: [web2py] Modelless app no longer works with web2py 2.0.x ???

2012-09-09 Thread Andrew W
Excellent. Great explanation. On Monday, September 10, 2012 1:15:32 PM UTC+12, rochacbruno wrote: On Sun, Sep 9, 2012 at 9:27 PM, Andrew W awill...@gmail.com javascript: wrote: (although I still don't quite really understand what a lazy table is). imagine you have models/db.py db

[web2py] Re: Getting auth.wiki pages to display without login

2012-09-09 Thread Andrew W
of the groups who can read or write it. You can use the everybody group to make it public. On Sunday, 9 September 2012 18:19:30 UTC-5, Andrew W wrote: I've looked for the magic is_public button, but I can't find it. On Sunday, September 9, 2012 3:57:28 AM UTC+12, villas wrote: Just a thought

Re: [web2py] Modelless app no longer works with web2py 2.0.x ???

2012-09-09 Thread Andrew W
Hi Bruno, I got the same error with movuca, which I downloaded today: File D:\Mercurial\web2py\gluon\dal.py, line 7149, in __getattr__ if ogetattr(self,'_lazy_tables') and \ AttributeError: 'DataBase' object has no attribute '_lazy_tables' On Monday, September 10, 2012 7:24:15 AM

Re: [web2py] Re: static blog

2012-09-08 Thread Andrew W
Thanks. That would be great. On Saturday, September 8, 2012 8:31:16 AM UTC+12, Massimo Di Pierro wrote: Yes. I will post the script soon. I need to fix it because I changed the markmin syntax of links so my previous script broke. On Friday, 7 September 2012 14:58:06 UTC-5, Andrew W wrote

[web2py] Re: Getting auth.wiki pages to display without login

2012-09-08 Thread Andrew W
The S comes from Welcome App's layout.html, line 80: div class=nav-collapses On Saturday, September 8, 2012 8:41:35 PM UTC+12, Andrew W wrote: Just Checking, were you logged in when you tried to open up the page ? Just to clarify, if I'm logged in it will take me directly to the page

[web2py] Re: How do I incorporate git into my web2py workflow?

2012-09-08 Thread Andrew W
I've noticed that on Windows with tortoiseHG installed, that web2py doesn't recognise it as a Mercurial Installation.I guess I have to install Mercurial separately, although I'm using it through TortoiseHG ? On Saturday, September 8, 2012 10:46:13 AM UTC+12, Massimo Di Pierro wrote: One

Re: [web2py] Re: web2py book on github

2012-09-08 Thread Andrew W
I use TortoiseHG on Windows which I find quite simple to use, although sometimes I have to go back to the command line. I recommend it. In any case, the tar.gz should work. Are you getting an error ? On Saturday, September 8, 2012 7:47:38 AM UTC+12, ikdme wrote: Hello, Please am a windows

[web2py] auth.wiki with style

2012-09-08 Thread Andrew W
auth.wiki is looking pretty good (for what I need it for). Sorry, but just can't wait for the doco to arrive. I want to create a doco site with a look and feel like http://hginit.com/01.html. Note the tags off to the left. This is done with div class=cheatcontent style=margin-top:-50px div

Re: [web2py] Re: need a simple wiki...

2012-09-08 Thread Andrew W
Good point. On Sunday, September 9, 2012 8:44:32 AM UTC+12, Tito Garrido wrote: auth.wiki shouldn't include a WYSIWYG widget by default instead of a text box? On Mon, Sep 3, 2012 at 10:16 PM, Andrew W awill...@gmail.comjavascript: wrote: I've just done some tests on tools.py On edit

[web2py] Re: Getting auth.wiki pages to display without login

2012-09-08 Thread Andrew W
, September 8, 2012 9:41:35 AM UTC+1, Andrew W wrote: Just Checking, were you logged in when you tried to open up the page ? Just to clarify, if I'm logged in it will take me directly to the page - as expected. I wanted to test having pages available to users who haven't logged in - which

Re: [web2py] Re: static blog

2012-09-07 Thread Andrew W
Good work Martin, I was thinking of looking at the book app for the same purpose. I want to document some Disaster Recovery procedures, so I therefore also need to create a PDF version as well. Do you think the book app vs auth.wiki() is better (easier?) for generating PDFs.? So many

[web2py] Getting auth.wiki pages to display without login

2012-09-07 Thread Andrew W
Pasting in one of my urls into the browser, I always get a login screen. I haven't turned on permissions=True. Is there an extra step ?. --

[web2py] Re: Why would I use DIV classes/helpers, over an html template?

2012-09-07 Thread Andrew W
Good example Cliff. --

[web2py] Re: Getting auth.wiki pages to display without login

2012-09-07 Thread Andrew W
No I didn't. Only just found out about URL=True. Di I pass as a URL variable ? --

Re: [web2py] Re: static blog

2012-09-07 Thread Andrew W
Thanks. My intention is to make , and print, a PDF of the markmin content, just like the book. For disaster recovery doco, I want a hard copy. With the new book app, are you still planning to have available a PDF from the files? --

[web2py] Re: Connecting to external databases

2012-09-06 Thread Andrew W
Don't forget to migrate=False if you go to external databases. --

[web2py] Ticket issued in Book Search

2012-09-06 Thread Andrew W
Type in auth.wiki in the book's search field. P.s. keen to learn more about auth.wiki. --

[web2py] Auth.wiki(). Issue with wiki_page.html compute

2012-09-04 Thread Andrew W
(Starting a new post for this issue, mentioned in thread of a simple wiki) Issue: On edit of an existing page, the wiki_page.body is being updated correctly, but wiki_page.html does not change, it's compute function does not get called. I've added some print statements and markmin_render()

[web2py] Re: Auth.wiki(). Issue with wiki_page.html compute

2012-09-04 Thread Andrew W
Fixed in patch fixed update with compute fields (again) and ecomponents in markmin Thanks Massimo. On Wednesday, September 5, 2012 2:19:44 AM UTC+12, Andrew W wrote: (Starting a new post for this issue, mentioned in thread of a simple wiki) Issue: On edit of an existing page

[web2py] Redirect to https (V 2.0.6)

2012-09-03 Thread Andrew W
In your web2py directory type in touch NEWINSTALL and then restart web2py. It recreates the file you need. It should be there, unless it was deleted. --

[web2py] Re: need a simple wiki...

2012-09-03 Thread Andrew W
I can create pages OK, but when I click on Edit, make some changes and then press Submit, the changes do not get displayed. The changes are still there if I open up the Edit screen again, but the html won't change. I've stopped and restarted rocket but the old html stays. I've tried on a

[web2py] Re: need a simple wiki...

2012-09-03 Thread Andrew W
P.S. Menu changes work, in that the menu text gets updated, but the displayed menu text in the content area after I press submit still has the old text. On Tuesday, September 4, 2012 11:42:48 AM UTC+12, Andrew W wrote: I can create pages OK, but when I click on Edit, make some changes

[web2py] Re: need a simple wiki...

2012-09-03 Thread Andrew W
- page.html is not getting updated when editing an existing page. Hope this helps. Not sure how to fix it though. Is it the SQLFORM call not triggering a compute of page.html? On Tuesday, September 4, 2012 11:47:03 AM UTC+12, Andrew W wrote: P.S. Menu changes work, in that the menu text

[web2py] Re: need a simple wiki...

2012-09-02 Thread Andrew W
. Does you have to be in default/index to call auth.wiki() ? Do users have to log in to see the wiki pages ? The login screen comes up by default. I would like a wik page to come up by default. Thanks Andrew W wiki media are embedded with @5/slug.jpg where 5 is the id of the media file

Re: [web2py] Re: web2py book on github

2012-09-01 Thread Andrew W
Does auth.wiki need to be included in the doco todo list ? If plugin_wiki is to be phased out does the Components chapter need updating to refer to auth.wiki? By the way, thanks for putting the book on github. A good lesson in itself for a documentation app (on my list) I need to add

[web2py] Teaching web2py

2012-09-01 Thread Andrew W
I know some of you have taught, or presented web2py in classrooms/seminars. Massimo Now that version 2 is out, I am introducing web2py to my work colleagues who are a little green to python, and programming in general. Couldn't think of a better way to get them showing good results with a

<    1   2