I tweaked a bit and problem is gone...(for the time)
Op zaterdag 3 januari 2015 19:30:31 UTC+1 schreef Anthony:
>
> Your code doesn't show any use of response.js. In any case, what leads you
> to believe response.js is related to the problem?
--
Resources:
- http://web2py.com
- http://web2py.co
> In DAL it can be done like one single command:
> db.define_table('my_items',
> Field('name', 'string', length=100),
> Field('description', 'string', length=400),
> Field('priority', 'integer'),
> Field('creator_id', 'reference user'),
> Field('dept_i
Hello all.
In a .load file I have some products.
When the user click on one of them I would like to reload the .load file
with the product id, for showing only this product.
If I do like that:
web2py will load only the .load file, outside the main html file.
How can I reload this .load file ins
http://web2py.com/books/default/chapter/29/12/components-and-plugins#Trapped-Ajax-links-and-the-A-Helper
On Tuesday, January 6, 2015 8:26:10 AM UTC-5, Gael Princivalle wrote:
>
> Hello all.
>
> In a .load file I have some products.
> When the user click on one of them I would like to reload the .l
Can you provide an example of a request that involves the kind of
synchronization you are looking for?
On Tuesday, January 6, 2015 7:23:48 AM UTC-5, Alan Evangelista wrote:
>
>
> In DAL it can be done like one single command:
>> db.define_table('my_items',
>> Field('name', 'string', leng
Thanks a lot Anthony, and sorry in fact the answer was in the online
documentation.
Il giorno martedì 6 gennaio 2015 15:32:10 UTC+1, Anthony ha scritto:
>
>
> http://web2py.com/books/default/chapter/29/12/components-and-plugins#Trapped-Ajax-links-and-the-A-Helper
>
> On Tuesday, January 6, 2015 8
routes_in = (
(r'/', r'/bs3b/default/index'),
(r'/about', r'/bs3b/default/about'),
(r'/what', r'/bs3b/default/what'),
(r'/download', r'/bs3b/default/download'),
(r'/support', r'/bs3b/default/support'),
(r'/$anything', r'/bs3b/$anything'),
)
routes_out = [(x, y) for (y, x) in routes_in]
my app is b
Via a response after a form selection I call:
response.js = "jQuery(web2py_component('%s','graph3'))" % ( URL('graphs',
'graph3') )
then in:
def graph3():
left out some code ...
... json format is tested and OK ...
df_drill_asr_to_json = df_drill_asr.to_json(orient='records',
try .html extension instead .load
вторник, 6 января 2015 г., 16:26:10 UTC+3 пользователь Gael Princivalle
написал:
>
> Hello all.
>
> In a .load file I have some products.
> When the user click on one of them I would like to reload the .load file
> with the product id, for showing only this prod
Just looking at your test5
document is unused (why do you need this object)?
output is a StringIO but you never write anything in it.
You call both response.write(output.getvalue()) and return
output.getvalue(). I think you only want the latter.
I think this: "attachment; filename=Comparable Sal
Michele,
Thanks so much for this.
I tried to remove the select action and change the view as suggested but
that wasn't working. So, I experimented with the redirect from the select
action
to the index a couple of times.
I removed the request.vars.id, from the redirect and now it's working! The
The 2.9.12 source is in
http://web2py.com/examples/static/nightly/web2py_src.zip
The 2.9.12 binaries are in
http://web2py.com/examples/static/nightly/web2py_win.zip
http://web2py.com/examples/static/nightly/web2py_osx.zip
Please help us test them so we can released 2.9.12.
2.9.12 includes mos
Does not boot up!!
Richard
On Tue, Jan 6, 2015 at 12:37 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> The 2.9.12 source is in
>
> http://web2py.com/examples/static/nightly/web2py_src.zip
>
> The 2.9.12 binaries are in
>
> http://web2py.com/examples/static/nightly/web2py_win.zip
>
Hi all,
I have this raw sql which I execute in my query:
sql_statement = """
> SELECT id, title, description, created_on, slug
> FROM (SELECT infobank_article.id as id,
> infobank_article.title as title,
>
I prefer 'Fossil' myself, having ticketing and a wiki and a single binary
as your source control makes everything super easy. Plus, it's what the
sqlite people use for their source control.
http://fossil-scm.org/index.html/doc/tip/www/index.wiki
That said, the problem at hand is that it's not f
On Monday, January 5, 2015 10:31:40 PM UTC-8, Ramashish Gaurav wrote:
>
> Thanks Dave,
>
> I will take your valuable advice but I still need to debug it. Can you
> (and someone) please help me about it.
>
I won't be much help with the next step, because auth isn't in my skill set
yet.
(interna
On Tuesday, January 6, 2015 4:21:22 AM UTC-8, ArtDijk wrote:
>
> I tweaked a bit and problem is gone...(for the time)
>
>
Scary thought: we don't know what caused it or what fixed it. Keeping my
fingers crossed for you.
/dps
> Op zaterdag 3 januari 2015 19:30:31 UTC+1 schreef Anthony:
>>
>
No, there's nothing going on in the background unless something is
processing. It will check as soon as a new request comes in that references
the cache, it will review the expiration date of the cached item before
using it.
On Monday, January 5, 2015 6:27:29 PM UTC-7, Robin Manoli wrote:
>
> H
You are running this on a Mac OSX server? Python has issues with this kind
of thing a long time and there is no fix.
On Saturday, January 3, 2015 4:56:54 PM UTC-7, Louis Amon wrote:
>
> I've tested the native error handler (working fine) versus my custom error
> handler (generating HTTP 400 erro
Just a question, Amon, do you need to use Rocket, or can you use
anyserver.py and try something like greenlets?
On Saturday, January 3, 2015 4:56:54 PM UTC-7, Louis Amon wrote:
>
> I've tested the native error handler (working fine) versus my custom error
> handler (generating HTTP 400 error + w
Yeah, this is strange, I wonder why Rocket reports it's version as 1.2.6
when the latest version of Rocket is 1.2.4?
On Monday, December 29, 2014 11:19:55 AM UTC-7, Louis Amon wrote:
>
> This is the request received by my ticket handler (I removed some big
> chunks so that it's readable):
>
>
>
make sure it's loading jqx. It doesn't appear to be. did you put it in a
folder 'js' inside the static files?
mixing javascript and web2py's templating system should be discouraged if
it's not already. It's bad practice to have web2py write your javascript
for you.
it may be that the mix cause
make sure it's loading jqx. It doesn't appear to be. did you put it in a
folder 'js' inside the static files?
mixing javascript and web2py's templating system should be discouraged if
it's not already. It's bad practice to have web2py write your javascript
for you.
it may be that the mix cause
Is there a changelog?
On Tuesday, January 6, 2015 12:37:59 PM UTC-5, Massimo Di Pierro wrote:
>
> The 2.9.12 source is in
>
> http://web2py.com/examples/static/nightly/web2py_src.zip
>
> The 2.9.12 binaries are in
>
> http://web2py.com/examples/static/nightly/web2py_win.zip
> http://web2py.com/ex
Looks good. I'd love to see a bit of metadata added to the websites. For
example, I see some great sites, but when I click on them, I can't speak
the language (German or Spanish or Portuguese). It would be nice to group
them by language at a minimum.
On Friday, January 2, 2015 6:44:47 AM UTC-7,
let's say I bring up the same record on two browsers
from browser 1, I delete the record
browser 2 trys to display the record but shows
how to write error handling for that?
thanks
Alex Glaros
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web
No. :-(
On Tuesday, 6 January 2015 12:23:49 UTC-6, Ruud Schroen wrote:
>
> Hi all,
>
> I have this raw sql which I execute:
>
> val = "what the user enters in the searchbar"
> sql_statement = """
> SELECT pid, title, description, created_on, slug
> FROM (SELECT info
The version of rocket that ships with web2py is 1.2.6.
But what version of web2py are you using. What is the controller in
question?
On Tuesday, 6 January 2015 13:03:52 UTC-6, Derek wrote:
>
> Yeah, this is strange, I wonder why Rocket reports it's version as 1.2.6
> when the latest version of R
I will post a changelog after we know it works.
I have re-posted it.
Massimo
On Tuesday, 6 January 2015 14:10:10 UTC-6, JorgeH wrote:
>
> Is there a changelog?
>
> On Tuesday, January 6, 2015 12:37:59 PM UTC-5, Massimo Di Pierro wrote:
>>
>> The 2.9.12 source is in
>>
>> http://web2py.com/exampl
When people submit sites they may submit some metadata. It shows when you
mouseover. Some metadata was in the language of the site which made it
useless.
I am not sure it is the purpose of this site to do it. We do not want to
have to maintain that. I am thking about a simple tagging system and
Hallo!
Lets say we have a table called 'cities' and another one called
'institutions' with a field referencing to cities:
db.define_table('cities',
Field('name'))
db.define_table('institutions',
Field('name'),
Field('city', 'reference cities')
Field('type', 'reference types'))
d
What's the code. this is most likely a user's error. The SQLFORM should not
generate this error.
On Tuesday, 6 January 2015 16:00:46 UTC-6, Alex Glaros wrote:
>
> let's say I bring up the same record on two browsers
>
> from browser 1, I delete the record
>
> browser 2 tries to display the record
Goodevening,
I am a newby with web2py and i am struggeling how to start with a specific
Form ( do i use Form or SQLFORM )
What i would like to do is build a page with some different imput fields (
see below) and after selecting i would like to have a confirm button (
which in a later state wou
I had the same record up at the same time in both browsers. So browser 2
had the page up and was looking at the record. I deleted the record from
browser 1 while it was currently up on browser 2.
Browser 2 had no way of knowing where to go after record was deleted. The
record created a who
Downloaded this:, and extracted to disk.
Run web2py.exe, and see this:
C:\Users\subbaraman\Downloads\web2py_win_001\web2py>web2py.exe
Traceback (most recent call last):
File "", line 6, in
File "__main__.py", line 128, in
File "__main__web2py__.py", line 18, in
F
Downloaded this:
http://web2py.com/examples/static/nightly/web2py_win.zip, and extracted
to disk.
Run web2py.exe, and see this:
C:\Users\subbaraman\Downloads\web2py_win_001\web2py>web2py.exe
Traceback (most recent call last):
File "", line 6, in
File "__main__.py", line 128,
OK. One more try. The problems with SRC and OSX versions are fixed. How
about the WIN version?
The GTK widget of the OSX version seems very slow on my Mac. I cannot
figure out if it is a local problem or a more general one.
On Tuesday, 6 January 2015 11:37:59 UTC-6, Massimo Di Pierro wrote:
>
>
SRC seems to work ok now. I haven't deployed a working application on it
to test it.
WIN starts, but shows an error:
Traceback(most recent call last):
File"gluon/restricted.py",line224,inrestricted
File"C:/Users/subbaraman/Downloads/web2py_win/web2py/applications/welcome/models/db.py"
On Tuesday, January 6, 2015 1:09:05 PM UTC-8, Przemysław wrote:
>
> Hallo!
>
Hello! Partial response below ...
> Lets say we have a table called 'cities' and another one called
> 'institutions' with a field referencing to cities:
>
> db.define_table('cities',
> Field('name'))
>
> db.def
39 matches
Mail list logo