Re: [web2py] web2py book error ImportError: Requires pygments module, but it is not available

2020-07-20 Thread Nico Zanferrari
No, this is a bad idea, don't try it. Instead, let the right version of Python use its own pip version; in your case: python2.7 -m pip install pygments should work fine. See here for details. Nico Il gio

Re: [web2py] web2py book error ImportError: Requires pygments module, but it is not available

2020-07-20 Thread Clemens
Hi, I'm also using Python 2 and 3 in parallel. I'm not using Pygments but other pipped libraries. And I'm using pip for the Python2 version and pip3 for Python3 version. Having installed both versions I'm just running Python 2 or 3 and the right library is linked. Furthermore I'm using update-

Re: [web2py] web2py book error ImportError: Requires pygments module, but it is not available

2020-07-20 Thread mostwanted
I feel like I'm about to ask a very ironic question but I need to know so here goes; So my web2py is running python Python 2.7.16 but my system is running Python 3.8.3 so is its pip (Python 3.8.3) by installing Pygments with pip for python 3 will it be able to be detected by my web2pywhich is

Re: [web2py] web2py book error ImportError: Requires pygments module, but it is not available

2020-07-20 Thread mostwanted
Thank you Nico On Monday, July 20, 2020 at 11:04:45 AM UTC+2, Nico Zanferrari wrote: > > Hi, > > you just need to: > > pip install pygments > > on your system, but beware to use the right pip program corresponding to > the python version you're using. In this way web2py's book application will >

Re: [web2py] web2py book error ImportError: Requires pygments module, but it is not available

2020-07-20 Thread Nico Zanferrari
Hi, you just need to: pip install pygments on your system, but beware to use the right pip program corresponding to the python version you're using. In this way web2py's book application will be able to use it ;-) Nico Il giorno lun 20 lug 2020 alle ore 10:53 mostwanted ha scritto: > I have

[web2py] web2py book error ImportError: Requires pygments module, but it is not available

2020-07-20 Thread mostwanted
I have downloaded the web2py book app but when I try to open from my laptop i get this error flashing: *web2py book error ImportError: Requires pygments module, but it is not available!* I am using web2py Version 2.20.4, how do I resolve it? Regards; Mostwanted -- Resources: - http://web2py

[web2py] web2py book on github or web

2018-08-02 Thread 黄祥
seems the web2py book is updated in github <https://github.com/web2py/web2py-book> but not in http://web2py.com/books it means that better to read the book from github or what ? thx n best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation)

[web2py] web2py book links and Dropbox

2017-09-03 Thread Massimo Di Pierro
Dear Web2py users, the link to the book is broken and you can find the new (temporary) link to the book here: https://www.dropbox.com/s/fuik35ayg686de3/web2py_manual_5th.pdf?dl=0 One the one side there is an easy fix to a broken link, replace all references to the new URL. Yet the problem is b

[web2py] Web2py book is down

2016-04-15 Thread Vladimir Tamayo
Help I tried to find information about implementation recipes (recetas de implementación) in Web2py book in Spanish but I obtained this ticket: http://www.web2py.com/admin/default/ticket/books/186.145.152.189.2016-04-15.02-53-35.090b4494-fdbb-4ad3-a188-aa17f157887f -- Resources: - http://web2

[web2py] web2py book, upload field

2015-03-21 Thread Val K
There is nothing about custom_store/custom_retrieve options of upload field in the web2py book. Why? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You

[web2py] Web2Py Book inconsistency and Reference to auth_user table has no recursive attributes

2014-09-16 Thread Yi Liu
web2py Shell 2.9.5-stable+timestamp.2014.03.16.02.35.39 In [1] : tos = db(db.auth_criteria.toSend ==1).select() In [2] : tos In [3] : for row in tos: print row.user_id.email Traceback (most recent call last): File "/Users/LaViez/Documents/Python/web2py/gluon/contrib/shell.py", line 234,

Re: [web2py] web2py book site problem?

2014-05-14 Thread Dave S
On Wednesday, May 14, 2014 12:50:09 PM UTC-7, Richard wrote: > > No problem here > > Perhaps you waited to long to try ;-) Seems to be back to working properly for me. /dps > > On Wed, May 14, 2014 at 1:47 PM, Dave S >wrote: > >> I'm getting a 502-backend from Python Anywhere when I try to

