[web2py] Re: Weird problems generating menu from database

2017-08-02 Thread Dave S
On Tuesday, August 1, 2017 at 11:21:03 PM UTC-7, Вячеслав Анатольевич wrote: > > Have some idea about this? > Me personally, no, but I understand BS3 limits the number of menu levels. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/

[web2py] Re: Weird problems generating menu from database

2017-08-02 Thread Вячеслав Анатольевич
> > Me personally, no, but I understand BS3 limits the number of menu levels. > > /dps > > So, it is inpossible or not? I'm ask because it's hard to puzzle over this or it's really impossible? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2

[web2py] Re: Rocket server crashing with socket error

2017-08-02 Thread Anthony
Probably the best option is to switch to a production quality web server (e.g., Nginx + uWSGI). On Tuesday, August 1, 2017 at 3:03:37 PM UTC-4, Fabiano Faver wrote: > > environment: Debian 7.11; python 2.7.3; web2py 2.14.5 running on rocket > > background: > An application that have many clients

Re: [web2py] Rocket server crashing with socket error

2017-08-02 Thread Anthony
> > As an aside: this open issue in the rocket repo makes for interesting > reading: https://github.com/explorigin/Rocket/issues/1 > > Note, web2py has f

[web2py] SQLFORM.grid, pagination and LOAD helper

2017-08-02 Thread Akash B
I'm relatively new to the web2py framework and I've been enjoying writing code because of all the features that the framework provides. Here is the issue I've run into: 1. I have a controller named "demo" with a function "f1" that returns an SQLFORM.grid directly from a table. The paginat

[web2py] Re: web2py 2.15.1 is OUT

2017-08-02 Thread bonbe
The same thing happened to me. Please use Python3. 2017年7月17日月曜日 21時11分58秒 UTC+9 vince: > > i download from > https://mdipierro.pythonanywhere.com/examples/static/web2py_src.zip > > on first line of changelog it's 2.15.0b1 > > and when i run web2py.py error as below > > Traceback (most recent

[web2py] Re: web2py 2.15.1 is OUT

2017-08-02 Thread Anthony
On Wednesday, August 2, 2017 at 9:13:31 AM UTC-4, bonbe wrote: > > The same thing happened to me. > > Are you saying that has happened with the latest release (2.15.2), or only with 2.15.0b1? Please use Python3. > > web2py should continue to work with Python 2, so there is no need to move to Pyt

[web2py] Re: MS-SQL DAL Problem

2017-08-02 Thread Jaco
Hi, after changing the entity_quoting to False in the connection string everything is working as expected. Thank you :) Am Montag, 31. Juli 2017 09:23:45 UTC+2 schrieb Manuel Vio: > > Hi, recently I had an SQL issue upgrading web2py too. A DAL constructor > default parameter (entity_quoting) c

[web2py] exportclasses for Grid: a bug?

2017-08-02 Thread Johann Spies
Web2py Version 2.15.2-stable+timestamp.2017.07.19.12.18.41 I found a clearer explanation than I could get in the Book on how to pass exportclasses to a grid: http://rootpy.com/Export-in-SQLFORM-grid/ and it worked as far as the buttons are concerned. But then the export does not work. Here is

[web2py] Re: SQLFORM.grid, pagination and LOAD helper

2017-08-02 Thread Anthony
> > >1. My actual goal is to load this grid and keep refreshing it every 10 >seconds through XHR. For this, I created a simple view "demo/f1.load" > which >contains {{=grid}} and the "demo/f1.html" view has the following: >{{=LOAD('demo', 'f1.load', ajax=True, content='Loading..

[web2py] Re: exportclasses for Grid: a bug?

2017-08-02 Thread Anthony
The post you linked to is incorrect -- if you specify exportclasses, the allowable values are False, an export class, or a tuple containing an export class and its label. You cannot use values of True, and there is no need to use True values because any built-in export class will automatically

Re: [web2py] Re: web2py 2.15.1 is OUT

2017-08-02 Thread Richard Vézina
Don't forget to copy/paste (backup) you app before you try Python 3, because there is no way back with the app once you use it under python 3 as certain stuff are modify by python 3 that let your app unusable with python 2 after. Richard On Wed, Aug 2, 2017 at 9:24 AM, Anthony wrote: > On Wedne

[web2py] Grid edit behavior when no changes are made

2017-08-02 Thread Seth J
Quick question, guys. I've noticed that when record is edited in a grid and no changes are made to it when hitting 'Submit' no entry is made into a corresponding archive table. However, fields "modified on" and "modified by" are adjusted according to a user who submitted a change. Is there wa

Re: [web2py] Re: Integrating existing web2py with GitHub

2017-08-02 Thread Richard Vézina
If he use windows there is a github app I think... I am not sure web2py should integrate with version control as there is too many of them and maintaining such kind of feature is painful On Tue, Aug 1, 2017 at 7:07 PM, Marlysson Silva wrote: > Do you want more easy than git command line? A inter

[web2py] Re: SQLFORM.grid, pagination and LOAD helper

2017-08-02 Thread Akash B
Thank you for your response. As you suggested, I am currently trying to get around this by manually adding the div layer (instead of LOAD helper) and setting the generated link from the controller using response.js. Snippet below: In demo/f1.html: loading... In controller f1: url =

[web2py] AttributeError: 'SQLite' object has no attribute 'file_open'

2017-08-02 Thread Sarbjit
Hello All, I am trying to update the database for my web2py app using the command line script :- Sample Code :- # Assumption : script is placed inside scripts folder in application scriptPath = os.path.dirname(os.path.realpath(__file__)) dbPath = os.path.abspath(os.path.join(scriptPath,"../data

Re: [web2py] Re: web2py 2.15.1 is OUT

2017-08-02 Thread Anthony
On Wednesday, August 2, 2017 at 12:26:45 PM UTC-4, Richard wrote: > > Don't forget to copy/paste (backup) you app before you try Python 3, > because there is no way back with the app once you use it under python 3 as > certain stuff are modify by python 3 that let your app unusable with python >

[web2py] Re: SQLFORM.grid, pagination and LOAD helper

2017-08-02 Thread Anthony
> > I have an alert to verify that the data-w2p_remote is set correctly but > the XHR is still made to the default page. > Is there some sort of a trigger or a function that I can call that lets > the code in web2py.js know that the URL in the data-w2p_remote attribute > was changed? > That wou

[web2py] Re: Weird problems generating menu from database

2017-08-02 Thread Dave S
On Wednesday, August 2, 2017 at 12:12:04 AM UTC-7, Вячеслав Анатольевич wrote: > > Me personally, no, but I understand BS3 limits the number of menu levels. >> >> /dps >> >> > > So, it is inpossible or not? I'm ask because it's hard to puzzle over > this or it's really impossible? > Sorry, o

Re: [web2py] Re: web2py 2.15.1 is OUT

2017-08-02 Thread Richard Vézina
I recall having conversation about that, I am not sure, I think it language file or pickle objects that get modify in a no way back manner... But, sure the app code it not affected... I should retrieve this exchange... will try tomorrow. Richard On Wed, Aug 2, 2017 at 9:53 PM, Anthony wrote: >

Re: [web2py] Re: exportclasses for Grid: a bug?

2017-08-02 Thread Johann Spies
On 2 August 2017 at 17:35, Anthony wrote: > The post you linked to is incorrect -- if you specify exportclasses, the > allowable values are False, an export class, or a tuple containing an export > class and its label. You cannot use values of True, and there is no need to > use True values becaus