[web2py:30951] Re: some questions for web2py.

2009-09-13 Thread Yarko Tymciurak
I'd also suggest, if you're considering those other frameworks (and are someewhat familiar with them) you might find it instructive to see the recent video which works thru a django tutorial, implementing it in web2py. You might even use this to compare the same solution at some basic level with th

[web2py:30950] Re: some questions for web2py.

2009-09-13 Thread Yarko Tymciurak
On Mon, Sep 14, 2009 at 12:18 AM, mdipierro wrote: > > Thanks for your questions. Please find some answers below. I am sure > other users will have something to add. > > On Sep 13, 8:02 pm, mengu wrote: > > hello everyone, > > . > > 4) what are the main things that web2py needs to be bette

[web2py:30949] Datetime validation error in SQLFORM

2009-09-13 Thread Adi
Hi, I have a problem in dealing with datetime formatting errors. The default format in web2py is -mm-dd but in my database i've changed it to 'm d ' (see code below). db.commercial.start_time.requires = IS_DATETIME('%d %m %Y %H:%M:%S') Now when I build an SQLFORM over this field, it ent

[web2py:30948] SQLFORM with record shows ID

2009-09-13 Thread Richard
hello, When I create a SQLFORM to edit an existing record the ID is displayed in the rendered form. This still happens when I set the fields explicitly because of lines 497-8: if not 'id' in self.fields: self.fields.insert(0, 'id') I realize that the ID is needed so that SQLFORM knows which r

[web2py:30947] tip of the day: icons in menu

2009-09-13 Thread mdipierro
In web2py you create a menu like response.menu=[['Title',False,URL(...),[]] where [] is a submenu. You place an icon close to the title by doing response.menu=[[TAG[''](IMG(_src=icon,'Title'),False,URL(...),[]] where icon is the url of the icon. --~--~-~--~~~--

[web2py:30946] Re: Cron in web2py

2009-09-13 Thread mdipierro
Is send mail a regular python module (in which case should be in modules/) or a controller (uses web2py objects without importing them)? Are you using unix cron or web2py cron? On Sep 13, 9:02 pm, Harshit dubey wrote: > I am making a  Courier Management Portal for my collage using  web2py > and

[web2py:30945] Re: IS_NULL_OR(IS_UPLOAD_FILENAME())

2009-09-13 Thread mdipierro
Does it work without the validator? I suspect this is a bug with IS_UPLOAD_FILENAME. If that is the case I will fix it in the next couple of days. On Sep 13, 8:57 pm, weheh wrote: > I'm running v1.66.2 source. I installed by downloading the source from > the server and overlaying it on an existi

[web2py:30944] Re: some questions for web2py.

2009-09-13 Thread mdipierro
Thanks for your questions. Please find some answers below. I am sure other users will have something to add. On Sep 13, 8:02 pm, mengu wrote: > hello everyone, > > i have recently discovered this framework after django and rails and i > have to pick one of those in order to start coding my proje

[web2py:30943] Cron in web2py

2009-09-13 Thread Harshit dubey
I am making a Courier Management Portal for my collage using web2py and in doing so i had to run a background process that will run a function at regular interval of time , So i am using cron for that , But it does not seem to work It shows an error code 127 Content of crontab file is as follo

[web2py:30942] Re: my corporation website

2009-09-13 Thread Yannick
Yes sure... its my pleasure :) Yannick P. On Sep 13, 1:07 pm, mdipierro wrote: > Do you want to be listed on the web2py's support.html page? > Let me know. > > On Sep 13, 12:05 pm, Yannick wrote: > > > It's not perfect but the important information are there... I just > > finish my contract wit

[web2py:30941] Re: IS_NULL_OR(IS_UPLOAD_FILENAME())

2009-09-13 Thread weheh
I'm running v1.66.2 source. I installed by downloading the source from the server and overlaying it on an existing web2py installation. I installed with "python web2py.py --upgrade yes". On Sep 13, 11:08 am, mdipierro wrote: > what is in your web2py/VERSION file? > > On Sep 13, 8:11 am, weheh w

[web2py:30940] Re: Can you help me with static files in webfaction?

2009-09-13 Thread drayco
Whith the help of webfaction support. I fixed my mistake. This is the brief history. I used the tool of web2py to pack my application. When I unpacked my application, it didn't unpack well all files. I did that two times and in the two cases the errors are in the web2py_ajax.html. We need a tool t

[web2py:30939] some questions for web2py.

2009-09-13 Thread mengu
hello everyone, i have recently discovered this framework after django and rails and i have to pick one of those in order to start coding my projects and i have some questions for web2py. 1) is there any benchmark tests for web2py? is web2py able to handle thousands of requests per second? is th

[web2py:30938] Re: Declare function as not a function?

2009-09-13 Thread Thadeus Burgess
Awesome, thanks Yarko -Thadeus --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+

[web2py:30937] Re: SQLField vs Field?

2009-09-13 Thread mdipierro
Ouch! Thanks for letting me know. On Sep 13, 6:48 pm, Richard wrote: > I noticed that examples in the manual on p254 and p303 use the old > SQLDB/SQLField syntax. > Richard > > On Sep 13, 4:30 pm, mdipierro wrote: > > > Yes, SQLField == Field but use the latter. > > > On Sep 13, 1:02 am, weheh

[web2py:30936] Re: SQLField vs Field?

2009-09-13 Thread Richard
I noticed that examples in the manual on p254 and p303 use the old SQLDB/SQLField syntax. Richard On Sep 13, 4:30 pm, mdipierro wrote: > Yes, SQLField == Field but use the latter. > > On Sep 13, 1:02 am, weheh wrote: > > > SQLField is deprecated, I believe. Use Field. > > > On Sep 13, 1:46 am,

[web2py:30935] Re: Declare function as not a function?

2009-09-13 Thread Richard
I just checked and you're right. On Sep 13, 9:19 pm, rev wrote: > AFAIK You can prepend the function name with a double underscore, e.g. > "__thefunction():" > I've used this to prevent the function to show up in the admin > interface. > You should check if it indeed isn't mapped to a URL. --~-

[web2py:30934] Re: web2py on shared hosting

2009-09-13 Thread Jon Romero
When a request comes, the dispatch.fcgi is executed which contains this: #!/usr/local/bin/python2.6 import os import sys os.chdir('/home/user/www/web2py') path=os.path.normpath('/home/user/www/web2py/') if not path in sys.path: sys.path.append(path) import gluon.main import gluon.contrib.gatew

[web2py:30933] Re: Variable Dump on stack trace

2009-09-13 Thread mdipierro
I would like to see a patch that does this: 1) add a new attribute "variables?" to the RestictedError object and make sure they are saved, loaded. 2) When a ResrictedError is raised identify all relevant variables and save them in the new attribute. 3) modify the admin/ticket view to display tho

