Re: [web2py] Re: LOAD in py4web

2022-02-06 Thread Alexei Vinidiktov
Have you managed to make a welcome template based on Unpoly? On Wednesday, March 4, 2020 at 8:37:51 PM UTC+7 yamand...@gmail.com wrote: > Sorry for the typo. > I want to make a welcome template based on unpoly soon. > > Em sex., 28 de fev. de 2020 às 04:21, AGRogers > escreveu: > >> https://unp

[web2py] Re: 2to3

2020-12-25 Thread Alexei Vinidiktov
What are the benefits of porting to py4web? I use json-rpc2 extensively in my web2py app. Does py4web support json-rpc2 (or other rpc services) out of the box the way web2py does? Does it support jwt authentication the way web2py does? Is py4web stable and mature enough to consider switching?

[web2py] RestAPI: how to restrict query results to data belonging to logged in user?

2020-05-23 Thread Alexei Vinidiktov
Hello, How can I restrict access via RestAPI for the user such that they can only get their own records (those that have the field user_id matching their user id)? For example, I have a a table named 'collections' that has a 'user_id' field, and I want my users to get only the collections that

[web2py] Re: pyDAL looks abandoned?

2020-05-19 Thread Alexei Vinidiktov
I was having the same issue with Firebird. I recently found your ticket on github and your fix worked for me too. I saw the other day that your fix was finally merged. I just wonder when the next version of pyDal will be released. On Wednesday, May 13, 2020 at 10:33:45 PM UTC+7, villas wrote: >

Re: [web2py] Re: authapi.py

2020-05-19 Thread Alexei Vinidiktov
I was having the same problem with the latest web2py version (2.20.4) but it had worked fine with an earlier version of web2py (2.16.1). To make it work, I had to remove lines 1315 and 1316 in gluon/tools.py. if token is None: raise HTTP(400, 'JWT header not found and JWT parameter {} missing in

[web2py] web2py in Chrome extension

2020-03-02 Thread Alexei Vinidiktov
Hello, I'm planning on creating a Chrome extension that will allow the user to clip web pages or parts of them and save the clips in a web2py app. Is it possible to create such an extension? Will it be able to communicate with the web2py app? I would preferably use json-rpc for communication,

Re: [web2py] registration is pending in py4web

2019-07-27 Thread Alexei Vinidiktov
web2py/ccb7a7b8-2152-4c98-aee6-d9885213dbe6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Alexei Vinidiktov -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web

Re: [web2py] Re: Removing need for first and last name in auth

2016-12-09 Thread Alexei Vinidiktov
om this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Alexei Vinidiktov -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/

[web2py] Re: Removing need for first and last name in auth

2016-12-08 Thread Alexei Vinidiktov
I've added these lines, and now the fields are hidden both on the signup page and on the profile page. How can I make the fields hidden only on the signup page? I want the user to be able to add their name later on the profile page. On Monday, January 30, 2012 at 8:14:09 AM UTC+7, Massimo Di P

[web2py] Re: How to use Let's Encrypt with Web2Py on Apache

2016-07-10 Thread Alexei Vinidiktov
How did you do it? On Monday, March 7, 2016 at 2:23:18 AM UTC+7, Jacinto Parga wrote: > > It's ok. I have already solved it with routes.py and the error handler. > > Thanks anyway > > El sábado, 5 de marzo de 2016, 0:30:35 (UTC+1), Jacinto Parga escribió: >> >> How can routes.py be configured to

Re: [web2py] Re: Fixed issue 1422 introduced a bug in generic rss views?

2014-02-16 Thread Alexei Vinidiktov
I'm having the same issue with rss in my InstantPress powered blog. I think it has the same roots. I also replaced the saxutils.py file with the patched one and nothing changed. On Tuesday, June 4, 2013 1:53:03 PM UTC+7, Loïc wrote: > > Hello all, > Am I the only one having issues with generic

[web2py] Re: CAS login doesn't seem to work in web2py 2.8.2

2014-02-16 Thread Alexei Vinidiktov
Filed a bug report https://code.google.com/p/web2py/issues/detail?id=1875&thanks=1875&ts=1392551348 On Sun, Feb 16, 2014 at 7:49 AM, Alexei Vinidiktov < alexei.vinidik...@gmail.com> wrote: > I think I've come across a bug, and a nasty one too. > > I'm try

Re: [web2py] Re: CAS provider and registration

2014-02-16 Thread Alexei Vinidiktov
egroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- Alexei Vinidiktov -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) -