Re: [web2py] web2py book site problem?

2014-05-14 Thread Richard Vézina
No problem here On Wed, May 14, 2014 at 1:47 PM, Dave S wrote: > I'm getting a 502-backend from Python Anywhere when I try to access the > book. Am I just standing on the wrong tile? > > Some detail: I've had the tab for the book open to "function in views" > for a while, and it was ok after

[web2py] web2py book site problem?

2014-05-14 Thread Dave S
I'm getting a 502-backend from Python Anywhere when I try to access the book. Am I just standing on the wrong tile? Some detail: I've had the tab for the book open to "function in views" for a while, and it was ok after the last time I started FF (yesterday or Monday), and just now I wanted

[web2py] web2py book image blog example not working with google app engine launcher?

2014-03-12 Thread Tommi Lahtonen
I am trying web2py for the first time and I am trying to get the example in the book: http://web2py.com/books/default/chapter/29/03/overview to work. I am using goole app engine launcher in windows 7. I managed to write the model (db.py) to create image and post tables. Administration interfac

[web2py] Web2py book 4th edition missing "from gluon.scheduler import Scheduler "

2012-12-27 Thread António Ramos
hello i'm reading scheduler sample in book 4th edition chapter 4.18.3 Scheduler (experimental) the line from gluon.scheduler import Scheduler is missing from the example Thank you António --

[web2py] web2py book in Chinese

2012-12-05 Thread Massimo DiPierro
Thanks to Ming Huang we now have the web2py book in Chinese in PDF: https://dl.dropbox.com/u/18065445/web2py/web2py_manual_chinese_3rd.1.pdf If you can help convert it to Markmin and ok generating a better PDF from the ODT, please let me know. Massimo --

[web2py] web2py book on github

2012-09-01 Thread Massimo Di Pierro
The web2py book app has been rewritten http://www.web2py.com/book and the source of the app and the book itself is now on github https://github.com/mdipierro/web2py-book/tree/master/sources Hopefully this will make it easier to keep it updated. You can just send me patches. You can also

[web2py] Web2py book 4th edition, online

2012-08-02 Thread Andrew
Hi Massimo, The 4th edition book has been on the web for a while. Just wondering if there have been any incremental updates to the online version, while it is still called "4th edition" ? --

Re: [web2py] web2py book now free in PDF

2012-06-12 Thread joseph simpson
Thanks for the gift of great work... On Tue, Jun 12, 2012 at 10:54 AM, Arvind Gupta wrote: > Thanks a lot.. > > > On Tue, Jun 12, 2012 at 11:23 PM, Jason (spot) Brower > wrote: > >> Thank you. It will be a great reference while I am not online. >> >> >> On Tue, Jun 12, 2012 at 7:58 PM, Rich

Re: [web2py] web2py book now free in PDF

2012-06-12 Thread Arvind Gupta
Thanks a lot.. On Tue, Jun 12, 2012 at 11:23 PM, Jason (spot) Brower wrote: > Thank you. It will be a great reference while I am not online. > > > On Tue, Jun 12, 2012 at 7:58 PM, Richard Vézina < > ml.richard.vez...@gmail.com> wrote: > >> Thanks! >> >> Richard >> >> >> On Tue, Jun 12, 2012 at 1

Re: [web2py] web2py book now free in PDF

2012-06-12 Thread Alec Taylor
Thank you very much! On Tue, Jun 12, 2012 at 11:17 PM, Massimo Di Pierro wrote: > The official web2py book is now free for everybody: > > https://dl.dropbox.com/u/18065445/web2py/web2py_manual_4th.1.pdf > > Massimo

Re: [web2py] web2py book now free in PDF

2012-06-12 Thread Jason (spot) Brower
Thank you. It will be a great reference while I am not online. On Tue, Jun 12, 2012 at 7:58 PM, Richard Vézina wrote: > Thanks! > > Richard > > > On Tue, Jun 12, 2012 at 12:49 PM, Massimo Di Pierro < > massimo.dipie...@gmail.com> wrote: > >> I still want exclusive right to sell it in print and

