[web2py:24532] Re: web2py logo

2009-06-20 Thread pk
hi, i (better we) created the logo. We think the strong typo represent a strong framework. we like the typo, because for such a project would it be perfect, also it`s opensource. the number 2 symbolize a dot between web and py. the brandmark of the people show a big network of developer, engineer

[web2py:24533] Re: web2py.com down?

2009-06-20 Thread Jason Brower
sigh, still not working for me either. I need that documentation for my thesis. :( Regards, Jason On Sun, 2009-06-07 at 19:56 -0700, Jesse Bever wrote: > I can't access it it either I thought it was just me > > On Sun, Jun 7, 2009 at 1:30 PM, Hans Donner > wrote: > > for me i

[web2py:24534] Re: web2py.com down?

2009-06-20 Thread Hans Donner
Still fine. What do you need from web2py? On Sat, Jun 20, 2009 at 9:42 AM, Jason Brower wrote: > > sigh, still not working for me either.  I need that documentation for my > thesis. :( > Regards, > Jason > > > On Sun, 2009-06-07 at 19:56 -0700, Jesse Bever wrote: >> I can't access it it either I

[web2py:24535] How using free id in db

2009-06-20 Thread Fauché JM
Hello, I my application ,I have a db in which some row are frequently deleted, so if for each new data I save it in db (automatiquely incremented) I will have a lot of data and a lot of id "empty". I think that in this situation when reading data , the program loose time ..? So I imagine a piece

[web2py:24536] Re: web2py logo

2009-06-20 Thread encompass
I like the orange one. On Jun 20, 10:22 am, pk wrote: > hi, i (better we) created the logo. > > We think the strong typo represent a strong framework. we like the > typo, because for such a project would it > be perfect, also it`s opensource. the number 2 symbolize a dot between > web and py. th

[web2py:24537] Can't get the server to work online...

2009-06-20 Thread Jason Brower
I start web2py with this... python web2py.py -i 0.0.0.0 And it seem to run fine on that server... but when I try to go to the IP address from online it doesn't work. I know it's not my firewall as I have apache running on this computer too. I turned off apache before trying this. Regards, Jason Br

[web2py:24538] Re: Can't get the server to work online...

2009-06-20 Thread Kuba Kucharski
Have you tried specyfing BOTH ip and port parameter? -- Kuba --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe

[web2py:24539] Re: web2py logo

2009-06-20 Thread Kuba Kucharski
We should really have a contest announced for a logo. -- Kuba --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscrib

[web2py:24540] Re: How using free id in db

2009-06-20 Thread carlo
I think I do not grasp your point: if you delete one row you do not have empty id although it increments so there is no lost time when reading the db and you do not even heve th chance to access the "deleted" id. Or maybe I misunderstood your case.. carlo On 20 Giu, 13:57, Fauché JM wrote: > He

[web2py:24541] Re: Coming from grails world

2009-06-20 Thread carlo
Anyway I would be surprised to see CherryPy+SQLite performing slower than Apache+anything else at least under moderate load. carlo On 19 Giu, 20:18, Fran wrote: > On 19 June, 16:01, Daniel Guryca wrote: > > > I can see that performance coming from a default integrated server is > > somewhat po

[web2py:24542] Re: Coming from grails world

2009-06-20 Thread Daniel Guryca
To carlo: That's exactly what I do not understand. Why does it give me so bad numbers ? I have created very stupid simple controller + view with a basic layout and it does not give me anything better than 70 reqs/s on a dual core machine. What am I doing wrong ? Django can give me more then 300req/

[web2py:24543] Re: Can't get the server to work online...

2009-06-20 Thread carlo
Sincerely I miss the point of -i 0.0.0.0: what is your purpose here? carlo On 20 Giu, 14:29, Jason Brower wrote: > I start web2py with this... > python web2py.py -i 0.0.0.0 > And it seem to run fine on that server... but when I try to go to the IP > address from online it doesn't work. > I know

[web2py:24544] Re: web2py.com down?