[web2py] CAS login doesn't seem to work in web2py 2.8.2

2014-02-15 Thread Alexei Vinidiktov
ile "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 477, in open_local_file raise IOError(e.errno, e.strerror, e.filename) IOError: [Errno 2] No such file or directory: '/cas/default/user/cas/serviceValidate?service=http://

Re: [web2py] CAS Question

2014-02-14 Thread Alexei Vinidiktov
you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- Alexei Vi

Re: [web2py] Re: CAS provider and registration

2014-02-14 Thread Alexei Vinidiktov
n to >casclient > > > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@goo

Re: [web2py] Re: CAS provider and registration

2014-02-14 Thread Alexei Vinidiktov
; > > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more option

Re: [web2py] Re: Firebird migrations bug

2013-06-23 Thread Alexei Vinidiktov
June 2013 21:45:44 UTC-5, Alexei Vinidiktov wrote: > >> Any chance of anybody looking into it? >> >> On 20.06.2013, at 7:28, Alexei Vinidiktov wrote: >> >> Done: >> http://code.google.com/**p/web2py/issues/detail?id=1548<http://code.google.com/p/web2p

Re: [web2py] Re: Firebird migrations bug

2013-06-22 Thread Alexei Vinidiktov
Any chance of anybody looking into it? On 20.06.2013, at 7:28, Alexei Vinidiktov wrote: > Done: http://code.google.com/p/web2py/issues/detail?id=1548 > > > On Thu, Jun 20, 2013 at 4:24 AM, Niphlod wrote: >> open an issue so it doesn't get lostsounds definitevely l

Re: [web2py] Re: Firebird migrations bug

2013-06-19 Thread Alexei Vinidiktov
Done: http://code.google.com/p/web2py/issues/detail?id=1548 On Thu, Jun 20, 2013 at 4:24 AM, Niphlod wrote: > open an issue so it doesn't get lostsounds definitevely like a bug > > > On Wednesday, June 19, 2013 6:28:48 PM UTC+2, Alexei Vinidiktov wrote: >> &g

[web2py] Firebird migrations bug

2013-06-19 Thread Alexei Vinidiktov
bird 2.5 with the latest fdb driver. But I've come across the same bug on Windows too. To reproduce the bug define any table with a couple of columns, get web2py to create it. Then remove a column definition from from the table definition. I've tried fake_migrate but it doesn't s

Re: [web2py] Re: Tags output by Python in views problem

2013-06-15 Thread Alexei Vinidiktov
u're sure it's the exact same code? > > > On Saturday, June 15, 2013 10:06:30 PM UTC-4, Alexei Vinidiktov wrote: > >> Thank you, Anthony. It solves the problem. >> >> But I don't understand why I'm not seeing the escaping in my other >> setu

Re: [web2py] Re: Tags output by Python in views problem

2013-06-15 Thread Alexei Vinidiktov
; Anthony > > On Saturday, June 15, 2013 9:20:26 PM UTC-4, Alexei Vinidiktov wrote: >> >> Hello, >> >> I'm having a weird encoding problem in views. >> >> If I display html code like this in a view: >> >> {{= "Some text her

[web2py] Tags output by Python in views problem

2013-06-15 Thread Alexei Vinidiktov
4 bit, Python 2.7.4, web2py 2.5.1, nginx 1.2.6, uwsgi 1.9.12 But it seems to work fine on my other setups: Windows, Mac, even another Ubuntu version (12.04, 32 bit with Apache and Python 2.7.1). -- Alexei Vinidiktov -- --- You received this message because you are subscribed to the Google G

