[web2py] Re: Web2py SOAP and local wsdl file

2013-06-18 Thread Barry Bridges
Hi Massimo, Your correct in that I need to create a server that is complaint with someone else's WSDL. I have to full spec of the API, but need to provide that to the client devices. If I use pysimplesoap, the WSDL is created for me but is not totally compliant/formted to the customers spec. So

Re: [web2py] Re: version2.5.1:Approximative date of version correcting smartgrid with links to several tables

2013-06-18 Thread Serge Bourgeois
smartgrids with linked_tables cannot be executed. As the problem has already been reported (Antony reacted on it proposing to include this situation in the non regression testing), I didn't document my own case. Serge 2013/6/17 Massimo Di Pierro massimo.dipie...@gmail.com I am not aware of

[web2py] Use reserved keywords of mysql

2013-06-18 Thread ajith c t
Hi, Is there is any update on the usage of reserved keywords in the table definition. In this thread https://groups.google.com/forum/?fromgroups=#!newtopic/web2py/web2py/hCsxVaDLfT4 Massimo says we need to change it in dal.py. I need to create a table in mysql db as:

[web2py] Re: Web2py SOAP and local wsdl file

2013-06-18 Thread Massimo Di Pierro
If you find a solution to your problem let me know. I have a similar problem. The process usually is [create server] - [generate wsdl] - [create client from wsdl]. I would like to see an example ot [create server from wsdl]. On Tuesday, 18 June 2013 01:55:40 UTC-5, Barry Bridges wrote: Hi

[web2py] Access MySQL PythonAnywhere

2013-06-18 Thread Dane Wright
Yes I use MySQL on PythonAnywhere and so far it is working well. Can you describe your problem in more detail? -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email

[web2py] Re: DAL.executesql timeout..

