[web2py] Re: Error when Inserting a new user programmatically with web2py, v2.4.6, TypeError: character mapping

2014-03-20 Thread Igor Miranda
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

[web2py] unable to create application on Fedora

2013-02-24 Thread Igor Stankevich
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

Re: [web2py] Using GAE Launcher - a beginner's question

2012-09-14 Thread Igor Rafael
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:

Re: [web2py] Using GAE Launcher - a beginner's question

2012-09-13 Thread Igor Rafael
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

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Igor Hercowitz
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.

[web2py] Re: db events trigger

2011-10-27 Thread Igor
Any progress on this feature? This could be really nice.

[web2py] Re: file locations once web2py is deployed on fluxflex

2011-09-24 Thread Igor
@Ray (a.k.a. Iceberg): Very useful information. Thanks!

[web2py] Re: plugin_wiki routes.py

2011-02-04 Thread Igor Hercowitz
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

[web2py] Re: Choosing view from within controller - is it possible?

2010-05-18 Thread Igor Gassko
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

[web2py] Choosing view from within controller - is it possible?

2010-05-18 Thread Igor Gassko
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

[web2py] Re: MySQL server has gone away

2010-04-20 Thread Igor Gassko
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

[web2py] smtp error 550 (administrative prohibition) when trying to send mail using Mail.send() in tools.py

2010-04-13 Thread Igor Gassko
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

[web2py] Re: how to get MySQLdb working with web2py source distribution?

2010-03-14 Thread Igor Gassko
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

[web2py] Re: how to get MySQLdb working with web2py source distribution?

2010-03-14 Thread Igor Gassko
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

[web2py] Re: how to get MySQLdb working with web2py source distribution?

2010-03-14 Thread Igor Gassko
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

[web2py] how to get MySQLdb working with web2py source distribution?

2010-03-13 Thread Igor Gassko
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

[web2py] inablility to import modules on UNC path

2010-03-13 Thread Igor Gassko
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

[web2py] Re: web2py on hostmonster

2010-03-12 Thread Igor Gassko
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,

[web2py] Re: internal error in pyamf module when trying to invoke amfrpc service

2010-03-09 Thread Igor Gassko
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

[web2py] Re: internal error in pyamf module when trying to invoke amfrpc service

2010-03-09 Thread Igor Gassko
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

[web2py] Re: internal error in pyamf module when trying to invoke amfrpc service

2010-03-09 Thread Igor Gassko
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

[web2py] Re: internal error in pyamf module when trying to invoke amfrpc service

2010-03-09 Thread Igor Gassko
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

[web2py] Re: internal error in pyamf module when trying to invoke amfrpc service

2010-03-09 Thread Igor Gassko
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