Re: [web2py] Re: database shootout

2013-05-27 Thread Alexei Vinidiktov
erro < massimo.dipie...@gmail.com> wrote: > Can you tell us more. I believe firebird does not support multiple alter > tables in transaction and that is cause of some problems. Make sure you > always mgrate one table at the time. > > > On Sunday, 26 May 2013 06:24:49 UTC-5,

Re: [web2py] Re: database shootout

2013-05-26 Thread Alexei Vinidiktov
much for SQLite. >> > -- > > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. >

Re: [web2py] Re: Web Frameworks Performance

2013-05-09 Thread Alexei Vinidiktov
Saludos, >>> >>> --**-- >>> Alfonso de la Guarda >>> Twitter: @alfonsodg >>> Redes sociales: alfonsodg >>>Telef. 991935157 >>> 1024D/B23B24A4 >>> 5469 ED92 75A3 BBDB FD6B 58A5 54A1 851D B23B 24A4 &

Re: [web2py] Re: web2py 2.0.8 Firebird driver fdb error

2012-09-27 Thread Alexei Vinidiktov
On Wed, Sep 26, 2012 at 8:30 PM, Adrian Marius Popa wrote: > > > On Wednesday, September 12, 2012 3:43:15 PM UTC+3, Massimo Di Pierro wrote: >> >> Please open a ticket about this. >> >> On Wednesday, 12 September 2012 07:06:33 UTC-5, Alexei Vinidiktov wrote: >

[web2py] web2py 2.0.8 Firebird driver fdb error

2012-09-12 Thread Alexei Vinidiktov
is not active") def __con_in_list(self,connection): for con in self._connections: if con() == connection: return True I have Python 2.7.2 and fdb 0.8.5 on Windows 8 RC. -- Alexei Vinidiktov --

Re: [web2py] Re: web2py 2.0.8 login_next, register_next ignored

2012-09-12 Thread Alexei Vinidiktov
sure 'login' and 'register' are not in that list. > > Anthony > > > On Wednesday, September 12, 2012 2:39:11 AM UTC-4, Alexei Vinidiktov wrote: >> >> Hello, >> >> I have auth.settings.login_next and auth.settings.register_**next >> d

[web2py] web2py 2.0.8 login_next, register_next ignored

2012-09-11 Thread Alexei Vinidiktov
wasn't. Now neither is respected. The menus show the next links that point to the page that the user came from to the registration or log in page not the page that I want them to go to. -- Alexei Vinidiktov --

Re: [web2py] Re: [Announcement] web2py powered app Vocabilis.NET

2012-09-04 Thread Alexei Vinidiktov
it's using Flash - she uses only >> a Tablet computer - touchscreen android device. Html5 would have been a >> better choice. >> >> Thanks, >> Derek >> >> On Thursday, August 30, 2012 7:53:56 AM UTC-7, Alexei Vinidiktov wrote: >>> >>>

Re: [web2py] Re: [Announcement] web2py powered app Vocabilis.NET

2012-09-04 Thread Alexei Vinidiktov
2012 8:52:01 AM UTC-4, Alexei Vinidiktov wrote: > >> That would be great! :) >> >> On Fri, Aug 31, 2012 at 3:04 AM, Massimo Di Pierro > > wrote: >> >>> My wife teaches Italian. Perhaps I get finally get her to use web2py. ;-) >>> >>

Re: [web2py] Re: [Announcement] web2py powered app Vocabilis.NET

2012-09-04 Thread Alexei Vinidiktov
n). My only concern is that it's using Flash - she uses only > a Tablet computer - touchscreen android device. Html5 would have been a > better choice. > > Thanks, > Derek > > > On Thursday, August 30, 2012 7:53:56 AM UTC-7, Alexei Vinidiktov wrote: >> >> Hi, >&

Re: [web2py] Re: [Announcement] web2py powered app Vocabilis.NET

