Re: [web2py] Re: 2.18.1 is OUT

2019-02-25 Thread Carl Petersen
Agreed, download link is currently broken. On Monday, February 25, 2019 at 12:38:01 AM UTC-6, Lovedie JC wrote: > > Having trouble with download page: > See attached. > > On Mon, 25 Feb 2019 at 07:57, Alex Glaros > wrote: > >> am on Windows >> >> -- >> Resources: >> - http://web2py.com >> -

[web2py] Re: Problem with wsgihandler.py Apache/Python3

2018-12-07 Thread Carl Petersen
, unicodeT): body = to_bytes(body) return [body] I didn't know whether I should just apply to_bytes(body) like the other returns because the other returns were coded "return [body]" instead of "return body". Thanks On Friday, December 7, 2018 at 7:50:16

[web2py] Re: Problem with wsgihandler.py Apache/Python3

2018-12-07 Thread Carl Petersen
Hello, I'm having a similar issue. I'm using Python 3.6.6, mod_wsgi 4.6.5, Apache 2.4.6 with web2py 2.17.2. I can get to the welcome screen, but as soon as I try to access the admin application I get the following on my screen: Internal Server Error The server encountered an internal error

[web2py] db._adapter.is_numerical_type no longer found

2018-12-04 Thread Carl Petersen
Hello, The following line in a view which used to work in web2py 2.6.x no longer works in 2.17.2. I expect it has something to do with moving pydal to it's own package, but I'm not sure how to rectify the issue. {{=db.error_invoice_line[fieldname].label}} The error given is: 1. 2. 3. 4. 5.

[web2py] Re: UPDATE BOOTSTRAP VERSION FROM 3 TO 4

2018-10-05 Thread Carl Petersen
Leonel, could you go into a bit more depth on the changes you had to make in the menu? I would certainly appreciate it. On Wednesday, April 26, 2017 at 8:51:15 AM UTC-5, Leonel Câmara wrote: > > The forms in Boostrap 4 are pretty much the same as in bootstrap 3, you do > need to change some

[web2py] Conditional IS_IN_DB

2017-06-19 Thread Carl Petersen
Hello, I have a screen that updates a code cross-reference table which contains a code-type field. That code-type field has a master table. What I want to do is validate the cross referenced codes in the code cross reference table against various master tables depending on the value of the

[web2py] Multiple upload fields in a SQLFORM.factory

2015-10-28 Thread Carl Petersen
Hello, I am attempting to use multiple upload fields in a SQLFORM.factory. The first field uploads a file, and the second specifies a filename to be written out to. form = SQLFORM.factory(Field('billing_file', 'upload',uploadfolder=os.path.join(request.folder,

[web2py] Re: MSSQLAdapter missing?

2015-05-08 Thread Carl Petersen
OK, I deinstalled the dist-packages version of pyDAL (I had just tried it on the off-chance that it would work anyway) It is now using the embedded version of pyDAL. Unfortunately, still the same error. I ran the command from the microsoft odbc driver manager instructions to verify my

[web2py] MSSQLAdapter missing?

2015-05-07 Thread Carl Petersen
Hello All, Working with the latest versions of web2py and it seems that my sql server connections are breaking. I noticed that a fairly large section of code related to MSSQLAdapter in gluon/dal.py has been taken out. Should I be approaching sql server connections differently now. I was

[web2py] Re: MSSQLAdapter missing?

2015-05-07 Thread Carl Petersen
7, 2015 at 3:41:28 PM UTC+2, Carl Petersen wrote: Hello All, Working with the latest versions of web2py and it seems that my sql server connections are breaking. I noticed that a fairly large section of code related to MSSQLAdapter in gluon/dal.py has been taken out. Should I

[web2py] Fill a field based on the value from another autocomplete field

2014-11-17 Thread Carl Petersen
So what I'd like to do is once a user makes a selection from the drop down of an autocomplete field (for instance selecting a customer) in a view , I'd like to immediately update the address, city and state fields on the same view. How would I go about that? Thanks, Carl -- Resources: -

[web2py] reference auth_user from a table in one database to the auth_user table in another database

2014-10-23 Thread Carl Petersen
Hello, I'm trying to reference the auth_user table in one database from a field definition for a table in a different database. Hopefully the code below will clarify: db1 = DAL('postgres://user:password@host1/database1',pool_size=1,check_reserved=None,migrate=False) db =