[web2py] failed to seek; server does not accept Range HTTP header

2010-04-01 Thread Thadeus Burgess
I have a controller as follows def stream(): id = request.args(0) record = db.items[id] if record: return response.stream(record.filepath) else: return False When playing in Totem Media Player, the files play, but when attempting to seek ahead in the song it receives this

[web2py] Re: New Python IDE for Windows/Mac/Linux

2010-04-01 Thread Mengu
yet another complex, powered by jetbrains ide. i think these guys know how to develop but don't know what is an ide. however it looks good. by the way, i'm also developing a "web development ide" (http:// www.mengu.net/post/a-new-web-development-ide) so i hate competition. :D On 2 Nisan, 02:38, m

[web2py] Import modules not working

2010-04-01 Thread Miguel
Hi I tried to install the clienttools.py module found here http://www.web2pyslices.com/main/slices/take_slice/8 However when in my application controller I try to import the module by doing the following: clienttools = local_import('clienttools') page = clienttools.PageManager(globals()) event =

Re: [web2py] Re: psycopg2 problem

2010-04-01 Thread Thadeus Burgess
It still must be a problem with the site-packages. And I wonder if it has something to do with the fact you "had problems" with easy_install. I would try apt-get remove python-psycopg2 then look in your site-packages, make sure to remove ALL instances of psycopg2 egg or src files. Also check yo

Re: [web2py] Re: Validation per object

2010-04-01 Thread Thadeus Burgess
I actually have an example for this kind of form. Say I have two Records, Person 124 and Person 532. Well come to find out, record 124 and 532 are the exact same person who signed up twice. I want to merge the two records together and leave with just one, but oh noes 532 has more up to date info

[web2py] Re: psycopg2 problem

2010-04-01 Thread Richie
Yeah, it's all spelled fine (not like I typed it there, sorry!) and the database exists. Obviously if web2py was connecting to PostgreSQL it would give a "database not found" or a "cannot write to database" error or something, not a python "cannot find psycopg2" module. I think now that the questi

[web2py] Re: psycopg2 problem

2010-04-01 Thread Yarko Tymciurak
On Apr 1, 4:40 pm, Richie wrote: > From command line python "db = DAL('postgres://posttg...@localhost: > 5432/appdb')" gives a "FATAL:  no pg_hba.conf entry for host > "127.0.0.1", user "postgres", database "appdb", SSL off" but this is a > different issue that I can sort out later! It is still ac

[web2py] Re: Validation per object

2010-04-01 Thread Yarko Tymciurak
On Apr 1, 5:04 pm, carlo wrote: > sorry for this "out of sync" answer but though I managed some "tricks" > to tackle the (problem of) validation in pure html forms during these > years, I would be curious about an answer to Mengu's request of > "showing how to make validation with manual forms".

[web2py] Re: DAL Oracle Query problems

2010-04-01 Thread Jason Lotz
Thanks!! It is noted... Jay On Mar 30, 10:18 pm, DenesL wrote: > On Mar 30, 4:09 am, Jason Lotz wrote: > > > > > > > I'm sorry if I am repeating an existing discussion. I searched and > > found similar issues but nothing that helped. > > > I am trying to query an oracle db. > > > raw sql: > >

[web2py] New Python IDE for Windows/Mac/Linux

2010-04-01 Thread mikech
Pycharm: http://www.jetbrains.com/pycharm/index.html -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com

[web2py] Re: second form.accepts returns false, and no custom classes in session variables

2010-04-01 Thread Kevin Butler
OK, figured out the form: form.accepts( request.vars, session ) includes protection against re- submission. You can't submit the same form twice. Is there an API document somewhere that would tell me that? I know of the following API docs: best: http://www.web2py.com/examples/static/epydoc/in

[web2py] second form.accepts returns false, and no custom classes in session variables

2010-04-01 Thread Kevin Butler
I spent way too much time figuring out what was happening with these two issues, because their interaction sent me debugging various wrong paths. But in essence, I found two behaviors that were unexpected and which not provide an easy way to identify the problem. #1) If you call form.accepts a s

[web2py] Re: psycopg2 problem

2010-04-01 Thread Graham Dumpleton
On Apr 2, 7:42 am, Thadeus Burgess wrote: > Somod_wsgi will not let you print, Not true. For older versions of mod_wsgi if you use 'print' you need to redirect it to 'sys.stderr' is all. This is because using sys.stdin/sys.stderr in a WSGI application is not portable. Because though people ar

Re: [web2py] Re: web2py book and softcron

2010-04-01 Thread Jonathan Lundell
On Apr 1, 2010, at 11:20 AM, AchipA wrote: > Exactly, hardcron checks once a minute, softcron checks on each page > load. The 'check' is calling a function or two and comparing a file's > timestamp, so not *that* much more expensive. Thanks. In that case, I have a suggestion, perhaps not entirel

[web2py] Re: Validation per object

2010-04-01 Thread carlo
sorry for this "out of sync" answer but though I managed some "tricks" to tackle the (problem of) validation in pure html forms during these years, I would be curious about an answer to Mengu's request of "showing how to make validation with manual forms". Sorry DenesL but you did not answer the q

[web2py] Re: psycopg2 problem

2010-04-01 Thread Richie
>From command line python "db = DAL('postgres://posttg...@localhost: 5432/appdb')" gives a "FATAL: no pg_hba.conf entry for host "127.0.0.1", user "postgres", database "appdb", SSL off" but this is a different issue that I can sort out later! It is still accessing that postgres server to get that

[web2py] Re: psycopg2 problem

2010-04-01 Thread Yarko Tymciurak
On Apr 1, 4:12 pm, Richie wrote: > Console sys.version gives 2.5.2 (r252:60911, Jan 20 2010, 23:14:04) > \n[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3) : identical! > > What do you need to know about environment? It's a VPS running Ubuntu > 8.04.1 64 bit Minimal, I tried easy_install psycopg2 but had issues

[web2py] Re: psycopg2 problem

2010-04-01 Thread Richie
Console sys.version gives 2.5.2 (r252:60911, Jan 20 2010, 23:14:04) \n[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3) : identical! What do you need to know about environment? It's a VPS running Ubuntu 8.04.1 64 bit Minimal, I tried easy_install psycopg2 but had issues, then did apt-get python-psycopg2. Got Apa

[web2py] Re: response.headers web2py-component-command is being cut short

2010-04-01 Thread DenesL
This means that any script included in the returned ajax call data will be evaluated (run) after the target element is updated but the script itself will not be part of the target. If the returned data is guessed by jQuery as not being 'html' this does not happen. Massimo, can this explain what yo

[web2py] Re: psycopg2 problem

2010-04-01 Thread Yarko Tymciurak
yup... statement 1; april fool's on me (I didn't read the original post accurately enough; Thadeus was right)... Not sure you have found anything interesting yet, though... Tell us more about your environment - ... also, may be time to look at the apache logs; restart the wsgi thread;