2013-06-18 Thread hiro
I will just come back and add how i solved this, in case anyone else would ever want to know. external_db = DAL( 'postgres://connection_string', pool_size=20, after_connection=lambda self: self.execute('set search_path to my_schema, public; set statement_timeout to 5000;'),

Re: [web2py] Re: upgrading appengine has broken web2py

2013-06-18 Thread Carl Roach
hi Massimo, What would be the implications of removing the gql modulefrom Web2py? On 12 April 2013 16:17, Massimo Di Pierro massimo.dipie...@gmail.comwrote: I proposed in web2py 2.5 we remove the gql module. On Friday, 12 April 2013 05:21:10 UTC-5, Carl wrote: Removing the line from

Re: [web2py] Re: redirecting to localhost or 127.0.0.1

2013-06-18 Thread Serge Bourgeois
Thanks Antony! 2013/6/14 Anthony abasta...@gmail.com The URL host name is part of request.client, which is used as the prefix for the session ID -- so switching from localhost to 127.0.0.1 causes a new session ID (and therefore session file) to be created. Anthony On Friday, June 14,

Re: [web2py] Re: upgrading appengine has broken web2py

2013-06-18 Thread Massimo Di Pierro
None except that some very old web2py GAE applications may be doing import gql. It is there only for backward compatibility. On Tuesday, 18 June 2013 03:21:00 UTC-5, Carl wrote: hi Massimo, What would be the implications of removing the gql modulefrom Web2py? On 12 April 2013 16:17,

Re: [web2py] bootstrap interface builder

2013-06-18 Thread António Ramos
bootstrap form builder http://minikomi.github.io/Bootstrap-Form-Builder/ 2013/4/17 黄祥 steve.van.chris...@gmail.com +1 -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it,

Re: [web2py] bootstrap interface builder

2013-06-18 Thread António Ramos
even better http://www.divshot.com/ 2013/6/18 António Ramos ramstei...@gmail.com bootstrap form builder http://minikomi.github.io/Bootstrap-Form-Builder/ 2013/4/17 黄祥 steve.van.chris...@gmail.com +1 -- --- You received this message because you are subscribed to the Google Groups

[web2py] BUG: git commit 714fcc52 wreaked german umlaut characters

2013-06-18 Thread Holger Schurig
Hi, I'm exploring web2py from GIT together with a chrome browser. When I open the admin, I get the presentation in the german language, because this is configured as one of the languages in Chromium (the non-google-branded version of Google Chrome). That's ok so far. Unfortunately, umlaut

[web2py] Running application outside the web2py folder

2013-06-18 Thread Gouthaman Balaraman
Hey I started web2py by specifying the applications folder using --folder flag: python web2py.py --folder /path/to/applications/ This started fine. But when I created a new application from the appadmin, the contents of the application were totally empty. Is this expected behavior? I am

Re: [web2py] Access MySQL PythonAnywhere

2013-06-18 Thread Ovidio Marinho
Thanks already decided Ovidio Marinho Falcao Neto ITJP.NET.BR ovidio...@gmail.com 83 8826 9088 - Oi 83 9336 3782 - Claro Brasil 2013/6/18 Dane Wright dane...@gmail.com Yes I use MySQL on

[web2py] Re: How to configure web2py server to http and https

2013-06-18 Thread Niphlod
if you need both with the internal webserver you need to pass the --interfaces option ip1:port1;ip2:port2:key2:cert2:ca_cert2 something like 127.0.0.1:80;127.0.0.1:443:server.key:server.crt should work. Il giorno lunedì 17 giugno 2013 22:37:45 UTC+2, viniciusban ha scritto: I'd like to

[web2py] Re: DatePicker

2013-06-18 Thread Niphlod
you missed specifying the type. Right now that field is a text one with a requires on it. Change that to Field('date_of_birth', 'date') to get the datepicker automatically. Il giorno lunedì 17 giugno 2013 23:49:05 UTC+2, t...@caregointl.com ha scritto: I am a bit confused on what I may be

[web2py] Re: Can I have access to the LESS files that generate the welcome app css?

2013-06-18 Thread Niphlod
there is no LESS file for the web2py_bootstrap.css file. Il giorno martedì 18 giugno 2013 00:45:24 UTC+2, Ian W. Scott ha scritto: Thanks Ales, but web2py_bootstrap.css (and maybe web2py.css) overrides some of those stock Bootstrap settings. I want to override some of those overrides (!),

[web2py] Re: computed fields ... order of calculation?

2013-06-18 Thread Niphlod
another things that needs to be included in tests. If we don't have a strict requirement next code changes can interoperate with those kind of assumptions. @all: tests for web2py are now executed automatically by Travis. If you need a particular feature to be consistent among releases, please

[web2py] Re: Use reserved keywords of mysql

2013-06-18 Thread Niphlod
There's nothing in the actual code that uses escaping. we tried but it was reverted soon. It's on the roadmap but it's not done yet, as it is a rather hard point. On the implementation process, we may provide a sql_name attribute for both fields and tables that will output the escaped sequence

[web2py] Re: BUG: git commit 714fcc52 wreaked german umlaut characters

2013-06-18 Thread Massimo Di Pierro
reverted. :-( On Tuesday, 18 June 2013 04:08:29 UTC-5, Holger Schurig wrote: Hi, I'm exploring web2py from GIT together with a chrome browser. When I open the admin, I get the presentation in the german language, because this is configured as one of the languages in Chromium (the

[web2py] pymongo

2013-06-18 Thread Domagoj Kovač
Hi, i would like to use mongoDB directly without DAL. I added this to the bottom of my model/0.py # connect to mongoDB connection = pymongo.MongoClient('localhost', 27017) # attach to test database mongo = connection.asset - this gives me an error name 'pymongo' is not defined if i add

[web2py] Re: DatePicker

2013-06-18 Thread tom
Very nice, thanks. Is there a way to use the bootstrap datetimepicker from here as well? On Tuesday, June 18, 2013 6:37:33 AM UTC-4, Niphlod wrote: you missed specifying the type. Right now that field is a text one with a requires on it. Change that to Field('date_of_birth', 'date') to

Re: [web2py] Re: How to configure web2py server to http and https

2013-06-18 Thread Vinicius Assef
Thanks, Niphlod. It worked. :-) On Tue, Jun 18, 2013 at 7:36 AM, Niphlod niph...@gmail.com wrote: if you need both with the internal webserver you need to pass the --interfaces option ip1:port1;ip2:port2:key2:cert2:ca_cert2 something like 127.0.0.1:80;127.0.0.1:443:server.key:server.crt

[web2py] Re: pymongo

2013-06-18 Thread Massimo Di Pierro
Do you have it installed? What Python version? Can you import from normal Python shell? Which web2py version? On Tuesday, 18 June 2013 06:47:02 UTC-5, Domagoj Kovač wrote: Hi, i would like to use mongoDB directly without DAL. I added this to the bottom of my model/0.py # connect to

[web2py] Re: pymongo

2013-06-18 Thread Domagoj Kovač
Yes it is installed. Python version 2.7. I can import from normal Python shell. Web2py version 2.4.5. -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to

[web2py] Re: edge case of SQLFORM.grid search not working on 1.99.2

2013-06-18 Thread Fernando Vieira
I tried with space does not work with _ works, for example cent_os -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For

[web2py] Re: Running instantpress in GAE: Internal error Ticket issued: unrecoverable

2013-06-18 Thread peibol
Thanks for the replies and sorry for the delay in answering, but I received no updates by mail (and had set it to). WelI, I noticed that in the instantpress project page ( https://bitbucket.org/mulonemartin/instantpress/wiki/faq) it's stated that it won't work in GAE, because of the datastore

[web2py] Re: Web2py SOAP and local wsdl file

2013-06-18 Thread Barry Bridges
Hi Massimo, I came across this. It might be what we're after. http://stackoverflow.com/questions/7796440/are-there-any-working-examples-of-zolera-soap-infrastructure-zsi On Tuesday, 18 June 2013 08:33:20 UTC+1, Massimo Di Pierro wrote: If you find a solution to your problem let me know. I have

[web2py] Re: pymongo

2013-06-18 Thread Massimo Di Pierro
Are you using the web2py from source? On Tuesday, 18 June 2013 07:09:33 UTC-5, Domagoj Kovač wrote: Yes it is installed. Python version 2.7. I can import from normal Python shell. Web2py version 2.4.5. -- --- You received this message because you are subscribed to the Google Groups

Re: [web2py] Re: upgrading appengine has broken web2py

2013-06-18 Thread Christian Foster Howes
Carl, i have been working through my web2py upgrade to 2.5.1 + GAE SDK 1.8.1 upgrade and am not seeing any problems with DAL or GQL. i did have to change some cache.ram.flush_all() to cache.ram.clear() to work with the latest web2py, and am making adjustments to work with the updated

[web2py] Re: pymongo

2013-06-18 Thread Domagoj Kovač
I re-installed python, it works now. Looks like i did not configure everything properly. Massimo thanks for fast reply's. -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it,

Re: [web2py] upgrading appengine has broken web2py

2013-06-18 Thread Massimo DiPierro
I did see two problems addressed in a commit today. gql imports drivers from dal.py but drivers was renamed DRIVERS. If people did not notice this it means they are not importing gql. This is great. It means this backward compatibility file can be removed. So I just did. The second issue is

[web2py] PATCH: updates to browserid_account.py

2013-06-18 Thread Holger Schurig
1. browserid.org changed into login.persona.org, both URLs and issues. The old URL continues to work, but it might be better to use the new ones anyway. 2. the plugin did redirecto to http://google.com (Huh?!?!) even when on_login_failure was set 3. if on_login_failure wasn't set, it

Re: [web2py] Datepicker

2013-06-18 Thread Richard Vézina
Your field need to be of type date in order to the datepicker widget to trigger. You may also set a widget on your field if your field is not of type widget. I suspect that you only store de the mouth and day and not a date... Richard On Mon, Jun 17, 2013 at 9:22 PM, t...@caregointl.com wrote:

[web2py] row.id with L after upgrading to

2013-06-18 Thread palomar
I've just updated to 2.5.1 and I found this problem: Inside my site have a google map and I need to add an array with several marker; in my controller I have a simple query with a cycle def mappa: markers=[] for row in db().select(db.produttori.ALL): markers.append([row.id,

[web2py] Re: Using a python module in web2py

2013-06-18 Thread Joe Magaro
Well, I didn't know I needed to restart Apache. Now I get a different error. I did the nltk download in python, but do I need to do something in web2py? Resource 'corpora/wordnet' not found. Please use the NLTK Downloader to obtain the resource: nltk.download(). Searched in: -

Re: [web2py] Re: upgrading appengine has broken web2py

2013-06-18 Thread Carl Roach
thanks C perhaps I can also change my web2py code to get the app running. M has been making changes in trunk to remove the gql.py. this might address my issue too. I tried trunk but got a bunch of unresolved imports from Eclipse. On 18 June 2013 14:20, Christian Foster Howes cfho...@gmail.com

Re: [web2py] Re: DatePicker

2013-06-18 Thread Richard Vézina
I guess you will have to build your own widget and pass the bootstrap class... You are talking about this : http://tarruda.github.io/bootstrap-datetimepicker/ ? On Tue, Jun 18, 2013 at 7:51 AM, t...@caregointl.com wrote: Very nice, thanks. Is there a way to use the bootstrap datetimepicker

[web2py] Re: SQLFORM.grid query widget not working

2013-06-18 Thread ewong1111
It worked when I was using IE. I am having problems with Firefox 17.0.5. I am using web2py version 2.4.6-stable. Are there issues using it with Firefox? On Monday, June 17, 2013 10:26:18 PM UTC-7, Massimo Di Pierro wrote: There should be no difference on whether you use Windows or Linux.

[web2py] 3 forms in 1

2013-06-18 Thread tom
I have one page where I want to show 3 forms. I have a main table with 2 tables that are related to it. So in my models file I have: db.define_table( 'dependents', Field('dep_id',db.patient), Field('first_name'), Field('middle_name'), Field('last_name'),

Re: [web2py] Re: DatePicker

2013-06-18 Thread tom
Yes that is what I am talking about. I think I can use the js files to call it in my html possibly? On Tuesday, June 18, 2013 11:24:37 AM UTC-4, Richard wrote: I guess you will have to build your own widget and pass the bootstrap class... You are talking about this :

[web2py] Re: row.id with L after upgrading to

2013-06-18 Thread Derek
If you aren't using google app engine, then that should be okay. However if you are, you shouldn't convert it to an INT because you'll get errors. On Tuesday, June 18, 2013 7:11:14 AM UTC-7, palomar wrote: I've just updated to 2.5.1 and I found this problem: Inside my site have a google map

Re: [web2py] Re: DatePicker

2013-06-18 Thread Richard Vézina
I think you will need to write a custom widget, something like this : def app_date_widget(field, value, placeholder='-MM-DD'): return DIV(INPUT(_name=field.name, _id=%s_%s % (field._tablename, field.name), _class='%s %s' % (field.type, 'input-small'), #

Re: [web2py] 3 forms in 1

2013-06-18 Thread Richard Vézina
I think you have 1 form for 3 tables... You should package a dummy app with the code above to help us helping you... As far as I understand you got the id only because you didn't set requires in your model. Read the book about validators and search for requires in the book. Richard On Tue,

Re: [web2py] 3 forms in 1

2013-06-18 Thread Tom Russell
Yes I was just reading and understood that the reason for my fields not showing up was because the fields in many of the tables have the same names. Changing that resolved that issue. It's actually a great book too, just wished I could read faster. Thanks. On Tue, Jun 18, 2013 at 1:04 PM,

[web2py] Re: PATCH: updates to browserid_account.py

2013-06-18 Thread Massimo Di Pierro
Uploading to trunk! Thanks you Holger. On Tuesday, 18 June 2013 08:46:42 UTC-5, Holger Schurig wrote: 1. browserid.org changed into login.persona.org, both URLs and issues. The old URL continues to work, but it might be better to use the new ones anyway. 2. the plugin did redirecto to

[web2py] Re: SQLFORM.grid query widget not working

2013-06-18 Thread Massimo Di Pierro
Which IE version? On Tuesday, 18 June 2013 10:57:56 UTC-5, ewon...@gmail.com wrote: It worked when I was using IE. I am having problems with Firefox 17.0.5. I am using web2py version 2.4.6-stable. Are there issues using it with Firefox? On Monday, June 17, 2013 10:26:18 PM UTC-7,

[web2py] How should we work to sync localhost development with GAE?

2013-06-18 Thread peibol
Hi all: I've read the deployment recipes but I'm missing something... I've made a simple application with the plugin wiki. Then, I configure some pages and menus, working in my localhost. How should I proceed in order to deploy it to GAE while preserving all the data already set in the local

[web2py] Re: 3 forms in 1

2013-06-18 Thread villas
I don't believe you can use SQLFORM in that way, you'll have to create your own form - maybe try SQLFORM.factory. Better still, try SQLFORM.smartgrid which could allow you a very flexible way to manage all three tables. On Tuesday, 18 June 2013 16:40:40 UTC+1, t...@caregointl.com wrote:

[web2py] Re: SQLFORM.grid query widget not working

2013-06-18 Thread ewong1111
IE8 On Tuesday, June 18, 2013 10:11:07 AM UTC-7, Massimo Di Pierro wrote: Which IE version? On Tuesday, 18 June 2013 10:57:56 UTC-5, ewon...@gmail.com wrote: It worked when I was using IE. I am having problems with Firefox 17.0.5. I am using web2py version 2.4.6-stable. Are there

Re: [web2py] Re: 3 forms in 1

2013-06-18 Thread Tom Russell
Yes I am using smartgrid elsewhere, very nice. I did do the 3 forms but used the factory to do it. Works nicely so far. On Tue, Jun 18, 2013 at 1:24 PM, villas villa...@gmail.com wrote: I don't believe you can use SQLFORM in that way, you'll have to create your own form - maybe try

[web2py] Ajax function and returning Row, not string

2013-06-18 Thread lesssugar
I'm building a cascading dropdown lists. I use web2py ajax function to do it. My code: select 1 (parent): select class=generic-widget id=seafarer_experience_department name=department onchange=jQuery('#seafarer_experience_rank__row').show('fast');ajax('rank', ['department'],

[web2py] Re: Ajax function and returning Row, not string

2013-06-18 Thread Derek
One more thing - I've seen people have issues with this time and again on this list. You aren't the first person to think of doing this. Look for a good recipe on web2pyslices which does what you want. There are quite a few.

[web2py] Re: SQLFORM.grid query widget not working

2013-06-18 Thread Niphlod
as a general rule of thumb I think it can happen a lot that features working in firefox/chrome DON'T work in IE, but not the other way around. Did you do a ctrl+R to make sure you reloaded the page and all the static assets ? On Tuesday, June 18, 2013 7:25:06 PM UTC+2, ewon...@gmail.com wrote:

[web2py] Re: Ajax function and returning Row, not string

2013-06-18 Thread Derek
Well, you're doing it wrong. I mean, the way you are calling the ajax function... ajax('rank', ['department'], 'seafarer_experience_rank'); What that does is calls 'rank' with the argument 'department' and replace the contents of the element whose ID is 'seafarer_experience_rank' with the

[web2py] Re: SQLFORM.grid query widget not working

2013-06-18 Thread Jim S
Do you still have the Windows system? Can you install FF there and see if you still have the problems? I develop on Windows with FF and don't see too many issues. -Jim On Tuesday, June 18, 2013 1:37:24 PM UTC-5, Niphlod wrote: as a general rule of thumb I think it can happen a lot that

[web2py] Re: Noob Help - Starting from scratch

2013-06-18 Thread Alessandro Piroddi
thanks for the answers! :D I'll try to follow your advice and see where it leads me ;) -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to

[web2py] Nested JSON vs Single JSON dataset

2013-06-18 Thread John Payne
Hello, I'm trying to return some data via JSON to my view. The problem i'm having is that when i do a left outer join, the JSON has two nested sets of data. I'm trying to use SlickGrid which doesn't support complex fields like Set1.Field1 , Set2.Field1, etc... Is there a way to return a

[web2py] Re: Nested JSON vs Single JSON dataset

2013-06-18 Thread Alan Etkin
Is there a way to return a single set of JSON data from my controller when joining tables? This can solve the problem, although it might result in slower requests: newrows = [] for row in rows: d = {} d.update(**row.event.as_dict()) d.update(**row.eventType.as_dict())

Re: [web2py] Re: admin access password file

2013-06-18 Thread paolo.vall...@gmail.com
Massimo I discovered the problem, the server is behind a reserve proxy and this latter wasn't properly configured, namely requests to the external port 443 were directed to the local 80. Sorry for the troubles! Paolo 2013/6/17 Massimo Di Pierro massimo.dipie...@gmail.com I think the port is

[web2py] Re: SQLFORM.grid query widget not working

2013-06-18 Thread ewong1111
Found the problem and it's a complete newbie mistake. Somewhere along the way I had deleted the {{extend 'layout.html'}} from the view. What I really needed was the ajax (which is included in layout.html) , i.e. {{include 'web2py_ajax.html'}} Sorry, I did not realize this since I am new to

[web2py] Re: SQLFROM.smartgrid in GAE, query not supported

2013-06-18 Thread Jacinto Parga
Thanks! El miércoles, 12 de junio de 2013 23:32:08 UTC+2, Niphlod escribió: from the book* Google NoSQL (Datastore)** does not allow joins, left joins, aggregates, expression, OR involving more than one table, the ‘like’ operator searches in text fields. * tl;dr : no references allowed

[web2py] Re: Noob Help - Starting from scratch

2013-06-18 Thread Michael Herman
I created a Python-based course called Real Python for the Web that begins with the basics (database management, server-side and client-side programming), then moves into Flask and on to web2py. You create a number of applications and go over basic conventions/best practices. If you want, you

[web2py] Re: How should we work to sync localhost development with GAE?

2013-06-18 Thread Christian Foster Howes
i wouldn't copy data personally, i consider localhost a test environment, and GAE proper production and i just make my production data there. if you do want to copy data look at the GAE bulk loader: https://developers.google.com/appengine/docs/python/tools/uploadingdata -- --- You

[web2py] Re: Noob Help - Starting from scratch

2013-06-18 Thread Massimo Di Pierro
I can say Real Python is really good! Massimo On Tuesday, 18 June 2013 17:17:47 UTC-5, Michael Herman wrote: I created a Python-based course called Real Python for the Web that begins with the basics (database management, server-side and client-side programming), then moves into Flask and