Hi Anthony,
Yes - I confirmed the byte count and they're exactly the same.
On Wednesday, November 19, 2014 10:16:39 PM UTC-5, Anthony wrote:
>
> Are you using the same version of web2py.js in both places?
>
> On Wednesday, November 19, 2014 9:50:26 PM UTC-5, LoveWeb2py wrote:
>>
>> This only see
routes.py is not deprecated but the same can be achieved using apache or
nginx config script. I prefer to use routes anyway.
I am not sure why you get redirect to https. Which install script did you
use? I do not think any forces you to use https. Perhaps the app redirects
to https.
On Wednesda
Honestly I do not understand how Meteor pulled it off.
I would have been happy to rebuilt something better than meteor for them
for 1/10th of that amount.
But nobody asked me.
On Tuesday, 18 November 2014 06:40:12 UTC-6, Leonel Câmara wrote:
>
> I think this would be hard to do. Funding is a
They will fight all the time.
On Tuesday, 18 November 2014 09:12:55 UTC-6, Richard wrote:
>
> I miss this one...
>
> How does JForm will cohabit with Angularjs or Ractivejs?
>
> Richard
>
> On Mon, Nov 17, 2014 at 11:56 PM, Massimo Di Pierro <
> massimo.dipie...@gmail.com> wrote:
>
>> In my todo l
we need to see more code, specifically the controller, or explain what you
want it do. We cannot figure it out from you example.
On Tuesday, 18 November 2014 04:14:00 UTC-6, Anatoli Hristov wrote:
>
> Hello,
>
> I was trying to use this kind of form, but I cannot pass the variables to
> the page
It is not necessarily a bad idea. He is not saying he wants to run an
arbitrary command.
If the command is, for example, "ls -l > mydir" you can run it with
import os
os.system("ls -l > mydir")
There are some caveats:
- do not run the commands that can take long time otherwise
- consider using t
URL('index',args=(2)) will give you page #2.
On Monday, 17 November 2014 22:59:16 UTC-6, Joe wrote:
>
> Thanks Cliff, I've been trying to do that but I didn't succeed. I would
> appreciate if you could send an example on how to put the current page info
> in the request.args dictionary.
>
> On
hi,
After some debugging, I noticed that when tasks timeout while using the
scheduler, I get an output as follows:
DEBUG:web2py.app.myapp:new task report: FAILED
DEBUG:web2py.app.myapp: traceback: Traceback (most recent call last):
File "/../web2py/gluon/scheduler.py", line 303, in execut
Are you using the same version of web2py.js in both places?
On Wednesday, November 19, 2014 9:50:26 PM UTC-5, LoveWeb2py wrote:
>
> This only seems to happen when I run a local copy of my appliance, but
> here it goes.
>
> First the code:
>
> controller:
> def submit_answ
This only seems to happen when I run a local copy of my appliance, but here
it goes.
First the code:
controller:
def submit_answer():
session.incorrect = False
points = 0
responsejs=False
tabTracker = False
sound = None
answer=FORM('Answer: ',
I do not remember but please open a ticket and I will look at this asap.
On Tuesday, 18 November 2014 02:02:53 UTC-6, Manuele wrote:
>
> Il 18/11/14 05:54, Massimo Di Pierro ha scritto:
>
> Problem is that IS_LIST_OF experts to validate a list. Instead you are
> passing "" (not a list) and Non
Op maandag 13 oktober 2014 19:22:57 UTC+2 schreef Dmitry Ermolaev:
>
> I del al files in /sessions and update to 2.9.11
>
> Traceback (most recent call last):
> File "C:\web2py-m\gluon\main.py", line 435, in wsgibase
> session.connect(request, response)
> File "C:\web2py-m\gluon\globals.p
Thanks Cliff, I've been trying to do that but I didn't succeed. I would
appreciate if you could send an example on how to put the current page info
in the request.args dictionary.
On Tuesday, November 18, 2014 12:37:09 PM UTC+8, Cliff Kachinske wrote:
>
> Put information about the current page i
Hi there!
I have developed an SQLFORM.grid from a table. This tables contains the
users activities, it looks like this:
Task name: Developing with web2py
Description: blah blah blah
Initial Date: 2014-10-10
Due Date: 2012-12-12
Assigned to: User1 | User2 ... (there are various users)
In the "As
Hello
I do not know much English
I have two tables:
db.define_table('category', Field('name'))
db.define_table('books',
Field('title', requires=IS_NOT_EMPTY('Введите название
книги'), label='Название*'),
Field('author', requires=IS_NOT_EMPTY('Введите автора'),
la
Hello,
I was trying to use this kind of form, but I cannot pass the variables to
the page!
Any hints?
Thanks
{{for item in screen_model:}}
{{=item.model}}{{pass}}
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source
Hi,
Just deployed a new web2py using deployment script on Ubuntu.* Problem is
all the traffic is forwarded to https. giving certificate error to users.*
It was not like this before. How to stop this automatic forward to https?
Also where is the routes.py . Is it depreciated ? Then how to achie
Hello,
I need validated input from user in a particular field. The input entered
by user must not contain any SPACES. I can do this in javascript by using
onkeypress function but how to do this using SQLFORM.
My code in default.py is as under:
form=SQLFORM(db.complain,fields=['Description','Top
So here's the basic problem. I have pushed our web2py application
to https://github.com/CoolProp/Coolprop-Online , and I would like to add
this application to my web2py instance running on pythonanywhere.com (props
to them btw, PA is a great solution for getting going with web2py).
I tried to
Hi all!
Well, i need to migrate this pygtk program to web interface, basicaly there is
a table person and that
handles basic data about a person and another three:
one for adresses, one for phone numbers and another
for web adresses and a relationship one to many from
person to each one of them(
Hard to say what's going on. I would suggest looking at db._timings (which
is available in response.toolbar()) after running each version of that
query on the grid. db._timings will show the exact SQL that was executed to
get the count and then to return the actual records. Perhaps that will
pr
- The update_record function is not available for Rows of keyed tables.
That is why i believe.
On Tuesday, November 18, 2014 11:02:05 PM UTC-5, Stephen McCamy wrote:
>
> Hello,
>
> I am having an issue with SQLFORM.grid where when there are more than one
> records returned the edit but
The postgresql adapter will automatically use psycopg2 if it's available,
so if when you start web2py you see in the console PostgreSQL(psycopg2) in
the list of available drivers that what it's using.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com
Hi Anthony,
Sorry for pasting insufficient code.
Following is code from controllers/xyz.py
def built_in_search(keywords):
"""This module will return True if opertor
in built_in_search is used in keywords"""
search_operators = ['=', '!=', '<', '>', '<=', '>=',
Is there is a way to specify which driver to use in the DAL connections
string?
DAL('postgres://:@:/')
--
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)
---
Yo
I have an application that is using a remote PostgreSQL database with the
DAL. It's using the pg8000 driver which is in gluon>contrib. Now I
recently installed a psycopg2 driver because I don't want to use pg8000
anymore. Is there a convenient way to find out what DB driver my
application is
No it won't fail, it won't try to recreate auth_user unless you deleted
your .table files, in which case you need to do a fake migration first.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/w
"Then you can define your auth.settings.extra_fields['auth_group'], put
your extra columns there, and do a regular migration." -- This is the first
thing I tried to do. Won't that fail because auth_user already exists? I
only want to migrate a single table -- auth_group.
On Wednesday, Novembe
Do you have request.requires_https() in your code? If not, provide more
details about your setup (hosting provider, exact setup script used).
Anthony
On Wednesday, November 19, 2014 2:49:44 AM UTC-5, sabbir wrote:
>
> OS - Ubantu 12.4
> Deployed using deployment script on the book
>
> While brow
request.function is always going to be the name of the function that has
been requested -- that's what it is for.
On each request, why don't you just do something like this in a model:
session.last_page = session.this_page or None
session.this_page = (request.controller, request.function)
def r
Is this the exact code? I notice that the output of the call to
_custom_search_query gets assigned to the tuple (new_query,
user_company_exist), but (a) that function does not return a tuple, and (b)
you don't use new_query when calling the grid.
Anthony
On Wednesday, November 19, 2014 6:16:19
It sounds like you do need the file to persist across multiple requests, so
the simplest approach might be to create a database table with an upload
field to store the file. As soon as you're done with the file, then just
delete the record in the database (the file will be deleted automatically
Good job ksotiris, maybe you could contribute this adapter and document its
dependencies so the other poor souls having to deal with MSACCESS have a
way out.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code
If it fails because it already exists you need to do a fake migration on
auth_user, I would undo the changes to auth_group and then do a migration
using fake_migrate as needed for already exists errors. Then you can define
your auth.settings.extra_fields['auth_group'], put your extra columns
th
Hi All,
I want to support multiple keywords search as well as web2py's
built-in-search.
I've written one module which will check if in_built_search is called
or not.
* If in_built_search isn't called then search keywords in custom_module*
*def built_in_search(keywords):*
*
Finally,
everything is working correctly.
--
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 Goo
36 matches
Mail list logo