Re: [web2py] New to web app development -- is web2py a good choice

2010-05-08 Thread Alexei Vinidiktov
wondering why the disparity. What you've seen on those sites is the façade. It's the work of graphic designers and not a merit of the underlying frameworks. That's what you see. I'm sure the same effect can be achieved with any web2py based website. You just need to hire a great graphic designer and usability expert. -- Alexei Vinidiktov

[web2py] Unicode characters problem (Dreamhost installation)

2010-04-04 Thread Alexei Vinidiktov
etizer.com/pyjamas It is also deployed on GAE and works fine here: http://web2pyapp.appspot.com/qooxdoo I also have a much older version of web2py deployed on Dreamhost. Unlike the new version it uses fastcgi and works as expected. Do you have any ideas as to why the newer version is misbehaving?

[web2py] Re: Unicode characters problem (Dreamhost installation)

2010-04-04 Thread Alexei Vinidiktov
eployed on GAE and works fine here: > http://web2pyapp.appspot.com/qooxdoo > > I also have a much older version of web2py deployed on Dreamhost. > Unlike the new version it uses fastcgi and works as expected. > > Do you have any ideas as to why the newer version is misbehaving? >

[web2py] Re: Unicode characters problem (Dreamhost installation)

2010-04-04 Thread Alexei Vinidiktov
me/alvinru/phonetizer.com/applications/welcome/models/db.py", line 15, in db = DAL('sqlite://storage.sqlite') # if not, use SQLite or other DB NameError: name 'DAL' is not defined In file: /home/alvinru/phonetizer.com/applications/welcome/models/db.py 2010/4/4 Alexei Vi

Re: [web2py] Re: Unicode characters problem (Dreamhost installation)

2010-04-04 Thread Alexei Vinidiktov
y (see my second message). I guess something went wrong on Dreamhost's end (or rather I did something wrong), but I can't think of what it may be. I wonder where I should look. 2010/4/5 mdipierro : > where d you get it. I do not think this is a new version. > > On Apr 4, 10:02 a

Re: [web2py] Re: Unicode characters problem (Dreamhost installation)

2010-04-05 Thread Alexei Vinidiktov
error, as if one of the system files were > corrupted. > I would remover everything web2py re-unzip it and copy your > applications back in applications. > > Massimo > > On Apr 4, 7:28 pm, Alexei Vinidiktov > wrote: >> I got it from web2py.com. I'm sure that I&#

Re: [web2py] Re: Unicode characters problem (Dreamhost installation)

2010-04-05 Thread Alexei Vinidiktov
isted in a much older version of web2py 1.39. 2010/4/5 Alexei Vinidiktov : > I just tried copying a working copy of web2py 1.76.5 from my Windows > machine to my Dreamhost VPS account, but it didn't solve the problem. > I'm still getting the same ticket about DAL not being define

Re: [web2py] Re: Unicode characters problem (Dreamhost installation)

2010-04-05 Thread Alexei Vinidiktov
2010/4/6 Yarko Tymciurak : > On Apr 5, 11:55 am, Yarko Tymciurak > wrote: >> On Apr 5, 3:23 am, Alexei Vinidiktov >> wrote: >> >> > I think I got it to work! I deleted the domain from the control panel >> > altogether and then readded it, and web2py 1

[web2py] Basic authentication question

2010-04-05 Thread Alexei Vinidiktov
n __request verbose=self.__verbose File "C:\Users\Alexei\Documents\wxPython\Boa\xml_rpc_test\Frame1.py", line 185 , in request headers xmlrpclib.ProtocolError: I'm obviously doing something wrong. Could you point me in the right direction? Thanks. -- Alexei Vinidiktov

Re: [web2py] Re: Basic authentication question

2010-04-05 Thread Alexei Vinidiktov
Thanks a lot, Massimo! It worked! On Tue, Apr 6, 2010 at 10:36 AM, mdipierro wrote: > you need in db.py > > auth.settings.allow_basic_login = True > > it defaults to False > > > On Apr 5, 9:21 pm, Alexei Vinidiktov > wrote: >> Hello, >> >> I'm

Re: [web2py] Re: Basic authentication question

2010-04-05 Thread Alexei Vinidiktov
people are using but should be solid. > > Massimo > > On Apr 5, 9:44 pm, Alexei Vinidiktov > wrote: >> Thanks a lot, Massimo! It worked! >> >> >> >> On Tue, Apr 6, 2010 at 10:36 AM, mdipierro wrote: >> > you need in db.py >> >> &g

Re: [web2py] Re: Basic authentication question