[web2py:30932] Re: Variable Dump on stack trace

2009-09-13 Thread Yarko Tymciurak
On Sun, Sep 13, 2009 at 6:00 PM, Thadeus Burgess wrote: > The goal of web2py if im not mistaken, is to provide an all-in-one > environment for students to develop python web applications while adhearing > to security and standards. So that there is no need for external > debuggers/ide. If not, the

[web2py:30931] Re: Bug in function fetch() urllib

2009-09-13 Thread Thadeus Burgess
It is a problem with the server, it does not return correct known status codes. Is there a way around this? Or will I have to extend httplib and force it to not check status codes? -Thadeus --~--~-~--~~~---~--~~ You received this message because you are subscribed

[web2py:30930] Re: help with markdown

2009-09-13 Thread mdipierro
ps. I will list you as an author if that is ok. On Sep 13, 6:02 pm, mdipierro wrote: > This is great. Thank you!  I am planning to use it for this: > > https://launchpad.net/t4 > > Massimo > > On Sep 13, 4:29 pm, zahariash wrote: > > > Code was trimmed... > > > Correct linkhttp://p.linode.com/2

[web2py:30929] Re: help with markdown

2009-09-13 Thread mdipierro
This is great. Thank you! I am planning to use it for this: https://launchpad.net/t4 Massimo On Sep 13, 4:29 pm, zahariash wrote: > Code was trimmed... > > Correct linkhttp://p.linode.com/2985 > > On 13 Wrz, 23:15, zahariash wrote: > > >http://p.linode.com/2984 > > > from markdown2 import *

[web2py:30928] Re: Variable Dump on stack trace

