The problem, reported by FireBug, is
Uncaught SyntaxError: Unexpected token ILLEGAL
and appears to be caused by a script being output by the SQLFORM.grid.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.g
No no you got it wrong my advice was to use 127.0.0.1 you were using
1.0.0.1 by mistake and that's why you were having problems.
You should use 127.0.0.1 because that's a special IP that's used as the
loopback address and it always points to the machine where you are.
--
Resources:
- http://we
Can you pack a simple example application for me to test?
--
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 subscr
Yes, I will do it this week.
First, I like grid. It's powerful and convenient.
But, grid isn't formatted for bootstrap, which I use and the rest of web2py
supports. This inconsistency causes trouble when I use the ui="web2py"
argument to grid. I don't normally even load web2py.css for my app b
m1 = db.messages
m2 = db.messages.with_alias('m2')
messages = db(m2.timesent==None).select(m1.ALL, left=m2.on((m1.fromid==m2.
fromid)&(m1.toid==m1.toid)&(m1.timesenthttp://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p
You also, just use SPIP since it seems what you want to do and acces the
SPIP DB from web2py for your needs instead of trying to populate form and
web2py db from web2py form...
But I think we need further details about what you actually want to acheive.
Richard
On Mon, Oct 5, 2015 at 5:12 PM, p
On parle français ici si tu as de la difficulté avec l'anglais...
:D
Richard
On Tue, Oct 6, 2015 at 10:04 AM, Richard Vézina wrote:
> You also, just use SPIP since it seems what you want to do and acces the
> SPIP DB from web2py for your needs instead of trying to populate form and
> web2py db
Hi
an expired session becomes empty but this does not seem to always trigger
auth.requires_login redirection to the login URL neither when set via
auth.requires_login(loginURL), aka the otherwise parameter, nor by
auth.settings.on_failed_authorization = loginURL .
Actually the otherwise paramet
without search capabilities, grid is just a keyed edit form for each
record.
Is it really that hard to display a view-edit-delete link next to a table ?
PS: the scaffolding app works fine with grids AND bootstrap.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- htt
2.12.3-stable+timestamp.2015.08.19.00.18.03
(Running on Apache/2.4.16 (Fedora) OpenSSL/1.0.1k-fips mod_wsgi/4.4.8
Python/2.7.10, Python 2.7.10)
So "import cx_Oracle" works in python console but when I tried using it in
web2py it errors out. (Cannot import module
'applications.test2.modules.cx_
You don't need to import it in your application the DAL does it for you.
--
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
i was just trying to find some way to expose more of what going on. When I
call Oracle in my DB configs uri = oracle://... I get this
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
Traceback (most recent call last):
File "/opt/www-data/web2py/gluon/restricted.p
Well the dal tries to "import cx_Oracle" and it should work since it's
installed - Weird. Did you already have web2py running before installing
cx_Oracle and you didn't restart it (say by touching it's uwsgi config
file)?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentat
yeah I tried spinning up another application in my Non-prod env.
2.12.3-stable+timestamp.2015.08.19.00.18.03
(Running on Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips
mod_wsgi/3.4 Python/2.7.5, Python 2.7.5)
and just changed the URI from:
uri = sqlite://storage.sqlite
to:
I would expect this to link to default/completed. My app is named ajaxtodo.
I have controller() defined in default.py. However, the A helper below only
links to http://127.0.0.1:8000/ajaxtodo/default/index#null
{{=A('Completed', callback=URL(c='default', f='completed'))}}
How can I get that to
Forgot to paste the Error on my Non-Prod Virt.
Versionweb2py™Version 2.12.3-stable+timestamp.2015.08.19.00.18.03Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
Traceback (most recent call last):
File "/opt/www-data/web2py/gluon/restricted.py", line 227,
Is it possible web2py is running in a virtualenv where you have not
installed cx_Oracle?
Also don't forget to restart Apache.
--
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'm a dork.
I fixed it. cat killed me. Without the two ' around EOF is replaced
"/opt/www-data/web2py/applications/$1/static/$2" with
"/opt/www-data/web2py/applications//static/" because it tried and failed
to replace the $ with a known thing like $(Date) so it just errored and
replaced wi
I was testing in non-prod (RHEL) to see if it was built in. it wasnt. on
my Fedora 22 at my desk I installed cx_Oracle because it works when i am in
CLI python and I can call it no errors. I have yet to dabble in virtualenv.
I have systemctl restart httpd after every change. even reboots to
Hello
I have a new problem with my forms.
I have validators on the fields
But looks like they are not triggered, so for example
When I insert a new record a first check should be done on the fields like
is_not_empty etc.
Then if that is all ok it has to check the field sh_code and if this cod
>
> Hello
>
> I have a new problem with my forms.
>
> I have validators on the fields
>
> But looks like they are not triggered, so for example
>
> When I insert a new record a first check should be done on the fields like
> is_not_empty etc.
>
> Then if that is all ok it has to check the field s
On Tuesday, October 6, 2015 at 5:05:52 PM UTC-7, Michael Messmer wrote:
>
> [...]
> I fixed it. cat killed me.
>
I'm glad to hear you have it properly caged now.
/dps
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
Hehe, indeed.
--
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" gr
>From IT World, this heads up about a new US standard for government website
contractors:
Not only does the U.S. standard choose other frameworks, it specifically *does
not* recommend bootstrap for production sites.
18F specifically does not recommend using Twitter/Bootstrap for production
wo
24 matches
Mail list logo