2012-09-04 Thread Alexei Vinidiktov
e there aren't comercial issues of course) > > > On Tuesday, September 4, 2012 10:51:44 AM UTC-3, Alexei Vinidiktov wrote: > >> Hi David >> >> Thanks for your kind words. I'm glad you liked it. I'm using the standard >> web2py html layout template

Re: [web2py] Re: [Announcement] web2py powered app Vocabilis.NET

2012-09-04 Thread Alexei Vinidiktov
ional, so well done to you > and Lumosity! > > David > > > > > On Thursday, August 30, 2012 3:53:56 PM UTC+1, Alexei Vinidiktov wrote: >> >> Hi, >> >> I'm glad to announce the launch of my second web2py powered web >> application www.vocabi

Re: [web2py] Re: [Announcement] web2py powered app Vocabilis.NET

2012-08-31 Thread Alexei Vinidiktov
That would be great! :) On Fri, Aug 31, 2012 at 3:04 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > My wife teaches Italian. Perhaps I get finally get her to use web2py. ;-) > > > On Thursday, 30 August 2012 09:53:56 UTC-5, Alexei Vinidiktov wrote: >>

[web2py] [Announcement] web2py powered app Vocabilis.NET

2012-08-30 Thread Alexei Vinidiktov
e. Registration doesn't require email confirmation at the moment. I'd like to thank the web2py community for all the help I've gotten working on Vocabilis.NET. Massimo and all the contributors, thank you for creating such an indispensable tool! Thanks, guys! -- Alexei Vinidiktov --

Re: [web2py] Re: Table.import_from_csv_file preserving ids

2012-08-20 Thread Alexei Vinidiktov
On Tue, Aug 21, 2012 at 7:58 AM, Alexei Vinidiktov < alexei.vinidik...@gmail.com> wrote: > > > On Tue, Aug 21, 2012 at 7:18 AM, Alan Etkin wrote: > >> El lunes, 20 de agosto de 2012 21:04:46 UTC-3, Alexei Vinidiktov escribió: >> >>> This web2py gro

Re: [web2py] Re: Table.import_from_csv_file preserving ids

2012-08-20 Thread Alexei Vinidiktov
On Tue, Aug 21, 2012 at 7:18 AM, Alan Etkin wrote: > El lunes, 20 de agosto de 2012 21:04:46 UTC-3, Alexei Vinidiktov escribió: > >> This web2py group thread may be of help: >> >> https://groups.google.com/**forum/?fromgroups=#!topic/** >> web2py/0X3ykXLmcEQ&l

Re: [web2py] Re: Table.import_from_csv_file preserving ids

2012-08-20 Thread Alexei Vinidiktov
e warned > >> that it'is not recommended)? > >> > >> What I want to do is to move a sqlite development database to postgres, > >> but I need to keep id numbers, because there are lots of static links > with > >> id as arguments that will not be mapped by the default method. > > > > -- > > > > > > > > -- > > > > -- Alexei Vinidiktov --

Re: [web2py] Depoying on GAE. Frustration. Followed directions but still getting error.

2012-08-14 Thread Alexei Vinidiktov
If you are using the app launcher, what are its logs saying? Sent from my iPad On 14.08.2012, at 11:52, SeamusSeamus wrote: > HI. > I followed the directions on the deployment recipe seen here > http://web2py.com/books/default/chapter/29/13 > > I still get: > > Internal error > > Ticket is

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

2012-08-13 Thread Alexei Vinidiktov
:10:03 UTC-5, Jonathan Lundell wrote: > >> Change '/applications/' to os.sep + 'applications' + os.sep >> >> On Aug 13, 2012, at 10:40 AM, Alexei Vinidiktov >> wrote: >> >> The contents of thread.folder: C:\Users\alexei\Dev\web2py\web** >> 2py

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

2012-08-13 Thread Alexei Vinidiktov
2012 10:38:48 UTC-5, Alexei Vinidiktov wrote: > >> It gives me the error: >> >> self.folder = thread.folder.split('/**applications/',1)[1] >> >> IndexError: list index out of range >> >> Full traceback: >> >> ERROR2012-08-13

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