2009-06-20 Thread Douglas Horst
It's not working for me either from home but it is from work. Both are in the Chicago area. Trace route from home still dies at mfc-cst-bs-v841.netequip.depaul.edu. On Thu, Jun 18, 2009 at 7:14 PM, Yarko Tymciurak wrote: > look at http://en.wikipedia.org/wiki/Traceroute for lists of tools; if

[web2py:24545] Re: How using free id in db

2009-06-20 Thread mdipierro
I do not understand your point either. It seems you have records with a flag (somedata.value) and you set this flag to 0 or non-zero. Perhaps if you could explain the overall logic we can be of more help. massimo On Jun 20, 6:57 am, Fauché JM wrote: > Hello, > I my application ,I have a db in w

[web2py:24546] web2py with mysql

2009-06-20 Thread weheh
I'd like to test web2py with mysql on my development platform. My mysql installation does not have a password set. How do I connect with mysql from within web2py? I've tried many variants of this: db = SQLDB('mysql:::3306/test') but none seem to work. I consistently get the error message: File

[web2py:24547] Re: Having an 'upgrade' distribution?

2009-06-20 Thread carlo
..and did you consider the source distribution? Once you have Python installed it is lighter and faster to download. carlo On 20 Giu, 01:43, Eddie Eyles wrote: > I like the pace of new releases of web2py, but it is a pain to > download each one (the Windows distribution takes an hour on my > co

[web2py:24548] Re: web2py with mysql

2009-06-20 Thread carlo
when you launch web2py check if it reports MySQL installed from the console. In addition I think that although you have no password in mysql you should set 'user' and 'password' in the connection string. carlo On 20 Giu, 16:13, weheh wrote: > I'd like to test web2py with mysql on my development

[web2py:24549] Re: web2py with mysql

2009-06-20 Thread weheh
Carlo, thanks for the lightning fast response. When web2py is launched from the console it says: Database drivers available: SQLite3, MySQL > console. In addition I think that although you have no password in > mysql you should set 'user' and 'password' in the connection string. What do you

[web2py:24550] Re: Sessions and flash

2009-06-20 Thread Trollkarlen
Can anyone describe how to set and get the session id and set it as an get.data ? /R On Jun 19, 3:50 pm, "mr.freeze" wrote: > It seems to be a bug in flash's > FileReference.upload:http://www.visible-form.com/blog/flash-file-upload-and-session-cookies/http://swfupload.org/forum/generaldiscussi

[web2py:24551] testing one's web2py app

2009-06-20 Thread weheh
I would like to set up some automatic testing of my web2py app. This would entail dynamically concocting some test data to enter via form.accepts and then inspecting the database after data entry to ensure the results are correct. It also entails testing an api. I'm having trouble figuring out ho

[web2py:24552] Re: Can't get the server to work online...

2009-06-20 Thread Jason Brower
Thanks Kuba, your awesome! Regards, Jason Brower On Sat, 2009-06-20 at 14:48 +0200, Kuba Kucharski wrote: > Have you tried specyfing BOTH ip and port parameter? > > > -- > Kuba > > > > --~--~-~--~~~---~--~~ You received this message because you are subscri

[web2py:24553] Re: Sessions and flash

2009-06-20 Thread weheh
I'm wondering if this is the same question I have or should I start a different thread. I'm developing an app where web2py is used for the backend and talks to a ruby app that does the user interface on the front end. The ruby app has all the user information and is doing the user login and authen

[web2py:24554] Re: web2py.com down?

2009-06-20 Thread Jason Brower
There was some mention of a firewall. Sadly, I think we are on that list. I don't think it's punishment though. :P On Sat, 2009-06-20 at 08:30 -0500, Douglas Horst wrote: > It's not working for me either from home but it is from work. Both > are in the Chicago area. Trace route from home sti

[web2py:24555] Re: testing one's web2py app

2009-06-20 Thread weheh
When I say "enter via form.accepts", what I mean is that I want to run my form validation routines as part of the test procedure. But I don't want to have to manually enter the data into forms. I want the data to be automatically entered as if I had manually submitted them, thereby testing the ap

[web2py:24556] Re: Coming from grails world

2009-06-20 Thread mdipierro
You are comparing apples with oranges. By bechmarking /examples/ default/index you are not just benchmarking the cherrypy wsgiserver. You have a lot of overhead (sessions, database IO, complex template parsing, file IO, etc.). There are different issues here: - Cherrypy wsgiserver is probably a

[web2py:24557] Re: web2py logo

2009-06-20 Thread weheh
Peter, very professional-looking effort. I agree with others here, however, that there should be a logo contest. Seems like it would make a nice little web2py app to allow users to register, upload multiple logo designs, and let other registered users vote on a scale of 1 to 5 stars. Voting result

[web2py:24558] Re: Having an 'upgrade' distribution?

2009-06-20 Thread mdipierro
yes. that is the easier to auto-upgrade. On Jun 20, 9:15 am, carlo wrote: > ..and did you consider the source distribution? Once you have Python > installed it is lighter and faster to download. > > carlo > > On 20 Giu, 01:43, Eddie Eyles wrote: > > > I like the pace of new releases of web2py,

[web2py:24559] Re: web2py logo

2009-06-20 Thread mdipierro
We actually started a logo context long ago: http://www.web2py.com/AlterEgo/default/show/97 and we never officially ended it. I like most designs but, so far I think the pk logo looks the most thought through. We do not have to settle this now but if people want to submit other proposals ple

[web2py:24560] Re: How using free id in db

2009-06-20 Thread annet
I also gave this issue some thought a while ago. Say, I have a table event: db.define_table('event', db.Field('event'), migrate='event.table') after creation it has two columns: event.id and event.event. event.id is incremented every time I insert an event. Over time events get deleted.

[web2py:24561] Basic authentication -- web2py with ruby

2009-06-20 Thread weheh
My web2py app works with a ruby front end. web2py does the heavy lifting on the back end and communicates with the ruby app via json and an api controller. The question is about authentication. Ruby controls the user table and handles all the login and authentication stuff. By the time ruby calls

[web2py:24562] JavaScript return false

2009-06-20 Thread annet
This code in web2py_ajax.html function eventlistdetails(url) { var eventdetailswindow=window.open (url,'_blank','toolbar=no,location=no,directories=no,status=no,\ menubar=no,scrollbars=no,resizable=no,width=800,height=700'); if (window.focus) eventdetailswindow.focus(); return false; }

[web2py:24563] Re: How using free id in db

2009-06-20 Thread mdipierro
It is not possible and it would be a bad idea to do so. Massimo On Jun 20, 10:29 am, annet wrote: > I also gave this issue some thought a while ago. Say, I have a table > event: > > db.define_table('event', >     db.Field('event'), >     migrate='event.table') > > after creation it has two colu

[web2py:24564] Thinking about switching from Ruby on Rails to web2py

2009-06-20 Thread Faye
Hi! We're thinking of migrating from Ruby on Rails to web2py, but have some concerns about making the switch: 1. Does web2py officially support Python 2.6.2? Our standard server configurations use Python 2.6.2 and we don't want to install/support two pythons. 2. Are web2py security fixes/upd

[web2py:24567] Re: JavaScript return false

2009-06-20 Thread JohnMc
Annet, I took your function and put it in a test block with a button onclick= with Firefox. It works. Two items -- A) Make sure the windows.open has the open parens '(' on the same line. I assume google groups did the line breaking this way, not you. B) Change '_blank' to anything else, ex 'nam

