@Mart
1) You need to install a TeX distribution, TeX Live is probably the
most complete: http://tug.org/texlive/
2010/10/3 mart :
> Ok, 'm really liking this! a few questions:
>
>
> 1) I'm not catching on where we get pdflatex... is it a plugin? where
> do we get it?
>
>
> 2) Is this a feature t
Hi MAssimo,
on localhost, I use web2py server. I look in httpd config.
Thanks.
On 2 oct, 22:04, mdipierro wrote:
> Could be a permission issue. When you open it from localhost do you
> still use lighttpd or do you start web2py user your user account?
>
> On Oct 2, 10:58 am, Arnaud Masselin wr
I love the db(db.table) idea... when I first started using web2py I
would do that thinking it would do that.
BR,
JAson
On 10/02/2010 11:50 PM, mdipierro wrote:
Changelog:
markmin2latex
markmin2pdf
Storage getfirst, getlast, getall by Kevin and Nathan
db(db.table), db(db.table.id) both supporte
I do something similar except I use request.args(0) and look for "yes".
If it has it delete otherwise show a screen with a "du ya reelize wanna"
and a no with goes to some page, and yes which just adds a /yes to the
end. IF there is yes, delete AND redirect to a page somewhere...
BR,
J
On 1
Hi Denes,
>2010/10/3 DenesL :
> Hi Ivan,
>
> mysql is not one of the supported DBs for keyed tables:
> only DB2, MSSQL, Ingres, and Informix have been added as per
I looked at dal.py (web2py 1.83.2 2010-08-15). It has
# list of drivers will be built on the fly
# and lists only what is available
>2010/10/3 mdipierro :
> Since August we had many improvements in sql.py that were not
> reflected into dal.py.
So shell I start hacking DAL or wait for improvements to be put in?
> web2py is still using sql.py and it will be a little while before we
> move to dal.py
If I start hacking how do I
Dear Friends of Web2py,
where do i go to edit the default number of rows for a textarea
displayed in a SQLFORM or CRUD form that is autogenerated from a
model? There are fields with a 'text' datatype. The textareas are too
long vertically and they have scroll bars if more text area is needed
which
Hi Ivan,
sorry for the confusion, I have been a little away from web2py, not by
choice.
Don't wait for dal.py, just follow the 3 steps under point (E) in the
post
http://groups.google.com/group/web2py/browse_thread/thread/db150376b06d47fc
The insert function in step 2 is on line 2527 now (1.85.3
what is scaling?
On Oct 3, 12:02 am, mart wrote:
> Ok, 'm really liking this! a few questions:
>
> 1) I'm not catching on where we get pdflatex... is it a plugin? where
> do we get it?
>
> 2) Is this a feature that can be add to an up for users? meanin
> something like "upload your document - the
I knew I forgot something important. I apologize.
1.86.1 also includes Hebrew translation by our user Yair. He did more
than that since he fixed some typos in many of the existing
translations.
Massimo
On Oct 3, 12:49 am, guruyaya wrote:
> Oh, awsome! I see there's Hebrew and RTL support, in th
something like this should do
form=crud.create(...)
form.element('textarea')[_cols']=40
form.element('textarea')[_rows']=2
or use jQuery/CSS. I normally use jQuery.
On Oct 3, 7:00 am, Markandeya wrote:
> Dear Friends of Web2py,
> where do i go to edit the default number of rows for a textarea
Thanks Denes,
I agree. It is better to continue add features to sql.py until
somebody has the time to put dal.py back in sync with sql.py.
Massimo
On Oct 3, 8:35 am, DenesL wrote:
> Hi Ivan,
>
> sorry for the confusion, I have been a little away from web2py, not by
> choice.
>
> Don't wait for
Hi all
Missing gluon.tools import ??
File "/home/john/web2py/applications/testapp/models/menu.py", line 32
if auth.has_membership(auth.id_group('Administrator')):
^
SyntaxError: invalid syntax
in file menu.py
if auth.has_membership(auth.id_group('Administrator')):
response.menu
more likely there is an incomplete line before and it expects an
indented block
On Oct 3, 9:41 am, Dr Schmulge wrote:
> Hi all
>
> Missing gluon.tools import ??
>
> File "/home/john/web2py/applications/testapp/models/menu.py", line 32
> if auth.has_membership(auth.id_group('Administrator'))
Thank you , sorry , this is my fault, stupid copy past error .
2010/10/3 mdipierro :
> more likely there is an incomplete line before and it expects an
> indented block
>
> On Oct 3, 9:41 am, Dr Schmulge wrote:
>> Hi all
>>
>> Missing gluon.tools import ??
>>
>> File "/home/john/web2py/applica
we all do that. ;-)
On Oct 3, 12:28 pm, Dr Schmulge wrote:
> Thank you , sorry , this is my fault, stupid copy past error .
>
> 2010/10/3 mdipierro :
>
> > more likely there is an incomplete line before and it expects an
> > indented block
>
> > On Oct 3, 9:41 am, Dr Schmulge wrote:
> >> Hi al
Hi Massimo
Is it possible for you to set something up so that I can be notified
by email whenever a visitor to the web2py book leaves a User Comment?
Frequently, these comments point out errors in the documentation. I
would like to fix errors faster, but I don't get around to check the
all commen
Good point. I will look into ti. should not be difficult but I am
swamped at the moment.
If it does not get done in one week, please remind me personally.
Massimo
On Oct 3, 2:20 pm, cjrh wrote:
> Hi Massimo
>
> Is it possible for you to set something up so that I can be notified
> by email whene
@Michele: Thanks for that, I will make good use of it! :)
@Massimo: scaling is one of those options that is more often set by
the pdf viewer (because what generates the pdf usually sets the
default to "scaling=enabled"). If I re-use that fingerboard example:
When using the app, the young violinist
@Massimo,
is it text?
response.headers['content-type']='text'
or
response.headers['content-type']='application/pdf' ?
tnx
mic
2010/10/3 mdipierro :
> install pdflatex
>
> create a views/generic.pdf that contains:
>
> begin file
> {{
> import re
> from gluon.contrib.markmin.markmin2p
I think it almost works. :) The uploaded files were redirected to the
gallery_images table, but when I try to display them using the
download function, the app can't retrieve them. I get the following
error:
Traceback (most recent call last):
File "/base/data/home/apps/scalpellino-manufactory/
3
Just got this email:
"""
Hi,
I am Usha Iyer, an Acquisition Editor with Packt Publishing. As an
Acquisition Editor, it is my role to evaluate, develop and ultimately
bring book ideas to publication. I am also responsible for finding the
right author for any book; bringing them onboard, then worki
Alvaro,
I didn't see this post before.
this can be a great feature and I will trye to adapt it to postgresql and
mysql, at least.
if massimo already don't use it, with sqlite, postresql and mysql, it can
worth the value.
2010/6/11 Álvaro Justen
> Hello Alexandre, nice work.
> I did it in pa
Hello all
I am facing a challenge in my code for some reason the logic to generate a
group of div tags in a 3 by 3 column is eluding me
here is my code I am missing something can anyone help
if you can help by showing me a way to avoid using tables that would be
great if not and end up using tab
if there are errors it should return text containing the errors, else
pdf. This mechanism for error reporting is temporary and does not
quite work.
On Oct 3, 3:02 pm, Michele Comitini
wrote:
> @Massimo,
>
> is it text?
>
> response.headers['content-type']='text'
>
> or
>
> response.headers['conte
A bunch of us got that. If you did please contact me privately.
Massimo
On Oct 3, 4:27 pm, Richard wrote:
> Just got this email:
>
> """
> Hi,
>
> I am Usha Iyer, an Acquisition Editor with Packt Publishing. As an
> Acquisition Editor, it is my role to evaluate, develop and ultimately
> bring bo
we also have
scripts/extract_mysql_models.py
Massimo
On Oct 3, 5:37 pm, Alexandre Andrade wrote:
> Alvaro,
>
> I didn't see this post before.
>
> this can be a great feature and I will trye to adapt it to postgresql and
> mysql, at least.
>
> if massimo already don't use it, with sqlite, postre
I'm trying to use autocomplete widget (
http://web2py.com/book/default/chapter/07#Autocomplete-Widget) on GAE and
I'm receiving this error:
Traceback (most recent call last):
File
"/Users/titogarrido/Documents/Projetos/GAE/gametroca/web2py/gluon/restricted.py",
line 188, in restricted
exec cc
I would do this:
{{def display(i,row):}}
{{=i}} . {{=A(row.product_name,
_href=URL('indv_product', args=row.id))}}
{{return}}
{{for i,row in enumerate(rows):}}
{{if i%3==0:}}{{pass}}
{{display(i,row)}}
{{if i%3==2:}}{{pass}}
{{pass}}
{{# fill up blanks #}}
{{for j in range(i%3,2):
Hi ,
I have tried this release and have some issues with the Windows
release . Here is the log generated when i start the
web2py_no_console.exe .
Traceback (most recent call last):
File "web2py.py", line 17, in
File "gluon/widget.py", line 25, in
File "gluon/main.py", line 44, in
File
Yes.
You can make it work (sort of) if you edit gluon/sqlhtml.py and
replace
rows = self.db(field.like(self.request.vars[self.keyword]
+'%'))\
.select(orderby=self.orderby,limitby=self.limitby,*self.fields)
with
rows = self.db(field>=self.request.vars[sel
Fixed in 1.86.2
incidentally I discovered the win binary was missing login_methods and
both osx and win binaries were missing pyfpdf.
I am surprised nobody noticed. This was an error in the build script
now fixed.
Massimo
On Oct 3, 9:01 pm, Manu wrote:
> Hi ,
> I have tried this release and
Thx Massimo , It works perfectly on windows now!
On Mon, Oct 4, 2010 at 4:16 AM, mdipierro wrote:
> Fixed in 1.86.2
>
> incidentally I discovered the win binary was missing login_methods and
> both osx and win binaries were missing pyfpdf.
>
> I am surprised nobody noticed. This was an error in t
Thank you for reporting the problem. Hard to fix things when I do not
know there is a problem. ;-)
On Oct 3, 9:22 pm, Manu wrote:
> Thx Massimo , It works perfectly on windows now!
>
> On Mon, Oct 4, 2010 at 4:16 AM, mdipierro wrote:
> > Fixed in 1.86.2
>
> > incidentally I discovered the win bi
hey ty that gives me a good start
*Cheers
I am trying to use two database values returned in my function
If I use two loops (one inside another) it repeats itself for a single item
for how many items are in the database, I think its cause of the two loops
So I am trying to combine the loops into one
{{for (stuff, products) in (userstuff
On 10/03/2010 08:21 PM, Andrew Evans wrote:
I am trying to use two database values returned in my function
If I use two loops (one inside another) it repeats itself for a single
item for how many items are in the database, I think its cause of the
two loops
So I am trying to combine the loop
On Sun, Oct 3, 2010 at 19:37, Alexandre Andrade
wrote:
> Alvaro,
>
> I didn't see this post before.
>
> this can be a great feature and I will trye to adapt it to postgresql and
> mysql, at least.
>
> if massimo already don't use it, with sqlite, postresql and mysql, it can
> worth the value.
Ple
38 matches
Mail list logo