So this fix isn't in the web2py 2.10.4 beta that was built on 4/18?
-Jim
On Mon, Apr 20, 2015 at 4:55 PM, Niphlod niph...@gmail.com wrote:
we're waiting for 2.10.4 including
https://github.com/web2py/pydal/issues/135
On Monday, April 20, 2015 at 9:46:58 PM UTC+2, Jim S wrote:
I posted in
we're waiting for 2.10.4 including
https://github.com/web2py/pydal/issues/135
On Monday, April 20, 2015 at 9:46:58 PM UTC+2, Jim S wrote:
I posted in this thread
https://groups.google.com/forum/#!topic/web2py/2i9zfAzG2s8 but posted
after it was closed. Evidently, this is fixed but I'm
Ok, finally figured out my problem.
Back when pydal was first announced, I did a pip install of pydal.
Subsequently, I did a clean install of web2py using git clone. Must have
gotten my pydal stuff out of sync, or didn't update it.
I used pip to uninstall pydal and then ran
git submodule
You may start looking at this code
http://www.web2pyslices.com/slice/show/1616/widget-select-or-add-option-ng
and build your solution from there.
On Friday, April 17, 2015 at 10:50:40 PM UTC-4, KevC wrote:
Hi community!
Good afternoon, my name is Kevin.
I want to know if you could help
Can you please remove it from the book?
http://www.web2py.com/books/default/chapter/34/12/components-and-plugins
regards,
Ben
On Wednesday, April 8, 2015 at 6:10:13 AM UTC-7, Massimo Di Pierro wrote:
A Paolo says. This is no longer support because almost all of the
functionality of the plugin
I regularly use the SQLFORM.grid, does exactly what I need with very little
effort. Recently I've been doing a lot more with AJAX to enhance how my
pages look and feel. But when combining AJAX with the grid, my CSV
downloads don't work as expected.
In a simple page with only a combobox an
Yes I did. I forgot to add. The extract_sqlite_models.py didn't work as
expect. And that may be because I am not doing it right. Thats why I didn't
mention.
python extract_sqlite_models.py
C:\Users\...\applications\my_application_name\databases\storage.sqlite
Which generates the following
On Monday, April 20, 2015 at 10:02:44 AM UTC-7, Jim S wrote:
Can someone tell me if this is fixed?
I'm still having issues but maybe I'm doing something wrong:
What version of Web2Py are you running?
/dps
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
I'm running 2.10.4 beta. Grabbed it from github this morning.
On Mon, Apr 20, 2015 at 5:10 PM, Dave S snidely@gmail.com wrote:
On Monday, April 20, 2015 at 10:02:44 AM UTC-7, Jim S wrote:
Can someone tell me if this is fixed?
I'm still having issues but maybe I'm doing something
re-pushing. Check the nightly built in 20 minutes.
On Monday, 20 April 2015 16:58:04 UTC-5, Jim S wrote:
So this fix isn't in the web2py 2.10.4 beta that was built on 4/18?
-Jim
On Mon, Apr 20, 2015 at 4:55 PM, Niphlod niph...@gmail.com wrote:
we're waiting for 2.10.4 including
It is possible to have a the gluon folder under site packages and the
applications folder somewhere else. This used to work. I am not sure how
and when it broke but it has nothing to do with the web2py default folder
structure. Perhaps the problem is that the options.py example moved from
Sorry my typo by auto spell correction . I meant ractive.js and Angular.js.
--
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
Thanks for the opinions. I'm looking at ractive
On Monday, 20 April 2015 04:30:32 UTC+1, Ramkrishan Bhatt wrote:
I am agree with Massimo you must try angular or reactive to make SPA. It
will surly solve your problem.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
That's what I thought too
And if it's all coming from static, why don't you just keep in db the path
from inside the static folder ( in your case images/image.gif) and then
in your view you build the path img
src={{appname}}/'static/{{path_from_db}} /
On Sunday, 19 April 2015 04:57:00
I just grabbed the latest, timestamp looks like this:
Version 2.10.4-beta+timestamp.2015.04.20.18.00.31
and still having the same issue.
-Jim
On Monday, April 20, 2015 at 6:03:03 PM UTC-5, Massimo Di Pierro wrote:
re-pushing. Check the nightly built in 20 minutes.
On Monday, 20 April 2015
Does the script complete correctly... These scripts are old, and I don't
know many person who have use them... Anyway, 20 tables 50 tables is not
much...
You can write your own which can be basic parser that convert table and
field only and you have to set constrains yourself...
Richard
On Mon,
Interresting!
Richard
On Sun, Apr 19, 2015 at 12:54 PM, Dmitry Ermolaev eds.pr...@gmail.com
wrote:
# -*- coding: utf-8 -*-
AJ_FROM_SERVER = True
UPD_TIMEOUT = 6000
def reload_btn(s):
return DIV(T('RELOAD'),
_onclick = 'ajax(%s, [], reload_tag)' %
URL('aj_load2','reload'),
Massimo is talking about ractive.js
ractive.js != reactive
even if adopts the reactive pattern
2015-04-20 5:30 GMT+02:00 Ramkrishan Bhatt ramkrishan.bh...@gmail.com:
I am agree with Massimo you must try angular or reactive to make SPA. It
will surly solve your problem.
--
Resources:
-
Hi Sandeep,
To help us try help you, please let us know:
1. database
2. http web server
3. WSGI adapter (eg. uwsgi, fcgi etc..)
4. WSGI execution model (threading, processing)
5. OS
OR if you are running in some PaaS, which one.
2015-04-20 5:25 GMT+02:00 Ramkrishan Bhatt
active element in MENU
insert in documentation and in layout.html
=MENU(response.menu, _class='mobile-menu nav' if is_mobile else
'nav',mobile=is_mobile,li_class='dropdown',ul_class='dropdown-menu',
*active_url=URL()*)
and in css:
.web2py-menu-active a {
color:#C8FF7B;
}
Hi Massimo,
I'm trying to look at it. I have only a question about permission.
Applications should run in a writable folder such as the whole web2py.
I don't think there is an easy way to give writable permissions to
slices of python sitepackage.
I don't think also web2py could be disjointed to
Maybe your online server platform is blocking websockets.
check it with your provider.
2015-04-20 16:02 GMT+01:00 Samuel Sowah sam...@official-notebook.com:
So... I just read something on stackoverflow about that and I think I had
that idea, just didn't know it was a thing. the i'm
I think I'm still a bit lost
On Monday, April 20, 2015 at 4:02:21 PM UTC+1, Samuel Sowah wrote:
So... I just read something on stackoverflow about that and I think I had
that idea, just didn't know it was a thing. i'm executing the
websocket_messaging.py line from the same server though...
I'm not aware. What exactly do you mean by that please?
On Monday, April 20, 2015 at 3:53:24 PM UTC+1, Niphlod wrote:
are you aware that websockets have the same limitation as ajax requests
(same domain) ?
On Monday, April 20, 2015 at 4:39:08 PM UTC+2, Samuel Sowah wrote:
telnet
try to telnet to that url : and see if your get a black screen
2015-04-20 15:15 GMT+01:00 Samuel Sowah sam...@official-notebook.com:
Hello,
I need help getting websocket_messaging.py to work. when I use it locally
(127.0.0.1)
python websocket_messaging.py -k mykey -p
---
script
telnet http://official-notebook.com:
telnet: could not resolve http://official-notebook.com:/telnet: Name or
service not known
telnet official-notebook.com
Trying 109.123.86.98...
telnet: Unable to connect to remote host: Connection refused
On Monday, April 20, 2015 at 3:32:32 PM
https://github.com/web2py/web2py/blob/master/scripts/extract_sqlite_models.py
Have you check gluon/scripts/ before ask?
Richard
On Sun, Apr 19, 2015 at 5:07 PM, Ron Chatterjee achatterjee...@gmail.com
wrote:
I have the following SQL file:
BEGIN TRANSACTION;
CREATE TABLE topic(
id
So... I just read something on stackoverflow about that and I think I had
that idea, just didn't know it was a thing. the i'm executing the
websocket_messaging.py line from the same server though... not sure why
that won't work, yet it works when I'm connecting from my local machine.
On
are you aware that websockets have the same limitation as ajax requests
(same domain) ?
On Monday, April 20, 2015 at 4:39:08 PM UTC+2, Samuel Sowah wrote:
telnet http://official-notebook.com:
telnet: could not resolve http://official-notebook.com:/telnet: Name
or service not known
Okay, will do Ramos. Thanks
On Monday, April 20, 2015 at 4:05:32 PM UTC+1, Ramos wrote:
Maybe your online server platform is blocking websockets.
check it with your provider.
2015-04-20 16:02 GMT+01:00 Samuel Sowah sam...@official-notebook.com
javascript::
So... I just read something
Hello,
I need help getting websocket_messaging.py to work. when I use it locally
(127.0.0.1)
python websocket_messaging.py -k mykey -p
---
script
$(document).ready(function(){
var data;
I guess you will need scheme=True...
Richard
On Mon, Apr 20, 2015 at 12:46 PM, Lisandro rostagnolisan...@gmail.com
wrote:
I have one instance of web2py installed on production, with several apps.
Each app is served by a specific domain. This is acomplished usign
parameter-based routing
That doesn't appear to be the case. I send and receive just fine from my
local server when it loads a page with the script in it.
script
$(document).ready(function(){
var data;
$.web2py.web2py_websocket('ws:
what are you expecting and what do you see instead ?
returning from controllers is the only supported way.
On Monday, April 20, 2015 at 6:28:14 PM UTC+2, Jim S wrote:
I have some controller methods that I call using ajax and they return a
json string using:
return
https://groups.google.com/forum/#!searchin/web2py/response.json()/web2py/7EJ0-rOd1bo/iR6YWJOSaQgJ
On Mon, Apr 20, 2015 at 12:28 PM, Jim S j...@qlf.com wrote:
I have some controller methods that I call using ajax and they return a
json string using:
return response.json(list_of_dictionaries)
On Monday, April 20, 2015 at 8:10:56 PM UTC+2, Richard wrote:
https://groups.google.com/forum/#!searchin/web2py/response.json()/web2py/7EJ0-rOd1bo/iR6YWJOSaQgJ
@richard: that's not helping: @jim is using response.json in a controller,
that is supported, not in a view, that is not
I just saw this post pass I though it could be related... I read that there
seems to have issue with response.json...
Sorry that it not help...
Richard
On Mon, Apr 20, 2015 at 2:13 PM, Niphlod niph...@gmail.com wrote:
On Monday, April 20, 2015 at 8:10:56 PM UTC+2, Richard wrote:
I've just figured it out. I wasn't thinking right.
I realised that, instead of having each site accesing its panel through
those kind of urls (site1.dev/panel, site2.dev/panel, etc), I could use
subdomains like panel.site1.dev, panel.site2.dev, etc, and then the thing
is as easy as editing
Can someone tell me if this is fixed?
I'm still having issues but maybe I'm doing something wrong:
I have this in my db.py:
db.define_table('customer',
Field('customerId', 'id', readable=True, writable=False, label='Customer
#'),
Field('name', length=30, required=True, writable=False,
I have one instance of web2py installed on production, with several apps.
Each app is served by a specific domain. This is acomplished usign
parameter-based routing system, this what I have in routes.py file:
# -*- coding: utf-8 -*-
routers = dict(BASE = dict(\
default_controller =
I have some controller methods that I call using ajax and they return a
json string using:
return response.json(list_of_dictionaries)
I just realized today that it isn't working on newer releases. Based on
the web2py releases that I have, I can see that it works in 2.9.5 but not
2.9.12.
Richard - I saw that thread too before I posted my message. I'm assuming
this is the same issue. I have a workaround, but just pointing out that
this used to work and now it doesn't, breaking backward compatibility.
...unless I was just doing it wrong and by chance it worked...
-Jim
On
Using jQuery and the $.ajax function, I'm returning a json object from my
controller function using response.json(list_of_dictionaries).
I'm seeing an error in firebug saying:
SyntaxError: JSON.parse: unexpected end of data at ...
Here is the javascript:
$.ajax({url:
there you are! response.json now sets content-type = application/json as
it's supposed to be (if no specific content-type header is specified)
Previous versions relied on the user setting the right content-type, but we
noticed that nobody was properly setting it.
tl;dr web2py fixed a
On Monday, April 20, 2015 at 9:16:49 PM UTC+2, Jim S wrote:
Shoot, so now I have to have different behavior based on the web2py
version. If I fix this code so it runs properly, it will quit working on
my production servers unless I upgrade them to 2.9.12 or later.
Again, the only
Thank you!
I went through and made the changes as suggested and is working fine in
both environments.
-Jim
On Monday, April 20, 2015 at 2:40:33 PM UTC-5, Niphlod wrote:
On Monday, April 20, 2015 at 9:16:49 PM UTC+2, Jim S wrote:
Shoot, so now I have to have different behavior based on
Shoot, so now I have to have different behavior based on the web2py
version. If I fix this code so it runs properly, it will quit working on
my production servers unless I upgrade them to 2.9.12 or later.
To make it compatible with both versions I'd need to use
I posted in this
thread https://groups.google.com/forum/#!topic/web2py/2i9zfAzG2s8 but
posted after it was closed. Evidently, this is fixed but I'm still not
seeing my 'formats' for foreign keys. Here are the details:
I have this in my db.py:
db.define_table('customer',
Field('customerId',
Has anyone tried to use it with web2py?
http://www.princexml.com/doc/9.0/python/
[image: http://itjp.net.br] http://itjp.net.br
http://itjp.net.b http://itjp.net.brr
*Ovidio Marinho Falcao Neto*
ovidio...@gmail.com
49 matches
Mail list logo