[web2py:24566] SQLTABLE and linkto

2009-06-20 Thread weheh
I'm using the linkto field in SQLTABLE to create a hypertexted link to a record in the db. Since there are many records, I need to paginate the results. So I create a page_offset var that gets passed along. Here's the SQLTABLE: records = SQLTABLE(db().select(db.table.ALL),linkto=URL (r=reque

[web2py:24565] Re: Congratulations to Alvaro and Douglas

2009-06-20 Thread Álvaro Justen [Turicas]
On Fri, Jun 19, 2009 at 6:40 PM, Douglas Soares de Andrade wrote: > > Em Sexta-feira 19 Junho 2009, às 09:53:53, mdipierro escreveu: >> Alvaro and Douglas managed to give the first web2py talk to a major >> conference outiside the US: >> >> http://translate.google.com/translate?hl=en&sl=pt&u=http:

[web2py:24568] Re: Basic authentication -- web2py with ruby

2009-06-20 Thread weheh
Massimo, I'm just seeing this for the first time: http://groups.google.com/group/web2py/browse_thread/thread/7ecbf94f592fa14/631a6beacbd2e7a6?q= For some reason, it didn't come up on my google search for the answer, nor did it previously show in my google profile for this discussion group. So, sor

[web2py:24569] Re: JavaScript return false

2009-06-20 Thread JohnMc
Annet, Other observation, is I have modified the default popup() in web2py_ajax.html to accept two arguments rather than just one -- function popup(url, attribs) { newwindow=window.open(url,'name', attribs); if (window.focus) newwindow.focus(); return false; } attribs can be any properly

[web2py:24570] Multiple Form functionality is Broken ??

2009-06-20 Thread Yannick
Hello mate, I'm using the latest version 1.64.3 and some of my application functionality that used to work before is not working anymore... I did a routine testing on one of the page that contains multiple form here is a sample of how I used to implement it with previous version of Web2py @a

[web2py:24571] Re: My first complicated sql statement....

2009-06-20 Thread Jason (spot) Brower
I don't think it did. I am looking for something like this... Name1: - Tag1 - Tag2 - Tag3 - Tag4 - Tag5 Name2: - Tag3 - Tag4 - Tag5 - Tag6 - Tag7 Name3: - Tag5 - Tag7 - Tag8 - Tag9 - Tag0 Or vice versa... I kind of have it with this method... - @auth.requires_login() def status(

[web2py:24572] Re: My first complicated sql statement....

2009-06-20 Thread Jason (spot) Brower
Oh yes, and my view... sorry, {{if len(tags) > 0:}} {{count = 1}} {{for tag in relatedTags.keys():}} {{size=random.randint(1, 4)}} {{=tagID[tag].name}}

[web2py:24573] Re: Thinking about switching from Ruby on Rails to web2py

2009-06-20 Thread JohnMc
On Jun 20, 10:14 am, Faye wrote: > Hi! > > We're thinking of migrating from Ruby on Rails to web2py, but have > some concerns about making the switch: > > 1.  Does web2py officially support Python 2.6.2?  Our standard server > configurations use Python 2.6.2 and we don't want to install/support

[web2py:24574] Re: Coming from grails world

2009-06-20 Thread Daniel Guryca
Nope I'm not comparing apples with oranges. Numbers I gave you are numbers with disabled database stuff (commented out everything in db.py) + super simple Hello world page. Even If I enabled database numbers should be much higher - or at least I would expect much higher numbers. I know that python

[web2py:24575] Re: How using free id in db

2009-06-20 Thread Fauché JM
Annet ,has clearly explain the "problem"... Thank you for you answers... Jean-Marc --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroup

[web2py:24576] looking for web2py doctest examples

2009-06-20 Thread richard_gor...@verizon.net
Where can I find juicy examples of doctesting a (form entry and validation controller) and doctesting an (api call that returns json)? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To p

[web2py:24577] Re: looking for web2py doctest examples

2009-06-20 Thread Yannick
Hello, Have you look here... There are some good example regarding JSON: http://www.web2py.com/examples/default/examples Cheers, Yannick P. On Jun 20, 6:51 pm, "richard_gor...@verizon.net" wrote: > Where can I find juicy examples of doctesting a (form entry and > validation controller) and doct

[web2py:24578] Re: Coming from grails world

2009-06-20 Thread AchipA
You didn't say what web server you used for Django, whether you benchmarked compiled applications or not, etc, etc. The only way it's not apples and oranges if you use the SAME web server and compiled code. You wouldn't be using the bundled servers in a production environment anyway (that's true f

[web2py:24579] Re: sql IS_NOT_IN_DB()

2009-06-20 Thread DenesL
Massimo, this simple scenario should be possible, but how?. model: db.define_table('person',SQLField('name')) db.define_table('project',SQLField('name')) db.define_table('relation', SQLField('person_id','reference person'), SQLField('project_id','reference project')) db.relation.person_id.req

[web2py:24580] Re: looking for web2py doctest examples

2009-06-20 Thread richard_gor...@verizon.net
Thanks Yannick. I see the doctest example in there. Here's one that I developed: def junk(): """ >>>junk() 'hello world' """ return ('hello world') Problem is, when I run test from the admin interface, it gets hung up on the controller and a flashing message says, "Please

[web2py:24581] Re: Multiple Form functionality is Broken ??

2009-06-20 Thread mr.freeze
What version of Python are you using? On Jun 20, 2:50 pm, Yannick wrote: > Hello mate, > I'm using the latest version 1.64.3 and some of my application > functionality that used to work before is not working anymore... I did > a routine testing on one of the page that contains multiple form here

[web2py:24582] Difficulty with mysql migration

2009-06-20 Thread richard_gor...@verizon.net
I'm migrating an existing web2py app from sqlite to mysql. The sqlite version runs fine. The mysql version chokes on the date and datetime fields: Here's the table: db.define_table('x', db.Field('name','string',length=25,requires=[IS_NOT_EMPTY (),IS_NOT_IN_DB(db,'x.name')]), db.Fi

[web2py:24583] Re: Basic authentication -- web2py with ruby

2009-06-20 Thread mdipierro
This works but it really depends on how the rails app does authentication. Massimo On Jun 20, 1:39 pm, weheh wrote: > Massimo, I'm just seeing this for the first > time:http://groups.google.com/group/web2py/browse_thread/thread/7ecbf94f59... > For some reason, it didn't come up on my google se

[web2py:24584] Re: Multiple Form functionality is Broken ??

2009-06-20 Thread Yannick
Hello thnaks for the note, I'm using python 2.5 Anyway idea ? Thanks On Jun 20, 10:23 pm, "mr.freeze" wrote: > What version of Python are you using? > > On Jun 20, 2:50 pm, Yannick wrote: > > > Hello mate, > > I'm using the latest version 1.64.3 and some of my application > > functionality that

[web2py:24585] Re: Thinking about switching from Ruby on Rails to web2py

2009-06-20 Thread mdipierro
On Jun 20, 10:14 am, Faye wrote: > Hi! > > We're thinking of migrating from Ruby on Rails to web2py, but have > some concerns about making the switch: > > 1.  Does web2py officially support Python 2.6.2?  Our standard server > configurations use Python 2.6.2 and we don't want to install/support >

[web2py:24586] Re: web2py with mysql

2009-06-20 Thread richard_gor...@verizon.net
I had to do some mucking around with setting up user accounts and passwords in mysql. Something I'd never gotten around to doing before. So now that that's settled and working, I'm running up against this problem with date and datetime fields: http://groups.google.com/group/web2py/browse_thread/th

[web2py:24587] Re: looking for web2py doctest examples

2009-06-20 Thread mdipierro
I do not know it work for me. which web2py version? can you provide an example of doctest that hangs? On Jun 20, 9:18 pm, "richard_gor...@verizon.net" wrote: > Thanks Yannick. I see the doctest example in there. Here's one that I > developed: > > def junk(): >         """>>>junk() > > 'hello wor

[web2py:24588] Re: Multiple Form functionality is Broken ??

2009-06-20 Thread mdipierro
I see lots of errors in the first 4 lines: @auth.requires_login() : def pwdSetting(): return dict(chg_pwd = auth.change_password()) @auth.requires_login() : from gluon.sqlhtml import form_factory ":" after decorators should not be there the second decorator is not followed by a "def". Because

[web2py:24589] Re: Difficulty with mysql migration

2009-06-20 Thread mdipierro
Can you post your sql.log file? It is in the applicaitons/yourapp/ databases folder. Massimo On Jun 20, 10:35 pm, "richard_gor...@verizon.net" wrote: > I'm migrating an existing web2py app from sqlite to mysql. The sqlite > version runs fine. The mysql version chokes on the date and datetime >

[web2py:24590] Re: sql IS_NOT_IN_DB()

2009-06-20 Thread mdipierro
The code you have below works fine. I guess the question is how to do IS_IN_DB and IS_NOT_IN_DB at the same time for the same field. Is that the question? If so: you cannot unless you define your own validator. I agree there should be an option to do it and I can add one. massimo On Jun 20, 8:34

[web2py:24591] Re: looking for web2py doctest examples

2009-06-20 Thread richard_gor...@verizon.net
Nope, I tried it again, all by itself as a separate controller, and it still fails. Get the blinking message, "Please Wait". I'm running web2py Version 1.64.1 (2009-06-11 15:48:02). It says there's a newer version, so I'll get that next and try again. --~--~-~--~~~---~-

[web2py:24592] Reddish GAE setup instructions?

2009-06-20 Thread Adrian Scott . com
Hi! I'd like to set up a Reddish app on Google App Engine. I downloaded and unzipped Reddish, but I don't see an app.yaml or anything. Has anyone had luck installing any version of Reddish? Any hints on what steps it took to put it together? Thanks!!! -Adrian http://www.adrianscott.com/ http:

[web2py:24593] Re: web2py.com down?

2009-06-20 Thread adonm
Yeah I'm experiencing the same, but I'm in Australia Through iinet (@home) I get tracepath web2py.com 1: 192.168.1.20 (192.168.1.20)0.214ms pmtu 1500 1: my.router (192.168.1.254) 2.734ms 1: my.router (192.168.1.254)

[web2py:24594] Re: Difficulty with mysql migration

2009-06-20 Thread richard_gor...@verizon.net
timestamp: 2009-06-21T00:28:27.156000 CREATE TABLE x( id INT AUTO_INCREMENT NOT NULL, f1 VARCHAR(25), f2 DATETIME, f3 DATETIME, f4 VARCHAR(32), f5 DATE, PRIMARY KEY(id) ) ENGINE=InnoDB CHARACTER SET utf8; --~--~-~--~~

[web2py:24595] Re: Reddish GAE setup instructions?

2009-06-20 Thread mdipierro
You should not unzip the code you download. 1) install python 2.5 2) install web2py from source 3) upload reddish into web2py (web2py will download, unzip and install it) 4) check that it works under web2py 5) install google app engine launcher 6) make a gae project that points to the web2py fold

