[web2py] Re: Apache on Windows + many applications

2015-07-06 Thread Niphlod
BTW: why don't you just serve web2py behind iis ? No weird exceptions, easier to debug, better performances, lesser resources, etc etc. Come on, it's not 2001 anymore! On Friday, July 3, 2015 at 1:44:10 PM UTC+2, Dmitry Ermolaev wrote: https://7pay.in/ - worked http://7pay.in/ - error in

Re: [web2py] Re: How to insert data in data base by xml file

2015-07-06 Thread Johann Spies
On 3 July 2015 at 23:43, Anthony abasta...@gmail.com wrote: All of the effort will be in parsing the XML, so you should check the documentation of the various XML libraries and ask questions in their forums (or on Stack Overflow). The details will depend on the structure of your XML.

[web2py] Re: Redirect to a URL with POST Method

2015-07-06 Thread Leonel Câmara
Does the gateway allow cross domain requests? -- 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 the

Re: [web2py] Re: Semantic 2.0

2015-07-06 Thread Richard Vézina
Semantic include so much goodies!! :) Richard On Fri, Jul 3, 2015 at 12:03 PM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: We cannot make the layout name a variable because it would break bytecode compilation. If you make a semantic scaffolding app I would like to see it. We can

[web2py] Re: google play

2015-07-06 Thread Dave S
On Monday, July 6, 2015 at 8:27:08 AM UTC-7, Massimo Di Pierro wrote: No but if you find out let us know. :-) On Monday, 6 July 2015 10:22:21 UTC-5, eric cuver wrote: hi everybody anyone know how I can create a mobile application on google play with web2py as web2pyslices Is that

[web2py] Re: Scheduling and/or multiprocessing

2015-07-06 Thread Massimo Di Pierro
It should be fine as long as the process calling multiprocess waits for the spawned process. There may be issue with the database connection maintained by the process. Try it and let us know. On Monday, 6 July 2015 10:22:10 UTC-5, Phillip wrote: It is my understanding that if only

Re: [web2py] Re: How to insert data in data base by xml file

2015-07-06 Thread Dave S
On Monday, July 6, 2015 at 8:22:11 AM UTC-7, Sai Harsh Tondomker wrote: Thanks for reply. Could you please give me one example and where I can get enough matter to write the code. Here's a little fragment of stuff I'm doing (not with Web2Py) using Beautiful Soup: f =

[web2py] Re: Invalid literal for init with base 64

2015-07-06 Thread Dave S
On Monday, July 6, 2015 at 8:22:21 AM UTC-7, Alessio Varalta wrote: Hi, i use a sqlite database and i use SQLFORM for save my dateThe problem is that have a table with two Field that have date type and when i use SQLFORM and save this date, I have a error when i try to retrieve the

Re: [web2py] Re: Semantic 2.0

2015-07-06 Thread JorgeH
I am open to use both. On Monday, July 6, 2015 at 10:21:55 AM UTC-5, Massimo Di Pierro wrote: I am the one who proposed moving to semantic a year ago but the overwhelming majority here wanted bootstrap. :-( On Monday, 6 July 2015 09:11:10 UTC-5, Richard wrote: Semantic include so much

Re: [web2py] Webfaction and SMTP

2015-07-06 Thread Dave S
On Saturday, July 4, 2015 at 4:45:24 AM UTC-7, reddyreddy wrote: Hi Iam uing the same settings as yours in db.py. But I got the following error. Error 10060: A connection attempt failed. You're using Windows? Which version? Are you using the bundled Rocket server, Apache, or IIS?

[web2py] Re: format field from m:1 table

2015-07-06 Thread 黄祥
please try (not tested) db.define_table('company', Field('name'), Field('region', 'reference region'), format = lambda r: '%s - %s' % (r.name, r.region.name) ) best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] format field from m:1 table

2015-07-06 Thread Mirek Zvolský
Imagine we have table structure like product - company - region Is there a way to have format for company based on region, so I can see region while selecting product? db('company', *fields, format=%(company.name)s, %(region.name)s) I think this is not directly possible and I have some idea how

[web2py] Re: crash - session_pickled = pickle.dumps(self, pickle.HIGHEST_PROTOCOL) on 2.9.11