Re: [web2py] web2py book now free in PDF

2012-06-12 Thread Richard Vézina
Thanks! Richard On Tue, Jun 12, 2012 at 12:49 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > I still want exclusive right to sell it in print and distribute improved > versions. ;-) > But you are right the license may need revision. Now sure how. > > Massimo > > > On Tuesday, 12 Ju

Re: [web2py] web2py book now free in PDF

2012-06-12 Thread Massimo Di Pierro
I still want exclusive right to sell it in print and distribute improved versions. ;-) But you are right the license may need revision. Now sure how. Massimo On Tuesday, 12 June 2012 10:08:34 UTC-5, mcm wrote: > > +1! > > Thanks Massimo! > > Do you have to change the following statemt about (c

Re: [web2py] web2py book now free in PDF

2012-06-12 Thread Michele Comitini
+1! Thanks Massimo! Do you have to change the following statemt about (c)? "No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning, or otherwise, except as permitted under S

Re: [web2py] web2py book now free in PDF

2012-06-12 Thread Bruno Rocha
Great news! thank you Massimo, it will help a lot. maybe one can convert it to epub and make it available on kindle store for free. *Bruno Cezar Rocha* http://www.CursoDePython.com.br [image: Facebook] [image: Twitter] [image:

Re: [web2py] web2py book now free in PDF

2012-06-12 Thread ゴー・ニコライ
Thank you Massimo. On Tuesday, June 12, 2012, Massimo Di Pierro wrote: > The official web2py book is now free for everybody: > > https://dl.dropbox.com/u/18065445/web2py/web2py_manual_4th.1.pdf > > Massimo >

Re: [web2py] web2py book now free in PDF

2012-06-12 Thread Doug Philips
On Tue, Jun 12, 2012 at 9:17 AM, Massimo Di Pierro wrote: > The official web2py book is now free for everybody: > > https://dl.dropbox.com/u/18065445/web2py/web2py_manual_4th.1.pdf Thank you! -=Doug

Re: [web2py] web2py book now free in PDF

2012-06-12 Thread Thomas Bellembois
Le 12/06/2012 15:41, Johann Spies a écrit : On 12 June 2012 15:17, Massimo Di Pierro > wrote: The official web2py book is now free for everybody: https://dl.dropbox.com/u/18065445/web2py/web2py_manual_4th.1.pdf Thanks! Regards Johann -- Because e

Re: [web2py] web2py book now free in PDF

2012-06-12 Thread Johann Spies
On 12 June 2012 15:17, Massimo Di Pierro wrote: > The official web2py book is now free for everybody: > > https://dl.dropbox.com/u/18065445/web2py/web2py_manual_4th.1.pdf > > Thanks! Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (P

[web2py] web2py book now free in PDF

2012-06-12 Thread Massimo Di Pierro
The official web2py book is now free for everybody: https://dl.dropbox.com/u/18065445/web2py/web2py_manual_4th.1.pdf Massimo

[web2py] web2py book references: return invalid functions

2012-05-15 Thread Chris May
It looks like the reference links in the web2py book aren't working. For example, the [pythonsecurity] link in the introduction ( http://web2py.com/books/default/reference/29/pythonsecurity) returns an error: invalid function (default/reference). I hope that may be an easy fix for someone. How

[web2py] web2py book in Japanese

2012-01-27 Thread Massimo Di Pierro
Congratulations to Omi Chiba, Kenji Hosoda, Kenji Nakagaki, Mitsuhiro Tsuda, and Yota Ichino. The web2py book is now available in PDF in Japanese: http://web2py.com/books/static/web2py_japanese_3rd.pdf

[web2py] web2py book refrences

2012-01-08 Thread guruyaya
Were the web2py book refrences deigned to work? If so - they are not. For example, click here: http://web2py.com/books/default/chapter/29/1 and click on the link that says "web2py" it leads nowhere. Niether any of the refrences

[web2py] web2py book license and source

2011-12-26 Thread Vladimir Rutsky
Hello! Under which license book available at http://web2py.com/book is distributed? If it is under some open source license, where I can find its sources? Regards, Vladimir Rutsky

Re: [web2py] web2py book 4th Edition

2011-12-09 Thread jotbe
Really nice! On Fri, Dec 9, 2011 at 6:30 PM, Massimo Di Pierro wrote: > The book 4th edition (in print) is available here: > > http://www.lulu.com/product/paperback/web2py-book-4th-edition/18738286 > > I will post it on the web site asap and in PDF. > > The book described web2py 1.99.3 and later.

Re: [web2py] web2py book 4th Edition

2011-12-09 Thread Bruno Rocha
the book cover is very nice! I like that! On Fri, Dec 9, 2011 at 3:30 PM, Massimo Di Pierro wrote: > The book 4th edition (in print) is available here: > > http://www.lulu.com/product/paperback/web2py-book-4th-edition/18738286 > > I will post it on the web site asap and in PDF. > > The book des

[web2py] web2py book 4th Edition

2011-12-09 Thread Massimo Di Pierro
The book 4th edition (in print) is available here: http://www.lulu.com/product/paperback/web2py-book-4th-edition/18738286 I will post it on the web site asap and in PDF. The book described web2py 1.99.3 and later. Massimo

[web2py] web2py book translation

2011-12-05 Thread Mirek Zvolský
If we will have 4th edition of web2py book, I am interested to translate it (into czech language). Are there some hints, what to do, when I want start with translation?

[web2py] web2py Book 3.2 errors

2011-11-19 Thread Justin Heath
FYI. -- Chapter 4: Workflow Error: explained laster in this chapter Correction: explained later in this chapter -- Chapter 4: Accessing the API from Python modules Error: way way for thme Correction:

[web2py] Web2py book

2011-10-24 Thread Archibald Linx
Dear web2py users, I have some questions about the book : 1) There is a typo here : http://www.web2py.com/book/default/chapter/10#Auto-completion It should be "if not request.vars.month:" and not "it not request.vars.month:" 2) On page 69, what do you mean by "private" ? " Class atributes, meth