[web2py:24596] Re: Difficulty with mysql migration

2009-06-20 Thread mdipierro
Can you run this from the mysql shell and see what you get? CREATE TABLE x( id INT AUTO_INCREMENT NOT NULL, f1 VARCHAR(25), f2 DATETIME, f3 DATETIME, f4 VARCHAR(32), f5 DATE, PRIMARY KEY(id) ) ENGINE=InnoDB CHARACTER SET utf8; I do not thin

[web2py:24597] Re: looking for web2py doctest examples

2009-06-20 Thread mdipierro
haha. There a bug in 1.64.1 related to tests that was fixed. I guess that is it. Let us know. On Jun 20, 11:23 pm, "richard_gor...@verizon.net" wrote: > Nope, I tried it again, all by itself as a separate controller, and it > still fails. Get the blinking message, "Please Wait". I'm running > we

[web2py:24599] Re: looking for web2py doctest examples

2009-06-20 Thread weheh
I'll download the latest and see if it works. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group,

[web2py:24600] Re: web2py.com down?

2009-06-20 Thread mdipierro
Can you try once more and tell me if anything has changed? Massimo On Jun 20, 10:59 pm, adonm wrote: > Yeah I'm experiencing the same, but I'm in Australia > > Through iinet (@home) I get > > tracepath web2py.com >  1:  192.168.1.20 (192.168.1.20)                            0.214ms > pmtu 1500