2015-07-06 Thread Dmitry Ermolaev
This error in sessions and then raise in pickle пятница, 3 июля 2015 г., 23:50:25 UTC+3 пользователь Dmitry Ermolaev написал: I continue tests... Any request with some PORT (for example http://mydom:PORT) after restarting Apache will take this PORT as success but all others PORTS as

Re: [web2py] Re: prettydate ago is not translated

2015-07-06 Thread Selman Kocael
you must look up the %d weeks ago, %d hours ago, %d months ago phrases. not just ago. because i think item that be translated is T(%d days ago). not T(ago). i don't know its detail. In addition I can only find '%d weeks ago': '%d uge siden', in my language file. this translate used to be

[web2py] Re: common_filter

2015-07-06 Thread Paolo Amboni
Now it makes much more sense for me, i'm coming from PHP programming!!! Thanks. Il giorno venerdì 3 luglio 2015 23:38:00 UTC+2, Anthony ha scritto: A lambda function is just an anonymous function (i.e., one you define in place without naming it). The common_filter does not have to be a lambda

[web2py] Re: smartgrid - display linked_tables link as a dropdown button instead

2015-07-06 Thread info
Hello, I have 7 actions per row so it would be great to have actions dropdown. Please find attached patch for bootstrap theme. for Version 2.11.2-stable+timestamp.2015.05.30.16.33.24 On Thursday, January 17, 2013 at 11:14:59 PM UTC+2, Jim S wrote: I have a number of smartgrids built where

[web2py] Is pickling custom objects the only or best method of storage?

2015-07-06 Thread Phillip
Instead of having to frequently unpickle data, Is there a way to store custom objects (e.g. VirtualFields) in Web2py such that their specifics can be queried? If so, would not pickling decrease performance? Thanks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Redirect to a URL with POST Method

2015-07-06 Thread Sepehr Mohamadi
All payment gateway in Iran, Do the same!!! On Sunday, July 5, 2015 at 2:40:19 PM UTC+4:30, Massimo Di Pierro wrote: This cannot be done for security reasons. If this were allowed than one web page could force your browser to post a request for a bank transfer to your bank making a guess

Re: [web2py] Re: How to insert data in data base by xml file

2015-07-06 Thread Sai Harsh Tondomker
Thanks for reply. Could you please give me one example and where I can get enough matter to write the code. On Mon, Jul 6, 2015 at 1:11 PM, Johann Spies johann.sp...@gmail.com wrote: On 3 July 2015 at 23:43, Anthony abasta...@gmail.com wrote: All of the effort will be in parsing the XML, so

[web2py] Scheduling and/or multiprocessing

2015-07-06 Thread Phillip
It is my understanding that if only multiprocessing is used to spawn processes, the processes are at risk of being killed (depending on their time lapse). Are there any reasons Web2py's scheduler would have problems scheduling a python script that uses multiprocessing? Thanks --

[web2py] google play

2015-07-06 Thread eric cuver
hi everybody anyone know how I can create a mobile application on google play with web2py as web2pyslices -- 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)

Re: [web2py] Re: Semantic 2.0

2015-07-06 Thread Massimo Di Pierro
I am the one who proposed moving to semantic a year ago but the overwhelming majority here wanted bootstrap. :-( On Monday, 6 July 2015 09:11:10 UTC-5, Richard wrote: Semantic include so much goodies!! :) Richard On Fri, Jul 3, 2015 at 12:03 PM, Massimo Di Pierro

[web2py] Invalid literal for init with base 64

2015-07-06 Thread Alessio Varalta
Hi, i use a sqlite database and i use SQLFORM for save my dateThe problem is that have a table with two Field that have date type and when i use SQLFORM and save this date, I have a error when i try to retrieve the date and i have a error when i use appadmin for see my database and the

Re: [web2py] Re: How to insert data in data base by xml file

2015-07-06 Thread Anthony
On Monday, July 6, 2015 at 11:22:11 AM UTC-4, Sai Harsh Tondomker wrote: Thanks for reply. Could you please give me one example and where I can get enough matter to write the code. Note, this is not web2py specific. As suggested, check the various XML libraries and seek help via SO or

[web2py] Re: google play

2015-07-06 Thread Massimo Di Pierro
No but if you find out let us know. :-) On Monday, 6 July 2015 10:22:21 UTC-5, eric cuver wrote: hi everybody anyone know how I can create a mobile application on google play with web2py as web2pyslices -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] new feature in trunk: mail.settings.server='logging:filename'

2015-07-06 Thread Massimo Di Pierro
For testing/debug purposes we were always able to do: mail.settings.server='logging' now you can do mail.settings.server='logging:filename' and log to a file instead of using the logger. This is not really thread safe but different apps can log to different files and can help testing.

[web2py] Re: Redirect to a URL with POST Method

2015-07-06 Thread Anthony
You will need to provide more details about the requirements. What instructions are provided by the gateway provider? You could post the data from your server and then redirect the user to the gateway site, but the redirect won't be via a POST request. We can't help without more details. On

Re: [web2py] Re: Semantic 2.0

2015-07-06 Thread Richard Vézina
I would suggest that we include both, but not pick one over another... But having a scafold app with semantic would be greate... Richard On Mon, Jul 6, 2015 at 11:21 AM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: I am the one who proposed moving to semantic a year ago but the