[web2py] Re: web2py forked

2010-04-01 Thread mdipierro
LOL. I jumped on my seat for a second! On Apr 1, 10:46 am, Thadeus Burgess wrote: > I prefer spoons. > > -Thadeus > > On Thu, Apr 1, 2010 at 9:44 AM, DenesL wrote: > > LOL > > > On Apr 1, 9:39 am, "mr.freeze" wrote: > >> Just kidding! Happy April Fools Day! > > > -- > > You received this messag

Re: [web2py] Re: psycopg2 problem

2010-04-01 Thread Thadeus Burgess
And to triple make sure... from the shell printing sys.version gives exactly the same, date, revision, GCC version ? mod_wsgi was compiled with the same version of python installed? So just to make sure you only get the GlobalName when you access web2py through mod_wsgi ? tburg...@***-dev:~/Appl

Re: [web2py] Using Ajax to display detail from a list

2010-04-01 Thread Thadeus Burgess
I usually do something similar. Even to the extreme of my have an extra column. So My id usually looks like id="__" And in my controllers I parse this as tablename, record_id, column = request.vars.id.split('_') -Thadeus On Thu, Apr 1, 2010 at 2:24 PM, Keith Edmunds wrote: > What I wan

[web2py] Re: psycopg2 problem

2010-04-01 Thread Richie
Worked fine.. 2.5.2 (r252:60911, Jan 20 2010, 23:30:56) [GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] Same version! Extra confused now... On Apr 1, 9:42 pm, Thadeus Burgess wrote: > So mod_wsgi will not let you print, try this (before your db=DAL(...) > statement) > > import sys > > tmp_file = open('/p

Re: [web2py] Re: psycopg2 problem

2010-04-01 Thread Thadeus Burgess
So mod_wsgi will not let you print, try this (before your db=DAL(...) statement) import sys tmp_file = open('/path/to/a/writable/file.txt', 'w') tmp_file.write(sys.version) tmp_file.close() db = DAL(...) Try and access default controller (you will get an error, but now we have a file) Open up t

[web2py] Re: psycopg2 problem

2010-04-01 Thread Richie
@Thadeus Statement 1 it is. How do I check the version mod_wsgi is using? I really appreciate the help! On Apr 1, 9:22 pm, Thadeus Burgess wrote: > We are confused. > > 1) He said he gets the error when "I try to access default controller". > > 2) He did not say "I try to access psycopg2 from m