Re: [web2py] web2py book version

2011-10-09 Thread Kenneth Lundström
If I have understood correctly the online book always, we a small delay, reflect the newest version. But as the manual is called a book it might not always be obvious. Kenneth Hi guys, Just spent several frustrated hours trying to figure why the following line: "if form.process().accepted:"

[web2py] web2py book version

2011-10-09 Thread Guy Nesher
Hi guys, Just spent several frustrated hours trying to figure why the following line: "if form.process().accepted:" Luckly Anthony suggested I was using an older version of web2py and indeed upgrading to the latest version fixed the problem. This however brings up another problem. What version o

Re: [web2py] Web2py Book typo? Database-Validators: IS_EMPTY_OR

2011-09-07 Thread Bruno Rocha
Both will work. http://zerp.ly/rochacbruno Em 07/09/2011 10:36, "juanduke" escreveu: > Hi! > Reading the validators section, it says: > > IS_NULL_OR > Deprecated, an alias for IS_EMPTY_OR described below. > > IS_EMPTY_OR > Sometimes you need to allow empty values on a field along with other > req

[web2py] Web2py Book typo? Database-Validators: IS_EMPTY_OR

2011-09-07 Thread juanduke
Hi! Reading the validators section, it says: IS_NULL_OR Deprecated, an alias for IS_EMPTY_OR described below. IS_EMPTY_OR Sometimes you need to allow empty values on a field along with other requirements. For example a field may be a date but it can also be empty. The IS_EMPTY_OR validator allows

[web2py] web2py book multilanguage

2011-08-11 Thread Massimo Di Pierro
The web2py book online http://web2py.com/book is not multilanguage. If your browser is set to English it is in Eglish If your browser is set to Italian it is in Italian (traduzione di Giovanni Cannata) I do not have other translations but I can enable them if you have them. Let me know. massimo

[web2py] web2py book not available?

2011-08-01 Thread apple
http://www.web2py.com/book is currently generating an error.

Re: [web2py] web2py book changelog?

2011-06-13 Thread Sebastian E. Ovide
web2py is adding so many functionalities that it is difficult to understand what the book is documenting. It would be great to have a changelog... or at least a web2py version that the book is referring to On Sat, Jun 11, 2011 at 2:19 AM, niknok wrote: > > Is there like a change log for the

[web2py] web2py book changelog?