2009-09-13 Thread Thadeus Burgess
The goal of web2py if im not mistaken, is to provide an all-in-one environment for students to develop python web applications while adhearing to security and standards. So that there is no need for external debuggers/ide. If not, then what is the point of even including a file editor with web2py?

[web2py:30927] Re: web2py on shared hosting

2009-09-13 Thread mdipierro
Since you are talking about shared hosting I assume you are using a third party like a web server, for example apache. If you have multiple installation your web server (apache) needs somehow to be able to discriminate which one you one you want to talk to. This can be done using the hostname (di

[web2py:30926] Re: How to Implement a field "search" to search in all content of my website ?

2009-09-13 Thread Fran
On Sep 13, 4:14 pm, Leandro - ProfessionalIT wrote: > How to Implement a field "search" to search in all content of my > website ?, any idea ? http://www.google.com/search"; method="get"> F --~--~-~--~~~---~--~~ You received this message because y

[web2py:30925] Re: Bug in function fetch() urllib

2009-09-13 Thread mdipierro
It seems to me the problem is with the server you try to fetch from. On Sep 13, 4:59 pm, Thadeus Burgess wrote: > Using fetch(url) raises BadStatusLine on the url > > Is there a way around this so that even when no status line is returned it > will still continue to download the file? > > I trie

[web2py:30924] Re: New user, basic installation advice, please

2009-09-13 Thread Bill Bell
Understood, and will give it a spin. Thanks, Thadeus. Bill On Sep 13, 6:24 pm, Thadeus Burgess wrote: > In the root web2py directory, there should be a python file called > cgihandler.py > > You should be able to simlink that to something like index.cgi and use > .htaccess to specify directory

[web2py:30923] Re: Variable Dump on stack trace

2009-09-13 Thread Yarko Tymciurak
... either I'm missing something, or this is so much noise... If you code defensively, and use a debuging environment for both development, and to inspect tickets, what would this give you that you need and don't have? Anyway, in 2 years w/ web2py (and too many to count elsewhere) I have never be

[web2py:30922] Re: How to implements a self join in a table definition ?

2009-09-13 Thread Thadeus Burgess
self join db.define_table('ni', Field('ni_01', 'references ni'), Field('ni_02', 'references ni')) Perhaps you should consider this structure TABLE NI part_number cust_id of_id picture_id desc TABLE KIT name desc TABLE NI_KIT ID_NI ID_KIT -Thadeus http://t

[web2py:30921] Re: New user, basic installation advice, please

2009-09-13 Thread Thadeus Burgess
In the root web2py directory, there should be a python file called cgihandler.py You should be able to simlink that to something like index.cgi and use .htaccess to specify directory index? -Thadeus On Sun, Sep 13, 2009 at 3:46 PM, Bill Bell wrote: > > I have installed web2py on shared BSD ser

[web2py:30920] Re: Variable Dump on stack trace

2009-09-13 Thread Thadeus Burgess
It is quite difficult, and damn near impossible to debug something that is throwing an error when you don't know what inside the variable is causing the error. (such as the httplib response from a external server) I understand where you are comming on from a security standpoint, however there is n

[web2py:30919] How to implements a self join in a table definition ?

2009-09-13 Thread Leandro - ProfessionalIT
I have this fields for the NI table: ni part_number customer_id of_id picture_id description is_kit ni_01 ni_02 ni_03 ni_04

[web2py:30918] Re: help with markdown

2009-09-13 Thread stefaan
On Sep 13, 9:32 pm, mdipierro wrote: > That is not what I need. Sorry I had misunderstood. (To be honest I was suprised the answer was so obvious ;) ) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users"

[web2py:30917] Re: Web2Py Dreamhost

2009-09-13 Thread Thadeus Burgess
Works like a charm now. It seems the problem came from not having a my own install of python, using dreamhosts python would not work. Thanks a bunch! On Sun, Sep 13, 2009 at 3:26 PM, mr.freeze wrote: > > Try this: > http://www.web2pyslices.com/main/slices/take_slice/1 > > > On Sep 13, 7:45 am,

[web2py:30916] web2py on shared hosting

