Yes I did and test is done on local host
On Wednesday, July 1, 2015 at 2:29:50 AM UTC+9, Sébastien wrote:
>
> Did you copy "gaehandler.py" in the root folder?
>
> I would first debug the app in the local Google SDK before deploying it.
>
> On Tuesday, 30 June 2015 14:29:56 UTC+2, kawate wrote:
>>
For this several years, i have run the web2py application on GAE, but i
should move to high replication database.
Data size is small and a few modification is needed i try to deploy the
application with new applicaition ID.
I tried two version. gaehandler.py and gaehandler.wsgispp on local host
if limit base on data stored in table and using SQLFORM.grid it can be use
logic
create = True if db.table.id < 100 else False
editable = True if db.table.id < 100 else False
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2
i'll try, thank you so much, massimo.
thanks and best regards,
stifan
--
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 received this message because y
found it on the book (use unique = True)
http://web2py.com/books/default/chapter/29/07/forms-and-validators#Database-validators
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.co
are you on osx perchance?
On Tuesday, June 30, 2015 at 3:59:07 PM UTC-7, Ben Lawrence wrote:
>
> I am seeing broken pipe errors like this on low volume site using pg8000
> on web2py Version 2.11.2-stable+timestamp.2015.05.30.16.33.24
>
> Should we use this http://stackoverflow.com/a/180922/395033
Also, if you look in your admin screen there are plug-ins available. One of
them is plugin_SQLFORM_INLINE
On Tuesday, June 30, 2015 at 10:29:40 AM UTC-7, Alessio Varalta wrote:
>
> Hi, i have a problem. I have a grid form but i want that the user can
> modify the field without the section edit.
thank you for the reference anthony n leonel, will try it both.
thanks and best regards,
stifan
--
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 recei
yes, i know that CSV files can be open with excel, i think it's enough, if
i need *.xls file i think, i can just open CSV files with Excel save it on
Excel with *.xls format
thanks and best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://gith
Is it possible the user running the webserver doesn't have permission to
write on those files?
--
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 receiv
I am seeing broken pipe errors like this on low volume site using pg8000 on
web2py Version 2.11.2-stable+timestamp.2015.05.30.16.33.24
Should we use this http://stackoverflow.com/a/180922/3950334
Error::
[Errno 32] Broken pipe
-
*File /home/www-data/web2py/gluon/contrib/pg8000/co
Another alternative is to use a service like twilio.
--
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 received this message because you are subscribed
You can already open CSV files in Excel. Anyway, you can specify custom
exporters in the grid via the "exportclasses" argument -- so you can use
this if you implement a class for it.
Anthony
On Tuesday, June 30, 2015 at 6:06:59 PM UTC-4, 黄祥 wrote:
>
> just an idea why not put this on sqlform.gr
just an idea why not put this on sqlform.grid as an export (seen csv, html,
etc, but no excel on sqlform.grid export)?
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
This email was going to be a simple "Great!", but eventually I have many
comments:
El 29/06/15 a las 20:37, Massimo Di Pierro escribió:
> 2. yes that is correct (except it is _token=, not token=). Just mind that the
> token is as good as a
passwor
Sure, go ahead. Looks like the phone has to be connected to the machine
running the code, so the web2py app would have to be running locally on the
machine with the phone connected.
If you just want to use web2py to send text messages, also have a look at
http://web2py.com/books/default/chapter
hi,
i've googling and found the url :
http://linux-101.org/script/python-code-sending-sms-messages-usb-connected-mobile-phone
my question is it possible to do this in web2py app? put it in the module
and called it via controller maybe?
any thoughts or suggestions?
thanks and best regards,
stif
Maybe Tim Richardson's ideas will help from web2pyslices
...
http://www.web2pyslices.com/slice/show/1928/basic-inline-editing-in-sqlformgrid-no-plugin-no-javascript
http://www.web2pyslices.com/slice/show/1714/jqgrid-viewing-and-updating-data
--
Resources:
- http://web2py.com
- http://web2py.com/
Am Dienstag, 30. Juni 2015 09:35:27 UTC+2 schrieb Massimo Di Pierro:
>
> I understand
>
> Use {{extend layout2.html}} then make a minimalist layout 2 that does not
> include css, js, has no and no tag but only one div. At the
> top of the layout use {{=MENU(wiki.menu())}} to generate the wiki
On Tuesday, June 30, 2015 at 2:55:20 PM UTC-4, D. Kev wrote:
>
> I wanna use OnKeyPress to call a javascript, but I'm using a SQLForm, What
> can I do?
>
Field('myfield', widget=lambda f, v: SQLFORM.widgets.string.widget(f, v,
_onkeypress='myJsFunction();'))
(See
http://web2py.com/books/defau
I wanna use OnKeyPress to call a javascript, but I'm using a SQLForm, What
can I do?
--
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 received this m
Are you using a database table to store the student data and uploads? If
so, before creating the SQLFORM based on the table, you can dynamically set
the "uploadfolder" attribute of the upload field based on the incoming
email address from request.post_vars.
Anthony
On Tuesday, June 30, 2015 at
On Tuesday, June 30, 2015 at 1:29:50 PM UTC-4, Martti Lamberg wrote:
>
> Thank you for your answers! And sorry for the radio silence. I took some
> of your advice and went and studied some javascript and came up with a
> small demo.
>
> More on the workflow: I need updates coming to and going fro
On Tuesday, June 30, 2015 at 1:29:40 PM UTC-4, Alessio Varalta wrote:
>
> Hi, there is the possibility to add a form to sqlfactory with a for
> cycle..for example, i will a system where i can cycle with a for and add an
> element
>
> form = SQLFORM.factory(db['element']) first time
>
> now i will
Those buttons come from {{=response.toolbar()}} in the view. In the welcome
app, the toolbar is only included in the generic.html view, and in that
case, only for local requests. If you are seeing the toolbar, either you
added it yourself to your layout or the specific view in question, or your
New version with the button in the right place and only adding the checked
files
https://github.com/web2py/web2py/pull/1008
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (
I do not understand what you would like to do. Can you explain in
pseudocode?
On Tuesday, 30 June 2015 12:29:40 UTC-5, Alessio Varalta wrote:
>
> Hi, there is the possibility to add a form to sqlfactory with a for
> cycle..for example, i will a system where i can cycle with a for and add an
> e
Ohh I'll make the modifications.
--
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 received this message because you are subscribed to the Google Groups
90% done ;-)
I would like the link not in the dropdown but on top of this page:
http://127.0.0.1:8000/admin/default/pack_custom/
so that it would not add to the zip all the files of the app, only those
checked.
Massimo
On Tuesday, 30 June 2015 11:56:48 UTC-5, Leonel Câmara wrote:
>
> Is
I agree we should mention it. I am not sure it is actively maintanined.
On Tuesday, 30 June 2015 07:01:26 UTC-5, 黄祥 wrote:
>
> just an idea, why not put gui2py on web2py book (other recipes section)
>
> best regards,
> stifan
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Document
Hi, there is the possibility to add a form to sqlfactory with a for
cycle..for example, i will a system where i can cycle with a for and add an
element
form = SQLFORM.factory(db['element']) first time
now i will add the second element to form
--
Resources:
- http://web2py.com
- http://web2py.
Hi Dave,
Yes 'field' have date attributes. This is the way, we have defined field in
the model:
db.define_table('tablename',
Field('field1', 'integer', writable=False, label=T('Field1')),
Field('field2', 'string', label=T('Field2')),
Field('field3', 'date', label=T('Field3')),
)
Thank you for your answers! And sorry for the radio silence. I took some of
your advice and went and studied some javascript and came up with a small
demo.
More on the workflow: I need updates coming to and going from server
without page reloads. Not necessarily all of them, but it would make t
Hi, i have a problem. I have a grid form but i want that the user can
modify the field without the section edit..So i want load a grid where the
user can modify the field and after click on a save button a save all
parameters
--
Resources:
- http://web2py.com
- http://web2py.com/book (Document
Did you copy "gaehandler.py" in the root folder?
I would first debug the app in the local Google SDK before deploying it.
On Tuesday, 30 June 2015 14:29:56 UTC+2, kawate wrote:
>
> To reproduce this problem, download the source version of web2py on Mac,
> update application id on the app.example
Is this what you want?
https://github.com/web2py/web2py/pull/1007
I think I've done everything you asked except for the .exe part, I don't
see how to turn the zipfile into an executable.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2p
When you create an upload field using the DAL, the filename is stored in
the upload field itself, so you can get the filepath via:
import os
filepath = os.path.join(request.folder, 'uploads', row.upload_field_name)
The above assumes all uploads go directly in the /uploads folder. If you
have sp
Hello,
I've a problem with odbc.
I'm developing on OSX 10.10.3 and I found some problems connecting to sql
server express 2005
I'm tried few things
1. I installed pyodbc and web2py said:
Version 2.10.4-stable+timestamp.2015.04.26.15.11.54
Database drivers available: psycopg2, pymysql, imaplib,
To reproduce this problem, download the source version of web2py on Mac,
update application id on the app.example.yaml (change the file name to
app.yaml)and deploy thru web2py admin or google application launcher.
Request .appspot.com will return Hello world!.
On Monday, June 29, 2015 at 4:08
just an idea, why not put gui2py on web2py book (other recipes section)
best regards,
stifan
--
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 received
SOLVED
the issue was in the system crontab,
@reboot python /home/www-data/web2py/web2py.py -S omniavx_joe -M -R
applications/omniavx_joe /cron/init_db_tables.py 1 >>
/tmp/cron_init_db_tables.output 2>&1
should be instead
@reboot python /home/www-data/web2py/web2py.py -S omniavx_joe -M -R
app
there is a system cron process "init_db_tables.py" (the script in the
web2py cron folder) that runs @reboot
that process produces that error
On Tuesday, June 30, 2015 at 2:36:32 AM UTC-5, Massimo Di Pierro wrote:
>
> yes. it is supposed to be. When do you get this error?
>
> On Monday, 29 Jun
actually, pythonanywhere folks are really collaborative : no need to bash
for something they aren't responsible for :P
--
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
I did not do it. Mariano (one of our oldest members) did it.
On Tuesday, 30 June 2015 02:30:28 UTC-5, Phillip Veda wrote:
>
> I just happened accross gui2py last night. I had no idea something like
> this was possible (converting web2py to a wxPython desktop app)!
>
>
> Thank you for the response
yes. it is supposed to be. When do you get this error?
On Monday, 29 June 2015 16:48:09 UTC-5, Auden RovelleQuartz wrote:
>
> does anyone know what this means?
>
> {
> web2py Web Framework
> Created by Massimo Di Pierro, Copyright 2007-2015
> Version 2.11.2-stable+timestamp.2015.05.30.16.33.24
> D
I understand
Use {{extend layout2.html}} then make a minimalist layout 2 that does not
include css, js, has no and no tag but only one div. At the
top of the layout use {{=MENU(wiki.menu())}} to generate the wiki menu
embedded. It will be returned via ajax.
On Monday, 29 June 2015 16:36:20 U
:-)
On Monday, 29 June 2015 13:48:38 UTC-5, Niphlod wrote:
>
> /me restricts himself to review the code before the actual merge. if noone
> rescues the bounty in a week I'll do it.
>
> On Monday, June 29, 2015 at 5:43:30 PM UTC+2, Massimo Di Pierro wrote:
>>
>> I offer $50 is you can do this in a
This what I have. I want to get rid of the row of buttons at the bottom of
the form that says 'design request response session db tables db stats'
*View*
{{extend 'layout.html'}}
Input form
{{=form}}
Submitted variables
{{=BEAUTIFY(request.vars)}}
Accepted variables
{{=BEAUTIFY(form.vars)}}
E
Hello all,
I have a form for student name, email and upload. For each student I want
to create a seperate folder and save his upload dynamically.
Can anyone let me know how can I do this.
Thanks in advance.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://githu
I have form where student can upload his c programs. Now I want to write a
script which will compile and run these programs.
I was able to write a script which can compile and run c programs with
simple name like hello.c. But the problem is Iam not sure how can I refer
the files that were saved
In my application, I want the user to upload as may files as he wants.
I have seen few of the websites. But those seem to be more difficult. Is
there a better way to do this.
--
Chaitanya Pochampally
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com
I have a form where student can submit his .c programs. Now I want to write
a script that run these programs. I was able compile and run c programs
with a python scripts with normal name like hello.c. But Iam not sure how
can refer these programs that were saved with random name. Here is my
script.
I just happened accross gui2py last night. I had no idea something like
this was possible (converting web2py to a wxPython desktop app)!
Thank you for the responses
Brilliant work and engaging tutorials Massimo. Thank you.
On Monday, June 29, 2015 at 2:20:46 AM UTC-5, Massimo Di Pierro wrot
Thanks, that seems to have fixed it. I'd actually checked there
(nominally), but since pythonanywhere holds its bare-repositories in a
folder tree outside of its normal web2py folder structure, it was a bit
confusing.
On Monday, 29 June 2015 11:53:57 UTC-7, Niphlod wrote:
>
> usually it's not
54 matches
Mail list logo