2010-04-05 Thread Alexei Vinidiktov
nd appy the additional decorator on top of auth.requires_login > > @catch303 > @auth.requires_login() > > Massimo > > On Apr 5, 10:50 pm, Alexei Vinidiktov > wrote: >> I just tried it with this json-rpc lib >> (http://www.desfrenes.com/python-json-rpc) ,

[web2py] Trouble starting web2py

2010-04-07 Thread Alexei Vinidiktov
__.py", line 238, in _default_decoder = JSONDecoder(encoding=None, object_hook=None) File "C:\Users\Alexei\Documents\web2py\web2py-1.76.5\gluon\contrib\simplejson\ decoder.py", line 322, in __init__ self.scan_once = make_scanner(self) AttributeError: 'JSONDecode

Re: [web2py] Re: Trouble starting web2py

2010-04-07 Thread Alexei Vinidiktov
thon25\\lib\\site-packages\\Pythonwin', 'C:\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode', '../gluon', 'C:\\Users\\Alexei\\Documents\\web2py\\web2py-1.76.5\\site-packages'] On Thu, Apr 8, 2010 at 10:30 AM, mdipierro wrote: > Can you as web2py to print the sys.

Re: [web2py] Re: Trouble starting web2py

2010-04-07 Thread Alexei Vinidiktov
> c_encode_basestring_ascii > except ImportError: >    c_encode_basestring_ascii = None > try: >    from simplejson._speedups import make_encoder as c_make_encoder > except ImportError: >    c_make_encoder = None > > replace them with > > c_encode_basestring_ascii = None > c_make_enco

Re: [web2py] Re: Trouble starting web2py

2010-04-07 Thread Alexei Vinidiktov
path in sys.path: >    sys.path.append(path) > os.chdir(path) > > with > > if not path in sys.path: >    sys.path.insert(0,path) > os.chdir(path) > > I am not sure this will fix it either. > > On Apr 8, 12:11 am, Alexei Vinidiktov > wrote: >> Thanks, Massimo

[web2py] True or False in Mail

2010-10-25 Thread Alexei Vinidiktov
56068/sending-email-from-an-web2py-on-gae and here: http://faisal.altlimit.com/2010/08/sending-email-with-web2py-in-google-app.html -- Alexei Vinidiktov

Re: [web2py] Re: True or False in Mail

2010-10-25 Thread Alexei Vinidiktov
ion when > authenticating to the SMTP server. > > On Oct 25, 12:13 pm, Alexei Vinidiktov > wrote: > > Hello, > > > > When trying to figure out how to make mailing functionality work on GAE I > > came across a couple of posts where I found this line: > > > > ma

[web2py:23185] Re: more slides - must read

2009-06-03 Thread Alexei Vinidiktov
ic/cookbook2.pdf > --~--~-~--~~~---~--~~ -- Alexei Vinidiktov --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com T

[web2py:23186] Re: more slides - must read

2009-06-03 Thread Alexei Vinidiktov
static/cookbook2.pdf -- Alexei Vinidiktov --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from

[web2py:23187] Re: more slides - must read

2009-06-03 Thread Alexei Vinidiktov
give the record, ^ ^ decides whether the user ..." On Wed, Jun 3, 2009 at 11:52 AM, mdipierro wrote: > > http://www.web2py.com/examples/static/cookbook2.pdf -- Alexei Vinidiktov --~--~-~--~~~---~--~~ You received this message because you ar

[web2py:23190] Re: more slides - must read

2009-06-03 Thread Alexei Vinidiktov
wrote: > > http://www.web2py.com/examples/static/cookbook2.pdf -- Alexei Vinidiktov --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group,

[web2py:23192] Re: more slides - must read

2009-06-03 Thread Alexei Vinidiktov
should "Single server tricks" be "Single Server Tricks"? On Wed, Jun 3, 2009 at 11:52 AM, mdipierro wrote: > > http://www.web2py.com/examples/static/cookbook2.pdf > -- Alexei Vinidiktov --~--~-~--~~~---~--~~ You received this

[web2py:23245] Re: Authentication for services

2009-06-03 Thread Alexei Vinidiktov
authenication. >> >> > > Massimo >> >> > > On May 17, 8:14 pm, jcorbett wrote: >> >> > > > I love the service framework, however I am interested in being able to >> > > > authenticate users.  With json/jsonrpcthis shouldn'

[web2py:23311] RIAs, services and authentication

2009-06-04 Thread Alexei Vinidiktov
Hello, I'm wondering what is the best approach to authenticating users from within desktop apps or RIA apps written, for example, in Silverlight, Flex, GWT, pyjamas that communicate with web2py backends via rpc services. Thanks. -- Alexei Vinid

[web2py:23409] Re: RIAs, services and authentication

2009-06-06 Thread Alexei Vinidiktov
It has disadvantages > (need to check auth on each method, but should be easy with python > decoratorsà but at least I can use the same services with no > modification, whatever the message format (soap, json, xml, > anything...) or the transport layer. > > On Jun 5, 5:42 am, Alexei Vinid

[web2py:23412] Re: RIAs, services and authentication

2009-06-06 Thread Alexei Vinidiktov
gt;> >> Thanks. >> >> >> >> On Fri, Jun 5, 2009 at 6:01 PM, desfrenes wrote: >> >> > I use a token auth handle at the service level. It has disadvantages >> > (need to check auth on each method, but should be easy with python >> > decora

[web2py:23578] Re: new auth functions in trunk (basic, email/gmail, ldap)

2009-06-07 Thread Alexei Vinidiktov
aving your site, he/she may be reluctant to give them because he/she might be thinking "what if this site is phishing for my credentials to gmail?" What do you think? > > We will soon have an API like stack overflow does. > That's great to hear! -- Alexei Vinidiktov --~

[web2py:24673] Connect to Firebird

2009-06-21 Thread Alexei Vinidiktov
fdb', user='sysdba', password='password' ) I'm using CentOS 5.2 with Python 2.5.4, Firebird 2.1.2 Super Server and the latest version of web2py. I'd be grateful for any clues as to what might be happening. -- Alexei Vinidiktov --~--~-~--~~-

[web2py:24684] Re: Connect to Firebird

2009-06-21 Thread Alexei Vinidiktov
ad. It seems some version is Firbird do not like > setting the default encoding to UTF8. > > db = SQLDB('firebird://sysdba:passw...@localhost/employee.fd? > set_encoding=None') > > > On Jun 21, 9:54 pm, Alexei Vinidiktov > wrote: >> Hello, >> >>

[web2py:24687] Re: Connect to Firebird

2009-06-21 Thread Alexei Vinidiktov
e = -104 Token unknown - line 6, column 2 password\')' On Mon, Jun 22, 2009 at 2:08 PM, Alexei Vinidiktov wrote: > Now I receive an error message that says: > > "'isc_attach_database:   I/O error for file "employee.fdb?set_encoding=None" >  Error while t

[web2py:24690] Re: Connect to Firebird

2009-06-22 Thread Alexei Vinidiktov
I think there's something wrong with my Firebird installation, it must be incorrectly built or configured. Even from the Python command line interpreter I keep getting similar errors when executing sql commands... On Mon, Jun 22, 2009 at 2:58 PM, Alexei Vinidiktov wrote: > I'

[web2py:24691] Re: Connect to Firebird

2009-06-22 Thread Alexei Vinidiktov
mmit() So the question remains why web2py gives me errors... On Mon, Jun 22, 2009 at 6:37 PM, Alexei Vinidiktov wrote: > I think there's something wrong with my Firebird installation, it must > be incorrectly built or configured. > > Even from the Python command line interpreter

[web2py:24693] Re: Connect to Firebird

2009-06-22 Thread Alexei Vinidiktov
do to narrow down the scope of the problem? On Mon, Jun 22, 2009 at 6:54 PM, Alexei Vinidiktov wrote: > I think I spoke too soon. It may be configured correctly. > > I have successfully retrieved data from the database using a select > command via command line Python like this: > > imp

[web2py:24707] Re: Connect to Firebird

2009-06-22 Thread Alexei Vinidiktov
ke this: >> >> db = SQLDB('firebird://sysdba:passw...@localhost/employee.fdb') >> >> I can successfully connect to the same database from the command line: >> >> import kinterbasedb >> con = kinterbasdb.connect( >>     host='localhost',

[web2py:24748] Re: Connect to Firebird

2009-06-22 Thread Alexei Vinidiktov
ing=None > > should have the effect of not running "SET NAMES" > > The other problem you have is that "password' cannot be used a field > name by auth because it is a reserved in firebird. > >   auth.settings.password_field='password2' > > befor

[web2py:24752] Re: Connect to Firebird

2009-06-22 Thread Alexei Vinidiktov
My "regexfu" is pretty bad, but I'll try. On Tue, Jun 23, 2009 at 9:38 AM, mdipierro wrote: > > Can you help me debug why? Perhaps there is a typo in the regex? > > Massimo > > On Jun 22, 8:23 pm, Alexei Vinidiktov > wrote: >> Thanks, Massimo! >>

[web2py:24772] Re: Connect to Firebird

2009-06-23 Thread Alexei Vinidiktov
don't have to do with connecting to Firbird. I'll post then in separate threads. On Tue, Jun 23, 2009 at 9:38 AM, mdipierro wrote: > > Can you help me debug why? Perhaps there is a typo in the regex? > > Massimo > > On Jun 22, 8:23 pm, Alexei Vinidiktov > wrote: >

[web2py:24773] Re: Connect to Firebird

2009-06-23 Thread Alexei Vinidiktov
On Tue, Jun 23, 2009 at 10:08 AM, Jose wrote: > > > > On 22 jun, 22:23, Alexei Vinidiktov > wrote: >> Thanks, Massimo! >> >> The auth.settings.password_field='password2' thing did the trick! >> >> I'm afraid the '?set_encoding=No

[web2py:24799] Re: Connect to Firebird

2009-06-23 Thread Alexei Vinidiktov
#x27;t tested the trunk version yet), then it should replace SET NAMES. I'm pretty new to Firebird, so an expert opinion is in order. On Tue, Jun 23, 2009 at 9:18 PM, mdipierro wrote: > > should we leave the SET NAMES of leave the "connect(...charset)" as in > trunk now? > &

[web2py:24800] Firebird migrations

2009-06-23 Thread Alexei Vinidiktov
t.ru/gluon/sql.py", line 864, in self._execute = lambda *a, **b: self._cursor.execute(*a, **b) ProgrammingError: (-206, \'isc_dsql_prepare: \ Dynamic SQL Error\ SQL error code = -206\ Column unknown\ TASK__TMP\ At line 1, column 17\')' Am I doing anything wrong? Th

[web2py:24807] Re: Firebird migrations

2009-06-23 Thread Alexei Vinidiktov
:33.738081 ALTER TABLE todo ADD task__tmp VARCHAR(256); success! UPDATE todo SET task__tmp=task; On Wed, Jun 24, 2009 at 1:05 AM, mdipierro wrote: > > what is in sql.log? > > > On Jun 23, 11:53 am, Alexei Vinidiktov > wrote: >> Hello, >> >> After successfully connect

[web2py:24810] Re: Connect to Firebird

2009-06-23 Thread Alexei Vinidiktov
't >> tested the trunk version yet), then it should replace SET NAMES. > > It is not obvious to me that they are equivalent. Are they? > > Massimo > > > -- Alexei Vinidiktov --~--~-~--~~~---~--~~ You received this message beca

[web2py:24897] Firebird: welcome application registration page

2009-06-24 Thread Alexei Vinidiktov
ryError' That was on CentOS, which is a VPS with only 256 Mb RAM. When I tried to do the same thing on Windows (1 Gb RAM), loading the registration page resulted in the Python process eating up more and more RAM and never stopping. I had to kill the Python process from the Task Manager. --

[web2py:24909] Re: Firebird: welcome application registration page

2009-06-24 Thread Alexei Vinidiktov
sword_field='password2' in the wrong place? Did I have to add anything else? On Thu, Jun 25, 2009 at 3:12 AM, mdipierro wrote: > > Let's isolate the problem. does it have to do with firebird or do you > have the same problem with sqlite also? > > Massimo > > On J

[web2py:24911] Re: Firebird: welcome application registration page

2009-06-24 Thread Alexei Vinidiktov
I tried changing the password field's name to a name which didn't contain the 'password' substring and I could successfully load the registration page using both sqlite and Firebird. I wonder why 'password2' didn't work. On Thu, Jun 25, 2009 at 3:51 AM, Alex

[web2py:24944] Re: Firebird: welcome application registration page

2009-06-24 Thread Alexei Vinidiktov
ested that. I did not because I do not have firebird installed. > > On Jun 24, 3:28 pm, Alexei Vinidiktov > wrote: >> I tried changing the password field's name to a name which didn't >> contain the 'password' substring and I could successfully load the >>

[web2py:24959] Re: Firebird: welcome application registration page

2009-06-24 Thread Alexei Vinidiktov
un 24, 11:30 pm, mdipierro wrote: >> Yes, there is a bug. I will fix it tomorrow morning. >> >> Massimo >> >> On Jun 24, 10:35 pm, mdipierro wrote: >> >> > than it must be a web2py bug. Perhaps I left a "password" hardcoded >> > som

[web2py:25070] Re: amf-rpc and Flex 3

2009-06-27 Thread Alexei Vinidiktov
an example of NetConnection >> > was:http://groups.google.com/group/web2py/browse_thread/thread/1c6f94c269... >> >> > Thanks, >> > Rob Lund > > > -- Alexei Vinidiktov --~--~-~--~~~---~--~~ You received this message be

[web2py:25071] Re: amf-rpc and Flex 3

2009-06-27 Thread Alexei Vinidiktov
> > to the top. I am interested in seeing any examples people have. Has >>> > anybody successfully implemented @service.amfrpc and used a >>> > mx:RemoteObject on the flex side? I was able to get @service.amfrpc >>> > working

[web2py:25383] Re: web2py on apache with fastcgi

2009-06-30 Thread Alexei Vinidiktov
> > bye, > giovanni Here's how I've done it on Linux: 1. I installed the flup Python module. 2. Added the files .htaccess and fcgihandler.py to the root of my web2py installation (see attachment) 3. Made fcgihandler.py executable (may not be necessary on Windows) That's it.

[web2py:25392] Re: web2py on apache with fastcgi

2009-06-30 Thread Alexei Vinidiktov
-- Forwarded message -- > From: Alexei Vinidiktov > Date: Jun 30, 10:42 pm > Subject: web2py on apache with fastcgi > To: web2py Web Framework > > > On Tue, Jun 30, 2009 at 10:38 PM, giohappy wrote: > >> Hello people. I'm quite new both to fastcgi a

[web2py:25390] Re: web2py on apache with fastcgi

2009-06-30 Thread Alexei Vinidiktov
On Wed, Jul 1, 2009 at 11:42 AM, Alexei Vinidiktov wrote: > On Tue, Jun 30, 2009 at 10:38 PM, giohappy wrote: >> >> Hello people. I'm quite new both to fastcgi and web2py, as in the only >> occasions I've used python for web I've adopted mod_python (before

[web2py:25465] Re: web2py on apache with fastcgi

2009-07-01 Thread Alexei Vinidiktov
your method. > I already had found the cited AlterEgo page traces on google, but > trying to access it result in an Internal Error. > > giovanni > > On 1 Lug, 07:16, Alexei Vinidiktov > wrote: >> Actually, it's already kind of on AlterEgo. >> >> I use

[web2py:25478] Re: Feature IDEA: Auto Deploy Web2py Apps

2009-07-02 Thread Alexei Vinidiktov
er on > a USB stick do develop the next version of the website on.  When I get > it stable and I'm ready to update it, I use rsync to move the changes > to the production server and it's done! What databae do you use? How do you handle migrations? Do you let web2py do

[web2py:27496] Re: interesting :)

2009-07-28 Thread Alexei Vinidiktov
s > with an error that SL>2 is needed, I have ML1.0 > Have you tried with the preview of ML 2.0? I haven't tried it myselt yet. http://go-mono.com/moonlight-preview/ -- Alexei Vinidiktov --~--~-~--~~~---~--~~ You received this message because you are su

[web2py:27875] Re: Hosting and Future

2009-08-02 Thread Alexei Vinidiktov
ready have a host. It has Python support but no >> > > > > SSH acces. However, is there a tutorial to set W2P on a host without >> > > > > SSH access? >> >> > > > Plenty:http://www.web2py.com/AlterEgo >> >> > > > What do you have avai

[web2py:29011] Re: Almost working on the dreamhost server... $50 to the person that can make this a script!

2009-08-20 Thread Alexei Vinidiktov
wsgihandler.py >> > > [redwings]$ less dispatch.fcgi >> > > [redwings]$ cat dispatch.fcgi >> > > #!/home/youruserhere/run/bin/python >> > > import sys >> > > from flup.server.fcgi_fork import WSGIServer >> > > import gluo

[web2py:29078] Re: Almost working on the dreamhost server... $50 to the person that can make this a script!

2009-08-21 Thread Alexei Vinidiktov
t 10:57 PM, mr.freeze wrote: > > It works for me using smtp.gmail.com:587.  Also, I have the web2py > examples running at http://safeasmilk.com/examples/default/index if > you want to take a look. > > > On Aug 20, 9:32 am, Alexei Vinidiktov > wrote: >> Does the Mail modul

[web2py:29136] Re: Almost working on the dreamhost server... $50 to the person that can make this a script!

2009-08-22 Thread Alexei Vinidiktov
What about 2.6. I read some time ago that web2py had issues with this version. Have they been resolved? On Sat, Aug 22, 2009 at 12:46 AM, mdipierro wrote: > > web2y should work with 2.4. Some apps that use specific 2.5 syntax may > need tweaking. > > On Aug 21, 3:53 am, Al

[web2py:32173] Re: Almost working on the dreamhost server... $50 to the person that can make this a script!

2009-10-03 Thread Alexei Vinidiktov
r reasons, this won't work as expected: >> >> os.system("source .bash_profile") >> >> >> Also, you're creating .bash, but sourcing .bash_profile. Is that what >> you intend? Suggestion: bind some of these literal strings to variable >> nam

[web2py:32174] Re: Almost working on the dreamhost server... $50 to the person that can make this a script!

2009-10-03 Thread Alexei Vinidiktov
Sorry for the noise, Thadeus. I got it working. I used this tutorial: http://www.web2pyslices.com/main/slices/take_slice/1 On Sun, Oct 4, 2009 at 11:23 AM, Alexei Vinidiktov wrote: > Thadeus, I've set up my domain to use Passenger, set the web directory > to /home/username/pho

[web2py:18410] New record too long

2009-03-21 Thread Alexei Vinidiktov
s up to 20 characters can be added fine. Is it a web2py bug? If it is, can it be easily fixed? -- Alexei Vinidiktov --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to t

[web2py:18412] Re: New record too long

2009-03-21 Thread Alexei Vinidiktov
0\x97\xd0\xb8\xd0\xbc\xd0\xbd\xd0\xb8\xd0\xb9' > As you can see - 2-bytes per character ... > SQLField defaults are shown on p.138 - 'string', length=32 is default.   Try > that, see if that works for you. > Hope that helps. > Regards, > Yarko > 2009/3/21 Alexei V

[web2py:18416] Re: New record too long

2009-03-21 Thread Alexei Vinidiktov
.define_table( 'mytable', >      ... >      SQLField( 'something', length=charlen(32) ), >      ... > > > This may be a good pattern to use regardless...  what do you think? > > Regards, > Yarko > > > > 2009/3/21 Alexei Vinidiktov >> >

[web2py:18418] Re: New record too long

2009-03-21 Thread Alexei Vinidiktov
sions at all if > possible (leave it to the database or the browser). > > On Mar 21, 10:28 am, Alexei Vinidiktov > wrote: >> Hi Yarko, >> >> Thanks for your help. >> >> I've tried setting the name field length to 32, and it worked fine >> with a na

[web2py:18424] Re: New record too long

2009-03-21 Thread Alexei Vinidiktov
r('aa') > Out[3]: ('aa', 'too long!') > > In [4]: validator('á') > Out[4]: ('\xc3\xa1', 'too long!') > > In [5]: validator('á'.decode('utf-8')) > Out[5]: (u

[web2py:18445] Re: New record too long

2009-03-22 Thread Alexei Vinidiktov
22 марта 2009 г. 1:45 пользователь Yarko Tymciurak написал: > 2009/3/21 Alexei Vinidiktov >> >> The thing is the project that I'm intending to use web2py for is a web >> application for language learners, and I need to be sure that as many >> languages as possi

[web2py:19966] amf-rpc and Flex 3

2009-04-18 Thread Alexei Vinidiktov
;> http://localhost:8000/rpc/default/call/amfrpc";> Thanks. -- Alexei Vinidiktov --~--~-~--~~---

[web2py:19986] pyjamas example updated

2009-04-18 Thread Alexei Vinidiktov
refactored the web2py code to account for the fact that web2py now has its own json-rpc implementation. -- Alexei Vinidiktov --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. T

[web2py:20191] Re: web2py + pyjamas

2009-04-21 Thread Alexei Vinidiktov
rected the syntax errors and few other errors suggested > in the mailing list > http://groups.google.com/group/web2py/browse_thread/thread/9bb107c2fbd1a34b?hl=en# > >    But still when I'm trying to build TodoApp.py using pyjamas, I'm > getting errors. Please help me

[web2py:20193] Re: Compliments

2009-04-21 Thread Alexei Vinidiktov
ot find enough > qualified people. [...] -- Alexei Vinidiktov --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsu

[web2py:20484] Auth works on local host, doesn't work on remote server

2009-04-24 Thread Alexei Vinidiktov
y local machine is a WinXP box, the remote server is on a Linux distro. Thanks. -- Alexei Vinidiktov --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send em

[web2py:20491] Re: Auth works on local host, doesn't work on remote server

2009-04-25 Thread Alexei Vinidiktov
On Sat, Apr 25, 2009 at 2:30 PM, Alexei Vinidiktov wrote: > Hello, > > I'm beginning to learn user authentication. I've implemented a very > basic authentication using the Auth module that works fine on my local > machine: I can register a user, a confirmation email is

[web2py:20524] Re: Auth works on local host, doesn't work on remote server

2009-04-25 Thread Alexei Vinidiktov
On Sat, Apr 25, 2009 at 6:32 PM, Alexei Vinidiktov wrote: > On Sat, Apr 25, 2009 at 2:30 PM, Alexei Vinidiktov > wrote: >> Hello, >> >> I'm beginning to learn user authentication. I've implemented a very >> basic authentication using the Auth module that

[web2py:20526] Re: Auth works on local host, doesn't work on remote server

2009-04-25 Thread Alexei Vinidiktov
On Sun, Apr 26, 2009 at 12:45 PM, Alexei Vinidiktov wrote: > On Sat, Apr 25, 2009 at 6:32 PM, Alexei Vinidiktov > wrote: >> On Sat, Apr 25, 2009 at 2:30 PM, Alexei Vinidiktov >> wrote: >>> Hello, >>> >>> I'm beginning to learn user

[web2py:20544] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread Alexei Vinidiktov
smtp server, cold > be a firewall issue. > > Massimo > > On Apr 25, 11:52 pm, Alexei Vinidiktov > wrote: >> On Sun, Apr 26, 2009 at 12:45 PM, Alexei Vinidiktov >> >> >> >> wrote: >> > On Sat, Apr 25, 2009 at 6:32 PM, Alexei Vinidiktov >

[web2py:20546] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread Alexei Vinidiktov
nn = smtplib.SMTP('mail.mydomain.com') loginres = conn.login('ale...@mydomain.com', 'password') conn.sendmail('ale...@mydomain.com', 'ale...@mydomain.ru', 'sendmail2') conn.quit() return dict(loginres=loginres) On Mon, Apr

[web2py:20548] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread Alexei Vinidiktov
word') >     conn.sendmail('ale...@mydomain.com', 'ale...@mydomain.ru', > 'sendmail2') >     conn.quit() >     return dict(loginres=loginres) > > Can you try this? > >     conn.ehlo() >     conn.starttls() >     conn.ehlo() > >

[web2py:20553] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread Alexei Vinidiktov
aee-603da176ad49 Are there any settings of the Auth module that I've missed? Thanks. On Mon, Apr 27, 2009 at 2:14 AM, Alexei Vinidiktov wrote: > I've almost nailed it. > > I didn't implement the sendmail3 action, but I did something similar. > I've looked at t

[web2py:20554] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread Alexei Vinidiktov
t; Massimo > > On 26 Apr, 13:14, Alexei Vinidiktov > wrote: >> I've almost nailed it. >> >> I didn't implement the sendmail3 action, but I did something similar. >> I've looked at the implementation of the mail method of the Mail class >>

[web2py:20559] Re: Auth works on local host, doesn't work on remote server

2009-04-26 Thread Alexei Vinidiktov
On Mon, Apr 27, 2009 at 3:15 AM, Álvaro Justen [Turicas] wrote: > > On Sun, Apr 26, 2009 at 3:50 PM, Alexei Vinidiktov > wrote: >> Both on the local and remote server the user who's being registered >> gets an email with a broken link like this: >> >

[web2py:20597] Re: web2py on GAE info is posted on new T3 app deployed at http://futurelogic1.appspot.com/

2009-04-26 Thread Alexei Vinidiktov
26 Apr, 21:13, dlypka wrote: >> The link ishttp://futurelogic1.appspot.com/ >> >> On Apr 26, 9:56 pm, dlypka wrote: >> >> > I used T3 to rapidly deploy some of my (limited) web2py on GAE >> > knowledge. >> >> > I hope the community fi

[web2py:20830] Re: new feature in trunk... (gmail authentication)

2009-04-29 Thread Alexei Vinidiktov
ls from a valid gmail.com > account, the system will automatically register you and let you in. > > I do not know if it works on GAE too. Could somebody try it? > > I am also trying to add support for google openid > > Massimo -- Alexei Vinidiktov --~--~-~--~--

[web2py:20832] Re: new feature in trunk... (gmail authentication)

2009-04-29 Thread Alexei Vinidiktov
in. I fixed it. sorry. > > On 29 Apr, 12:48, Alexei Vinidiktov > wrote: >> When I tried to login  (from localhost) with my gmail.com credentials >> I got this ticket: >> >> Error traceback >> >> Traceback (most recent call last): >>   File "

[web2py:20855] Re: new feature in trunk... (gmail authentication)

2009-04-29 Thread Alexei Vinidiktov
orward to. >> >> >> >> On Thu, Apr 30, 2009 at 2:04 AM, mdipierro wrote: >> >> > please try again. I fixed it. sorry. >> >> > On 29 Apr, 12:48, Alexei Vinidiktov >> > wrote: >> >> When I tried to login  (from localhost) with m

[web2py:23021] Re: if you care about web2py...

2009-06-01 Thread Alexei Vinidiktov
Done. -- Alexei Vinidiktov --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, sen

[web2py] GAE error (INSERT INTO auth_event fails)

2012-07-11 Thread Alexei Vinidiktov
x8c 2 \xd0\xb2\xd0\xbe\xd1\x88\xd1\x91\xd0\xbb','2012-07-12 06:20:04','95.190.89.149');" has type str, but isn't in 7-bit ASCII encoding. Non-ASCII strings must be converted to unicode objects before being added. 6. I 2012-07-11 23:20:11.862 Saved; key: __appstats__:004800, part: 134 bytes, full: 52828 bytes, overhead: 0.003 + 0.014; link: http://www.vocabilis-net.appspot.com/_ah/stats/details?time=1342074004806 -- Alexei Vinidiktov

[web2py] Re: GAE error (INSERT INTO auth_event fails)

2012-07-11 Thread Alexei Vinidiktov
Sorry, forgot to mention that I'm using Python 2.7 and web2py 1.99.7 on GAE . On Thu, Jul 12, 2012 at 1:41 PM, Alexei Vinidiktov < alexei.vinidik...@gmail.com> wrote: > Hello, > > I'm receiving this error when trying to log in to my application: > > ValueError: &q

[web2py] Re: GAE error (INSERT INTO auth_event fails)

2012-07-12 Thread Alexei Vinidiktov
when using any other browsers that I've tested (Chrome, Internet Explorer, Opera). On Thu, Jul 12, 2012 at 1:57 PM, Alexei Vinidiktov < alexei.vinidik...@gmail.com> wrote: > Sorry, forgot to mention that I'm using Python 2.7 and web2py 1.99.7 on > GAE . > > > On T

[web2py] Submitting Non-ASCII characters in GAE fails (was GAE error (INSERT INTO auth_event fails))

2012-07-12 Thread Alexei Vinidiktov
gle/protobuf/pyext/python-proto2.cc?r=395 Haven't found the same error message anywhere else. On Thu, Jul 12, 2012 at 2:57 PM, Alexei Vinidiktov < alexei.vinidik...@gmail.com> wrote: > I now have some additional information. > > This error only occurs when using Firefox (I have

Re: [web2py] Re: GAE error (INSERT INTO auth_event fails)

2012-07-12 Thread Alexei Vinidiktov
Done, The ticket is here: http://code.google.com/p/web2py/issues/detail?id=887&start=100 On Thu, Jul 12, 2012 at 11:23 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Please open a ticket about this. > > > On Thursday, 12 July 2012 01:41:31 UTC-5, A

Re: [web2py] To uuid or not?

2012-07-14 Thread Alexei Vinidiktov
On Monday, May 14, 2012 7:58:57 PM UTC+7, Ross Peoples wrote: > > Some databases allow you to temporarily turn off auto-generating IDs so > that you can import a table keeping its original IDs intact. I wrote a > database abstraction layer a few years back for another project that > specifical

[web2py] GAE Cloud SQL local dev server problem

2012-08-03 Thread Alexei Vinidiktov
response) File "C:\Users\alexei\Dev\web2py\vocabilis.net\gluon\globals.py", line 561, in _try_store_in_db record_id = table.insert(**dd) File "C:\Users\alexei\Dev\web2py\vocabilis.net\gluon\dal.py", line 6829, in insert return self._db._adapter.insert(self,self._listify(fields)) File "C:\Users\alexei\Dev\web2py\vocabilis.net\gluon\dal.py", line 928, in insert raise e ProgrammingError: (1146, "Table 'vocabilis3.web2py_session_vocabilis' doesn't exist") ### So the application appears to be unable to create the session table. I'm running Windows, Python 2.7, web2py 1.99.7, MySQL 5.5 -- Alexei Vinidiktov --

[web2py] Re: GAE Cloud SQL local dev server problem

2012-08-04 Thread Alexei Vinidiktov
On Sat, Aug 4, 2012 at 1:56 PM, Alexei Vinidiktov < alexei.vinidik...@gmail.com> wrote: > Hello, > > I'm need hep figuring out how to set up a local GAE development server > with MySQL. > > MySQL connection parameters are specified via App Launcher application

Re: [web2py] Re: GAE Cloud SQL local dev server problem

2012-08-05 Thread Alexei Vinidiktov
M, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Can you show your complete connection string (masking any password of > course)? > > > On Saturday, 4 August 2012 02:11:30 UTC-5, Alexei Vinidiktov wrote: >> >> >> >> On Sat, Aug 4, 2012 at 1:56

Re: [web2py] web2py 2.0 almost done

2012-08-07 Thread Alexei Vinidiktov
Di Pierro < massimo.dipie...@gmail.com> wrote: > Web2py 2.0 is almost done. > Please try the nightly build. > Let us know if it breaks anything. > > massimo > > -- > > > > -- Alexei Vinidiktov --

Re: [web2py] Re: Appengine CPU cycles

2012-08-07 Thread Alexei Vinidiktov
rote: >>>>>>>> >>>>>>>> Pre compiled by the admin interface? Not yet, is there some impove >>>>>>>> with the precompiled code? >>>>>>>> >>>>>>>> On Mon, Aug 6, 2012 at 3:16 PM, Derek wrote: >>>>>>>> >>>>>>>>> Have you compiled your app? >>>>>>>>> >>>>>>>>> On Monday, August 6, 2012 10:46:33 AM UTC-7, Felipe Meirelles >>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> I'm using web2py in a project that stands on top of a REST api. >>>>>>>>>> The project is write intensive (around 110k requests a day, with all >>>>>>>>>> the >>>>>>>>>> requests making at least 2 updates to the datastore). >>>>>>>>>> All my requests seems to uso at least 200 cpu_ms (even dummy >>>>>>>>>> requests that only places a item on the queue to be processeced >>>>>>>>>> later). Is >>>>>>>>>> this behaviour right? I used to get around 20 cpu_ms while using >>>>>>>>>> django >>>>>>>>>> with the same application (I'm currently re-writing it on web2py). >>>>>>>>>> Is there some way to optimize web2py for a appengine deploy (I >>>>>>>>>> already followed all the documentation) >>>>>>>>>> >>>>>>>>>> Thanks! >>>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Att, >>>>>>>> Felipe Meirelles. >>>>>>>> >>>>>>>> -- >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> -- > > > > -- Alexei Vinidiktov --

[web2py] Re: GAE - SQL cloud connection

2012-08-07 Thread Alexei Vinidiktov
The problem still exists in the latest nightly build. Without this modification (changing the field length to 128) launching web2py on the remote GAE server gives me the error: DatabaseError: 1071: Specified key was too long; max key length is 767 bytes The whole traceback is as follows: Trac

Re: [web2py] Re: GAE Cloud SQL local dev server problem

2012-08-08 Thread Alexei Vinidiktov
The problem is still not resolved in trunk. On Mon, Aug 6, 2012 at 12:56 PM, Alexei Vinidiktov < alexei.vinidik...@gmail.com> wrote: > Here it is: db = DAL('google:sql://vocabilisproject:vocabilis/vocabilis') > > I pass the password and the user name via App Launcher par

  1   2   >