Is this under windows?
On Aug 15, 1:27 pm, hcvst wrote:
> 1.65.11 (2009-08-04 16:42:46)
>
> On Aug 15, 7:05 pm, mdipierro wrote:
>
> > which web2py version (date)?
>
> > On Aug 15, 8:12 am, hcvst wrote:
>
> > > Ok, there's also a mistake in my db.py it should say
>
> > > if session.lang:
> > >
Why do we have two threads? Can you mode this duscussion on the other
thread?
Massimo
On Aug 16, 1:02 am, Yarko Tymciurak wrote:
> On Sat, Aug 15, 2009 at 4:47 PM, Jonathan Lundell wrote:
>
>
>
> > On Aug 15, 2009, at 2:17 PM, Yarko Tymciurak wrote:
>
> > On Sat, Aug 15, 2009 at 3:38 PM, Jonath
Hi Massimo,
Debian Etch (original post)
Ubuntu 9.04 (shell example)
HC
On 16 Aug., 09:37, mdipierro wrote:
> Is this under windows?
>
> On Aug 15, 1:27 pm, hcvst wrote:
>
> > 1.65.11 (2009-08-04 16:42:46)
>
> > On Aug 15, 7:05 pm, mdipierro wrote:
>
> > > which web2py version (date)?
>
> > >
Its sounding somewhat like there's still some pent up creative juice
out there to optimize this logo further. I don't recall there ever
having been an official logo competition ... it seems to have
proceeded somewhat ad hoc. I'm not speaking for myself, in particular,
but it seems like some others
I am uploading a new version in trunk (1173/1078). Can you check if
the problem is fixed?
Massimo
On Aug 16, 2:43 am, hcvst wrote:
> Hi Massimo,
>
> Debian Etch (original post)
> Ubuntu 9.04 (shell example)
>
> HC
>
> On 16 Aug., 09:37, mdipierro wrote:
>
> > Is this under windows?
>
> > On Au
Thanks Teru,
I just tried again using the version below on Ubunutu 9.04
and Python 2.5.4.
web2py Shell Version 1.65.11 (2009-08-04 16:42:46)
In[0]: T.force('fr-fr')
Out[0]: ['fr-fr']
In[1]: T('Hello World').xml()
Out[1]: 'Bonjour Monde'
In[2]: T.force('en')
Out[2]: ['en']
In[3]: T('Hello Wor
I'm sure MDP wants this logo ASAP for the final draft of book v2.
However, this thread sounds somewhat like there's still some pent up
creative juice
out there to optimize the logo further. I don't recall there ever
having been an official logo competition ... it seems to have
proceeded somewhat
Historically this is what happened...
1) People started submitting logos more than one year go. Early logos
were posted here:
http://www.web2py.com/AlterEgo/default/show/97
2) We called for a competition on this list but no new logos were
submitted. We did not have a formal vote of existing logos
Well,
Theres is a "{" missing before the "=URL(" call and there seems to be
an url embedded in the string f='tools', i.e. f='tools ' .
Serge.
On 15 août, 15:06, Yarko Tymciurak wrote:
> On Sat, Aug 15, 2009 at 8:05 AM, Yarko Tymciurak wrote:
> > this is a good web2py user quiz: that link on
OK, by getting from the trunk the gluon/sql.py and gluon.sqlhtml.py
files, this problem is fixed in the 1.65.11 release. Thank you Massimo
and Yarko. On to my next adventure.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
Amen.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.c
two threads:
As I mentioned, I wasn't able to upload the file (a matter of
permissions), so I was forced to sent an attachment by email. The font
is "DejaVu Sans Bold", the same as the squared logo. Colors are the
same of the other similar logo, but positions are exchanged.
On Au
-Look at the last Django book: authors use the same font height for
code\explanations, that's very important. I suggest you to copy that
style, it will be an advantage because a reader of the Django book
will find your book more familiar.
-
On Aug 16, 9:53 am, Massimo Di Pierr
oh, I'd erase some parts of the book to enlarge the GAE section, very
strategic point for web2py, to became the easiest way to publish
something on appengine.
---
On Aug 16, 9:53 am, Massimo Di Pierro wrote:
Massimo,
Slightly off topic - related to the screenshot of the website
redesign.
I recommend putting "read this first" at the top of that right hand
list, or ideally at the top of the left-hand list. This allows people
who come to the page for the first time to get to it quickly:
http://www.usei
One thing is for sure: now, web2py has a logo (see the top of the
home page), a very simple one, and is the bare script "web2py", white
and orange color, dark-grey background. That's the fact, that's how I
submitted my version of the logo following that pattern.
--
On
Hi,
Thank you for free access to your work.
At first glance: you mentioned " four distinct ways to build forms in
web2py..." (page 181) but only three were signalized (or mayby I am
missing somthing)?
Thanks again.
Marcin
Wiadomość napisana w dniu 2009-08-16, o godz. 09:53, przez Massimo Di
OK, I missed it. Now I have got the fourth one: CRUD methods.
me:
> At first glance: you mentioned " four distinct ways to build forms
> in web2py..." (page 181) but only three were signalized (or mayby I
> am missing somthing)?
Wiadomość napisana w dniu 2009-08-16, o godz. 09:53, przez M
On Fri, Aug 14, 2009 at 3:21 PM, mdipierro wrote:
> On Aug 14, 8:57 am, Miguel Lopes wrote:
>> I also prefer A.
>> But I like the current logo better and think that it should have been
>> included in the pool?
>
> What do you refer to as "current logo"?
>
The one displaying on the top left of we
Hi Massimo,
> there will be a PDF version on lulu
Will those who already bought the current Lulu version be able to
download the new version for free, or will they have have to buy it
again?
I saw this question asked before, but AFAIK it wasn't answered yet.
rev
--~--~-~--~~-
So, just to make yet more clear: in devlopment I must use sqlite or
some other db, right?
On Aug 15, 2:07 pm, mdipierro wrote:
> You can develop using the local server wsgiserver, test using
> dev_appserver and then deploy on GAE. Data will not be shared between
> the three of them.
>
> On Aug 1
Your answer might work, but I would suggest B(T('Howto')). The point
is to separate language string (the "Howto") from appearance (the
"...").
On Aug15, 7:34pm, hcvst wrote:
> Is it
> {{=XML(T('Howto'))}}
> One tends to find an answer only ever after submitting a question.
>
> On 15 Aug., 13:22,
Quote from page 35:
However, the following action:
1 def create_tablename:
2 return dict(form=crud.create(db.tablename))
would only expose the create method
1 http://.../[app]/[controller]/data/create_tablename
Shouldn't the last line be this?
1 http://.../[app]/[controller]/cr
Hi Iceberg,
it's a lengthy paragraph and I want to be able to translate it as one
because
the other language's word order is different.
Is there a better way?
How would one translate for example:
"""
Caipirinha is Brazil's national cocktail, made with cachaça
""" (from wikipedia)
into
"""
Bra
I wanted to chime in on the code examples too...
I agree the Django book is a good example to follow. Also, in its
present form, it is hard to copy and paste code from the book without
also copying line numbers.
On Aug 16, 9:33 am, Iceberg wrote:
> Quote from page 35:
>
> However, the fo
Now I understand your headache. I felt that before when my application
needed to provide a lengthy manual in different languages. Eventually
I think "lengthy paragraph translating" is beyond the scope of any
"simple" i18n mechanism. So I decided to not bother the i18n, just
solve it via a raw way:
On Aug 16, 2009, at 3:09 AM, Marcin Jaworski wrote:
> OK, I missed it. Now I have got the fourth one: CRUD methods.
>
> me:
>
>> At first glance: you mentioned " four distinct ways to build forms
>> in web2py..." (page 181) but only three were signalized (or mayby I
>> am missing somthing)?
>
yes.
If you develop for web2py+T3 than you can develop directly on GAE for
GAR but that is still considered experimental.
On Aug 16, 7:35 am, yamandu wrote:
> So, just to make yet more clear: in devlopment I must use sqlite or
> some other db, right?
>
> On Aug 15, 2:07 pm, mdipierro wrote:
so the first bug is what you pointed out - the template code should not be
emmitted to the client page,
and because of a single (in place of double) '{' we are privilege to the
template code...
which shows the second bug:
URL(r=request, f='tools'..)
from the default page would not find th
On Sun, Aug 16, 2009 at 12:08 PM, Yarko Tymciurak wrote:
> so the first bug is what you pointed out - the template code should not be
> emmitted to the client page,
> and because of a single (in place of double) '{' we are privilege to the
> template code...
>
> which shows the second bug:
>
>
please do not not email me now. Email me after the book is released.
On Aug 16, 12:10 pm, mdipierro wrote:
> I do not have a mechanism. That is why I am making the new chapters
> for free.
> If you email with your lulu receipt I will email you the new book.
>
> Massimo
>
> On Aug 16, 6:37 am, re
I do not have a mechanism. That is why I am making the new chapters
for free.
If you email with your lulu receipt I will email you the new book.
Massimo
On Aug 16, 6:37 am, rev wrote:
> Hi Massimo,
>
> > there will be a PDF version on lulu
>
> Will those who already bought the current Lulu vers
Greetings, Currently I have a lovely web form that was fairly easy to
implement with web2py. I now also have cron script that is uploading
snapshots of an image from a webcam to my website. What I would like
to do is have a service url that I could post my image to and have it
automatically be
if you have:
def mycreate(): return dict(form=crud.create(db.mytable))
you normally call: http:///mycreate to get the form.
You can also call it with
http:///mycreate.json?json=[]
where [] is a URLencoded JSONencoded dictionary containing the new
record. The ".json" instructs web2py no
Correction. This works but it probaby does not work with upload.
you may need something like
@auth.requires_login()
def uploadme(): db.mytable.insert(filefield=request.body.read())
On Aug 16, 12:50 pm, mdipierro wrote:
> if you have:
>
> def mycreate(): return dict(form=crud.create(db.mytable)
Try the new one.. http://www.web2py.com
The fact I posted it does not prevent us form working more on the
fonts and page layout.
Thank you Peter for the logo.
Thank you Mateusz for the new page background and css.
Massimo
On Aug 16, 6:00 am, Miguel Lopes wrote:
> On Fri, Aug 14, 2009 at 3:21
...if you don't see the new logo, be sure to clear your browser cache...
On Sun, Aug 16, 2009 at 1:11 PM, mdipierro wrote:
>
> Try the new one.. http://www.web2py.com
>
> The fact I posted it does not prevent us form working more on the
> fonts and page layout.
>
> Thank you Peter for the logo.
re: css; I find the orange links hard to read now...
On Sun, Aug 16, 2009 at 1:13 PM, Yarko Tymciurak wrote:
> ...if you don't see the new logo, be sure to clear your browser cache...
>
>
> On Sun, Aug 16, 2009 at 1:11 PM, mdipierro wrote:
>
>>
>> Try the new one.. http://www.web2py.com
>>
>> T
On Sun, Aug 16, 2009 at 12:09 PM, Yarko Tymciurak wrote:
>
>
> On Sun, Aug 16, 2009 at 12:08 PM, Yarko Tymciurak wrote:
>
>> so the first bug is what you pointed out - the template code should not be
>> emmitted to the client page,
>> and because of a single (in place of double) '{' we are pri
Is it just me or is the logo edge a bit blurry?
On Aug 16, 11:11 am, mdipierro wrote:
> Try the new one..http://www.web2py.com
>
> The fact I posted it does not prevent us form working more on the
> fonts and page layout.
>
> Thank you Peter for the logo.
> Thank you Mateusz for the new page bac
On Aug 16, 2009, at 11:11 AM, mdipierro wrote:
> Try the new one.. http://www.web2py.com
>
> The fact I posted it does not prevent us form working more on the
> fonts and page layout.
>
> Thank you Peter for the logo.
> Thank you Mateusz for the new page background and css.
It looks nice (though
On Aug 16, 2009, at 11:23 AM, Bottiger wrote:
>
> Is it just me or is the logo edge a bit blurry?
The anti-aliasing, especially of the dark orange against the
background, isn't quite right.
>
> On Aug 16, 11:11 am, mdipierro wrote:
>> Try the new one..http://www.web2py.com
>>
>> The fact I p
Can somebody point me to the .sty and .cls files? Does it do syntax
highliting too. The one I use does it.
Massimo
On Aug 16, 10:31 am, __future__ wrote:
> I wanted to chime in on the code examples too...
>
> I agree the Django book is a good example to follow. Also, in its
> present form, it
Thanks for the tip! A little tweaking to your suggestion makes it
work:
c=db.concert
cp=db.concert_purchases
a=db.artist
v=db.venue
af=db.audiofile
test = db(cp.auth_user==3)(c.id==cp.concert)(cp.expires>'2009-08-08
09:46:23').
select(c.name, c.id, cp.date, a.name, v.name, c.date,
af.
Minor typos and bug sizes. form.vars.uploadfield_newfilename is back.
The new logo is in (experimental). The
Major change is the replacement:
SQLField -> Field
SQLRows -> Rows
SQLXorable -> Expression
SQLQuery -> Query
SQLSet -> Set
SQLStorage -> DALStorage
The classes with SQL prefix stry for
I will migrate web2conf to this release (PyCon registration for 2010 is
scheduled to go online mid September).
- Yarko
On Sun, Aug 16, 2009 at 1:40 PM, mdipierro wrote:
>
> Minor typos and bug sizes. form.vars.uploadfield_newfilename is back.
> The new logo is in (experimental). The
>
> Major
Nice work! Is SQLDB also changed in DAL? Thats what I mentioned when I read
the new chapters.
2009/8/16 Yarko Tymciurak
> I will migrate web2conf to this release (PyCon registration for 2010 is
> scheduled to go online mid September).
>
> - Yarko
>
> On Sun, Aug 16, 2009 at 1:40 PM, mdipierro w
There seems to be some a couple of odd pixels in the "2" of the
logo...
The orange links are harder to read now especially the web2py link in
the footer...
On Aug 16, 1:15 pm, Yarko Tymciurak wrote:
> re: css; I find the orange links hard to read now...
>
> On Sun, Aug 16, 2009 at 1:13 PM, Yar
Technically you can still do SQLDB. DAL(...) returns a SQLDB object or
a GQLDB object if DAL('gae'). In the new DAL the DAL(...) funciton
will return a DAL object instead of SQLDB or GQLDB.
Massimo
On Aug 16, 2:17 pm, Pynthon Pynthon wrote:
> Nice work! Is SQLDB also changed in DAL? Thats what
Thanks Yarko
On Aug 16, 2:10 pm, Yarko Tymciurak wrote:
> I will migrate web2conf to this release (PyCon registration for 2010 is
> scheduled to go online mid September).
>
> - Yarko
>
> On Sun, Aug 16, 2009 at 1:40 PM, mdipierro wrote:
>
> > Minor typos and bug sizes. form.vars.uploadfield_ne
Hello,
I know that some time a ago, the development repository was cleaned up.
How would I now upgrade admin and examples?
I currently get this error:
python web2py.py --upgrade yes
/var/lib/python-support/python2.6/MySQLdb/__init__.py:34:
DeprecationWarning: the sets module is deprecated
fro
On Aug 16, 2009, at 1:58 PM, Tim Michelsen wrote:
>
> Hello,
> I know that some time a ago, the development repository was cleaned
> up.
> How would I now upgrade admin and examples?
I think you get the current applications directly in the applications
directory, if you're using the reposito
On Aug 16, 2009, at 11:15 AM, Yarko Tymciurak wrote:
> re: css; I find the orange links hard to read now...
A note on that. The logo orange is now 242,148,0. This works well for
large patches, but in general it's necessary to use a darker color for
on-screen text, at least normal-size text.
Hello everyone. I am trying to build an application to annotate some
data, and I am struggling with the data model. Here is what I have
written so far:
# coding: utf8
iliad = SQLDB(REMOVED)
ann = SQLDB(REMOVED)
iliad.define_table('forum',
SQLField('name', type = 'string' , length = 32 ),
Right now im doing this but getting errors:
@service.run
def upload_image( camera_uuid ):
query = (db.cameras.macaddress == camera_uuid )
camera_id = db(query).select(db.cameras.id)[0]
db.videos[0]={ 'camera' : camera_id, 'file' : db.videos.file.store
(request.body, 'upload.flv') }
On Sun, Aug 16, 2009 at 15:40, mdipierro wrote:
>
> Minor typos and bug sizes. form.vars.uploadfield_newfilename is back.
> The new logo is in (experimental). The
>
> Major change is the replacement:
>
> SQLField -> Field
> SQLRows -> Rows
> SQLXorable -> Expression
> SQLQuery -> Query
> SQLSet ->
56 matches
Mail list logo