[web2py] Re: Scheduler not finding module

2016-04-14 Thread peter
On Wednesday, 13 April 2016 13:29:18 UTC+1, peter wrote: > > I have an issue with processes run by the scheduler are not seeing a > module. > > If I Do > python2.6 > >>>import dropbox > > it imports fine. > > The conf file for the web2py scheduler contains > > DAEMON=python2.6 > PARAMETERS="/opt

[web2py] How to compile C programs uploaded as file as per some input cases and get output?

2016-04-14 Thread Angela Ina
Where to put gcc command files in the web2py app? -- 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 Issues) --- You received this message because you are subscribed to

[web2py] Re: Scheduler not finding module

2016-04-14 Thread Niphlod
I was just asking because trying to identify any issues without any code is a pretty daunting task. Technically the scheduler uses only what python provides to spawn subprocesses, and they ususally are spawned on the same interpreter but I don't use 2.6 since ever so I really don't rec

[web2py] Re: Empty strings stored as null in database

2016-04-14 Thread Niphlod
I hear you and I'm happy (or not, not sure) to not being alone ranting about web2py's code quality and lack of tests. this was a serious bug that should have had the effect of retiring web2py's release until it was fixed (or at least loudly advertised). On Thursday, April 14, 2016 at 5:08:24 AM

[web2py] sqlform time field value representation

2016-04-14 Thread Yebach
Hello I have the following problem. I have SQLFORM.grid When I go to edit view i have 4 fields which should be represented as time (clock picker etc) Once the form is submited only one field is actually send as datetime.time other are as strings. I have no idea why Also if I edit time fields

Re: [web2py] Re: Empty strings stored as null in database

2016-04-14 Thread Richard Vézina
Let test then!! On Thu, Apr 14, 2016 at 9:15 AM, Niphlod wrote: > I hear you and I'm happy (or not, not sure) to not being alone ranting > about web2py's code quality and lack of tests. this was a serious bug that > should have had the effect of retiring web2py's release until it was fixed > (or

Re: [web2py] Re: cas broken in 2.14.3?

2016-04-14 Thread Franz Pietz
Yes, I downloaded a new version and it works fine. Thank you. Em quinta-feira, 7 de abril de 2016 14:11:08 UTC-3, Massimiliano escreveu: > > I tested trunk. > Seems ok to me. > > > > On Thu, Apr 7, 2016 at 3:26 PM, Massimo Di Pierro > wrote: > >> I believe this has been fixed in trunk. Can you ch

Re: [web2py] Re: cas broken in 2.14.3?

2016-04-14 Thread Franz Pietz
I've reported another CAS issue in this topic: https://groups.google.com/d/topic/web2py/mnVTJ31KlA4/discussion Anyone has a clue? Em quinta-feira, 14 de abril de 2016 10:52:03 UTC-3, Franz Pietz escreveu: > > Yes, I downloaded a new version and it works fine. > Thank you. > > Em quinta-feira, 7

Re: [web2py] Re: cas broken in 2.14.3?

2016-04-14 Thread Junior Phanter
Try clean cache browser. Em 14/04/2016 11:03, "Franz Pietz" escreveu: > I've reported another CAS issue in this topic: > https://groups.google.com/d/topic/web2py/mnVTJ31KlA4/discussion > Anyone has a clue? > > > Em quinta-feira, 14 de abril de 2016 10:52:03 UTC-3, Franz Pietz escreveu: >> >> Yes,

[web2py] Adding appended text to SQLFROM

2016-04-14 Thread Ron Chatterjee
db.define_table("search_table", Field('search_string', 'string')) form = SQLFORM(db.search_table); view {{=form}} If I have to use validators and security of SQLFORM, how do I add appended text to this form?I am guessing {{=form.custom.begin}}? -- Resources: - http://web2

[web2py] Re: Adding appended text to SQLFROM

