[web2py] Re: Possible bug: DAL csv import "unable to parse csv file near ")": syntax error" BUT NO ")" in thefile

2013-01-05 Thread JoeCodeswell
Dear Massimo, Thanks for the reply. Strange behavior indeed. O well. At least we all as individuals seem communicate on this group clearly and respectfully. Thanks for your leadership, Massimo. Love and peace, Joe. On Saturday, January 5, 2013 4:50:04 PM UTC-8, Massimo Di Pierro wrote: > > He

[web2py] Re: Possible bug: DAL csv import "unable to parse csv file near ")": syntax error" BUT NO ")" in thefile

2013-01-05 Thread JoeCodeswell
Dear Massimo, Thanks for the reply. Strange behavior indeed. O well. At least we all as individuals seem communicate on this group clearly and respectfully. Thanks for your leadership, Massimo. Love and peace, Joe. On Friday, January 4, 2013 9:14:53 AM UTC-8, JoeCodeswell wrote: > > Dear web2

[web2py] Re: Running web2py on Hostgator Shared hosting!

2013-01-05 Thread Abdiel Cruz Robaina
Sorry revive so late the post, but I need help, I want to run web2py in a subdomain from a dedicated server in Hostgator, now how make to configure a virtualhost with mod_wsgi ? if anyone has any idea how I would appreciate help Thank --

[web2py] Re: preferred solution for parsing {xht,ht,x}ml

2013-01-05 Thread Massimo Di Pierro
page = """ This is some text 1 This is some text 2 This is some text 3 """ html = TAG(page) print html.element('a',_keypress="1")[0] print html.element('a',_keypress="2")[0] print html.element('a',_keypress="3")[0] This should work but web2py parser is based on the built-in Python XML parser

[web2py] Re: I installed instaqnt press runing win 8 , I get a page asking wh at i want to search for

2013-01-05 Thread Massimo Di Pierro
If you do not get an answer I suggest you email the author of InstanPress or submit a big report there. On Saturday, 5 January 2013 12:19:44 UTC-6, jayvandal wrote: > > I am running windows 8. I have web2py installed and can run some examples. > I coded some basic examples and they run. I instal

[web2py] Re: Possible bug: DAL csv import "unable to parse csv file near ")": syntax error" BUT NO ")" in thefile

2013-01-05 Thread Massimo Di Pierro
Hello Joe, I do not have an answer. I do not have the ability to edit posts therefore I assume none of the other managers has that ability either. I have found some strange behavior with google groups, for example some posts (including mine) have disappeared. In particular I responded to your l

Re: [web2py] geodal

2013-01-05 Thread Massimo Di Pierro
If something still fails, can you place post the result of print db(...) _select(...) On Saturday, 5 January 2013 18:45:26 UTC-6, Massimo Di Pierro wrote: > > I made some changes in trunk. Can you please try again? > > On Saturday, 5 January 2013 07:05:48 UTC-6, Paolo valleri wrote: >> >> Hi, I m

Re: [web2py] geodal

2013-01-05 Thread Massimo Di Pierro
I made some changes in trunk. Can you please try again? On Saturday, 5 January 2013 07:05:48 UTC-6, Paolo valleri wrote: > > Hi, I made a few more tests: > from gluon.dal import geoPoint, geoLine, geoPolygon > db.define_table('test_geo', > Field('loc_test','geometry()')) > db.test

[web2py] Re: jQuery function not working in index.html

2013-01-05 Thread jonas
solved the problem, missing closing statement, although I think that was included in the real code On Saturday, January 5, 2013 3:23:00 PM UTC+1, jonas wrote: > > Hi > > when using the following functions in index.html only the last one works: > > {{extend 'layout.html'}} > > index.html > > > He

[web2py] Re: error in mysql ?

2013-01-05 Thread samuel bonilla
thank you all, I look more code to see where the problem originates https://github.com/rochacbruno/Movuca/blob/master/modules/datamodel/setup.py El jueves, 3 de enero de 2013 20:30:53 UTC-5, samuel bonilla escribió: > > this is the error > > (1452, 'Cannot add or update a > child row: a forei

[web2py] I installed instaqnt press runing win 8 , I get a page asking wh at i want to search for

2013-01-05 Thread jayvandal
I am running windows 8. I have web2py installed and can run some examples. I coded some basic examples and they run. I installed instant press. I get a page in instant press that tells me to enter some search words. When I do, it says it is not found. I cannot find a way to get theinstant press

[web2py] Re: Possible bug: DAL csv import "unable to parse csv file near ")": syntax error" BUT NO ")" in thefile

2013-01-05 Thread JoeCodeswell
This is a meta-comment regarding the behavior of this group. Last night, when i was answering Massimo's question, i noticed that my post that Massimo was asking about [Jan 4 Hi Derek, ...] showed a* blank line*between the *title item* and the beginning of the *data items* *for each *csv. I do

[web2py] jQuery function not working in index.html

2013-01-05 Thread jonas
Hi when using the following functions in index.html only the last one works: {{extend 'layout.html'}} index.html Hello 2World 2 jQuery('.one').click(function(){ jQuery('.two').slideToggle() }); Hello 3 World 3 but when using the first function in layout.html it suddenly works. why is no

[web2py] Re: RESTful authentication with web2py?

2013-01-05 Thread dlypka
Try these 2 threads https://groups.google.com/forum/?fromgroups=#!topic/web2py/YVYQHRJmcos <-- This is my PhoneGap to web2py experiment https://groups.google.com/forum/?fromgroups=#!topic/web2py/-QPh73Ge2tk <-- Native Android to web2py discussion On Saturday, January 5, 2013 7:07:27 AM UTC-

[web2py] RESTful authentication with web2py?

2013-01-05 Thread Alec Taylor
How do I set the registration key on registration; or do I need to manually process the form and do it that way? The concept is to be able to grab data statelessly, i.e.: curl -X GET http://localhost/api/my_profile.json?token= Any suggestions on how to do this would be appreciated. Thanks, Alec

Re: [web2py] geodal

2013-01-05 Thread Alec Taylor
Thanks, will test it tomorrow. Examples with long/lat inserts, extracts and distance comparisons would also be handy for the book. On Sun, Dec 23, 2012 at 4:50 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > I made some changes to the DAL geo APIs. This is an experimental feature >

Re: [web2py] geodal

2013-01-05 Thread Paolo valleri
Hi Massimo, I have just tried a few examples but there is a bug in the getPoint function, please find attached a simple patch to fix it. Paolo On Monday, December 24, 2012 7:21:12 PM UTC+1, Massimo Di Pierro wrote: > > Thank you Denes. Would you please check my changes. I do not think I broke >

[web2py] Re: REF: Change order of fields in a form??!

2013-01-05 Thread weheh
Probably the easiest way to change order of fields in a form is change the order in which the fields are declared in the db.define_table(Field()...) model. On Friday, January 4, 2013 3:22:51 PM UTC+8, software.ted wrote: > > How do you change the order of the form after it has been created using