2011-06-10 Thread niknok
Is there like a change log for the web2py book where I can view what's been added or modified recently? /r

[web2py] web2py book URL

2011-03-16 Thread Dave
it looks like the web2py book URL is broken this morning. makes me wish i had splurged for the printed copy! also, web2py is great! :)

[web2py] web2py book

2011-01-07 Thread puercoespin
Is there an errata file of the printed book? Because Lulu's book has many errors, and I have to be in comparison to the online version of it. I also think it would be interesting that users can add comments in the book, and that anyone can also display, as is for example in the postgresql manual.

[web2py] Web2py book - virtual fields section improvements

2010-11-24 Thread Adi
Hi all, I spent hours yesterday trying to implement virtual fields correctly following the book, and based on that I found some behaviour which could be better explained. Reference: http://web2py.com/book/default/chapter/06#Virtual-Fields web2py version: 1.88.2 1. Selecting a virtual field like

[web2py] web2py book discount [was Book 3rd Edition, Lulu Printed Copy, comments]

2010-10-30 Thread Jonathan Lundell
On Oct 30, 2010, at 1:49 AM, cjrh wrote: > > My new printed copy of the third edition of the book arrived a few > days ago (took almost 2 months to find me!). Lulu has a 20% discount available through Nov 1: http://www.lulu.com/static/102910_TRICK305Rwv.html/?cid=102910_en_email_TRICK305R

Re: [web2py] web2py book as model for documentation

2010-09-26 Thread Stef Mientki
On 27-09-2010 00:00, mart wrote: > Hi, > > Trying to use the web2py book (the application) as a model (because > the layout is great and has that "I'm the editor" feature :) That might be the first part I'm looking for, where can I find that application (google gives me only the content of the bo

[web2py] web2py book as model for documentation

2010-09-26 Thread mart
Hi, Trying to use the web2py book (the application) as a model (because the layout is great and has that "I'm the editor" feature :) So, no sure what I am doing wrong... everytime I update the text, it section's content disapears... but the heading in the side bar remains ... If I remove the cont

[web2py] Web2py Book 3rd Edition

2010-09-14 Thread NetAdmin
Whooo Hooo! I just received the Printed 3rd Edition of the Web2py Manual from LULU.com http://www.lulu.com/product/paperback/web2py-%283rd-edition%29/12199578?productTrackingContext=search_results/search_shelf/center/3 Mr.NetAdmin

[web2py] web2py book understanding

2010-08-19 Thread dederocks
Hello, I want to give web2py a try, and so experiment as I follow the online web2py book. Chapter 3, section 'Postbacks', code snipet: if not request.function=='first' and not session.visitor_name: redirect(URL('first')) Does not appear to work as expected. request.function always returns '

[web2py] Web2Py Book - Controllers?

2010-08-16 Thread David
Where is the part which talks about how controllers work and are used in the web2py book? I see the DAL and Views but nothing on controllers is obvious here. Thanks, David

[web2py] Web2py book software feature request

2010-08-05 Thread b00m_chef
I just wanted to request that the book be opened up to editing if you register. However, if you register, and make a change, only you can see the pages with you changes, until your changes are approved to be included in the public view of the page by the editors/moderators. This way, if a user is f

[web2py] web2py book and softcron

2010-04-01 Thread Jonathan Lundell
Section 4.17 (cron) mentions hard vs soft cron defaults, but doesn't say how to override them. Section 4.1 (cli) doesn't list --softcron The startup message for soft cron says: 'Using softcron (but this is not very efficient)' In what sense "not efficient"? I understand that the timing is less

[web2py] web2py book trivia

2010-03-20 Thread Joschua
the web2py-book registration mail was sorted in the spam folder, because "the mail was not send from the real mailserver of the sender." (real: web2py.com, sendfrom: ..depaul.edu) at http://web2py.com/book/default/section/3/10 the category must be called "versioning" and not "mercurial", because t

[web2py] Web2Py Book application

2010-03-03 Thread Giovanni Giorgi
Hi all, I am new to web2py, even if I am following it from time to time (http://gioorgi.com/2009/web2py/) I have seen the Book application used for the web2py book http://web2py.com/book/ Where Is it possible to download the source of this application? I'd like to study it for learning web2py..