2016-04-14 Thread Ron Chatterjee
Here is the html, Form Name Appended Text append help On Thursday, April 14, 2016 at 10:39:56 AM UTC-4, Ron Chatterjee wrote: > > db.define_table("search_table", > Field('search_string', 'string')) > > > > form = SQLFORM(db.search_ta

[web2py] Using site packages with web2py

2016-04-14 Thread Marko Seppälä
Hi, I'm trying to import openpyxl to web2py without success. What is the right way to do it? I have working openpyxl in my Windows environment and I'm able to use it without problems when testing it without web2py. If I understood right, I can either install openpyxl to web2py site packages an

[web2py] Re: XHR application/json scraping

2016-04-14 Thread lucas
ok, so after a week of zero success trying everything i can think of, i decided to try using the requests method instead of the above urllib2 method. it worked like a charm and it was less complicated code. i replicated the above method but in requests as shown below. requests is probably do

[web2py] Re: Using site packages with web2py

2016-04-14 Thread Niphlod
first of all, web2py is not python 3 compatible. On Thursday, April 14, 2016 at 6:02:20 PM UTC+2, Marko Seppälä wrote: > > Hi, > > I'm trying to import openpyxl to web2py without success. What is the right > way to do it? > > I have working openpyxl in my Windows environment and I'm able to use i

[web2py] Re: Using site packages with web2py

2016-04-14 Thread Marko Seppälä
Hi, Just found that, I've always run web2py from exe-file so far, so didn't realize that before... torstai 14. huhtikuuta 2016 19.56.34 UTC+3 Niphlod kirjoitti: > > first of all, web2py is not python 3 compatible. > > On Thursday, April 14, 2016 at 6:02:20 PM UTC+2, Marko Seppälä wrote: >> >> Hi

[web2py] Re: Scheduler not finding module

2016-04-14 Thread peter
> > It works fine if it is launched manually, ie I run the web2y function in >> the scheduler from the url. >> > Peter -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Repo

[web2py] Re: Scheduler not finding module

2016-04-14 Thread Niphlod
what does it mean "from the url" ? On Thursday, April 14, 2016 at 9:31:20 PM UTC+2, peter wrote: > > It works fine if it is launched manually, ie I run the web2y function in >>> the scheduler from the url. >>> >> Peter > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation

[web2py] Re: missing response.title and subtitle

2016-04-14 Thread Dave S
On Wednesday, April 13, 2016 at 6:33:23 PM UTC-7, Dave S wrote: > FWIW, my oldest app (created under 2.4.x) did have the > banner/title/subtitle stuff in layout.html, and not in default/index.html. > It kept working under most updates, so I didn't pay attention, and the > later apps mostly

[web2py] Re: missing response.title and subtitle

2016-04-14 Thread Dave S
On Thursday, April 14, 2016 at 1:43:45 PM UTC-7, Dave S wrote: > > > > On Wednesday, April 13, 2016 at 6:33:23 PM UTC-7, Dave S wrote: > > >> FWIW, my oldest app (created under 2.4.x) did have the >> banner/title/subtitle stuff in layout.html, and not in default/index.html. >> It kept working

[web2py] Re: Scheduler not finding module

2016-04-14 Thread peter
I mean if I create a function foobar in default.py and have foobar call the function that is in the scheduler (that is normally run by the task), To run this I type app/default/foobar in the browser.The function then runs fine, and does see the dropbox module. So web2py is correctly using py

[web2py] Re: Scheduler not finding module

2016-04-14 Thread Niphlod
ok. more tests needed. a) start web2py shell executing the function with web2py.py -M -S app/default/foobar b) if a) works, queue the task, then start the scheduler manually with web2py.py -K app and see what happens a) is needed to see if the shell env is different from the web one b) is needed

[web2py] Re: missing response.title and subtitle

2016-04-14 Thread Alex Glaros
okay, I get itI never changed layout.html until now. what font do you use for headers? I used "class = 'header" and it looks a little plain thanks for your help Dave Alex -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

Re: [web2py] Re: Empty strings stored as null in database

2016-04-14 Thread Raul Monares
I just tested 2.14.5 and the solution is working. Great job !! On Thursday, April 14, 2016 at 7:46:57 AM UTC-6, Richard wrote: > > Let test then!! > > On Thu, Apr 14, 2016 at 9:15 AM, Niphlod > > wrote: > >> I hear you and I'm happy (or not, not sure) to not being alone ranting >> about web2py's

[web2py] Re: Adding appended text to SQLFROM

2016-04-14 Thread Stuart Rolinson
Ron, I am pretty sure the only way to do this would be a custom for, so yes {{=form.custom.begin}}. {{=form.custom.begin}} Form Name Appended Text {{=form.custom.widget.appendedtext}} append help {{=form.custom.end}} Hope that helps. Stuart. On Thursd

[web2py] Re: AppConfig and Storage

2016-04-14 Thread pbreit
So what would be the strategy for having config settings for dev and production? Would there be some way to branch on is_local? On Sunday, July 19, 2015 at 12:06:42 PM UTC-7, Alex wrote: > > it's a clear separation of code and configuration. When you deploy the > application on a server you us

[web2py] Re: AppConfig and Storage

2016-04-14 Thread Niphlod
or an env variable. On Friday, April 15, 2016 at 7:47:19 AM UTC+2, pbreit wrote: > > So what would be the strategy for having config settings for dev and > production? > > Would there be some way to branch on is_local? > > > On Sunday, July 19, 2015 at 12:06:42 PM UTC-7, Alex wrote: >> >> it's a