Paul here is a reply to your pyfpdf question. I think the best way to use pyfpdf with web2py is not to install pyfpdf, but to include it in your application. So download the source file. Put all the .py files in the modules folder of your application. Copy the font folder into the modules folder of your app. Remember to restart web2py to allow the changes in the module folder to filter through. This works for me and I find pyfpdf pretty good.
Peter On Tuesday, 13 November 2012 23:28:59 UTC, Paul Rykiel wrote: > > Hi just learning WEB2py and I have a question: > > why do i get an error on this code > **** This code errors out, but when I replace "tag_no" with 1 for record > id 1, it works, also the variable "tag_no" has a 1 as a value when i type > in an argument 1 on the end of the URL * > > def tag(): > tag_no = request.args(0) > Title = "For Sale" > * Rows = db(db.bike.id==tag_no).select() * > for row in Rows: > serial = row.serial > make = row.make > model = row.model > size = row.size > color = row.color > style = row.style > date_of_receipt = row.date_of_receipt > repairs = row.repairs_done > price = row.price > return locals() > --

