[web2py:18347] Re: affordable web2py hosting with support for Numpy

2009-03-19 Thread Michael Wales
I've always been a fan of ASmallOrange (http://www.asmallorange.com/) - I am unsure if these libraries come preinstalled on the shared hosting, but you can always install them yourself (via SSH) or submit a trouble ticket. ASO's support is top-notch. Virtually every request I have made has been

[web2py:18074] File Uploads w/o SQLFORM

2009-03-15 Thread Michael Wales
Does web2py handle file uploads when not using SQLFORM? I submit the form, the request.vars.file variable contains the original filename of the file, but nothing gets placed in the uploads directory. I guess my question is - I want to handle the file upload, movement to a directory, and database

[web2py:17875] Returning A() from a Module

2009-03-11 Thread Michael Wales
I have the following function in a module - this function performs a Regex search and attempts to replace matches with a link (generated with the A() helper). The regex and replacement is working correctly - if I change the value of the replace variable to something other than the A() helper, it

[web2py:17883] Re: Returning A() from a Module

2009-03-11 Thread Michael Wales
(but the strings within are). When a string is dispalyed {{=A(...).xml()}} it is escaped, unless marked up accordingly {{=XML(A(...).xml())}}. Hope this helps On Mar 11, 10:39 am, Michael Wales evicera...@gmail.com wrote: I have the following function in a module - this function performs a Regex search

[web2py:17821] Re: routes.py - I must be missing something

2009-03-10 Thread Michael Wales
not '-' in URL and replaces them with '_'. the replacement should happen after the URL mapping and before your action is called. Your actions sees quake_like instead of quake-live. Does this help? Massimo On Mar 10, 10:08 am, Michael Wales evicera...@gmail.com wrote: Yeah, that's exactly how my

[web2py:17823] Re: Custom View Helpers

2009-03-10 Thread Michael Wales
,**attributes):          self.components,self.attributes=components,attributes     def xml(self): return serial representation On Mar 9, 6:07 pm, Michael Wales evicera...@gmail.com wrote: What is the standard way to go about creating your ownviewhelpers? I would like to wrap a content area

[web2py:17824] Re: routes.py - I must be missing something

2009-03-10 Thread Michael Wales
, Michael Wales evicera...@gmail.com wrote: Changing the - to _ inroutes.py(and of course, altering the data in the table, to correspond) still results in an invalid function error. I want to say myroutes.pyisn't being seen/used at all! For instance, routes_out doesn't seem to be doing anything

[web2py:17834] Re: cookbook view

2009-03-10 Thread Michael Wales
You are missing the closing apostrophe for the function parameter of the URL() method - interesting though, since I just reported a bug that completely locked up the server when the same thing occurs. Are you on Windows? On Mar 10, 2:53 pm, martin martin.telef...@gmail.com wrote: here is the

[web2py:17730] Bug Report: Malformed URL() parameters leads to Win32 service crash

2009-03-09 Thread Michael Wales
If the file/function parameter of a URL() statement within the view is missing its final quote, the Win32 service will crash - no user friendly error message is returned to the user. To reproduce: {{= URL(r = request, c = 'static', f = 'home.png }} Recommend a regular expression to confirm all

[web2py:17765] routes.py - I must be missing something

2009-03-09 Thread Michael Wales
I've created a routes.py with the following (yes, these will become RegEx, but I am just trying to get it to work at this point): routes_in = (('.*:/shooterhero/games/quake-live', '/shooterhero/games/ view/quake-live')) My thinking is, if I link to /shooterhero/games/quake-live/ it will send