[web2py] Re: psycopg2 problem

2010-04-01 Thread Richie
"python web2py.py -S welcome" gives "Database drivers available: SQLite3, PostgreSQL" and "import psycopg2" is successful. Tried using DAL and just got the same error : "NameError: global name 'psycopg2' is not defined" I feel like such a noob :( On Apr 1, 9:16 pm, Yarko Tymciurak wrote: > On

Re: [web2py] Re: new SQLFORM

2010-04-01 Thread Thadeus Burgess
And what about ``ol``, ``p``, ``fieldset`` ? -Thadeus On Thu, Apr 1, 2010 at 2:26 PM, Thadeus Burgess wrote: > And why did we lose our classes > > ".title" > ".comment" > ".help" > > ?? > > -Thadeus > > > > > > On Thu, Apr 1, 2010 at 2:24 PM, Thadeus Burgess wrote: >> So why formstyle inst

Re: [web2py] Re: new SQLFORM

2010-04-01 Thread Thadeus Burgess
And why did we lose our classes ".title" ".comment" ".help" ?? -Thadeus On Thu, Apr 1, 2010 at 2:24 PM, Thadeus Burgess wrote: > So why formstyle instead of > > form.as_div() > or > form.as_ul() > > ?? > > -Thadeus > > > > > > On Wed, Mar 24, 2010 at 8:18 PM, mdipierro wrote: >> Thank you

[web2py] Re: psycopg2 problem

2010-04-01 Thread Richie
Thanks for the quick responses, people, it's my first time using this group and I'm impressed already! My question is definately "HOW can I connect to a postgres db?" My current conn string is db=SQLDB('postgres://postg...@127.0.0.1:5432/ database'). Do I just need to change the SQLDB to a DAL? Wi

Re: [web2py] Re: new SQLFORM

2010-04-01 Thread Thadeus Burgess
So why formstyle instead of form.as_div() or form.as_ul() ?? -Thadeus On Wed, Mar 24, 2010 at 8:18 PM, mdipierro wrote: > Thank you! > > On Mar 24, 8:21 pm, Jose wrote: >> I sent a patch to Massimo > > -- > You received this message because you are subscribed to the Google Groups > "web2

[web2py] Using Ajax to display detail from a list

2010-04-01 Thread Keith Edmunds
What I want to do: have a list of items displayed; when one is clicked, more detail is shown (via an Ajax call) in a defined "detail area". Problem: the web2py ajax call takes three parameters: a controller action, one or more field ids, and a target DIV. My controller action needs to identify whi

Re: [web2py] Re: psycopg2 problem

2010-04-01 Thread Thadeus Burgess
We are confused. 1) He said he gets the error when "I try to access default controller". 2) He did not say "I try to access psycopg2 from my controller". I take what he said to mean (statement 1) he cannot connect to postgres with web2py. Perhaps he really ment statement 2, in which you are corr

[web2py] Re: psycopg2 problem

2010-04-01 Thread Yarko Tymciurak
On Apr 1, 3:12 pm, Thadeus Burgess wrote: > Make sure mod_wsgi is running the same version of python that you have > psycopg2 installed. that is not the point / problem here; anyway, python web2py.py -S welcome, and an attempt to "import psycopg2" from that shell will show that you can import i

Re: [web2py] psycopg2 problem

2010-04-01 Thread Thadeus Burgess
Make sure mod_wsgi is running the same version of python that you have psycopg2 installed. -Thadeus On Thu, Apr 1, 2010 at 1:48 PM, Richie wrote: > I can import psycopg2 from a python shell, but I'm getting "NameError: > global name 'psycopg2' is not defined" when I try to access my default

[web2py] Re: psycopg2 problem

2010-04-01 Thread Yarko Tymciurak
On Apr 1, 3:07 pm, Yarko Tymciurak wrote: > Massimo can explain to you how this happens, but this is not a problem > - it's a feature: ... that is, gluon/dal.py trys to import psycopg2 as it builds up a list of available drivers; you just can't see psycopg2, and that's a good thing. If you want