[web2py:24601] Re: looking for web2py doctest examples

2009-06-20 Thread weheh
Downloaded the newest version 1.64.3 and the doctest for junk still doesn't run. Still get the blinking please wait! Testing controller "junk.py"... please wait! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2p

[web2py:24598] Re: Difficulty with mysql migration

2009-06-20 Thread weheh
I ran it again and got the same error message: ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version fo rht eright syntax to use near 'x(id INT AUTO_INCREMENT NOT NULL, f1 VARCHAR(25), f2 DA' at line 1 --~--~-~--~~

[web2py:24602] Re: web2py with mysql

2009-06-20 Thread weheh
I had to do some mucking around with setting up user accounts and passwords in mysql. Something I'd never gotten around to doing before. So now that that's settled and working, I'm running up against this problem with date and datetime fields: http://groups.google.com/group/web2py/browse_thread/t

[web2py:24603] Re: web2py.com down?

2009-06-20 Thread JohnMc
Massimo, I notice in this discussion that the dates that many of the failures seem be to occuring on the weekends 7th, 14th and now the 20th. Does the DePaul network team perform maintenance schedules on the weekends? JohnMc On Jun 20, 11:52 pm, mdipierro wrote: > Can you try once more and tel

[web2py:24604] Re: web2py.com down?