2012-08-13 Thread Alexei Vinidiktov
gt; self.folder = thread.folder.split('**/applications/',1)[1] > > > > > > On Wednesday, 8 August 2012 18:11:04 UTC-5, Alexei Vinidiktov wrote: > >> Ok. I've managed to connect to MySQL from GAE local dev server on Windows >> if I change line 3845 in

[web2py] Anybody run web2py apps on GAE in production?

2012-08-09 Thread Alexei Vinidiktov
serve? Do you use Datastore or Cloud SQL? Why? Would you recommend hosting web2py apps on GAE? Thanks! -- Alexei Vinidiktov --

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

2012-08-08 Thread Alexei Vinidiktov
though. On Thu, Aug 9, 2012 at 6:03 AM, Alexei Vinidiktov < alexei.vinidik...@gmail.com> wrote: > 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

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

[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: 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 --

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: 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

[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

[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 --

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

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

[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

[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] 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] 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: Nothing is selected in select box on user's profile page

2012-07-04 Thread Alexei Vinidiktov
On Mon, Jul 2, 2012 at 8:13 PM, Alexei Vinidiktov < alexei.vinidik...@gmail.com> wrote: > Hello, > > > [...] > > > The problem is with the native language select box. When the user goes to > his profile page nothing is selected in it. The user has to choose his >

[web2py] Nothing is selected in select box on user's profile page

2012-07-02 Thread Alexei Vinidiktov
quires = IS_IN_DB(db,'learn_language.id',db.learn_language._format,multiple=True)) ] Tested with both web2py 1.99.7 and the trunk version, the latest Opera, Safari, Chrome and Internet Explorer browsers on Windows. -- Alexei Vinidiktov

Re: [web2py] install web2py in dreamhost

2012-03-14 Thread Alexei Vinidiktov
installed web2py in dreamhost or have a tutorial similar to do > it? > > Thanks > Alex > -- Alexei Vinidiktov

[web2py] Can I change DAL encoding for strings?

2012-03-12 Thread Alexei Vinidiktov
on Unicode format. It is not very convenient. Can anything be done about it? What would you do? -- Alexei Vinidiktov

Re: [web2py]Web2py MVC and Qooxdoo

2011-09-15 Thread Alexei Vinidiktov
ted in qxdoo ? default? > > On 9/15/11, Alexei Vinidiktov wrote: > > Here is what I have in default/index.html view of Phonetizer: > > > > > http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";> > > http://www.w3.org/1999/xhtml"; xml:lang="en">

Re: [web2py]Web2py MVC and Qooxdoo

2011-09-15 Thread Alexei Vinidiktov
efault/ft > > > > def fasttract(): > > return dict(test="ok") > > > > > > in view: > > > > http://www.w3.org/1999/xhtml"; xml:lang="en"> > > > > > > FastTract1.0 > >> src="/sExtrac

Re: [web2py]Web2py MVC and Qooxdoo

2011-09-12 Thread Alexei Vinidiktov
t alone really have 600KB ? is that compiled with > source-all ? > > On 9/11/11, Alexei Vinidiktov wrote: > > You are right about the CAPTCHA. The reason I'm not using it is that at > the > > moment the site is only a playground where I'm getting familiar

Re: [web2py]Web2py MVC and Qooxdoo

2011-09-11 Thread Alexei Vinidiktov
. Normally desiging > web2py app needs all those skills. > > I am good at linux , system engineering and python + js not at those > art skills so i believes good intergration of qooxdoo with web2py will > be perfect. > > On 9/11/11, Alexei Vinidiktov wrote: > > Oops, sorry

Re: [web2py]Web2py MVC and Qooxdoo

2011-09-11 Thread Alexei Vinidiktov
; > On 9/11/11, Phyo Arkar wrote: > >> Anyone have a working tutorial for web2py MVC and Qooxdoo ? > >> > >> I am wondering how to use Web2py's response.view template code inside > >> JS files coz Qooxdoo's class definations are in JS file . Somthing i > >> haven't tried. > >> > > > -- Alexei Vinidiktov

Re: [web2py]Web2py MVC and Qooxdoo

2011-09-11 Thread Alexei Vinidiktov
esponse.view template code inside > > JS files coz Qooxdoo's class definations are in JS file . Somthing i > > haven't tried. > > > -- Alexei Vinidiktov

Re: [web2py]Web2py MVC and Qooxdoo

2011-09-11 Thread Alexei Vinidiktov
Forgot you say that you can add todo items both by clicking tha "Add task" button and pressing the enter key when entering a task. You can delete todo items by clicking them in the todo list. On Sun, Sep 11, 2011 at 6:59 PM, Alexei Vinidiktov < alexei.vinidik...@gmail.com> wrote:

Re: [web2py]Web2py MVC and Qooxdoo

2011-09-11 Thread Alexei Vinidiktov
n, Sep 11, 2011 at 2:42 PM, Phyo Arkar wrote: > Anyone have a working tutorial for web2py MVC and Qooxdoo ? > > I am wondering how to use Web2py's response.view template code inside > JS files coz Qooxdoo's class definations are in JS file . Somthing i > haven't tried. > -- Alexei Vinidiktov

Re: [web2py] Re: amfrpc problem

2011-06-09 Thread Alexei Vinidiktov
lexei\Dev\web2py\web2py\gluon\tools.py", line 3734, in __call__ return self.serve_amfrpc(3) File "C:\Users\Alexei\Dev\web2py\web2py\gluon\tools.py", line 3608, in serve_amfrpc pyamf_request.clientType) AttributeError: 'Envelope' object has no attribute 'clien

Re: [web2py] Re: amfrpc problem

2011-06-09 Thread Alexei Vinidiktov
textlabel.y = (stage.stageHeight - > textlabel.height) / 2; > > > > > > textlabel.text = "flex hello wold!"; > > > > > > addChild(textlabel); > > > > } > > > > > > private function > gateway_status(event:NetStatusEvent):void { > > > > > > trace("Level 0: "+event.info.level+" Code: > "+event.info.code); > > > >if (event.info.code == > "NetConnection.Connect.Success") { > > > > trace("--- connected to: " + "hier"); > > > >} > > > > } > > > > > > private function show_results(event:ResultEvent):void > > > > { > > > > trace(event.result.toString()); > > > > } > > > > > > private function on_fault(event:FaultEvent):void > > > > { > > > > trace(event.fault.message); > > > > } > > > > > > } > > > > > > } > > > > > > on w2p side there is > > > > > > @service.amfrpc > > > > def service1(): > > > > return "test" > > > > > > in the default controller. > > > > > > every time i try to connect i get a "Level 0: error Code: > > > > NetConnection.Call.Failed > > > > " from my gateway_status handler > > > > > > what am i doing wrong? > > > > > -- Alexei Vinidiktov

Re: [web2py] Consuming a web2py web service in C#?

2011-05-21 Thread Alexei Vinidiktov
to get this to work. > > I'm using jayrock as my json-rpc C# parser and setting the url to the > service to be my exposed web2py service but can't seem to get the > data. > > I'd be interested to know if anyone is doing something similar. > > Thanks. > -m -- Alexei Vinidiktov

Re: [web2py] Basic authentication user id

2011-03-07 Thread Alexei Vinidiktov
On Mon, Mar 7, 2011 at 10:16 PM, Jonathan Lundell wrote: > On Mar 7, 2011, at 7:51 AM, Alexei Vinidiktov wrote: > > When I do basic authentication to a web2py app from a *desktop* app > (tried two test apps I wrote in Python and REALbasic) I can get the user's > first name an

[web2py] Basic authentication user id

2011-03-07 Thread Alexei Vinidiktov
via the standard login form) works fine returning both the user id and his first and last names. What am I doing wrong? I'm on web2py 1.89.5 Thanks. -- 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] 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] 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

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

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
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.

[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: 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) ,

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
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

[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: 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

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
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-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

[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

[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] 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: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: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: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: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: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

  1   2   >