[web2py] Re: psycopg2 problem

2010-04-01 Thread Yarko Tymciurak
Massimo can explain to you how this happens, but this is not a problem - it's a feature: >From your web2py directory, if you do: python web2py.py -S welcome -M to get a web2py application context shell, with your models imported, you also get: In [1]: psycopg2 --

[web2py] psycopg2 problem

2010-04-01 Thread Richie
I can import psycopg2 from a python shell, but I'm getting "NameError: global name 'psycopg2' is not defined" when I try to access my default controller. I'm setup with Apache and MOD WSGI. Anyone got any ideas? Thanks! Rich -- You received this message because you are subscribed to the Google

[web2py] crud update with represent

2010-04-01 Thread Avik Basu
Hi, As I understand, when crud.update(...) creates a form it pulls the values of a given record into the form as a string. If the field is a reference to another table, then this shows up as a number. I would like to instead show the name of the record instead of the id. I have a represent functi

[web2py] Re: Proper handling of "Undefined Record" Exception in Reference Class

2010-04-01 Thread Yarko Tymciurak
On Apr 1, 11:17 am, Thadeus Burgess wrote: > Got it. Thanks. > > So lets repeat some steps to see how this happened. > > Production Database > -> Open appadmin: Everything OK. > -> print db(db.category.id > 0).select(orderby=~db.category.id).first() > category.id -> 4059 # this is the highest cate

Re: [web2py] Re: Fetching a single field from multiple rows in gluon.sql.Rows as a tuple/list?