2009-06-20 Thread mdipierro
good point. I will ask. On Jun 21, 12:16 am, JohnMc wrote: > Massimo, > > I notice in this discussion that the dates that many of the failures > seem be to occuring on the weekends 7th, 14th and now the 20th. Does > the DePaul network team perform maintenance schedules on the > weekends? > > Joh

[web2py:24605] Re: looking for web2py doctest examples

2009-06-20 Thread mdipierro
Are your sure you controller runs? If it does not run doctests will not run either. Can you post it? On Jun 20, 11:58 pm, weheh wrote: > Downloaded the newest version 1.64.3 and the doctest for junk still > doesn't run. Still get the blinking please wait! > > Testing controller "junk.py"... plea

[web2py:24606] Re: Difficulty with mysql migration

2009-06-20 Thread mdipierro
This confirms it is not a web2py issue since the code web2py generates is correct and yet mysql does not take it. could it be f1,f2,f3, etc are reserved keyworks in mysql? mysql has lots of little undocumented exceptions. That is why I always suggest postgresql. Massimo On Jun 20, 11:50 pm, we

[web2py:24607] Re: sql IS_NOT_IN_DB()

2009-06-20 Thread mdipierro
Correction! It can be done but in two steps: db.define_table('person',SQLField('name')) db.define_table('project',SQLField('name')) db.define_table('relation', SQLField('person_id','reference person'), SQLField('project_id','reference project')) db.relation.person_id.requires=IS_IN_DB(db,db.

[web2py:24608] Re: Difficulty with mysql migration

2009-06-20 Thread weheh
Bingo. 85% certain looks like I'm bitten by the keyword problem again. Thanks, Massimo. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googleg

[web2py:24609] Re: JavaScript return false

2009-06-20 Thread annet
John, Thanks for your reply. > A) Make sure the windows.open has the open parens '(' on the same > line. I assume google groups did the line breaking this way, not you. > > B) Change '_blank' to anything else, ex 'name'. Use of the _blank is > not the issue. But do you use the _blank anywhere el

[web2py:24610] Re: Difficulty with mysql migration

2009-06-20 Thread weheh
Now 100% certain. Case closed. Keyword conflict. System migrated to mysql. I will also check out PostgreSQL. I migrated my data one table at a time using the csv export from the admin interface. Very nice. Is the one-step method to tar up the app on the old db, delete the app and data, switch db,

[web2py:24611] Re: looking for web2py doctest examples

2009-06-20 Thread weheh
Here it is again. The controller runs fine. The doctest does not. def junk(): """ >>>junk() 'hello world' """ return 'hello world' --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou