Re: [web2py] Re: Support for BIT(1) as boolean?

2017-09-30 Thread Massimo Di Pierro
I have seen that I am trying to get to the bottom of that. The string "NO_AUTO_CREATE_USER" does not appear in web2py, in dal, nor in rocket. My guess is that the error is caused by mysqldb. Do you agree? On Friday, 15 September 2017 17:40:07 UTC-5, Yan Wong wrote: > > > > On Monday, 11 Septemb

Re: [web2py] Re: Support for BIT(1) as boolean?

2017-09-22 Thread Alfonso Serra
Yan's example worked. But still there are some quirks with the scheduler using connections for long processes. You are able to change T and F for good editing gluon.packages.dal.dialects.base.py line 36 then use Field(.., type = "boolean") as usual. No adapter change with problems or SQLCustomT

Re: [web2py] Re: Support for BIT(1) as boolean?

2017-09-22 Thread Alfonso Serra
Thanks Yan, i will use your example if i cant fix this. I can confirm the problem on Version 2.15.3-stable+timestamp.2017.08.07.12.51.45. This is dal declaration working fine on previous versions db = DAL("mysql://myuser:mypassw@localhost/myapp", pool_size = 10, check_reserved=False, migrate =

Re: [web2py] Re: Support for BIT(1) as boolean?

2017-09-15 Thread 'Yan Wong' via web2py-users
The following seems to work, by the way (modified from https://groups.google.com/forum/#!topic/web2py/TZsLnytjqhA) ## allow mysql tinyint from gluon.dal import SQLCustomType boolean = SQLCustomType( type ='boolean', native='TINYINT(1)',

Re: [web2py] Re: Support for BIT(1) as boolean?

2017-09-15 Thread 'Yan Wong' via web2py-users
On Monday, 11 September 2017 00:08:00 UTC+1, Massimo Di Pierro wrote: > > what adapter are you using. What is your URI string (without passwords > please)? > By the way, starting web2py using Rocket now says /usr/local/lib/python2.7/site-packages/pymysql/cursors.py:166: Warning: (3090, u"Chan

Re: [web2py] Re: Support for BIT(1) as boolean?

2017-09-14 Thread 'Yan Wong' via web2py-users
On Monday, 11 September 2017 00:08:00 UTC+1, Massimo Di Pierro wrote: > > what adapter are you using. What is your URI string (without passwords > please)? > Apologies for the slow reply. Annoyingly, I've found that the solution (without copy) doesn't work at the moment. I'm using the standard

Re: [web2py] Re: Support for BIT(1) as boolean?

2017-09-11 Thread Alfonso Serra
Hi Massimo. This is the db declaration im using. It works well so far not using copy. Standard MySQL 5.5.24 connection. I have read that using BIT may cause problems on calculations with another fields, so TINYINT(1) (-127, 127) would do for a lack of a better option. db = DAL("mysql://mysqlus

Re: [web2py] Re: Support for BIT(1) as boolean?

2017-09-10 Thread Massimo Di Pierro
what adapter are you using. What is your URI string (without passwords please)? On Monday, 4 September 2017 09:53:46 UTC-5, Yan Wong wrote: > > With this code, I now find that with the latest version of web2py > (2.15.4), I get > > File "applications/XXX/models/db.py", line 46, in > db._ad

Re: [web2py] Re: Support for BIT(1) as boolean?

2017-09-04 Thread 'Yan Wong' via web2py-users
With this code, I now find that with the latest version of web2py (2.15.4), I get File "applications/XXX/models/db.py", line 46, in db._adapter.types = copy.copy(db._adapter.types) AttributeError: can't set attribute I have deleted the copy.copy line, so that I am modifying the adapter st

Re: [web2py] Re: Support graph database pyDAL.

2016-07-11 Thread Marlysson Silva
Ok,great idea, same the thought about no-sql databases it schemaless, while relational databases have thought in tables? Just a doubt. 2016-07-11 3:03 GMT-03:00 Massimo Di Pierro : > No planning to at this time. They are too specific to be work the SQL like > syntax of dal. > Frankly I am more i

[web2py] Re: Support graph database pyDAL.

2016-07-10 Thread Massimo Di Pierro
No planning to at this time. They are too specific to be work the SQL like syntax of dal. Frankly I am more interested in building a graph data on top of dal can use a relational back-end as storage. I believe it to be possible. On Thursday, 7 July 2016 17:22:45 UTC-5, Marlysson Silva wrote: > >

Re: [web2py] Re: Support for BIT(1) as boolean?

2016-01-12 Thread Alfonso Serra
Excuse me, one last question. Is it really necesary? import copy db._adapter.types = copy.copy(db._adapter.types) or modify the adapter right away will work? It looks like it does, but i dont know if theres any implication by skiping copy. Thanks -- Resources: - http://web2py.com - http://we

Re: [web2py] Re: Support for BIT(1) as boolean?

2016-01-11 Thread Alfonso Serra
Its weird the application seems to work fine but cant create a select() at the console. The queries in the controllers doesnt fail. This is the db definition: if not request.env.web2py_runtime_gae: db = DAL("mysql://root:@localhost/mydb", pool_size = 10, check_reserved= None, migrate=True)

Re: [web2py] Re: Support for BIT(1) as boolean?

2016-01-11 Thread Massimiliano
Eventually take a look here: http://www.web2pyslices.com/slice/show/1611/postgresql-custom-adapter On Mon, Jan 11, 2016 at 5:57 PM, Alfonso Serra wrote: > Im sorry i just seen Massimo's answer at the post: > > https://groups.google.com/forum/#!searchin/web2py/boolean$20values/web2py/IukqqZF_P

[web2py] Re: Support for BIT(1) as boolean?

2016-01-11 Thread Alfonso Serra
Im sorry i just seen Massimo's answer at the post: https://groups.google.com/forum/#!searchin/web2py/boolean$20values/web2py/IukqqZF_PPE/Dehg9dKUT58J import copy db =DAL() db._adapter.types = copy.copy(db._adapter.types) db._adapter.types['boolean']='TINYINT(1)' db._adapter.TRUE = 1 db._adapter.FA

[web2py] Re: Support for GQL DISTINCT

2015-10-26 Thread Anthony
The Google Datastore adapter doesn't use GQL but instead uses the Python NDB datastore API. I think you can add the distinct=True argument to the .query() method (at least for projection queries), so you might try subclassing pydal.adapters.google_adapters.GoogleDatastoreAdapter and customize i

[web2py] Re: Support for GQL DISTINCT

2015-10-26 Thread Carl Hunter Roach
Here's my Web2py-driven Python: db = current.db rows = db().select(db.person.name, distinct=db.person.name) for row in rows: logging.info('name: %s' % row.name) This logs all rows from person, listing many duplicate name values. The equivalent GQL I've tried is: rows = g

[web2py] Re: support

2015-06-01 Thread Jim S
If you could describe the issue you're having, including the relevant code, we'd be happy to help out. -Jim On Monday, June 1, 2015 at 1:04:20 PM UTC-5, PAWAN RERU wrote: > > hi please reply me back I need ur help > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Support for MS Access?

2014-11-24 Thread ksotiris
Dear Leonel yes of course. I have already write down in my previous post changes/additions that have made in my "dal.py" for the new adapter. I am new in web2py and do not know very well the framework and i would like to check the code someone more experienced user. I have checked it and is w

[web2py] Re: Support for MS Access?

2014-11-19 Thread Leonel Câmara
Good job ksotiris, maybe you could contribute this adapter and document its dependencies so the other poor souls having to deal with MSACCESS have a way out. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code

[web2py] Re: Support for MS Access?

2014-11-19 Thread ksotiris
Finally, everything is working correctly. -- 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) --- You received this message because you are subscribed to the Goo

[web2py] Re: Support for MS Access?

2014-11-06 Thread ksotiris
I have write an adapter making this addition in dal.py line 116: 'msaccess://DRIVER={Microsoft Access Driver(*.mdb)};UID=user;PWD=pass; DBQ=database line 371: try: import odbtp DRIVERS.append('MSACCESS(odbtp)') LOGGER.warning('Msaccess with odbtp support is experimen

[web2py] Re: Support for MS Access?

2014-11-05 Thread ksotiris
thank you Leonel ...!!! , it 's ok now. With the console all work fine now. I have"Internal Server Error" with wsgi + msaccess adapter. I will make some tries and will come back. Τη Τρίτη, 4 Νοεμβρίου 2014 1:12:06 μ.μ. UTC+2, ο χρήστης Leonel Câmara έγραψε: > > No it's not a dict if you do it

[web2py] Re: Support for MS Access?

2014-11-04 Thread Leonel Câmara
No it's not a dict if you do it that way. However if you do it like this: compile_obj = re.compile(r """DRIVER=\{(?P[^}]+)\};SERVER=(?P[\d\.]+);DBQ=(?P[^;]+);UID=(?P[^;]+);PWD=(?P.+)""" ) match_obj = compile_obj.search("""DRIVER={Microsoft Access Driver (*.mdb)};SERVER=192.168.1.182;DBQ=c:\\v3.md

[web2py] Re: Support for MS Access?

2014-11-04 Thread ksotiris
thank you for your help Leonel !!! Is very closed that i need. >m = REGEX_URI.match(ruri) ('Microsoft Access Driver (*.mdb)', '192.168.1.182', 'c:\\v3.old.mdb', 'admin', 'incas') is not a dict and if use the m('db') i get the same list >m('db') ('Microsoft Access Driver (*.mdb)', '192.168

[web2py] Re: Support for MS Access?

2014-11-03 Thread Leonel Câmara
ksotiris here's a possible solution REGEX_URI= r'DRIVER=\{(?P[^}]+)\};SERVER=(?P[\d\.]+);DBQ=(?P[^;]+);UID=(?P[^;]+);PWD=(?P.+)' -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/

Re: [web2py] Re: Support for MS Access?

2014-11-03 Thread ksotiris
Can anybody help me with the REGEX_URI ? I use the ruri='DRIVER={Microsoft Access Driver (*.mdb)};SERVER=192.168.1.182;DBQ=c:\\v3.mdb;UID=admin;PWD=' m = self.REGEX_URI.match(ruri) and i would like to get driver=m.group(driver) # => {Microsoft

Re: [web2py] Re: Support for MS Access?

2014-10-29 Thread Dave S
On Wednesday, October 29, 2014 7:00:51 AM UTC-7, ksotiris wrote: > > *I think we found the solution for msaccess...!!! yes, is the odbtp + > python-odbtp* > > [...] > *STEP 2: Win32 Service Installation* > NOTE: The ODBTP service can only be installed on Windows NT 4.0, 2000 or > XP Pro. >

Re: [web2py] Re: Support for MS Access?

2014-10-29 Thread ksotiris
*I think we found the solution for msaccess...!!! yes, is the odbtp + python-odbtp* *STEP 1: odbtp * download odbtp-1.1.4.tar.gz >sudo tar xzf odbtp-1.1.4.tar.gz >cd odbtp-1.1.4 SOS !! for Building ODBTP client library on a 64-bit OS please read odbtp-1.1.4/README.64bitOS >sudo ./configure >su

Re: [web2py] Re: Support for MS Access?

2014-10-22 Thread Dave S
On Wednesday, October 22, 2014 4:54:17 AM UTC-7, Carlos Correia wrote: [...] > > yes I know access mdb is an awfull db. But is used by another old vb > program and > > we need to reed this db too. Is very dificult to change the old program. > > [...] > > Yes, follow Leonel's advice, and

Re: [web2py] Re: Support for MS Access?

2014-10-22 Thread Carlos Correia
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22-10-2014 12:15, ksotiris wrote: > > Τη Δευτέρα, 20 Οκτωβρίου 2014 8:56:24 μ.μ. UTC+3, ο χρήστης Leonel Câmara > έγραψε: > > Either way, just convert your access database to anything else, it's bound > to be better for your sanity. Serio

[web2py] Re: Support for MS Access?

2014-10-22 Thread ksotiris
Τη Δευτέρα, 20 Οκτωβρίου 2014 8:56:24 μ.μ. UTC+3, ο χρήστης Leonel Câmara έγραψε: > > Either way, just convert your access database to anything else, it's bound > to be better for your sanity. Seriously, any time spent migrating is better > spent than making access work with web2py. > > yes I k

[web2py] Re: Support for MS Access?

2014-10-20 Thread Leonel Câmara
This is weird because according to the docs, access does support the tablename.fieldname syntax http://msdn.microsoft.com/en-us/library/bb208930(v=office.12).aspx Either way, just convert your access database to anything else, it's bound to be better for your sanity. Seriously, any time spent m

[web2py] Re: Support for MS Access?

2014-10-20 Thread Willoughby
Remember SQL used by Access isn't the same as ANSI SQL - and compatibility varies by Access version. I think you'd run into this a lot... On Monday, October 20, 2014 10:24:48 AM UTC-4, ksotiris wrote: > > I found 2 errors: > > when using db.(db.table).select() i get the following sql query : > >

[web2py] Re: Support for MS Access?

2014-10-20 Thread ksotiris
I found 2 errors: when using db.(db.table).select() i get the following sql query : sql=SELECT .,., ...FROM WHERE . IS NOT NULL : the primary key, i think that's why " .. is not null" errors : db.executesql crashes the same as the db.(db.table).select() when using the same sql query. If

[web2py] Re: Support for MS Access?

2014-10-19 Thread ksotiris
finally the solution is in this site: http://linuxapuntes.blogspot.gr/2013/01/ms-access-desde-ubuntu-con-python-and.html step 1 (install lib) : >> sudo apt-get install mdbtools libmdbodbc1 pyodbc step 2 create a template file and use the odbcinst -i -d -f templatefile to add this to dobcinst.i

[web2py] Re: Support for internationalization in web2py wiki

2013-05-29 Thread Massimo Di Pierro
I think you can do something like: session.language = session.language or T.accepted_language auth.settings.extra_field['wiki_page']=[Field('language',default=session.language)] auth.define_tables() auth.wiki(render=False) db.wiki_page._common_filters.append(lambda q:db.wiki_page.language==se

[web2py] Re: Support for internationalization in web2py wiki

2013-05-28 Thread Daniel Gonzalez
In the same way as internationalization is handled in the T operator? That means that an "accept-language: it- it" would tell the wiki engine to look for pages corresponding to the URL which are marked in the database as being in italian. That means: 1. a new field is needed in the database

[web2py] Re: Support for internationalization in web2py wiki

2013-05-28 Thread Massimo Di Pierro
There is not. The problem is that normal internationalization libraries are not appropriate for wiki pages. I would recommended using different pages for different languages. In your opinion, how should internationalization for wiki pages work? On Tuesday, 28 May 2013 14:35:21 UTC-5, Daniel Gon

Re: [web2py] Re: support for list comprehensions and enumerate in template language

2012-08-06 Thread Andreas Christoffersen
Thanks for confirming this. Sincerely Andreas On Mon, Aug 6, 2012 at 4:34 PM, Anthony wrote: > web2py doesn't really have a separate template language -- it's just pure > Python. So yes, you can use list comprehensions. See > http://web2py.com/books/default/chapter/29/5#The-views for details. >

[web2py] Re: support for list comprehensions and enumerate in template language

2012-08-06 Thread Anthony
web2py doesn't really have a separate template language -- it's just pure Python. So yes, you can use list comprehensions. See http://web2py.com/books/default/chapter/29/5#The-views for details. Anthony On Monday, August 6, 2012 10:28:46 AM UTC-4, achristoffersen wrote: > > I just ran my head a

[web2py] Re: Support for MS Access?

2012-05-22 Thread Larry Wapnitsky
Has anyone tested this further? I have an Access database that I'd like to parse for a web2py project. It's a live database that's too big to export to MySQL right now. Thanks, Larry On Thursday, March 17, 2011 9:07:03 AM UTC-4, DenesL wrote: > > > It depends on how you want to connect. > The

[web2py] Re: Support for PyPy

2012-03-14 Thread Rahul
I tried my web2py applications with pypy1.8 on windows 7 with ie9 and Firefox 9.0.1 - It works very well . Although I could not justify the speed that much but I have to say it works. Speed was similar for me (may be I am not using jit - I used pypy.exe to run it ) the welcome application load

[web2py] Re: Support for PyPy

2012-03-13 Thread Francisco Costa
Ok, a few more tests with pypy (jit enable) in the welcome app with the Web2py 1.99.3 (2011-12-09 16:18:03) stable - *not the latest * *PyPy* ab -n 50 -c 10 http://127.0.0.1:8000/welcome/ This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://

[web2py] Re: Support for PyPy

2012-03-12 Thread Anthony
On Monday, March 12, 2012 5:02:00 PM UTC-4, Francisco Costa wrote: > > On Monday, March 12, 2012 7:46:50 PM UTC, Anthony wrote: >> >> Maybe related to this: https://bugs.pypy.org/issue1051. Have you tried >> 1.7? >> > > Nop, i've tried the last source from bitbucket > Sorry, didn't notice you sa

Re: [web2py] Re: Support for PyPy

2012-03-12 Thread Francisco Costa
On Monday, March 12, 2012 8:36:35 PM UTC, Vasile Ermicioi wrote: > > Well I've compiled pypy-1.8 from source (without jit) > > wow, how many hours it took? > > 1h30m > and found that is slower than python > > > of course pypy nojit is slower, > no need to compile it by yourself, > you can

[web2py] Re: Support for PyPy

2012-03-12 Thread Francisco Costa
On Monday, March 12, 2012 7:46:50 PM UTC, Anthony wrote: > > Maybe related to this: https://bugs.pypy.org/issue1051. Have you tried > 1.7? > Nop, i've tried the last source from bitbucket

Re: [web2py] Re: Support for PyPy

2012-03-12 Thread Vasile Ermicioi
> > Well I've compiled pypy-1.8 from source (without jit) wow, how many hours it took? and found that is slower than python of course pypy nojit is slower, no need to compile it by yourself, you can see that on http://speed.pypy.org/comparison/

[web2py] Re: Support for PyPy

2012-03-12 Thread Anthony
Maybe related to this: https://bugs.pypy.org/issue1051. Have you tried 1.7? On Monday, March 12, 2012 3:31:56 PM UTC-4, Francisco Costa wrote: > > Well I've compiled pypy-1.8 from source (without jit) and found that is > slower than python whyle executing web2py > here are my test results > > > *

[web2py] Re: Support for PyPy

2012-03-12 Thread Francisco Costa
Well I've compiled pypy-1.8 from source (without jit) and found that is slower than python whyle executing web2py here are my test results *PYPY* ab -n 10 -c 5 http://127.0.0.1:8000/ This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www

Re: [web2py] Re: Support for PyPy

2012-03-11 Thread Bruno Rocha
And I have to say! it is very very fast! and you can see the different even running welcome app. I am planning to put a web2py app to run in production for some time to test it. -- Bruno Rocha [http://rochacbruno.com.br]

[web2py] Re: Support for PyPy

2012-03-11 Thread Francisco Costa
They say its incompatible https://bitbucket.org/pypy/compatibility/wiki/web2py Could someone run some tests? On Tuesday, February 28, 2012 5:41:41 PM UTC, Massimo Di Pierro wrote: > > I have fixed all pypy bugs that have been reported but I did not run > it myself. Please report any problems i

Re: [web2py] Re: Support for PyPy

2012-02-28 Thread Phyo Arkar
>From their list PyPy runs 50% slower than 1.7 release : https://bugs.pypy.org/issue1051 I am not sure this will effect web2py or not but its like a huge letdown. And another discussion (Rant) on pypy i see on their list is pypy is only trying to tune performance on their benchmark-kit , and it d

[web2py] Re: Support for PyPy

2012-02-28 Thread Massimo Di Pierro
I have fixed all pypy bugs that have been reported but I did not run it myself. Please report any problems if any. On Feb 11, 3:51 am, Phyo Arkar wrote: > has anyone tested with Pypy 1.8 ? Seems good this time. > > Previous tests fails web2py , > > On Fri, Feb 10, 2012 at 10:05 PM, Sathvik Ponang

[web2py] Re: Support for PyPy

2012-02-28 Thread sherdim
What the difference in the speed? On Friday, February 10, 2012 7:35:40 PM UTC+4, Sathvik Ponangi wrote: > > Is there some way to run Web2Py on PyPy ?

[web2py] Re: support for bound (instance) methods for represent

2012-02-22 Thread Massimo Di Pierro
Now I understand. I will take your patch. Can you please open a ticket so it gets tracked? On Feb 21, 10:36 pm, Carlos wrote: > Hi Massimo, > > It does not let me use instance methods as represent because the current > code uses [ f.func_code.co_argcount ] which takes into account "self", and > t

[web2py] Re: support for bound (instance) methods for represent

2012-02-21 Thread Carlos
Hi Massimo, It does not let me use instance methods as represent because the current code uses [ f.func_code.co_argcount ] which takes into account "self", and therefore the resulting "n" is 3. Thanks, Carlos

[web2py] Re: support for bound (instance) methods for represent

2012-02-21 Thread Massimo Di Pierro
I believe represent cal already be methods. Can you please provide an example of what you need to do and the behavior you expect? massimo On Feb 21, 7:07 pm, Carlos wrote: > Hi Massimo, > > Can we please add support for bound (instance) methods for represent?. > > I propose to add the following

[web2py] Re: support for Amazon Simple Email Service (Amazon SES) ?

2011-04-07 Thread pbreit
I did it with Boto (make sure to get the latest version since SES is new) but there's probably and easier way (see link). Install Boto into your site-packages and then do something like this. Note that you have to validate both the "from" address and the "to" address. After you are approved for

[web2py] Re: Support for MS Access?

2011-03-17 Thread DenesL
It depends on how you want to connect. The current mssql driver supports DSN connections: mssql://the_dsn If you plan to use a different connection method please provide examples to be able to code in the appropriate changes in the source. References that might be useful: http://code.google.com/

Re: [web2py] Re: Support for MS Access?

2011-03-17 Thread rochacbruno
I guess you need a DSN or ODBC connection pointing to ms access db. Em 17/03/2011, às 06:04, Philnext escreveu: > I don't understand : how, with a "DAL('mssql: ...')", will pyodbc send > the good connection string to tSQLDriverConnect for MS Access > databases ? > May you give an example of DA

[web2py] Re: Support for MS Access?

2011-03-17 Thread Philnext
I don't understand : how, with a "DAL('mssql: ...')", will pyodbc send the good connection string to tSQLDriverConnect for MS Access databases ? May you give an example of DAL connection string for connect to a 'mybase.mdb' Access database ? On 17 mar, 00:34, DenesL wrote: > There is no DAL('msac

[web2py] Re: Support for MS Access?

2011-03-16 Thread DenesL
There is no DAL('msaccess: ...'), not yet anyway. You have to test using DAL('mssql: ...') or DAL('mssql2: ...'). On Mar 16, 7:15 pm, Philnext wrote: > May you tell me the good connexion string for MS Access ? > ( may be  like "db = DAL('msaccess://mybase.mdb')" ?) > > (Sorry if this message i

[web2py] Re: Support for MS Access?

2011-03-16 Thread Philnext
May you tell me the good connexion string for MS Access ? ( may be like "db = DAL('msaccess://mybase.mdb')" ?) (Sorry if this message is 'doubled') On 12 mar, 18:08, Massimo Di Pierro wrote: > Nobody has tried byt the mssql adapter (pyodbc) should work withaccess. The > SQL is the same. > Try

[web2py] Re: Support for MS Access?

2011-03-13 Thread Philnext
OK I'll try but... the SQL is not the same ! On 12 mar, 18:08, Massimo Di Pierro wrote: > Nobody has tried byt the mssql adapter (pyodbc) should work with > access. The SQL is the same. > Try and tel us know what problems you run into. > > On Mar 12, 9:43 am, Philnext wrote: > > > HelIo > > I sa

[web2py] Re: Support for MS Access?

2011-03-12 Thread Massimo Di Pierro
Nobody has tried byt the mssql adapter (pyodbc) should work with access. The SQL is the same. Try and tel us know what problems you run into. On Mar 12, 9:43 am, Philnext wrote: > HelIo > I saw in a last year post a question "do we have support for MS > Access?" as I need it for my current projet

[web2py] Re: Support for Drizzle in web2py

2011-02-02 Thread Massimo Di Pierro
yet all of the changes listed are in APIs that are not used by web2py in MySQL. On Feb 2, 9:18 pm, KMax wrote: > http://wiki.drizzle.org/FAQ > Can I run a website with this? > No. We are still making incompatible changes, and certainly do not > believe the code is production quality. Right now we

[web2py] Re: Support for Drizzle in web2py

2011-02-02 Thread KMax
http://wiki.drizzle.org/FAQ Can I run a website with this? No. We are still making incompatible changes, and certainly do not believe the code is production quality. Right now we are defaulting many configure operations to generate debugging code for us so our binaries are not optimal. Therefore,

[web2py] Re: Support for Drizzle in web2py

2011-02-02 Thread Massimo Di Pierro
According to the list of differences in the docs, web2py should work with it. On Feb 1, 11:57 pm, Rahul wrote: > Hi All, >        http://drizzle.org/Home.html >        Not really sure if web2py should support Drizzle (opensource > MYSQL forked Database). Will pymysql work with Drizzle? What do yo

[web2py] Re: Support for conversation?

2010-06-11 Thread pierreth
On 11 juin, 01:14, mdipierro wrote: > The only way to keep a conversation would > be to store a token in request.args(0) and keep it there in all links. > Still the conversation is fragile and ends if the user types in a url > without the token. An url parameter of a get request with the session

[web2py] Re: Support for conversation?

2010-06-11 Thread pierreth
On 11 juin, 09:42, szimszon wrote: > This conversation thing could be handy for my inventory app... I just > made use of session but the user starting new conversations to get the > info to continue the original... after that we can't trust the info in > session. ... :-o Yes, it is exactly th

[web2py] Re: Support for conversation?

2010-06-11 Thread szimszon
This conversation thing could be handy for my inventory app... I just made use of session but the user starting new conversations to get the info to continue the original... after that we can't trust the info in session. ... :-o On jún. 11, 15:10, pierreth wrote: > On 11 juin, 01:14, mdipierr

[web2py] Re: Support for conversation?

2010-06-11 Thread pierreth
On 11 juin, 01:14, mdipierro wrote: > yes but people don't just navigate by submitting forms. they also > navigate by clicking links. The only way to keep a conversation would > be to store a token in request.args(0) and keep it there in all links. > Still the conversation is fragile and ends if t

Re: [web2py] Re: Support for conversation?

2010-06-10 Thread Thadeus Burgess
javascript? -- Thadeus On Fri, Jun 11, 2010 at 12:14 AM, mdipierro wrote: > yes but people don't just navigate by submitting forms. they also > navigate by clicking links. The only way to keep a conversation would > be to store a token in request.args(0) and keep it there in all links. > Sti

[web2py] Re: Support for conversation?

2010-06-10 Thread mdipierro
yes but people don't just navigate by submitting forms. they also navigate by clicking links. The only way to keep a conversation would be to store a token in request.args(0) and keep it there in all links. Still the conversation is fragile and ends if the user types in a url without the token. On

Re: [web2py] Re: Support for conversation?

2010-06-10 Thread Thadeus Burgess
That is where the hidden input field with a custom hash comes into play I think? -- Thadeus On Fri, Jun 11, 2010 at 12:00 AM, mdipierro wrote: > The only issue is that if you have two browser windows open I do not > know of a mechanism to identify from which of the two windows a > reques

[web2py] Re: Support for conversation?

2010-06-10 Thread mdipierro
The only issue is that if you have two browser windows open I do not know of a mechanism to identify from which of the two windows a request arrives since the cookies are the same. On Jun 10, 11:39 pm, pierreth wrote: > On 10 juin, 19:14, mdipierro wrote: > > > Interesting. How do you think this

[web2py] Re: Support for conversation?

2010-06-10 Thread pierreth
On 10 juin, 19:14, mdipierro wrote: > Interesting. How do you think this can be implemented? Well, before thinking about the implementation, we must understand the concepts involved. So let's start with the idea of scope. The scope defines the time a peace of information is kept. Information in

[web2py] Re: Support for Indian Languages

2010-06-07 Thread Anand Vaidya
On Jun 7, 1:05 pm, Rahul wrote: > Hi Anand, >           Yes that's a good idea, we can collaborate. But I am not > familiar with translations. Also, I can provide help as and when time > permits. Its a real busy schedule for me here. Let me know what you > think. Yes, that's a good start. Any m

[web2py] Re: Support for Indian Languages

2010-06-06 Thread mdipierro
yes. In this case the translation is done by web2py beased in provided translation strings. On Jun 7, 12:47 am, Rahul wrote: > Hi Massimo, >          I see, but a general question when we use inbuilt translation > of web2py say like T("abc") or something in the web2py app,  then > would it work o

[web2py] Re: Support for Indian Languages

2010-06-06 Thread Rahul
Hi Massimo, I see, but a general question when we use inbuilt translation of web2py say like T("abc") or something in the web2py app, then would it work offline? Thanks, Rahul On Jun 7, 10:05 am, mdipierro wrote: > plugin translate uses google for translation. It cannot be made to >

[web2py] Re: Support for Indian Languages

2010-06-06 Thread mdipierro
plugin translate uses google for translation. It cannot be made to work offline. On Jun 7, 12:02 am, Rahul wrote: > Hi Massimo, >              Hi Massimo, >            Here are the translation files I intend to get. > 1- Marathi mr-mr or (mar-mar) code is "mr-IN" > 2- Gujrathi gu-gu (gu-IN) > 3-

[web2py] Re: Support for Indian Languages

2010-06-06 Thread Rahul
Hi Anand, Yes that's a good idea, we can collaborate. But I am not familiar with translations. Also, I can provide help as and when time permits. Its a real busy schedule for me here. Let me know what you think. Also, I am happy we've got some people here in India working on web2py and In

[web2py] Re: Support for Indian Languages

2010-06-06 Thread Rahul
Hi Massimo, Hi Massimo, Here are the translation files I intend to get. 1- Marathi mr-mr or (mar-mar) code is "mr-IN" 2- Gujrathi gu-gu (gu-IN) 3- Tamil ta-ta (ta-IN) 4- Bengali bn-bn (bn-IN) 5- Punjabi pa-pa (pa-IN) 6- Malayalam ml-ml (ml-IN) 7- Telugu te-te (te-IN) 8- Sans

[web2py] Re: Support for Indian Languages

2010-06-04 Thread Anand Vaidya
Hi Rahul, I had contributed a Hindi translation some time ago, which was like 85-90% complete. It works. I had tested it in two ways: - set T() in web2py so w2py serves only Hindi ;-) - I had downloaded the hindi localized build of firefox to test ( I think I also tested with Arora webkit browse

[web2py] Re: Support for Indian Languages

2010-06-04 Thread mdipierro
if you email me your language files I will include them in web2py. On Jun 4, 5:29 am, Rahul wrote: > Hi Massimo, All, >        Wondering how the internationalization for Indian Languages > works. I am using latest web2py (1.78.3) on Firefox with "Translate" > Plugin installed for translation on W

[web2py] Re: Support Pycharm support for Web2py

2010-05-20 Thread blackthorne
on a second look, seems to be payed... On May 20, 12:10 pm, blackthorne wrote: > wow, > that is a charming project. I think this is a must! > > On May 19, 1:23 am, Richard wrote: > > > > > has a YouTrack issue been created? > > > On May 18, 12:37 pm, mikech wrote: > > > >http://www.jetbrains.ne

[web2py] Re: Support Pycharm support for Web2py

2010-05-20 Thread blackthorne
wow, that is a charming project. I think this is a must! On May 19, 1:23 am, Richard wrote: > has a YouTrack issue been created? > > On May 18, 12:37 pm, mikech wrote: > > > > >http://www.jetbrains.net/devnet/message/5263114#5263114

[web2py] Re: Support Pycharm support for Web2py

2010-05-18 Thread Richard
has a YouTrack issue been created? On May 18, 12:37 pm, mikech wrote: > http://www.jetbrains.net/devnet/message/5263114#5263114