2010-04-01 Thread Thadeus Burgess
This will embed a sub query and use belongs on it. db((db.Record.Group_id == ID) & (db.Record.Name.belongs(db(db.Record.BloodType == 'O-')._select(.count() Alternatively for NOT db((db.Record.Group_id == ID) & (~db.Record.Name.belongs(db(db.Record.BloodType == 'O-')._select(.count() -Th

[web2py] Re: Fetching a single field from multiple rows in gluon.sql.Rows as a tuple/list?

2010-04-01 Thread Magnitus
Ah, I found the answer to my question in the post: http://groups.google.com/group/web2py/browse_thread/thread/cf8ad3e94fc9f1da/59261d38a98ece4d?lnk=gst&q=belongs#59261d38a98ece4d So, I guess I'll modify: db(db.Record.Group_id==ID & (! db.Record.Name.belongs(List_of_names))).delete() To be: db(

[web2py] Re: web2py book and softcron

2010-04-01 Thread AchipA
Exactly, hardcron checks once a minute, softcron checks on each page load. The 'check' is calling a function or two and comparing a file's timestamp, so not *that* much more expensive. On Apr 1, 7:51 pm, Jonathan Lundell wrote: > On Apr 1, 2010, at 10:37 AM, AchipA wrote: > > > There is some over

[web2py] Re: Fetching a single field from multiple rows in gluon.sql.Rows as a tuple/list?

2010-04-01 Thread Magnitus
Thanks for both replies :). So, if ``db().select(db.Record.Name)`` acts like a tuple, then I can do something like this: Names_in_db = db().select(db.Record.Name) for Name in List_of_names: if Name in Names_in_db: #Update logic goes here else: #Insert logic goes here Als

Re: [web2py] Re: web2py book and softcron

2010-04-01 Thread Jonathan Lundell
On Apr 1, 2010, at 10:37 AM, AchipA wrote: > There is some overhead, but efficiency is a disputable term - there is > certainly more overhead than hardcron, but IMO not in a way that would > affect overall performance unless you're running it on a site that has > hundreds of thousands of hits per

[web2py] Re: web2py book and softcron

2010-04-01 Thread AchipA
There is some overhead, but efficiency is a disputable term - there is certainly more overhead than hardcron, but IMO not in a way that would affect overall performance unless you're running it on a site that has hundreds of thousands of hits per day... On Apr 1, 5:40 pm, Jonathan Lundell wrote:

[web2py] web2py book and softcron

2010-04-01 Thread Jonathan Lundell
Section 4.17 (cron) mentions hard vs soft cron defaults, but doesn't say how to override them. Section 4.1 (cli) doesn't list --softcron The startup message for soft cron says: 'Using softcron (but this is not very efficient)' In what sense "not efficient"? I understand that the timing is less

Re: [web2py] Re: Proper handling of "Undefined Record" Exception in Reference Class

2010-04-01 Thread Thadeus Burgess
Got it. Thanks. So lets repeat some steps to see how this happened. Production Database -> Open appadmin: Everything OK. -> print db(db.category.id > 0).select(orderby=~db.category.id).first() category.id -> 4059 # this is the highest category in databases category.name -> "sports" -> db.export_t

Re: [web2py] Re: where is this coming from?

2010-04-01 Thread Jonathan Lundell
On Apr 1, 2010, at 8:49 AM, Yarko Tymciurak wrote: > my quick guess would be start at line 45, winservice.py -- it has > ReportServiceStatus This is OS X, so not winservice. Presumably. I was running 1.76.3 inadvertently; I'll see what happens with .5. > > Actually - as I look at it, I'll bet

[web2py] Re: Proper handling of "Undefined Record" Exception in Reference Class

2010-04-01 Thread Yarko Tymciurak
I'd first (quickly) try: save table (or tables) as csv, then grep 4057 to see where it shows up, and work from there. - Yarko On Apr 1, 10:56 am, Thadeus Burgess wrote: > Yes but out of 4050 records, how do I determine the one record that > got borked, since obviously record 4057 does not exist

[web2py] editarea plugin lacks OS X Intel support

2010-04-01 Thread Jonathan Lundell
...or so I gather from my console log: 3/31/10 10:42:41 PM mdworker[18101] (Warning) Import: /.../web2py/applications/admin/static/edit_area/edit_area_full_with_plugins.gz could not be imported; Only a PPC importer plug-in was found. -- You received this message because you are subscribed

[web2py] Re: Translate change password

2010-04-01 Thread Yarko Tymciurak
Looking at gluon/tools.py (around line 600:) I see all the messages, labels, and strings that can be customized. For a start, you could copy this entire list into your db.py (or wherever you enable auth), and at a minimum reset each such as this: auth.messages.submit_button = T('Submit') I seem

Re: [web2py] Re: Proper handling of "Undefined Record" Exception in Reference Class

2010-04-01 Thread Thadeus Burgess
Yes but out of 4050 records, how do I determine the one record that got borked, since obviously record 4057 does not exist. I have queried reference fields and nothing refers to a record 4057 either. p.s. this was with using sqlite browser -Thadeus On Thu, Apr 1, 2010 at 9:53 AM, Yarko Tymci

[web2py] Re: response.headers web2py-component-command is being cut short

2010-04-01 Thread DenesL
According to http://api.jquery.com/jQuery.ajax/ dataType, one of the settings of jQuery.ajax, when set to "html" returns HTML as plain text; included script tags are evaluated when inserted in the DOM. Similar effect is obtained setting it to "script" but with the side effect of turning POSTs into

[web2py] Re: Proper handling of "Undefined Record" Exception in Reference Class

2010-04-01 Thread Yarko Tymciurak
On Apr 1, 9:52 am, Thadeus Burgess wrote: > Somehow, I am getting the "Undefined Record Exception" being raised, > from line 1429 in sql.py. > > When I comment out the exception, appadmin works just fine. It looks > as if the reference is an ID that does not exist in my table. ... implied: NOT a

[web2py] Re: where is this coming from?

2010-04-01 Thread Yarko Tymciurak
my quick guess would be start at line 45, winservice.py -- it has ReportServiceStatus Actually - as I look at it, I'll bet it's coming from the call Service::log(), which calls which calls servicemanager.LogInfoMsg() Try setting a breakpoint there, and see if this stuff shows up in the msg param

Re: [web2py] Re: web2py forked

2010-04-01 Thread Thadeus Burgess
I prefer spoons. -Thadeus On Thu, Apr 1, 2010 at 9:44 AM, DenesL wrote: > LOL > > On Apr 1, 9:39 am, "mr.freeze" wrote: >> Just kidding! Happy April Fools Day! > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group

[web2py] Re: web2py forked

2010-04-01 Thread DenesL
LOL On Apr 1, 9:39 am, "mr.freeze" wrote: > Just kidding! Happy April Fools Day! -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2p

[web2py] Translate change password

2010-04-01 Thread GhostRider
I have an application in finnish and swedish and everything is translated into the fi.py and se.py files. Only thing that I can´t find how to translate is the Change password page. Ideas? Kenneth -- You received this message because you are subscribed to the Google Groups "web2py-users" group

[web2py] Proper handling of "Undefined Record" Exception in Reference Class

2010-04-01 Thread Thadeus Burgess
Somehow, I am getting the "Undefined Record Exception" being raised, from line 1429 in sql.py. When I comment out the exception, appadmin works just fine. It looks as if the reference is an ID that does not exist in my table. Somehow, the ID is 4057, when the highest ID in my table is only 4052,

Re: [web2py] Re: where is this coming from?

2010-04-01 Thread Jonathan Lundell
On Apr 1, 2010, at 6:18 AM, mdipierro wrote: > applications/admin/cron/crontab The message itself, I mean. It's showing up on my console, and I can't find the source. > > On Apr 1, 12:37 am, Jonathan Lundell wrote: >> Wed Mar 31 16:10:00 2010 hard CRON RUNNING >> ['/opt/local/Library/Framewo

Re: [web2py] Re: Fetching a single field from multiple rows in gluon.sql.Rows as a tuple/list?

2010-04-01 Thread Thadeus Burgess
``db().select(db.Record.Name)`` returns a rows object, which acts like a tuple. -Thadeus On Thu, Apr 1, 2010 at 5:06 AM, DenesL wrote: > thelist=[row.Name for row in db().select(db.Record.Name)] > > On Apr 1, 1:41 am, Magnitus wrote: >> Hi, >> >> assuming that I have a "Record" table with a

[web2py] Re: web2py forked

2010-04-01 Thread JorgeRpo
HAHAHAH you got me! :P On Apr 1, 8:39 am, "mr.freeze" wrote: > Just kidding! Happy April Fools Day! -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group,

[web2py] web2py forked

2010-04-01 Thread mr.freeze
Just kidding! Happy April Fools Day! -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more optio

[web2py] Re: Web2py mounted to sub-url

2010-04-01 Thread mdipierro
It is not true. It can be mounted in a sub-url but you the web server or web2py routes must be instructed to remove the "web2py/" from the url. On Apr 1, 2:29 am, annet wrote: > When I use the custom install script at WebFaction to install web2py > the docs point me to the following caveat: > > W

[web2py] Re: where is this coming from?

2010-04-01 Thread mdipierro
applications/admin/cron/crontab On Apr 1, 12:37 am, Jonathan Lundell wrote: > Wed Mar 31 16:10:00 2010 hard CRON RUNNING > ['/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python', > 'web2py.py', '-P', '-N', '', '-S', 'admin', '-a', '""', '-R',

Re: [web2py] Re: best jquery plugin ever

2010-04-01 Thread Timothy Farrell
My PC @work has ie6..it's as awesome as it sounds. LOL! That made my day! Fortunately, I get to control my company so everyone gets a choice: IE8 or FF. I wish I could get them all on FF or Chrome, but people are creatures of habit. It's not worth the energy to push too hard. I haven't

[web2py] Re: Fetching a single field from multiple rows in gluon.sql.Rows as a tuple/list?

2010-04-01 Thread DenesL
thelist=[row.Name for row in db().select(db.Record.Name)] On Apr 1, 1:41 am, Magnitus wrote: > Hi, > > assuming that I have a "Record" table with a field called "Name" in > the database (all also that there are a bunch of other fields for that > table). > > Assume that I make the following query:

Re: [web2py] Re: best jquery plugin ever

2010-04-01 Thread Tiago Almeida
> > Who still uses IE6 anyways? > Major corporations afraid of changing the software installed because it might "break anything" and cost millions to "repair". My PC @work has ie6..it's as awesome as it sounds. Regards, Tiago -- On Thu, Apr 1, 2010 at 7:47 AM, Magnitu

[web2py] Re: use of the modules directory?

2010-04-01 Thread Jason Lotz
The 'modules' folder is for manually installing packages in the application. http://web2py.com/book/default/section/4/18 Jay On Apr 1, 1:45pm, Miguel wrote: > Hi > > What is the purpose of the modules directory? I did not find an > explanation in the web2py book. > > Also what is the "web2py"

[web2py] Re: use of the modules directory?

2010-04-01 Thread Jason Lotz
The 'modules' folder is for manually installing packages in the application. http://web2py.com/book/default/section/4/18 Jay On Apr 1, 1:45 pm, Miguel wrote: > Hi > > What is the purpose of the modules directory? I did not find an > explanation in the web2py book. > > Also what is the "web2py

[web2py] Web2py mounted to sub-url

2010-04-01 Thread annet
When I use the custom install script at WebFaction to install web2py the docs point me to the following caveat: Web2py won't work properly if it is mounted to a sub-URL like http://domain.com/web2py/. it must be mounted to the domain root. What exactly does this mean? Kind regards, Annet. --