Re: [web2py] Re: setting up pscycopg2

2019-08-28 Thread Dave S
On Thursday, June 13, 2019 at 4:25:11 PM UTC-7, Dave S wrote: > > > > On Thursday, June 13, 2019 at 1:47:34 AM UTC-7, Annet wrote: >> >> >> This isn't done as sudo? >>> >> >> With these lines I installed psycopg2 in my hosting environment, no sudo >> needed. >> > > In my environment, the easy_in

[web2py] Re: Post SQLing

2019-08-28 Thread Dave S
On Tuesday, August 20, 2019 at 10:14:17 PM UTC-7, Dave S wrote: > > > > On Tuesday, August 13, 2019 at 2:46:31 AM UTC-7, Dave S wrote: >> >> >> >> On Tuesday, May 21, 2019 at 6:19:38 PM UTC-7, Dave S wrote: >>> >>> I've got my AWS linux system ticking along nicely with my heavy table >>> under P

[web2py] Re: Question with saving the thumbnail name on linux disk

2019-08-28 Thread Rahul
Hi Dave, upload_pic is the form variable that user specifies for uploading the file from local disk. Basically it is the filename. I removed the braces for outfile = (thumbpath) but this is still not working. Any more suggestions ? Regards Rahul On Tuesday, August 27, 2019 at 2:21:45

[web2py] Re: Question with saving the thumbnail name on linux disk

2019-08-28 Thread Val K
It is no need to use different code for win/linux, since it is Python! There is os.path.normpath(your_path) that does all stuff with slashes, I have app that works on both platforms just fine (without platform checking at all) My way - always use '/' in path, and at the end of all manipulations

[web2py] Re: Question with saving the thumbnail name on linux disk

2019-08-28 Thread Dave S
On Wednesday, August 28, 2019 at 11:05:11 AM UTC-7, Rahul wrote: > > Hi Dave, > > upload_pic is the form variable that user specifies for uploading the file > from local disk. Basically it is the filename. I removed the braces for > outfile = (thumbpath) > but this is still not working