2009-09-13 Thread Jon Romero
I am writing a tutorial on how to install web2py on shared hosting acounts. I have managed to install and use it successfully but I have a problem with routes. So, I have created a domain pointer to /home/myuser/www/web2py (yeap I know I should put web2py outside of public but this senario will m

[web2py:30915] Bug in function fetch() urllib

2009-09-13 Thread Thadeus Burgess
Using fetch(url) raises BadStatusLine on the url Is there a way around this so that even when no status line is returned it will still continue to download the file? I tried using httplib.HTTPConnection(strict=False) and it still raises BadStatusLine. I cannot change the status codes comming fro

[web2py:30914] Re: help with markdown

2009-09-13 Thread zahariash
Code was trimmed... Correct link http://p.linode.com/2985 On 13 Wrz, 23:15, zahariash wrote: > http://p.linode.com/2984 > > from markdown2 import * > > text = ''' > #ada adad sdasd# > *asdasdas* > {{stay **unchanged**, please}} > asdasda > ''' > > print markdown(text) > > result: > ada adad sda

[web2py:30913] Re: help with markdown

2009-09-13 Thread zahariash
http://p.linode.com/2984 from markdown2 import * text = ''' #ada adad sdasd# *asdasdas* {{stay **unchanged**, please}} asdasda ''' print markdown(text) result: ada adad sdasd asdasdas {{stay **unchanged**, please}} asdasda ? On 13 Wrz, 21:32, mdipierro wrote: > That is not what I need. I

[web2py:30912] New user, basic installation advice, please

2009-09-13 Thread Bill Bell
I have installed web2py on shared BSD server space where I have shell access. It complained about not finding Tk and dbhash, otherwise seems to run. The host does not run mod_python, mod_wsgi or other products like these. Until I am able to arrange for that I would like to run against cgi to becom

[web2py:30911] Re: Web2Py Dreamhost

2009-09-13 Thread mr.freeze
Try this: http://www.web2pyslices.com/main/slices/take_slice/1 On Sep 13, 7:45 am, Thadeus Burgess wrote: > Following passenger_wsgi section verbatim. No custom python. > > http://wiki.dreamhost.com/Web2py > > End up with > > WARNING:root:unable to import dbhash > > No .htaccess, set up a new s

[web2py:30910] Re: help with markdown

2009-09-13 Thread mdipierro
That is not what I need. I want markdown to ignore markup inside {{...}}. On Sep 13, 2:25 pm, stefaan wrote: > Fromhttp://daringfireball.net/projects/markdown/syntax#backslash > > Markdown provides backslash escapes for the following characters: > > \   backslash > `   backtick > *   asterisk >

[web2py:30909] Re: help with markdown

2009-09-13 Thread stefaan
>From http://daringfireball.net/projects/markdown/syntax#backslash Markdown provides backslash escapes for the following characters: \ backslash ` backtick * asterisk _ underscore {} curly braces [] square brackets () parentheses # hash mark + plus sign - minus sign (hyphen) .

[web2py:30908] Re: Variable Dump on stack trace

2009-09-13 Thread weheh
I think this is a useful suggestion. If the developer sets DEBUG=False then there should be no variable trace. DEBUG=False should be the default. If the developer sets DEBUG=True and forgets that in the production version, well, caveat emptor. On Sep 13, 2:21 pm, mdipierro wrote: > I understand.

[web2py:30907] Re: Variable Dump on stack trace

2009-09-13 Thread mdipierro
I understand. from a technical point of view this would be easy to add but there are two problems: 1) some variables may be very large and this would make tickets very big. How does Django handle it? Does it ignore large variables? 2) some of he variables may contain user information that administ

[web2py:30906] Re: Variable Dump on stack trace

2009-09-13 Thread Thadeus Burgess
When django runs into an error, it gives you the values of all variables during the stack track, when you have debug = True. Example: (You get code snippet, and all local variables at that snippet.) Traceback Switch to copy-and-paste view - /home/tha

[web2py:30905] Re: thinking of a new welcome layout using these

2009-09-13 Thread Yarko Tymciurak
I must be missing something... this is a link to desktop and web icons, correct? On Sun, Sep 13, 2009 at 12:49 PM, weheh wrote: > > Better looking than the current welcome screen. Also, I make sure to > make the flash not cover links in the welcome screen. Requires extra > clicks to get rid of f

[web2py:30904] Re: web2py source download problems in the secured enterprise environment

2009-09-13 Thread Yarko Tymciurak
this seems to show up with webkit broswers (e.g. chrome, safari), but the real point is if it happens in one "web engine", it usually doesn't with another (e.g. it can happen w/ firefox, and then may not w/ chrome). You can always seem to avoid the problem with command line tools, e.g. curl ( http

