[web2py] Re: redirect fails with only an error ticket from deep inside the framework

2017-08-07 Thread 'jim kaubisch' via web2py-users
Thanks, Anthony!! That's good news. Please, what IS the right version number and where do I get it it? GitHub I would guess. Haven't had a chance to investigate yet As for the eval choice, firstly I realize it may not be truly the best solution and I realize there are risks involved (eval),

[web2py] Re: web2py 2.15.3 is OUT

2017-08-07 Thread 黄祥
problems from 2.15.1 still exist 1. Minify problems still exist models/db.py response.optimize_js = 'concat,minify,inline' Access : http://127.0.0.1:8000/test/appadmin/d3_graph_model Return : Traceback (most recent call last): File "/Users/MacBookPro/site/web2py/gluon/restricted.py", line 219,

[web2py] Re: redirect fails with only an error ticket from deep inside the framework

2017-08-07 Thread Anthony
Yes, going back to the correct version of pydal should fix this issue. Why are you eval'ing DAL code rather than building the query using DAL objects? On Monday, August 7, 2017 at 9:01:31 PM UTC-4, jim kaubisch wrote: > > Hi Anthony, > > Yes, indeed :( > In connection with my other post, I

[web2py] Re: redirect fails with only an error ticket from deep inside the framework

2017-08-07 Thread 'jim kaubisch' via web2py-users
Hi Anthony, Yes, indeed :( In connection with my other post, I updated pydal in case my problem there could be fixed by updating pydal to the latest version. Didn't realize :( I'm at a critical stage of my project so don't really want to upgrade to the new web2py version right now. I assume

[web2py] Re: web2py 2.15.3 is OUT

2017-08-07 Thread 黄祥
test the new version (web2py_src.zip) with the same code that work in previous version (2.15.2) got an error : Internal errorTicket issued: unknown step i took : cd rm -rf ~/web2py/applications/test cp -R ~/web2py/applications/welcome/

[web2py] Problem with Grid Exporter since upgrade from 2.14.6 to 2.15.2 / 2.15.3

2017-08-07 Thread Simon Riek
Since updating from 2.14.6 to 2.15.2 (and also 2.15.3 released just moments ago) I have some problems with the default ExportClasses in SQLFORM.grid. I am using MSSQL as database. The grid displays just fine, only the export failed. I'll spare you the complete traceback and get directly to what

[web2py] Re: redirect fails with only an error ticket from deep inside the framework

2017-08-07 Thread Anthony
Did you somehow update pydal without updating web2py? The version of pydal you are running is not the one associated with web2py 2.14.6 (you have a more recent version of pydal). Anthony On Monday, August 7, 2017 at 7:29:30 PM UTC-4, jim kaubisch wrote: > > Hi, > > The following failure

[web2py] redirect fails with only an error ticket from deep inside the framework

2017-08-07 Thread 'jim kaubisch' via web2py-users
Hi, The following failure suddenly started in a piece of code thats been running error free for months. I can think of nothing I’ve changed that would cause this to happen (famous last words, I know). I've tried for hours to find something to explain this, without any success ANY ideas would

[web2py] Re: Insecure string Pickle with web2py 2.15.2

2017-08-07 Thread Leonel Câmara
Seth it seems like you did a fake_migrate after setting username=True in auth.define_tables. So the username column is not there and the .table file says it is. Set username=False. Do a fake_migrate. Turn fake_migrate=False. Set username=True. This will create the column. -- Resources: -

[web2py] Re: Insecure string Pickle with web2py 2.15.2

2017-08-07 Thread Seth J
It is Sqlite3 and after following directions in this post to solve the "pickle issue" I get the following error with username table. Am I missing something? no such column: auth_user.usernameVersion web2py™ Version 2.15.3-stable+timestamp.2017.08.07.12.51.45 Python Python 2.7.10:

[web2py] Re: Insecure string Pickle with web2py 2.15.2

2017-08-07 Thread Dave S
On Monday, August 7, 2017 at 1:08:47 PM UTC-7, Seth J wrote: > > So, the data in those tables is permanently gone?! > No, no ... "table files" describes the METADATA that PyDal uses to interface with the Data Base Engine. Unless you're using Sqlite3, the actual data isn't even in the

[web2py] Re: Insecure string Pickle with web2py 2.15.2

2017-08-07 Thread Seth J
So, the data in those tables is permanently gone?! On Friday, August 4, 2017 at 12:15:29 PM UTC-4, Leonel Câmara wrote: > > This is weird I would just move all table files to a backup migration and > do a fake migration to recreate them and see if it solves the problem. > -- Resources: -

[web2py] web2py 2.15.3 is OUT

2017-08-07 Thread Massimo Di Pierro
Contains lots of small fixes. Many thanks to Leonel for taking care of many urgent issues in a hurry. \ Massimo -- 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

[web2py] Re: paired fields in web2py

2017-08-07 Thread Massimo Di Pierro
You can use SQLFORM.factory but I recommend something like vue, ractive, or angular. In in the end it makes things simpler. On Monday, 7 August 2017 01:01:05 UTC-5, Mumtoz Dalimov wrote: > > Thanks a lot, Massimo. > I understood the structure of the model. > > Any ideas how to make convenient

[web2py] Re: Weird problems generating menu from database

2017-08-07 Thread Massimo Di Pierro
So I think... db = DAL('sqlite://storage.sqlite') db.define_table('map',Field('menu1'),Field('menu2'),Field('mnm_name'),Field( 'link')) import collections def build_menu(): m1, m2 = [], [] # to preserve orders m =

[web2py] Re: Error in appadmin (database admin) on python 3

2017-08-07 Thread Massimo Di Pierro
please open a ticket in web2py or pydal, I can fix this in either place. On Sunday, 6 August 2017 10:07:40 UTC-5, Kirill Shatalaev wrote: > > Hello, when using python3 and database admin, I got this error: > > name 'unicode' is not defined > > You need to click on any table name (for example, >

[web2py] Re: admin password in web2py docker not correct

2017-08-07 Thread Massimo Di Pierro
I think your first proposed fix is better. the change in gluon/main.py should not be needed. It should not be completely impossible to have a " " in a password. On Saturday, 5 August 2017 11:44:46 UTC-5, JaapP wrote: > > Hi, > > Hope to save someone with the same problem some time: > > i

[web2py] Re: Unable to start web2py 2.15.2 with ssl

2017-08-07 Thread Massimo Di Pierro
Included the fix in 2.15.3 but please check it in case I got it wrong. On Friday, 4 August 2017 11:18:45 UTC-5, José Leite wrote: > > Thanks, just submitted the issue. > > sexta-feira, 4 de Agosto de 2017 às 16:58:14 UTC+1, Leonel Câmara escreveu: >> >> Still, probably a bug if it still doesn't

[web2py] Re: MS-SQL DAL Problem ( connecting is ok )

2017-08-07 Thread Massimo Di Pierro
Thanks for reporting this. Included in 2.15.3 On Friday, 4 August 2017 16:33:37 UTC-5, Razvan Cristian wrote: > > Good evening! > > Yes, the fix worked! Yuhu!!! > Thank you very much for your fast fix and reply. > > Have a nice weekend! > > On Friday, August 4, 2017 at 6:18:58 PM UTC+3, Massimo

Re: [web2py] Re: SQLFORM.grid search type error reduce()

2017-08-07 Thread Paul Ellis
I will gladly test. But I can't do it until next week. ⁣Sent from TypeApp ​ On 4 Aug. 2017, 17:58, at 17:58, Massimo Di Pierro wrote: >Just fixed in trunk. Can you please help test the fix? > >On Tuesday, 1 August 2017 03:46:13 UTC-5, Paul Ellis wrote: >> >> I am

[web2py] CAS in case of existing applications

2017-08-07 Thread 'Annet' via web2py-users
I have one application (adminmodel) containing models, modules and static files and three other applications using these models, modules and static files. Two of the three applications have been developed independently of each other, and have their own register and login functions. All

[web2py] Re: Weird problems generating menu from database

2017-08-07 Thread Вячеслав Анатольевич
> > In Wiki menus: > - Home > @index - Info > @info - web2py > http://www.web2py.com - - About us > @aboutus - - - Contact us > @contactus - If I add a third minus - THIS NOT WORKED! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: paired fields in web2py

2017-08-07 Thread 'Mumtoz Dalimov' via web2py-users
Thanks a lot, Massimo. I understood the structure of the model. Any ideas how to make convenient input of data in the View. Should inputter remember invoice.id each time he inputs invoice_item to get invoice_items grouped? Maybe I better use SQLFORM.factory to get 2 tables populated at once?