This is correct?
from gluon.validators import CRYPT
password = CRYPT()(str(self.db.auth_user.password.validate(password)[0]))[0]
Em terça-feira, 7 de maio de 2013 17h31min58s UTC-3, Dirk escreveu:
>
> json.loads() returns a unicode string which
>
> *db.auth_user.password.validate() doesn't like
unable to create application "qq"
Traceback (most recent call last):
File "/opt/web-apps/web2py/gluon/admin.py", line 179, in app_create
os.mkdir(path)
OSError: [Errno 13] Permission denied: '/opt/web-apps/web2py/applications/qq'
I can not create applications on Fedora. installed under apac
Thank you.
Igor Rafael
On Fri, Sep 14, 2012 at 12:12 AM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> admin is readonly on GAE. GAE has a readonly file system. You have to
> create apps locally and then deploy them.
>
>
> On Thursday, 13 September 2012 21:10:
I'm using the web2py 2.0.8 and had the same problem.
The suggested workaround worked.
However when I try to create a new app through the admin interface I get
the following message:
unable to create application "test"Traceback (most recent call last):
File "/opt/web2pytests/gluon/admin.py", li
Mama mia
There's only one word to describe Web2Py: Amazing!!! :D
Thank you all folks!!!
Igor
Em quinta-feira, 30 de agosto de 2012 00h41min34s UTC-3, Massimo Di Pierro
escreveu:
>
> After 5 months. It is done. This is the most waited and the most
> feature-packed release.
Any progress on this feature?
This could be really nice.
@Ray (a.k.a. Iceberg):
Very useful information. Thanks!
one to /default
I don't know if it was the best solution, but I could create my own
routes like:
-> home
/posts/ - show the posts using Slugs
/dashboard - call my dashboard and the methods associated
etc...
Regards,
Igor
Ps: Sorry for my bad english...
On 3 fev, 23:19, Plumo wrot
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
case (otherwise why using Windows anyway :-)).
Nevertheless, thanks for your help!
On Mar 14, 12:13 am, rppowell wrote:
> Hello Igor;
>
> Please note that I don't work with 64-bit systems, but I'll try to
> help you get MySQL-python working.
>
> You say that you are using web
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
23 matches
Mail list logo