[web2py:30903] Re: thinking of a new welcome layout using these

2009-09-13 Thread weheh
Better looking than the current welcome screen. Also, I make sure to make the flash not cover links in the welcome screen. Requires extra clicks to get rid of flash & then proceed. On Sep 13, 11:40 am, zahariash wrote: > Nice. > > On 13 Wrz, 17:24, mdipierro wrote: > > >http://www.smashingmagaz

[web2py:30902] Re: Web2Py Dreamhost

2009-09-13 Thread Yarko Tymciurak
see the python documentation for the version of python your host has. You may need to ask them to install the bsddb module for python. For example, http://www.python.org/doc/2.5.4/lib/module-dbhash.html On Sun, Sep 13, 2009 at 7:45 AM, Thadeus Burgess wrote: > Following passenger_wsgi section ve

[web2py:30901] Re: Declare function as not a function?

2009-09-13 Thread Yarko Tymciurak
in webpy, functions which take parameters will never be exposed - if you add a parameter (even if you don't use it) this should do it for you. - Yarko On Sun, Sep 13, 2009 at 6:19 AM, rev wrote: > > AFAIK You can prepend the function name with a double underscore, e.g. > "__thefunction():" > I

[web2py:30900] Re: Many to many selects

2009-09-13 Thread konsumer
Yeh, that's what I ended up doing. Since I am very new to web2py, couldn't figure it out, I did this in the View layer. I would prefer to do it at the controller, as you have done. Thanks for the help. On Sep 12, 11:30 pm, mdipierro wrote: > You are doing many2many using tagging. It works on G

[web2py:30899] t4?

2009-09-13 Thread mdipierro
This very alpha https://code.launchpad.net/~mdipierro/t4/development Need to fix permissions, layout and port from of the old t3 functionality. Let me know if you want to help. Massimo --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[web2py:30898] Re: my corporation website

2009-09-13 Thread mdipierro
Do you want to be listed on the web2py's support.html page? Let me know. On Sep 13, 12:05 pm, Yannick wrote: > It's not perfect but the important information are there... I just > finish my contract with IBM and before i left i train three team mates > and encourage them to use Web2py... They we

[web2py:30897] my corporation website

2009-09-13 Thread Yannick
It's not perfect but the important information are there... I just finish my contract with IBM and before i left i train three team mates and encourage them to use Web2py... They were really impressed and interested about Web2py technology... I encourage you to do the same whenever you got the opp

[web2py:30896] Re: file descriptors leak

2009-09-13 Thread zahariash
It should do the job. On 13 Wrz, 18:03, mdipierro wrote: > we can encapsulate the body of the function in thread lock. > > On Sep 13, 10:53 am, zahariash wrote: > > > > > Ups, in my patch if statement isn't thread safe... > > > On 13 Wrz, 17:35, zahariash wrote: > > > > I think it is. > > > >

[web2py:/] Re: file descriptors leak

2009-09-13 Thread mdipierro
we can encapsulate the body of the function in thread lock. On Sep 13, 10:53 am, zahariash wrote: > Ups, in my patch if statement isn't thread safe... > > On 13 Wrz, 17:35, zahariash wrote: > > > I think it is. > > > On 13 Wrz, 17:31, mdipierro wrote: > > > > I think is excellent as long as Me

[web2py:30894] Re: file descriptors leak

2009-09-13 Thread zahariash
Ups, in my patch if statement isn't thread safe... On 13 Wrz, 17:35, zahariash wrote: > I think it is. > > On 13 Wrz, 17:31, mdipierro wrote: > > > > > I think is excellent as long as Memcache is thread safe and I assume > > it is. > --~--~-~--~~~---~--~~ You re

[web2py:30893] Re: thinking of a new welcome layout using these

2009-09-13 Thread zahariash
Nice. On 13 Wrz, 17:24, mdipierro wrote: > http://www.smashingmagazine.com/2008/07/02/55-free-high-quality-icon-... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send e

[web2py:30892] Re: file descriptors leak

2009-09-13 Thread zahariash
I think it is. On 13 Wrz, 17:31, mdipierro wrote: > I think is excellent as long as Memcache is thread safe and I assume > it is. > > On Sep 13, 10:13 am, zahariash wrote: > > > > > Hello, > > > I don't think, that thread pool is necessary. MemcacheClient module do > > synchronous requests, so

[web2py:30891] Re: Multiple file upload

2009-09-13 Thread ab
This will require changes in this jquery plugin. Probably I will have to create few input fields with different name for file upload instead using this plugin. On Sep 13, 5:01 pm, mdipierro wrote: > This may be an incorrect web2py behavior. > > Would you be able to upload them with different na

[web2py:30890] Re: file descriptors leak

2009-09-13 Thread mdipierro
I think is excellent as long as Memcache is thread safe and I assume it is. On Sep 13, 10:13 am, zahariash wrote: > Hello, > > I don't think, that thread pool is necessary. MemcacheClient module do > synchronous requests, so it needs one socket/thread to not block > web2py threads by each other.

[web2py:30889] thinking of a new welcome layout using these

2009-09-13 Thread mdipierro
http://www.smashingmagazine.com/2008/07/02/55-free-high-quality-icon-sets/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscr

[web2py:30888] How to Implement a field "search" to search in all content of my website ?

2009-09-13 Thread Leandro - ProfessionalIT
How to Implement a field "search" to search in all content of my website ?, any idea ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.co

[web2py:30887] Re: file descriptors leak

2009-09-13 Thread zahariash
Hello, I don't think, that thread pool is necessary. MemcacheClient module do synchronous requests, so it needs one socket/thread to not block web2py threads by each other. This is done by using threading.local... So maybe lets try: CUT - --- __init__.py.bak 2009-05-22 06:44:

[web2py:30886] Re: web2py source download problems in the secured enterprise environment

2009-09-13 Thread mdipierro
This is a known problem. We never got to the bottom of this. Something is not following protocol. Could be chrome, or could be cherrypy (web2py) wsgiserver. Could also be the chunk size in streaminig. We are doing some tests. Massimo On Sep 13, 9:50 am, villas wrote: > Yesterday I had a lot of

[web2py:30885] Re: IS_NULL_OR(IS_UPLOAD_FILENAME())

2009-09-13 Thread mdipierro
what is in your web2py/VERSION file? On Sep 13, 8:11 am, weheh wrote: > I'm not 100% sure, but I think it was svn. > > On Sep 13, 2:26 am, mdipierro wrote: > > > Can you remind me which version of web2py? stable or trunk? > > > On Sep 12, 8:52 pm, weheh wrote: > > > > I might also add that IS_

[web2py:30884] Re: Variable Dump on stack trace

2009-09-13 Thread mdipierro
Not sure I understand. Did you look into the python traceback module? Can you provide an example of what you would like? On Sep 13, 5:16 am, Thadeus Burgess wrote: > Is there any work on a variable dump for the tracebacks? Like in django? > > -Thadeus --~--~-~--~~~---

[web2py:30883] Re: Multiple file upload

2009-09-13 Thread mdipierro
This may be an incorrect web2py behavior. Would you be able to upload them with different names instead of calling all of them images? On Sep 13, 2:21 am, ab wrote: > Hi > >   I'm trying to implement multiple file upload using jQuery Multiple > File Upload Pluginhttp://www.fyneworks.com/jquery

[web2py:30882] Re: web2py source download problems in the secured enterprise environment

2009-09-13 Thread villas
Yesterday I had a lot of trouble trying to download in Chrome. I was beginning to think it was something wrong with Web2py server. Then I tried the download with IE8 and it worked straight away. On Sep 12, 5:46 pm, Jonathan Lundell wrote: > On Sep 12, 2009, at 9:30 AM, Babu wrote: > > > I have

[web2py:30881] Re: Ajax

2009-09-13 Thread eddwinston
Hi, Can someone give me suggestions. I am completely out of ideas now. The ajax login I have been trying to do is beginning to drive me insane. I am making the request to [app]/default/user/login and this how i generated the url: URL(r=request,c='default', f='user', args='login',extension='json

[web2py:30880] Re: UPLOAD FILES USING FORM

2009-09-13 Thread ARCHIT
I have mailed my code can u tell me now what is the bug --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this grou

[web2py:30879] Re: Timer

2009-09-13 Thread weheh
Massimo, nice, but in this case, if I were the developer, I would prefer the javascript countdown timer I recommended. The reason is that it will create a customizable display that shows a dynamic countdown clock. This can be tucked away in some part of the page that the user can see while taking

[web2py:30878] Re: SQLField vs Field?

2009-09-13 Thread weheh
No. I don't think so. I did it with no consequences. On Sep 13, 3:16 am, Thadeus Burgess wrote: > Is there any effect from switching a database from SQLField to Field in mid > development? > > -Thadeus > > http://thadeusb.com > > On Sun, Sep 13, 2009 at 2:15 AM, Thadeus Burgess > wrote: > > > K,

[web2py:30877] Re: IS_NULL_OR(IS_UPLOAD_FILENAME())

2009-09-13 Thread weheh
I'm not 100% sure, but I think it was svn. On Sep 13, 2:26 am, mdipierro wrote: > Can you remind me which version of web2py? stable or trunk? > > On Sep 12, 8:52 pm, weheh wrote: > > > I might also add that IS_NULL_OR(IS_IMAGE()) is also probably an > > invalid statement, since IS_IMAGE() also

[web2py:30876] Web2Py Dreamhost

2009-09-13 Thread Thadeus Burgess
Following passenger_wsgi section verbatim. No custom python. http://wiki.dreamhost.com/Web2py End up with WARNING:root:unable to import dbhash No .htaccess, set up a new subdomain, checked out web2py from svn, simlinked. Any help? Thanks. thade...@patty:~/web2py.thadeusb.com$ ls ABOUT

[web2py:30875] Re: Declare function as not a function?

2009-09-13 Thread rev
AFAIK You can prepend the function name with a double underscore, e.g. "__thefunction():" I've used this to prevent the function to show up in the admin interface. You should check if it indeed isn't mapped to a URL. --~--~-~--~~~---~--~~ You received this message b

[web2py:30874] Variable Dump on stack trace

2009-09-13 Thread Thadeus Burgess
Is there any work on a variable dump for the tracebacks? Like in django? -Thadeus --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To

[web2py:30873] Declare function as not a function?

2009-09-13 Thread Thadeus Burgess
How do you keep a controller function from being mapped to a url? I want to keep the function private --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@

[web2py:30872] Re: DataTables (jQuery Plugin)

2009-09-13 Thread Chris S
You're not going to believe this. I was reading over my post to check for clarity as I always do and noticed something out of place. The {{pass}} statement for the loop is after , effectively creating several 'ends' to the body. I moved the pass statement up and it's working, so disregard this

[web2py:30871] DataTables (jQuery Plugin)

2009-09-13 Thread Chris S
I've been reading about the different table sorting methods and it seems DataTables is fairly highly recommended around here. I'm wanted to try using it but I'm have a problem with it. Currently, I only get the 'search' and 'perpage' fields at the top of my table, neither of which seem to work.

[web2py:30870] Re: not in query

2009-09-13 Thread Thadeus Burgess
Solved: qry_has_owner = (db.owner.id.belongs(db()._select(db.dog.id_owner))) db(~qry_has_owner).select() On Sun, Sep 13, 2009 at 2:13 AM, Thadeus Burgess wrote: > How would I construct a query to determine if a field is not in another > table? > > example > > db.owner.id not in db.dogs.id_owne

[web2py:30869] Multiple file upload

2009-09-13 Thread ab
Hi I'm trying to implement multiple file upload using jQuery Multiple File Upload Plugin http://www.fyneworks.com/jquery/multiple-file-upload/ Here is my form: If user uplads one file I can access filename and date, because it's in FieldStorage. print request.vars The pro

[web2py:30868] Re: SQLField vs Field?

2009-09-13 Thread Thadeus Burgess
Is there any effect from switching a database from SQLField to Field in mid development? -Thadeus http://thadeusb.com On Sun, Sep 13, 2009 at 2:15 AM, Thadeus Burgess wrote: > K, this should be documented on the website =/ > > mdipierro need help keeping documentation up to date or is it just c

[web2py:30867] Re: SQLField vs Field?

2009-09-13 Thread Thadeus Burgess
K, this should be documented on the website =/ mdipierro need help keeping documentation up to date or is it just changing to fast? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to thi

[web2py:30866] not in query

2009-09-13 Thread Thadeus Burgess
How would I construct a query to determine if a field is not in another table? example db.owner.id not in db.dogs.id_owner --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group,