Hi,
I have web2py application which talks with MYSQL and i have my db
connection strings in db.py module. Sometime the web2py server is running
without any issues, but mysql goes offline now and then. So, I am getting
the ticket generated saying that *"Failure to connect, tried 5 times:
Traceb
Hi Eduardo,
Thanks for the response.
Is it something like this, the file that I will be sending from client will
come as a huge string and I need to handle it in the below mentioned way?
I am confused about, who will convert the file into sting and send it.
On Thursday, November 21, 2013 5:5
Thanks again...
Keep up the good work...
Take care and have fun,
Joe
On Wed, Dec 18, 2013 at 7:58 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> I posted some of the code:
> https://github.com/mdipierro/web2py-appliances/tree/master/Notifier
> https://github.com/mdipierro/web2py
I posted some of the code:
https://github.com/mdipierro/web2py-appliances/tree/master/Notifier
https://github.com/mdipierro/web2py-appliances/tree/master/Surveys
On Tuesday, 3 December 2013 00:34:18 UTC-6, Massimo Di Pierro wrote:
>
> Hello everybody,
>
> As you know I teach a certification progr
i made 2 tables in web2py:
# coding: utf8
db.define_table('dept',
Field('name',unique=True))
db.define_table('course',
Field('d_id','reference d'),
Field('name',unique=True))
then I added some data in them from appadmin.
after that I m
In November I gave a talk to the Atlanta Python Meetup group on role based
authentication and authorization.
I mentioned several times during the presentation that Web2py features role
based access control, and showed some demo code which is a simplified
extract from the Auth class.
The demo c
Hi, there is how export the grid with the label of the field? Or do i need
to do a workaround?
Since on tsv that uses represent and all on the export, it doesn't use the
labels as export way.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/w
Anybody have any ideas? This setup worked under older versions of web2py
but not anymore - I assume something with the changes to web2py.js but
don't know where.
On Tuesday, December 17, 2013 11:26:19 AM UTC-6, Brian M wrote:
>
> OK, I've got a simple app that shows the behavior:
>
> controllers
Hi Paolo, I think I'm getting a bit out of my depth here... I can't
specifically find any wsgi log files, I did a 'find'for filenames
containing 'wsgi' and the results are attached, with the command I used for
the search at the top of the file. Please tell me what I need to send.
Last night
Thanks Anthony!
Very clear now
--
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 Grou
done!
--
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
"web2py-users" group.
To
Thank you for that, I didn't realize I needed to drop the tables. It is
working exactly as expected now.
On Tuesday, December 17, 2013 8:08:06 PM UTC-7, Massimo Di Pierro wrote:
>
> The problem is that my workaround is not retroactive. I believe the bug is
> fixed but does not apply to tables cr
form.process adds little bits to the form to be able to actually process
the posted data.
in pseudo-code you need to
list_of_forms = []
for something in list_of_values:
key = something_unique
form = SQLFORM()
if form.process(formname=something_unique).accepted:
Thanks, I understand what you mean.
I left the form.accepts out as it wasn't relevant to my question (and am
still designing it) but thanks for pointing it out anyway!
I'm going to struggle with the unpacking part for a while and thanks for
not spoonfeeding me the code! The goal is me actually
Comunque direi che per ovvi motivi il web2py-users rimane lo strumento
principale per porre domande. A noi users italiani di fare comunità e di
mettere in web2py-it quello che ci sembra congruo per darci uno strumento
complementare.
--
Resources:
- http://web2py.com
- http://web2py.com/book (
The Auth class has a __call__ method, which means Auth objects are
callable. There's nothing special about the name "auth" -- it's just a
convention. You could just as well do:
myauth = Auth(db)
myauth()
When you call auth(), it checks request.args(0) to see which Auth action
has been requeste
On my tests, this is happening after I go to the admin for other
applications on the same server, so it's possible that admin is the one
causing the problem.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code
Newbee here...
I know that Auth() is the class in gluon
and it initial use: auth = Auth(db)
But I have seen some uses like fom = auth()
in some controllers.
is there an auth() function besides the Auth() class?
where can I find this kind of stuff on my own? THanks...
--
Resources:
- http://w
you are returning only the last form... you need to make a dict or a
list out of the single form you generate in the for loop, and then in the
view you can "unpack" them separately
in my code, you can see on #L296 how every single form is appended to
"forms", that is a list and that list is
Hi,
First time user of Web2Py...The source version works great, but having real
problems trying to install on Windows to use with GAE.
Amended app.yaml as per book. Project loads OK. Problems start when I
browse to localhost:xx080
Had the 'no gaehandler.py' problem, copied the file into the proj
My reading of the source code says you are pretty much stuck with the
behavior you see. The first thing the decorator does is check if the
request is ajax and returns the message you are receiving.
You could:
- check auth.is_logged_in in your controller and take whatever action you
wish if not
>
> I've tried {{=auth.wiki(slug="test", force_render=True)["content"]}}. I
> get error ticket.
>
Would you please file an issue at web2py.googlecode.com? If possible, post
as much info as possible, including the relevant source code used in the
model, controller and view.
--
Resources:
- h
Thanks Leonel
because I'm using SQLFORM to generate the form I used a javascript
solution, here is the code: http://stackoverflow.com/a/20665508/621727
Francisco Costa
On Wed, Dec 18, 2013 at 5:51 PM, Leonel Câmara wrote:
> You have to either sort using javascript on the view or translate in t
I would love to attend any and all meet ups in Chicago. web2py has been my
bread and butter ever since I learned it :)
On Tuesday, December 17, 2013 2:06:48 PM UTC-6, Massimo Di Pierro wrote:
>
> I am interested in knowing who are the web2py developers in Illinois and
> in California (possibly
You have to either sort using javascript on the view or translate in the
controller using something like
colors = db(db.colors.id > 0).select()
colors = colors.sort(lambda r : T(r.name, lazy=False))
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/w
Nice! but... does the different language groups dilute the knowledge from
the rest of the world?
Nizza! ma ... non effettua i diversi gruppi linguistici diluire la
conoscenza dal resto del mondo?
(from google translate)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation
I want to make a form with four(4) fields from one of my tables and
four(4) fields from auth_user, BUT I want to register the user at the same
time. [from auth.user: name, last, email, pass]
I know how to make a form with both and put the info on each table.
My questions:
1) If I use the above
I have this form for creating new items and where I ask for the colors that
are referenced by an id saved in db.colors
I'm already showing the translated color names, but they are being ordered
by the "original name"
I have this:
db.items.color.requires = IS_IN_DB(db, db.colors.id, lambda row:
You can't make the orderby based on translation as the orderby is done at
the database level.
One thing you could do is sort them with javascript on the view.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://cod
All suggestion here are good solution that I used... Though the last
suggestion by Francisco set the limit I didn't workaround yet... I mean how
to make orderby base on the translation?!
Richard
On Wed, Dec 18, 2013 at 12:11 PM, Francisco Costa
wrote:
> Check
> http://stackoverflow.com/question
Check
http://stackoverflow.com/questions/12055856/how-to-apply-language-translation-on-requires-field-when-showing-other-table-fie
I would go with IS_IN_DB(db, db.t_title.id, lambda r: T(r.name), orderby=db.
t_title.id)
On Monday, December 26, 2011 9:14:55 PM UTC, Alan Etkin wrote:
>
> And what
GO!
Only 515 until now, I am sure there is much more web2py fan out there!!
:)
Richard
On Wed, Dec 18, 2013 at 10:59 AM, 黄祥 wrote:
> done
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.go
done
--
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
"web2py-users" group.
To u
done!
Am Sonntag, 25. August 2013 01:26:03 UTC+2 schrieb Massimo Di Pierro:
> web2py has many users but few github followers. This is a problem because
> the number of followers is a metric that can be used to guess popularity.
>
> You can help.
>
> Get a github account and click on the star.
done
On Saturday, August 24, 2013 11:26:03 PM UTC, Massimo Di Pierro wrote:
>
> web2py has many users but few github followers. This is a problem because
> the number of followers is a metric that can be used to guess popularity.
>
> You can help.
>
> Get a github account and click on the star.
Hi,
Take the advantage of this post. Does anyone try and be successful on this
combination? I have the same issue here. I want to setup a main site with
web2py but there is another wordpress website. The CAS plugin on wordpress
seems old and I could not run it successfully on wordpress to acc
Ah, another one here from Portugal, glad I'm not the only one.
--
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 s
Arrivo anch'io ...
Il giorno mercoledì 18 dicembre 2013 14:41:57 UTC+1, Raffaele Tesi ha
scritto:
>
> Alla grande!!!
>
> Il giorno venerdì 27 settembre 2013 10:37:23 UTC+2, Gael Princivalle ha
> scritto:
>>
>> Hi.
>>
>> For web2py users that speak Italian, I've create the web2py-it group. It
>>
+ 1 done!
On Saturday, August 24, 2013 7:26:03 PM UTC-4, Massimo Di Pierro wrote:
>
> web2py has many users but few github followers. This is a problem because
> the number of followers is a metric that can be used to guess popularity.
>
> You can help.
>
> Get a github account and click on the
About the job, what are the requirements?
Moving to the US could mean Portugal to US?
Best
2013/12/18 Ramkrishan Bhatt
> Do we have any Job portal ?
>
>
> On Wednesday, 18 December 2013 01:36:48 UTC+5:30, Massimo Di Pierro wrote:
>>
>> I am interested in knowing who are the web2py developer
>
> As a workaround you could try replacing the wiki(..) calls with
> wiki(...)["content"]. Anyway it seems that the output format for the wiki
> method has changed for different versions.
>
>
I've tried {{=auth.wiki(slug="test", force_render=True)["content"]}}, now
I get duplicate of service
fatto
--
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
"web2py-users" group.
To
Hi Niphlod,
I studied your example, but can't quite get it to work yet. I also tried
taking a look at your view but it's to complicated for me.
The only issue I'm having now is that the key isn't incrementing from the
view side. Can I pass the key in the view like {{=form+key}} or something?
May
Alla grande!!!
Il giorno venerdì 27 settembre 2013 10:37:23 UTC+2, Gael Princivalle ha
scritto:
>
> Hi.
>
> For web2py users that speak Italian, I've create the web2py-it group. It
> could be a complementary tool for the Italian web2py community.
> https://groups.google.com/forum/?fromgroups#!fo
Didn't know it was that easy..
Thanks alot anyway, your first reply might come in handy sometime.
On Wed, Dec 18, 2013 at 2:02 PM, Leonel Câmara wrote:
> Oh then you can use this
>
> http://www.w3schools.com/tags/att_input_accept.asp
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.c
Oh then you can use this
http://www.w3schools.com/tags/att_input_accept.asp
--
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 bec
I don't think I can send you the file as this crash happens precisely when
it's trying to store the cookie and response.session_id is None.
I have no idea how thread.lock objects are getting into the session.
I have tried to solve this myself, but the code for Session is not exactly
easy to
I think my question was a bit unclear.
What i mean this when you want to browse for a file to upload, a window
pops up, which allows you to select a file from your computer.
Inside this window i want only image extensions able to be selected.
Example:
When you want to send a file attachment on f
Looks like I got it working. The Apache config file wasn't complete, so
once I found that issue, the CORS started to function properly. Thanks
again for your responses.
On Monday, December 16, 2013 11:16:05 PM UTC+8, Marin Pranjić wrote:
>
> Well, as I said, try your own jquery.ajax call.
>
> I
On Tue, 17 Dec 2013 05:33:52 -0800 (PST)
Massimo Di Pierro
wrote:
> I once made a static side generator that allows to create pages using
> the web2py template languages and or markmin (depending on the
> extension).
Thanks.
> I am sorry as of now this is undocumented.
No problem. However, I b
Do we have any Job portal ?
On Wednesday, 18 December 2013 01:36:48 UTC+5:30, Massimo Di Pierro wrote:
>
> I am interested in knowing who are the web2py developers in Illinois and
> in California (possibly around San Francisco) for possible meet ups.
>
> If you live near Chicago or near San Fra
Hi,
When i use appadmin to view the tables and i click on a single entry to
view that entry i get an error.
I open
https://lvwaso01.rocdc.local/dc_jobs/appadmin/update/db/JobPlatform/3
and get:
('42000', "[42000] [FreeTDS][SQL
Server]Column 'Platform.ApplicationDomain' is invalid in the
yep
On Wednesday, December 18, 2013 3:24:35 AM UTC+1, Jayadevan M wrote:
>
> Thanks. For each app, I will add a line to web2py.ini like
> python /var/www/web2py/web2py.py -Q -S myapp1 -M -R
> scripts/sessions2trash.py -A -o
> python /var/www/web2py/web2py.py -Q -S myapp2 -M -R
> scripts/session
You should locate the log of mod_wsgi, please post those as soon you find
them, from the apache log everything seems to work well (I see 304 for
cached stuff and 200 when you edit file), for example line 720-725.
Be aware that, you got a lot of requests from external ip which are sending
against yo
54 matches
Mail list logo