[web2py] Re: Error importing pydal running from PyCharm

2023-09-29 Thread Tom Øyvind Hogstad
:33:47 UTC+2 skrev Tom Øyvind Hogstad: > Hi, > when running my web2py app from pycharm I get an error importing pydal. > The directory is a full source download, so the full dal package is > included. > When I run direct from command line It works. > I'm working in MacOS V

[web2py] Error importing pydal running from PyCharm

2023-09-29 Thread Tom Øyvind Hogstad
Hi, when running my web2py app from pycharm I get an error importing pydal. The directory is a full source download, so the full dal package is included. When I run direct from command line It works. I'm working in MacOS Ventura on a Macbook Air M2. *Commandline* *tom@Tom-sin-MacBook-Air-2022 w2p

[web2py] Re: LOAD with ajax=True not working with SSL

2016-05-28 Thread Tom Øyvind Hogstad
https makes no difference at all. > > On Friday, May 27, 2016 at 10:02:59 AM UTC+2, Tom Øyvind Hogstad wrote: >> >> Hi I enabled SSL on my site and a web2py form.grid embedded in a page >> using LOAD ajax=True ended up only spinning. >> Works fine without SS

[web2py] LOAD with ajax=True not working with SSL

2016-05-27 Thread Tom Øyvind Hogstad
Hi I enabled SSL on my site and a web2py form.grid embedded in a page using LOAD ajax=True ended up only spinning. Works fine without SSL. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2

[web2py] Re: migrate and fake_migrate

2014-12-13 Thread Tom Øyvind Hogstad
I have probably the same issue. After it popped up and I couldn't resolve it I have manually added the fields to postgre. As I understand fake migrate it will regenerate the data needed for migrate. So after a fake migrate adding a field and the normal migrate should work out great. It dosen't

[web2py] Re: PostgreSQL migrate / fake_migrate_all failure with relation does not exists

2014-12-01 Thread Tom Øyvind Hogstad
n a controller? > > Paolo > > On Saturday, November 29, 2014 6:22:00 PM UTC+1, Tom Øyvind Hogstad wrote: >> >> My migrations suddenly failed with >> Error: >> ('ERROR', >> '42P01', 'relation "wiki_page" does not exist')

[web2py] PostgreSQL migrate / fake_migrate_all failure with relation does not exists

2014-11-30 Thread Tom Øyvind Hogstad
My migrations suddenly failed with Error: ('ERROR', '42P01', 'relation "wiki_page" does not exist') This will happen for any relation trying to commenting them out etc. Running a fake_migrate_all and the problem still persists, so I can not find a way around manually modify my PostgreSQL schem

[web2py] Form input show decimal fields with 4 decimals? (How to format input field in forms?)

2014-11-30 Thread Tom Øyvind Hogstad
I have the following field declaration Field('test_BOF', 'decimal(10,2)', label='BOF (mg/l)', requires=IS_EMPTY_OR(IS_DECIMAL_IN_RANGE(dot=',')) In a SQLFORM this vil output as a number with a for numbered fraction e.g. 12,3000 How can i format this value? Web2Py: 2.9.11 DB: PostgreS

[web2py] Re: bootstrap 3 - if you care help test trunk now

2014-11-24 Thread Tom Øyvind Hogstad
ely unmodified scaffolding app, then it > wouldn't much matter whether it were BS2 or BS3, as they would look the > same). > > Anthony > > On Monday, November 24, 2014 2:39:58 AM UTC-5, Tom Øyvind Hogstad wrote: >> >> No particular problem. More of a wondering

[web2py] Re: bootstrap 3 - if you care help test trunk now

2014-11-24 Thread Tom Øyvind Hogstad
id classes for Bootstrap 3 (though even > without those, you can add your own custom formstyles and grid classes). Is > there a particular problem you are having? > > Anthony > > On Sunday, November 23, 2014 8:00:13 AM UTC-5, Tom Øyvind Hogstad wrote: >> >> What is the statu

[web2py] Re: bootstrap 3 - if you care help test trunk now

2014-11-23 Thread Tom Øyvind Hogstad
What is the status of bootstrap3 now. It was reverted in trunc and I just started a project at that time. Started in bootstrap3, but I had not done much so I reverted to bootstrap2. Now I would like to go back/forward to bootstrap3 again before my project gets any larger. Tom Ø. kl. 09:13:38

[web2py] Re: How do I change or remove the tabkename above a SQLFORM.grid?

2014-09-01 Thread Tom Øyvind Hogstad
idebar_enabled=False }} {{extend 'layout.html'}} {{block head}} ¨{{end head}} {{block top_content}} {{end top_content}} {{=grid}} {{block left_sidebar}} {{end}} {{block right_sidebar}} {{end}} {{block page_js}} {{end}} kl. 15:18:55 UTC+2 søndag 31. august 201

[web2py] How do I change or remove the tabkename above a SQLFORM.grid?

2014-08-31 Thread Tom Øyvind Hogstad
The default SQLFORM.grid shows the tablename as a title above the output grid. I want to change or remove it. -- Resources: - http://web2py.com - http://web2p