On Tue, Jun 22, 2010 at 02:29, Giuseppe Luca Scrofani
wrote:
> In the installation script used:
>
> http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-ubuntu.sh
>
> there is this at line 62:
>
> chown -R www-data:www-data web2py
>
> I tried to do "chown -R www-data web2py" in home
Google Wave: https://wave.google.com/wave/waveref/googlewave.com/w+v0AlALXaA
On jún. 21, 16:15, szimszon wrote:
> There is a document form templates in it.
>
> You can fill title, tags, body, comments, expiration date fields with
> a selected template.
>
> You can have date and time fields genera
In the installation script used:
http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-ubuntu.sh
there is this at line 62:
chown -R www-data:www-data web2py
I tried to do "chown -R www-data web2py" in home dir and restart
apache as suggested but the situation is not changed, Im sti
You have something too large in the session and the datastore refuses
to store the session in the database.
On Jun 21, 11:32 pm, NickFranceschina
wrote:
> I'm not sure what I'm doing wrong... I've built a JSON service on
> top of Web2py that uses Auth.login_bare() to authenticate via
> AJAX...
I've looked in /admin/default/errors/admin and there is nothing. Until
now I've tried to upload appliances, but now I've tried also to create
one, message is "unable to create application x" (x is for name of
application obviously)
I suppose it is a permission problem, web2py seem unable to create
On Jun 21, 9:09 pm, Yarin wrote:
> Roger that Yarko- I will do as you say. Big thanks to you and Massimo
> too for sticking with me today- It was my first time on this board,
> and my first week with web2py, and I've been nothing but impressed
> with what I've seen- Awesome framework, great suppo
Nice..
Thank you for sharing!
On Mon, Jun 21, 2010 at 18:45, mdipierro wrote:
> +1
>
> On Jun 21, 10:44 am, Doug Warren wrote:
> > I wrote a small tutorial on how to use OAuth with web2py by linking a
> > session with a Twitter account. A future update will include
> > embedding the access tok
It seems it doesn't work. Perhaps I am overlooking a piece of the syntax.
I am doing this...
orders = db((db.orders.position != 0) &
(db.orders.paint==db.paint.id).select(orderby=db.orders.state) +
db(db.orders.state == "remove").select()
But it returns an error saying...
unsupported operand type
Massimo, {{=BEAUTIFY(response._vars.values()[0])}} is still preferred
in case the controller returns something like {'': ['a', 'b', {'foo':
'bar'}]}
By the way, here is another proposal. Since you agree on at least "let
me think", please also consider change the generic.html into this.
{{ext
Step 1 - Shutdown apache
Step 2 - Become www-data user
Step 3 - Start web2py from terminal cmd
Step 4 - Kill web2py (ctl + z)
Step 5 - Restart Apache
This is the work-around provided by cjs on the vps.net forum.
http://www.vps.net/forum/public-forums/tutorials-and-how-tos/2115-web2py-on-vps-net
F
Hello,
I would like to use crud.create in my controler instead of SQLForm, but
I need to select the fields to be show...
form = SQLFORM(db.atable,\
fields=['field1',\
'field2',\
'field3',\
Thanks Richard,
I use janrain/rpx for auth, probably because it seemed the easiest to
implement. I have not thought long term
as to whether this is the best option.
The mood indicators will probably need to be split into public and
private - I wish to add indicators for tasks
one might be working o
Massimo,
Thanks for that, I was about to reply saying that JQuery can't do what I
want it to, then thought I'd test my statement before making it. Here's the
code for anyone who's interested:
Its all in the controller, as I pretty much use only one single
multi-purpose view for all my pages :-)
Hi Massimo,
I posted the code below before checking if the form would actually submit.
What now happens is that all the fields are put through validation,
including those which I hid with JQuery, and needless to say, most of them
fail because they're empty!
There's no way I can do away with the v
A reply to the message I saw while in a google search for "pypress"...
Saw it on osdir.com (I'm sent in a redirection loop when I try to access the
web2py-users group).
Arghh... would have eventually saved me time if I had found out about the
pypress for gae project...
But we can merge and have an
I think part of the problem is a lack of dog food. I started looking
last night at the state of web2py testing, and was amazed that the
gluon/tests directory is not included in any of the 'source'
distributions. In fact it's not in the Google code build either.
After downloading the bazaar trunk
Sorry, not ... +... but ...|
On Jun 22, 3:38 am, "Jason (spot) Brower" wrote:
> It seems it doesn't work. Perhaps I am overlooking a piece of the syntax.
> I am doing this...
> orders = db((db.orders.position != 0) &
> (db.orders.paint==db.paint.id).select(orderby=db.orders.state) +
> db(db.
db.atable.field8.writable=db.atable.field8.readable=False
form=crud.create(db.atable)
On Jun 22, 7:23 am, Jean-Guy wrote:
> Hello,
>
> I would like to use crud.create in my controler instead of SQLForm, but
> I need to select the fields to be show...
>
> form = SQLFORM(db.atable,\
>
This is no longer a client issue. I think you do handle the problem
correctly client side.
The problem is that if some fields exist in db but you do not want to
insert them you need to change the validator from
db.table.field.requires=blabla()
into
db.table.field.requires=IS_EMPTY_OR(blabla())
On Jun 22, 10:30 am, Doug Warren wrote:
> I think part of the problem is a lack of dog food. I started looking
> last night at the state of web2py testing, and was amazed that the
> gluon/tests directory is not included in any of the 'source'
> distributions. In fact it's not in the Google cod
On Tue, Jun 22, 2010 at 06:04, Jason Lotz wrote:
> Step 1 - Shutdown apache
> Step 2 - Become www-data user
> Step 3 - Start web2py from terminal cmd
> Step 4 - Kill web2py (ctl + z)
Ctrl+z does not kill any process - it just *stops* (pause) the actual
process - it'll be running, but in pause sta
On Tue, Jun 22, 2010 at 13:06, mdipierro wrote:
> Sorry, not ... +... but ...|
>
> On Jun 22, 3:38 am, "Jason (spot) Brower" wrote:
>> unsupported operand types for + "Rows" and "Rows"
Maybe a good idea to add support to + and - operators on class Rows?
--
Álvaro Justen - Turicas
http://b
On Jun 21, 1:50 pm, cjrh wrote:
> On Jun 21, 9:59 am, Stefan Scholl wrote:
>
> > There are (3 month old) comments on those
> > pages who address this, but nothing got changed.
>
> I fixed a couple recently. If you send me links, I can try to get a
> few more?
Very long line at the end:
http://w
thanks
On Jun 22, 11:59 am, Stefan Scholl wrote:
> On Jun 21, 1:50 pm, cjrh wrote:
>
> > On Jun 21, 9:59 am, Stefan Scholl wrote:
>
> > > There are (3 month old) comments on those
> > > pages who address this, but nothing got changed.
>
> > I fixed a couple recently. If you send me links, I ca
I would take a patch for -, Would + work like | or something
different?
On Jun 22, 11:53 am, Álvaro Justen wrote:
> On Tue, Jun 22, 2010 at 13:06, mdipierro wrote:
> > Sorry, not ... +... but ...|
>
> > On Jun 22, 3:38 am, "Jason (spot) Brower" wrote:
> >> unsupported operand types for + "R
I like the - and plus support. It's pretty logical. But I don't want
to take a big hit for speed on it. :D
BR,
JB
On Tue, 2010-06-22 at 10:14 -0700, mdipierro wrote:
> I would take a patch for -, Would + work like | or something
> different?
>
> On Jun 22, 11:53 am, Álvaro Justen wrote:
> > On
My english is horrible, an maybe it wasn't clear, but that was exactly
my problem :).
Currently i'm looking at the code massimo told me about but i think
that the problem isn't here.
I explain: the parent is assigned when the child entity is created (at
the constructor level), to ensure all entit
Jason I've tried step by step your list of actions in exact order and
it worked! Thanks friends, another problem resolved. Now I have a
working remote web2py installation! Now I see a different world...
vps.net seem a very good service, it is my first dedicated server.
Hello All,
Voilà. *Joined *this project: http://pp4gae.appspot.com/ and Implemented a
fix to be able to log in with gae google-user login...
Also added an "Issue + Fix + Recommendation" here
http://code.google.com/p/pypress4gae/issues/detail?id=3 (with attached .W2p
app & all).
Tomorrow (or in 24
OK... I had uploaded a 900+kb photo by mistake (thought I had uploaded
100k photo)
also just realized that the schema for an "upload" Field on GAE
includes an extra 'blob' type on the record (obviously, since we can't
store files)... and my code was trying to convert records to JSON and
blowing up
You need to think about this ---
On Jun 22, 11:15 am, mdipierro wrote:
> This is no longer a client issue. I think you do handle the problem
> correctly client side.
> The problem is that if some fields exist in db but you do not want to
> insert them you need to change the validator from
>
> db.
I have an item in my menu that actually directs to an outside webpage.
When someone clicks on the menu item i would like for it to open in a
new window instead of redirecting from our page. adding the url to the
response.menu was easy, but i see no way to set Menu to open this page
in a seperate wi
on a related note... web apps rarely need to load the blob data at the
same time as the record... the record should get loaded and then
that will create a link/img on a page which will make a separate
request for the blob. and if I've read correctly... GAE always pulls
the entire object when you
How could I concatenate two db field values in my Model?? My example
is this:
db.define_table('vlanman',
Field('person',db.person,default=None),
Field('switchselect'),
Field('locationprefix'),
Field('patchpanel'),
Field('patchnumber'),
Field('switchnumber'),
Field('loca
thanks for your help
On 21 Jun., 18:46, mdipierro wrote:
> You can put it in a function in a module but you still need to import
> it and call the function where needed. You can put it a model if all
> controller need it or a in a controller if only one needs it.
>
> On Jun 21, 10:49 am, Doug War
Hello all
I neeed to Determine incoming request from a form , coming from PHP page
hosted at other site.
How can i determine Post or GET ?
Is that it ? any better way?
if request.get_vars :
res="Request Is GET"
else if request.post_vars:
Hi All,
I'm trying to migrate a database from sqlite to mysql and am having
some migration issues with foreign key references.
In my original tables I have entries that have been deleted:
table 1
id value
1 a
2 b
3 c
5 e
(where the entry id=4 has been deleted)
When
I would use request.env.request_method
It will be GET or POST
On Jun 22, 4:19 pm, Phyo Arkar wrote:
> Hello all
>
> I neeed to Determine incoming request from a form , coming from PHP page
> hosted at other site.
>
> How can i determine Post or GET ?
>
> Is that it ? any better way?
>
> if reques
Too easy : Like web2py!
I should had think about it...
Thank you.
Regards.
Jonhy
On 2010-06-22 12:11, mdipierro wrote:
db.atable.field8.writable=db.atable.field8.readable=False
form=crud.create(db.atable)
On Jun 22, 7:23 am, Jean-Guy wrote:
Hello,
I would like to use crud.create
Thanks a lot, Ok , i would use it , better way.
On Tue, Jun 22, 2010 at 9:25 PM, mr.freeze wrote:
> I would use request.env.request_method
> It will be GET or POST
>
> On Jun 22, 4:19 pm, Phyo Arkar wrote:
> > Hello all
> >
> > I neeed to Determine incoming request from a form , coming from PHP
I started writing this a few times but I kept deleting it as I wasn't
very clear so I'll try again.
I'm looking to create a form that has some tabular data in it, 2
columns, but the trick is that each submission of the form will have
between 2-10 rows. Each submission represents a single working
Continuing this old thread:
http://groups.google.com/group/web2py/browse_thread/thread/59b66b3a242d89f1/7183f04206074ebf?lnk=gst&q=download_audio#7183f04206074ebf
Anybody know why the following code isn't working? I'm trying to
implement almost exactly what Massimo suggested in the previous
thread
Yarko - if you are moderating this group, would you mind striking this
last post because it shows my raw email. Don't want to be spammed to
death.
On Jun 22, 11:34 pm, "richard_gor...@verizon.net"
wrote:
> Continuing this old
> thread:http://groups.google.com/group/web2py/browse_thread/thread/59
On Jun 22, 11:34 pm, "richard_gor...@verizon.net"
wrote:
> Continuing this old
> thread:http://groups.google.com/group/web2py/browse_thread/thread/59b66b3a24...
>
> Anybody know why the following code isn't working? I'm trying to
> implement almost exactly what Massimo suggested in the previous
Continuing this old thread:
http://groups.google.com/group/web2py/browse_thread/thread/59b66b3a24...
I'm having trouble getting an embedded mp3 from showing up in my web
page. I'm trying to implement this almost exactly as Massimo suggested
in the above thread. Anybody know why my code below isn't
> but as for automating the schema maintenance... if I create
> auth_user.Field('photo','upload')
> instead of creating a 'photo' (string) and 'photo_blob' (blob) on the
> same table, it should maybe create just 'photo' (string) and another
> table called 'auth_user_photo' with one field and a r
db.vlanman.location.compute=lambda r: '%s%s' %
(r['locationprevis'],r['patchnumber'])
On Jun 22, 3:40 pm, greenpoise wrote:
> How could I concatenate two db field values in my Model?? My example
> is this:
>
> db.define_table('vlanman',
> Field('person',db.person,default=None),
> Field('s
import_from_csv_file(... id_map={}..)
If you import multiple tables and pass the same id_map (an empty dict)
it will make sure references are not-broken for those tables. It will
still breaks references between tables that are imported and tables
that are not.
On Jun 22, 4:23 pm, Peter Woolf wro
48 matches
Mail list logo