Brilliant as everything else in web2py :)
Thanks!
On May 18, 9:19 pm, mdipierro wrote:
> response.view='default/bar1.html'
>
> On May 18, 12:56 pm, Igor Gassko wrote:
>
>
>
> > Hi all.
>
> > I'd like to have multiple views (several different html
Hi all.
I'd like to have multiple views (several different html files) for the
same controller action and to be able to specify in the code from
within controller which view will be used to format the response.
To be specific, let's say I have controller 'default.py' with action
'foo' in it and I
Could you please post on this thread, once there's built-in solution
for keeping pooled connections alive?
For now, I've seen that you may end up with several dead connection in
the pool, so slighly better solution might be as follows:
for x in range(10):
try:
db = DAL(connection_strin
Hi,
I have the following code in my app:
#import Mail
from gluon.tools import Mail
mail=Mail()
#specify server
mail.settings.server='mail.mydomain.com:26'
mail.settings.login=None or 'usern...@mydomain.com:password'
#specify address to send as
mail.settings.sender='u
14, 11:32 am, Igor Gassko wrote:
>
>
>
> > I tried using this one earlier in order to install MySQL driver from
> > sources distribution (version 1.2.3c1), but it crashed during the
> > install (all sorts of build errors, I didn't figure what went worng).
> > I h
2py from source, which means that you
> have python installed on your system.
>
> See here on how to setup
> setuptools/easy_install:http://pypi.python.org/pypi/setuptools
>
> And then use easy_install to install MySQL-python.
>
> -rppowell
>
> On Mar 13, 12:59 pm,
p:http://stackoverflow.com/questions/645943/mysql-for-python-in-windows
>
> On Mar 13, 2:59 pm, Igor Gassko wrote:
>
>
>
> > Hello,
>
> > I have set up web2py source distribution on Windows 7 x64 with Python
> > 2.6. This distribution comes without preinst
Hello,
I have set up web2py source distribution on Windows 7 x64 with Python
2.6. This distribution comes without preinstalled MySQL driver. I
followed the instructions found here:
http://www.web2py.com/AlterEgo/default/show/133
by creating a folder structure %web2py\Lib\site-packages and placing
This is relevant only for those who run web2py server (from compiled
distributions) under windows.
It's impossible to import modules residing on network share specified
by UNC path notation (for examlpe \\server\web2py), even if they
reside in the same folder tree as the server itself.
The reason f
There're no free ports by default (due to security considerations, as
they claim), you'll need to contact the customer service and request
them to open the needed port for listening to inbound connections.
They should agree.
I had requested that for port 8000, and they opened it for me.
On Mar 1,
Done :-)
http://www.web2pyslices.com/main/slices/take_slice/72
On Mar 10, 1:08 am, Kuba Kucharski wrote:
> could you, please, make a slice with both web2py and flex code?
> @http://www.web2pyslices.com/
> it would be useful since there is a few flex specialists to answer
> these questions here
tination="mydomain"
showBusyCursor="true">
--
Massimo, thanks for your answers and sorry for trouble!
On Mar 10, 12:29 am, Igor Gassko wrote:
> I've debugged Flex for a while and found out that
> "Service.ResourceNotFound" comes over fro
some useful info.
>
> massimo
>
> On Mar 9, 3:39 pm, Igor Gassko wrote:
>
>
>
> > I embedded it right into the library.zip of web2py by openning .egg
> > package and using its pyamf folder. I'm quite sure that pyamf is being
> > imported, because before I
I've debugged Flex for a while and found out that
"Service.ResourceNotFound" comes over from the server.
Since I don't have a clue how to debug web2py, I just dig in pyamf
sources untill I found out that Service.ResourceNotFound is a string
message of UnknownServiceError which is raised in
\pyamf\r
I embedded it right into the library.zip of web2py by openning .egg
package and using its pyamf folder. I'm quite sure that pyamf is being
imported, because before I did this trick I was getting "no module
named pyamf" error. I also tried using the source version (by
appending it directly to app.pa
15 matches
Mail list logo