Re: [web2py] Re: dna analysis web2py github project error ?

2019-07-04 Thread imran tube
thanks stifan .. again thanks ..for replay my all query & for giving solution always ! On Wed, Jul 3, 2019 at 4:36 PM 黄祥 wrote: > yes .my windows python 3.7.3 now ! what can i do for removing error ? >> suggest me where i should change for update python code .? >> > > pls follow roberto advice

Re: [web2py] Re: dna analysis web2py github project error ?

2019-07-04 Thread imran tube
2.7 also not working .for dna apps .see error On Thu, Jul 4, 2019 at 5:30 PM imran tube wrote: > thanks stifan .. > again thanks ..for replay my all query & for giving solution always ! > > > On Wed, Jul 3, 2019 at 4:36 PM 黄祥 wrote: > >> yes .my windows python 3.7.3 now ! what can i do fo

Re: [web2py] Re: dna analysis web2py github project error ?

2019-07-04 Thread 黄祥
> > 2.7 also not working .for dna apps .see error > unsupported pickle protocol 3 already discussed on this thread : https://groups.google.com/forum/#!msg/web2py-developers/4W4I1FBlGgI/t2ulp1AICgAJ another ref: https://stackoverflow.com/questions/25843698/valueerror-unsupported-pickle-pr

[web2py] molecular /chemical structure editor base ,database search system support by web2py model ?

2019-07-04 Thread imran tube
have any suggestion or documentation for doing this by web2py ? thanks ! -- 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 bec

[web2py] default/user/profile 404 NOT FOUND

2019-07-04 Thread 'Annet' via web2py-users
All of a sudden this link http://127.0.0.1:8000/controlpanel/default/user/profile no longer works, instead of returning the form it returns a 404 NOT FOUND. I didn't change anything in the user function, so I have no idea why this happens. Kind regards, Annet -- Resources: - http://web2py.

[web2py] web2py scripts (homemade task queues) and python2 compatibility

2019-07-04 Thread Tom Clerckx
Can anyone confirm that backward compatibility with python2 is broken with respect to web2py scripts (or homemade task queueus)? I just downloaded version "2.18.5-stable+timestamp.2019.04.08.04.22.03" and it looks like the python3 print() function must be used. Is there any plan to fix this? If

[web2py] set variable on models or modules

2019-07-04 Thread 黄祥
is there any difference to set variable on models or modules ? *e.g.* *models/db_connect.py* db = DAL('sqlite://test.sqlite', pool_size = 1) *modules/db_connect.py* from gluon.dal import DAL from gluon import current db = DAL('sqlite://test.sqlite', pool_size = 1) cache = current.cache cache_time_

Re: [web2py] web2py scripts (homemade task queues) and python2 compatibility

2019-07-04 Thread Nico Zanferrari
Hi Tom, even the latest 2.18.5 version of web2py is still fully compatible with Python 2.7. I think you're running both of your tests with python 3 ;-) Another possibility is that you've first run your web2py framework with python 3 and then with python 2 - you cannot mix them without cleaning

[web2py] Encoding problem with a web2py application that implements an XMLRPC webservice

2019-07-04 Thread Lisandro
I need to understand if this is a bug or if it is the expected behaviour and I'm doing something wrong. I have two web2py applications. One of them implements an XMLRPC webservice, and the other one consumes it. All the controllers (in both applications) have this first line: # -*- coding: utf-

[web2py] Re: set variable on models or modules

2019-07-04 Thread Val K
It seems that defining db=DAL(...) at module level is not a good idea http://www.web2py.com/books/default/chapter/29/04/the-core#Accessing-the-API-from-Python-modules On Thursday, July 4, 2019 at 10:23:43 PM UTC+3, 黄祥 wrote: > > is there any difference to set variable on models or modules ? >

[web2py] Re: TypeError: object of type 'Field' has no len()

2019-07-04 Thread 黄祥
already tried define length on field constructor and change web server, because error above refer to rocket.py, so try gevent an error occured too *modules/table_test.py* test = db.define_table('test', Field('test', *length **= 255*), on_define = on_define_test) $ python ~/learn/python/

Re: [web2py] Remove some title

2019-07-04 Thread Gopal Hirpara
Yes I do that.. On Mon, 1 Jul 2019, 11:50 am HTML, wrote: > Hello i would like to remove that index title from my page i wanted a > blank page just with the menu how can i do that ? > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/

[web2py] Re: web2py 2.18.5 is OUT

2019-07-04 Thread 黄祥
already tried define the length on field constructor and change web server because error above refer to rocket.py *ref:* https://groups.google.com/d/msg/web2py/2B9B9o151II/UyfREFmlBgAJ *modules/table_test.py* test = db.define_table('test', Field('test', length = 255), on_define = on_def

Re: [web2py] Re: accessing a function in another controller

2019-07-04 Thread Massimo Di Pierro
maybe. I can tell you it is a challenge. :-) On Thursday, 16 May 2019 09:52:55 UTC-7, Vlad wrote: > > web2py is so amazingly great that the only excuse to come up with web3py > is if it's going to be much better than web2py, if such a thing is > possible:) > > On Thu, May 16, 2019 at 11:35 AM Ma

[web2py] Re: Which versions of GAE does Web2py Python 3.x support?

2019-07-04 Thread Massimo Di Pierro
Good question. This needs to be tested. I am not sure On Wednesday, 29 May 2019 07:09:06 UTC-7, Carl Hunter Roach wrote: > > When Web2py first added GAE support live was pretty simple. Both supported > Python 2.x and GAE only had one edition. > > Now, GAE comes in Standard and Flexible Environmen

[web2py] Re: Include javascript file in layout.html

2019-07-04 Thread Massimo Di Pierro
In general it is good practive to include JS at the end of the tag. But what you have should work. Can you provide an example? On Wednesday, 29 May 2019 16:41:41 UTC-7, Omicron VT wrote: > > I am trying to include Tabulator JS in layout.html but i can not make it > work. > > If I include the f

[web2py] Re: My first template for web2py

2019-07-04 Thread Massimo Di Pierro
I think it is a great idea but do it work web3py. ;-) On Thursday, 30 May 2019 00:35:52 UTC-7, Mohammad Rostami wrote: > > Hello. I hope that you will be happy and happy as usual. I love Python and > design. Because of this, I love web2py very much. I'm on the way to > learning web2py and design

[web2py] Re: ignore_common filters not applied to left join table

2019-07-04 Thread Massimo Di Pierro
It is a bug. Can you please open a pydal ticket about this? On Monday, 3 June 2019 05:58:42 UTC-7, icodk wrote: > > Not sure if it is a bug, feature or inconsistancy but ignore_common > filters not applied to left join table in query with left join. > I would expect that ignore is for all. > Not

[web2py] Re: Display a list in SQLFORM.grid

2019-07-04 Thread Massimo Di Pierro
Can you explain more in detail what you want to do? On Tuesday, 11 June 2019 14:16:36 UTC-7, Quang Lam wrote: > > how could i wrap a list and display it into SQLFORM.grid to ensure there > is no characters in the list truncated when displayed > Please help > -- Resources: - http://web2py.com

[web2py] Re: making a secure db connection on top of already existing SSL for the site

2019-07-04 Thread Massimo Di Pierro
Yes if the database is not on the same physical machine or if the machine is not exclusively under your control. The connection with the clients is different from the connection of the server with the database. On Saturday, 15 June 2019 22:54:56 UTC-7, Vlad wrote: > > Here is a quote from the we