[web2py] login

2010-10-08 Thread JC
When I'm using Web2py, even for the Welcome app, the login gives me an error: invalid login. I have made no changes to the login code -- is there something I needed to add to make it work? I have tried several different email addresses and passwords. Running Version 1.86.2 on Windows 7.

[web2py] Re: login

2010-10-09 Thread JC
n Oct 8, 12:25 pm, JC wrote: > > > When I'm using Web2py, even for the Welcome app, the login gives me an > > error: invalid login. I have made no changes to the login code -- is > > there something I needed to add to make it work? I have tried several > > differe

[web2py] short url's and 404

2012-08-27 Thread jc
Hello I want to shorten url's and use hyphens in my paths. I also want to get a 404 if the user tries an invalid url. I have played with routes.py but the effect I get is shorter url's (good), hyphens in url's translated to underscores in function and view (good) , but all invalid url's route t

Re: [web2py] short url's and 404

2012-08-27 Thread jc
That is very helpful, thank you. --

[web2py] Spaces in URL for static files

2012-09-11 Thread jc
Hello, I have a file "app/static/docs/Report 2008 12.pdf" i.e. it is in a subdir of static and the filename has spaces. I use URL('static', 'docs', 'Report 2008 12.pdf') to generate the link. When I click the link the browser address bar contains http://localhost:8000/static/docs/Report%202008%2

[web2py] Re: Run Web2py as a Service? on Ubuntu Lucid?

2013-03-07 Thread jc
I run web2py on shared hosting. I don't have root access so I had a similar problem getting it to run as a started task. I ended up with a totally different solution which still makes sure web2py runs for me at all times. It's a bit of a hack. I created a bash script called run_web2py and put i

[web2py] Bug? Invalid url puts python into a tight loop - 100% CPU

2012-11-13 Thread jc
Hi, I have a simple system running ok except when google's web crawlers start trying to find some old, long url's which used to be on the site. I have just migrated an old basically static website to web2py, to provide a base for some more interesting features in the future. However google know

[web2py] Re: Bug? Invalid url puts python into a tight loop - 100% CPU

2012-11-13 Thread jc
I can confirm this is a bug. Steps to recreate: 1) Unzip a copy of web2py_src_2.2.1.zip into a fresh directory 2) Start web2py e.g. cd web2py; python web2py.py -a test 3) Use the appadmin interface to create a new simple app e.g. myapp 4) Create a routes.py file containing routers = dict(

Re: [web2py] Re: Bug? Invalid url puts python into a tight loop - 100% CPU

2012-11-13 Thread jc
Thanks for the suggestion. I have made the Niphlod's change to the regex without really understanding the implications. It seems to have fixed my immediate problem, so at least I am back up. I will try to understand what it is all about later on. --

Re: [web2py] Re: Bug? Invalid url puts python into a tight loop - 100% CPU

2012-11-19 Thread jc
I have been thinking a little about this. Niphlod's suggestion solves the problem for me at the moment, but isn't there an enormous problem? It seems that any web2py installation can be taken down accidentally or maliciously just by somebody requesting an invalid argument string in the url of th

Re: [web2py] Re: Bug? Invalid url puts python into a tight loop - 100% CPU

2012-11-20 Thread jc
You are correct of course, but to quote the book: "web2py includes two distinct URL rewrite systems: an easy-to-use parameter-based system for most use cases, and a flexible pattern-based system for more complex cases." You have to use the pattern based system to avoid the vulnerability, and I

Re: [web2py] Re: Bug? Invalid url puts python into a tight loop - 100% CPU

2012-11-23 Thread jc
16:23:54 UTC, Jonathan Lundell wrote: > > On 21 Nov 2012, at 5:59 AM, Massimo Di Pierro > > > wrote: > > I will take a patch to fix this. > > > > On Tuesday, 20 November 2012 07:00:37 UTC-6, jc wrote: > > You are correct of course, but to quote the book:

[web2py] Cannot get janrain to work

2012-01-01 Thread jc
I am trying to get janrain login to work in test mode on my development machine. The problem I have is that when I try to execute a controller function for which I have set @auth.requires_login(), the system correctly routes me to "http://localhost:8000/list/default/user/login?_next=/list/defau

[web2py] Re: Cannot get janrain to work

2012-01-02 Thread jc
Thank you so much. It was driving me mad. Now it works.

[web2py] Re: Cannot get janrain to work

2012-02-03 Thread jc
> > Glad it's working! I've been having the same exact problem you described, but > this fix didn't work for me. What are you using as your token URL? > This concept is foggy to me. It's not mentioned in the web2py book, but is > described on > thejanrainsitehttps://rpxnow.com/relying_parties/res

[web2py] Help wanted for UK postcode validator which updates form field

2011-05-17 Thread jc
Hello, I want a custom validator which, amongst other things, translates alpha characters to upper case. I want a partly validated value to be displayed back in the form, but in its uppercased form, when validation fails. I am using the usual: if form.accepts(request.vars, session): r

[web2py] Re: Help wanted for UK postcode validator which updates form field

2011-05-17 Thread jc
Thanks for the suggestion. Does not change the behaviour.

[web2py] Re: Help wanted for UK postcode validator which updates form field

2011-05-17 Thread jc
Thank you very much. This worked: elif form.errors: form.element('#person_postcode')['_value'] = form.vars.postcode

[web2py] SQLFORM.factory example from book does not work

2011-06-01 Thread jc
When playing around with uploads, I tried to get the example from the web2py book working: def form_from_factory(): form = SQLFORM.factory( Field('your_name', requires=IS_NOT_EMPTY()), Field('your_image', 'upload')) if form.accepts(request.vars, session): response.

[web2py] upload file without storing it

2011-06-01 Thread jc
I wish to upload a file, then process it without storing it in the upload folder (or anywhere else on the file system). I am trying to use the 'SQLFORM.Factory' because it gives me the nice html table of input fields, and the normal 'if form.accepts' processing for convenience. I thought I could pe

[web2py] Can't get linkto working in SQLFORM

2011-07-12 Thread jc
Hi, Trying to use linkto, so following example in web2py book first, to try to understand. I have copied the example with person and dog tables, in particular in def display_form(): I have link = URL('list_records') f

[web2py] Re: Can't get linkto working in SQLFORM

2011-07-23 Thread jc
, 9:45 am, Anthony wrote: > > > > > Please submit an issue on Google > > > > Code:http://code.google.com/p/web2py/issues/list > > > > > On Friday, July 15, 2011 1:33:22 AM UTC-4, tcab wrote: > > > > > I get this too - a spurious "list

[web2py] Re: Questions about chapter 3 in documentation - "request.vars.visitor_name"

2011-07-24 Thread jc
I too am a beginner, but here is my two ha'p'orth... On Jul 24, 5:01 am, Jared Stunn wrote: > I know this is really basic but I dont understand. Can somebody please > explain what is happening in the excerpt below. I am doing chapter 3 > of the documentation found > here:http://www.web2py.com/bo

[web2py] Re: Can't get linkto working in SQLFORM

2011-07-24 Thread jc
; > > > > I cannot reproduce this. Can anybody else? > > > > > On Jul 18, 8:13 pm, tcab wrote: > > > > > > Ok - added issue > > > > > ashttp://code.google.com/p/web2py/issues/detail?id=340 > > > > > > On Jul 15, 9:45 am, A

[web2py] I cannot get track_changes to work

2013-06-26 Thread jc
I have a model file which contains from gluon.custom_import import track_changes; track_changes(True) When I change a module file in the applications/app/modules directory, the changes don't appear. I have to kill and restart web2py to get the changes. Seems a simple recipe to follow from Chapt

[web2py] Re: I cannot get track_changes to work

2013-06-27 Thread jc
Thanks for your reply. I was on version 2.2.1, I have upgraded to trunk and it now works. -- --- 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.

[web2py] Re: Can't edit default.py after upgrade to 2.8.2

2013-12-16 Thread jc
Same problem for me using Chrome and Midori on Linux after upgrading to 2.8.2 However I try to launch the editor I get a blank screen. In the java console I get a load of this type of error: GET http://127.0.0.1:8000/admin/static/-2.7.3/codemirror/lib/codemirror.css 404 (NOT FOUND) So althoug

[web2py] Re: Can't edit default.py after upgrade to 2.8.2

2013-12-16 Thread jc
On Monday, 16 December 2013 17:06:28 UTC, LightDot wrote: > > Hm. It should be looking for > "/admin/static/_2.7.3/codemirror/lib/codemirror.css", > so _2.7.3 and not -2.7.3. > > > I don't think this dash is a direct typo in the web2py code. A rewrite rule > somewhere, regex gone wrong? > > I

[web2py] Re: Find Next

2014-02-01 Thread jc
If you scroll down to the bottom of the page containing the web editor a short list of short-cuts is displayed, including Cmd-G / Ctrl-G for repeat find. On Saturday, 1 February 2014 01:23:54 UTC, horridohobbyist wrote: > > Stooopid question: In the web-based editor, how do you "find next"? It's

[web2py] MySQL and OperationalError: (2006, 'MySQL server has gone away')

2014-03-03 Thread jc
Hello, I have a low volume application running on a shared host. All seems ok except I am getting a lot - 260 in a week - of OperationalError's like this: Traceback (most recent call last): File "/home/tgaa/web2py/gluon/main.py", line 543, in wsgibase BaseAdapter.close_all_instances('rollb

[web2py] Re: cannot operate on a closed database

2014-05-10 Thread jc
Have you read the items that result from a search in this group on "ProgrammingError: Cannot operate on a closed database"? There a lot of hits with varyious causes. I had a similar problem the other day and the items which described my error were: https://groups.google.com/forum/#!searchin/web

[web2py] Sorry if off-topic: web2py slices broken

2017-12-31 Thread jc
Cannot log in to web2py slices. http://www.web2pyslices.com/person/account/login gives Internal Error. Can't see an 'about' page or 'contact us' page either. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code

[web2py] Re: Help with MSSQL Connection

2015-07-01 Thread JC
Hello I had a similar problem, causes by 2 things: 1- sql configuration was wrong. 2- I need to specify the path fro the pyodbc location. Hope this help you On Tuesday, June 30, 2015 at 1:49:40 PM UTC+1, Massimiliano wrote: > > Hello, > > I've a problem with odbc. > > I'm developing on OSX

[web2py] Field validatio with multiple columns

2015-08-12 Thread JC
e), Field('current_year', 'integer', label=T('Year'), notnull= True), Field('current_value', 'float', label=T('Value'), notnull= True)) and I want to setup a validation so that I´m sure the combina

Re: [web2py] Re: how to get request.vars.value to controller

2018-08-15 Thread Lovedie JC
Yes that's what I am trying to get. The current inserted text. How should I work it out? On Thu, 16 Aug 2018, 01:05 Dave S wrote: > > > On Wednesday, August 15, 2018 at 8:12:37 AM UTC-7, lbjc...@gmail.com > wrote: >> >> Am puzzled by this, that I cant post text from request.vars value to >> dat

Re: [web2py] Re: how to get request.vars.value to controller

2018-08-16 Thread Lovedie JC
Sorry am trying to understand this statement: "If you're trying to look at the the row you just inserted, db.post.insert() returns the id of the new tuple, and that should allow your select() to be done by id." regards On Thu, 16 Aug 2018 at 01:05, Dave S wrote: > > > On Wednesday, August 15, 20

Re: [web2py] Re: how to get request.vars.value to controller

2018-08-17 Thread Lovedie JC
This is good for me. Thanks for the help On Thu, 16 Aug 2018 at 22:40, Dave S wrote: > > > On Thursday, August 16, 2018 at 1:53:18 AM UTC-7, Lovedie JC wrote: >> >> Sorry am trying to understand this statement: "If you're trying to look >> at the the

Re: [web2py] admin disabled because unable to access password file

2018-08-17 Thread Lovedie JC
I once had the same. Had to restart the comp. Sometimes you have to reinstall web2py. On Sat, 18 Aug 2018, 02:06 icodk wrote: > upgraded to Version 2.17.1-stable+timestamp.2018.08.05.17.57.00 from the > trunk > I copied the old password file (parameters_443_.py ) but get > admin disabled because

Re: [web2py] Re: multiple controllers with one view

2018-08-20 Thread Lovedie JC
Thanks. This is good On Mon, 20 Aug 2018, 15:16 Anthony wrote: > def conversations(): >> row = db(db.post.author== auth.user.id).select(db.post.id, db.post. >> convo, orderby=~db.post.id, limitby=(0,1)).first() >> id = row.convo if row else None >> return dict(id=id) >> >> >> with th

Re: [web2py] Re: access id of newly inserted text

2018-08-20 Thread Lovedie JC
Message inserted but id is blank On Mon, 20 Aug 2018, 15:45 Anthony wrote: > Is the problem that you are not getting the id of the latest insert, or > that you are getting the correct record, but no message is being inserted? > > Also, no reason to use if/else in the controller if you are simply

Re: [web2py] Re: access id of newly inserted text

2018-08-20 Thread Lovedie JC
> On Monday, August 20, 2018 at 8:47:17 AM UTC-4, Lovedie JC wrote: >> >> Message inserted but id is blank >> > > It's not possible for the id to be blank. Are you saying: > > id = row.id > > throws an exception? How are you determining that "

Re: [web2py] Access new values in last rowid

2018-08-24 Thread Lovedie JC
r = [request.vars.mssage] should be [request.vars.replies] On Fri, 24 Aug 2018 at 19:27, wrote: > We are a team of newbies in web2py trying out something new. If we insert > into a database an item, and let modules access the new values it does not > work properly as expected. > The code below:

Re: [web2py] Re: Form submit takes too long

2018-09-02 Thread Lovedie JC
Yes. Been away. But I am looking into this. I'll let you know the results. Regards On Sun, 2 Sep 2018, 21:03 justice Nanhou wrote: > Hallo Maurice, > > it is know issue for all application and all framworks. > which database are you using ? > - my first attempt will be to try to add indexes in t

Re: [web2py] Re: Form submit takes too long

2018-09-02 Thread Lovedie JC
Am using sqlite.storage On Sun, 2 Sep 2018, 21:03 justice Nanhou wrote: > Hallo Maurice, > > it is know issue for all application and all framworks. > which database are you using ? > - my first attempt will be to try to add indexes in the post and answers > Table on the field author. > - second

Re: [web2py] AttributeError: 'DAL' object has no attribute 'definitions'

2018-09-03 Thread Lovedie JC
Had to clean up cache, restart web2py. It's OK now. On Sun, 2 Sep 2018, 20:16 Maurice Waka wrote: > rows = db(db.definitions.definitions).select() > File "/usr/local/lib/python2.7/dist-packages/pydal/base.py", line 669, in > __getattr__ > return BasicStorage.__getattribute__(self, key) > Attr

Re: [web2py] Python loop brings an error

2018-09-11 Thread Lovedie JC
Anyone who's tried this to get the errors? Am desperate for a solution. On Sat, 8 Sep 2018, 21:45 wrote: > AM trying out a now game that involves a continuous input of data with an > instant display to the user of an image or data from the db. > How ever, when trying out a small bit of code, be

Re: [web2py] Re: Python loop brings an error

2018-09-11 Thread Lovedie JC
Yes. Am importing a function from a model. On Wed, 12 Sep 2018, 01:30 Leonel Câmara wrote: > I haven't tried it, but are you using global variables inside your > controller file? You could easily be always using the same results list > which you are always appending to. > > -- > Resources: > - h

Re: [web2py] Re: Python loop brings an error

2018-09-17 Thread Lovedie JC
When I restart the app rhea,error disappears briefly then recurs. On Sep 12, 2018 1:30 AM, "Leonel Câmara" wrote: > I haven't tried it, but are you using global variables inside your > controller file? You could easily be always using the same results list > which you are always appending to. >

Re: [web2py] Re: Current.db

2018-10-12 Thread Lovedie JC
I have it (current.db=db) in my model. But still got the error.i even tried to create another table but with the same error. On Fri, 12 Oct 2018, 18:31 Leonel Câmara wrote: > For current.db to work you need to put it there in a model file or > someplace else. You need do do something like curren

Re: [web2py] Re: Current.db

2018-10-12 Thread Lovedie JC
Yes. from gluon import * from gluon import current, DAL,field On Fri, 12 Oct 2018, 18:58 Leonel Câmara wrote: > Did you import current from gluon before doing that? > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source c

Re: [web2py] Re: Current.db

2018-10-12 Thread Lovedie JC
Here is the origin of the problem. I have two apps, I noticed that one function was using data from a db of another app. When I changed that, to pick data from the apps db that's when the error started. when using back the previous db the error is not there. I have tried to make several changes in

Re: [web2py] Re: Current.db

2018-10-12 Thread Lovedie JC
I just discovered that. Thanks for the help. But will let you know in case it appears again. On Sat, 13 Oct 2018, 00:42 Yoel Benitez Fonseca wrote: > h! > > > On Oct 12 2018, at 5:33 pm, Lovedie JC wrote: > > > Here is the origin of the problem. > I have two apps, I n

Re: [web2py] Re: Current.db

2018-10-13 Thread Lovedie JC
n import current > > current.db = db > current.auth = auth > > _() > > > Remember's the book says: don't import current into module level code. > > On Oct 12 2018, at 12:04 pm, Lovedie JC wrote: > > > Yes. > from gluon import * >

Re: [web2py] Re: reference gives error table company has no column named....

2018-10-25 Thread Lovedie JC
I used to get that. Delete the db from the database folder or rename it brhe refresh or restart web2py. On Thu, 25 Oct 2018, 09:36 mostwanted wrote: > When i do all this it gives me error saying table Customer exists! > > On Friday, August 31, 2018 at 2:53:18 AM UTC+2, Anthony wrote: >> >> fake

Re: [web2py] Re: reference gives error table company has no column named....

2018-10-25 Thread Lovedie JC
with the > table using the same name will it not throw the *table exists *error? > > On Thursday, October 25, 2018 at 11:13:31 AM UTC+2, Lovedie JC wrote: >> >> I used to get that. Delete the db from the database folder or rename it >> brhe refresh or restart web2py. >>

Re: [web2py] Re: mobile friendly login page

2018-10-25 Thread Lovedie JC
Works good. How about app buttons in a single line/row? Regards On Thu, 25 Oct 2018 at 16:22, sandeep patel wrote: > @lbjc > Add some margin between the buttons. > you can try this. Add this in user.html file > > .btn{ > margin-left: 10px; > margin-top: 10px; > } > > > Best/ > SP > >

Re: [web2py] Re: mobile friendly login page

2018-10-25 Thread Lovedie JC
Thanks. It looks lovely. Let me try it. On Thu, 25 Oct 2018, 18:14 Christian Varas wrote: > Sorry the image in the previous mails is broken, here is it: > https://imgur.com/a/I1SsGlp > > Cheers > Chris. > > El jue., 25 oct. 2018 a las 10:57, Lovedie JC () > escribió:

Re: [web2py] Re: No module named states

2018-10-26 Thread Lovedie JC
Latest of both. On Fri, 26 Oct 2018, 23:31 Dave S wrote: > > > On Friday, October 26, 2018 at 6:05:03 AM UTC-7, lbjc...@gmail.com wrote: >> >> I have a module with this: from gluon.contrib.states import * >> >> Getting the above error. >> >> Regards >> > > Which version of web2py and of python?

Re: [web2py] Re: No module named states

2018-10-26 Thread Lovedie JC
That is python 2.7, web2py 2.17.2 On Sat, 27 Oct 2018, 00:36 Lovedie JC wrote: > Latest of both. > > On Fri, 26 Oct 2018, 23:31 Dave S wrote: > >> >> >> On Friday, October 26, 2018 at 6:05:03 AM UTC-7, lbjc...@gmail.com wrote: >>> >>> I have a mo

Re: [web2py] Re: Implementing a chat room?

2018-11-07 Thread Lovedie JC
https://github.com/rpedroso/w2pchat On Thu, 8 Nov 2018 at 03:45, pbreit wrote: > Have a look at: > > https://github.com/web2py/web2py/blob/master/gluon/contrib/websocket_messaging.py > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py

Re: [web2py] Re: Error with datetime.

2018-11-07 Thread Lovedie JC
When using sqlite, I don't get the errors, but using Mongodb brings up the same error. On Thu, 8 Nov 2018 at 06:43, Maurice Waka wrote: > I'm still getting the same error when changing the dates. > > On Thu, Nov 8, 2018 at 2:27 AM 黄祥 wrote: > >> from error traceback seems like must convert the

Re: [web2py] Re: Problem with starting project

2018-11-08 Thread Lovedie JC
Last time I had the same but noted that the appconfig pt was not in the private folder. Once I moved bit the the error disappears. On Thu, 8 Nov 2018, 11:24 Dave S > > On Wednesday, November 7, 2018 at 10:06:31 PM UTC-8, Константин Комков > wrote: >> >> I downloaded web2py, deleted old and instal

Re: [web2py] '<'

2018-11-14 Thread Lovedie JC
I used to get such esp. when on of my files was corrupted in the databases. I'd reinstall web2py or delete all files in the databases folder and copy back to the databases folder from a back up folder. Hope this helps On Mon, 12 Nov 2018 at 22:35, mostwanted wrote: > I'm pulling my hairs out ove

Re: [web2py] Re: MongoDB

2018-11-19 Thread Lovedie JC
I've gone through the code and I haven't done any caching in selects but still getting the message. On Mon, 12 Nov 2018, 18:04 Leonel Câmara Don't use cache and cacheable in your selects. > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/we

Re: [web2py] Re: MongoDB

2018-11-19 Thread Lovedie JC
t 8:22:21 AM UTC-5, Lovedie JC wrote: >> >> I've gone through the code and I haven't done any caching in selects but >> still getting the message. >> >> On Mon, 12 Nov 2018, 18:04 Leonel Câmara wrote: >> >>> Don't use cache and cacheable

Re: [web2py] mobile responsive table

2018-12-01 Thread Lovedie JC
I. Changed the table position to static then added : @media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) { #table { display: block; } On Wed, 28 Nov 2018, 19:24 I'd like to have this table to fit in any media screen including ipad and > mobile phone

Re: [web2py] Unable to display dropdown lists in forms

2018-12-04 Thread Lovedie JC
I have done something like that. Let me retrieve it in 3hrs On 4 Dec 2018 5:17 PM, "Ben Duncan" wrote: I was working on trying to figure out the EXACT same thing ! Thanks .. *Ben Duncan* DBA / Chief Software Architect Mississippi State Supreme Court Electronic Filing Division On Tue, Dec

Re: [web2py] Web2py- PayUMoney Secure Online Payment Gateway.

2018-12-16 Thread Lovedie JC
What about python 2.7 compatibility On Sat, 15 Dec 2018 at 15:02, Arindam Dasgupta wrote: > Hi sandeep, > At last I have figured it out myself and the python version is now 3.6.0 > And after this change your payumoney app is also running. :-) > Thanks. > > [image: image.png] > > On Sat, Dec 15,

Re: [web2py] Creating charts and trends from db

2018-12-21 Thread Lovedie JC
Let me countercheck. On Fri, 21 Dec 2018, 12:32 sandeep patel @Maurice > This code is working good. you can check here > . > It would be easy to inspect the problem if you can show your controller > code what you have written. > > Thanks > > > On Fri,

Re: [web2py] Making my binary standalone apps function faster

2018-12-31 Thread Lovedie JC
I'm an amateur but learned that using gpu, docker platforms work well. Of course some good coding. On Mon, 31 Dec 2018, 09:09 mostwanted Hi guys, I develop a-lot of stand alone apps with web2py but my problem is > that i find the performing slower, every-time there is data entry or a > query it t

Re: [web2py] Re: Admin /default error

2019-02-03 Thread Lovedie JC
Something in the vews folder was the problem. After copying one item at a time and leaving out some layout templates, I don't have an issue any more. I still don't know what was the issue and hope it won't resurface. Regards On Mon, 4 Feb 2019, 09:34 Yi Liu This seems to be a typical py2 py3 tr

Re: [web2py] Error importing csv file in python3.6

2019-02-11 Thread Lovedie JC
Works. But I can't access the data. On Mon, 11 Feb 2019, 21:02 sandeep patel In fact, this is an open issue > for the same problem. You > can check that as well > > On Mon, Feb 11, 2019 at 11:27 PM sandeep patel > wrote: > >> I had the same issue. I

[web2py] "xml() in python 3.6 · Issue #2096 · web2py/web2py" https://github.com/web2py/web2py/issues/2096

2019-02-18 Thread Lovedie JC
"xml() in python 3.6 · Issue #2096 · web2py/web2py" https://github.com/web2py/web2py/issues/2096 -- 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 recei

Re: [web2py] Re: Xml use in python 3.6

2019-02-24 Thread Lovedie JC
I tried with the new updated web2py 2.18 but still get the same issue. Any help as to how to use xml here (also with yatl)? Regards On Thu, 21 Feb 2019 at 10:55, Massimo Di Pierro wrote: > The issue is fixed in https://github.com/web2py/yatl and it will go away > in web2py as soon as we switch >

Re: [web2py] Re: 2.18.1 is OUT

2019-02-24 Thread Lovedie JC
Having trouble with download page: See attached. On Mon, 25 Feb 2019 at 07:57, Alex Glaros wrote: > am on Windows > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/lis

Re: [web2py] Re: dict values error in python 3.6

2019-02-28 Thread Lovedie JC
Ok on p2. But I'm shifting to p3. 6 On Thu, 28 Feb 2019, 13:54 Kevin Keller wrote: > Seems a python3 vs python2 related error? > > > https://stackoverflow.com/questions/17431638/get-typeerror-dict-values-object-does-not-support-indexing-when-using-python > > Can you try to run your app with pyth

Re: [web2py] Re: Web2py version 2.18.2 Communications Error when in Admin.

2019-03-03 Thread Lovedie JC
Same to me and I have to save se3times and even merge the documents for it ot finally save. Regards On Sun, 3 Mar 2019, 13:20 Kevin Keller wrote: > The same here with python 3.7.1 on Windows10 latest Web2py from git from > this morning. > Pressing the save button twice brings up the merge dialog

Re: [web2py] Re: web2py 2.18.3 is OUT

2019-03-04 Thread Lovedie JC
Nice. Thanks for the bug fixes. Any info on the xml()? Regards On Mon, 4 Mar 2019, 14:58 Kevin Keller wrote: > Thanks! > > Its so cool seeing this moving along so quickly. > > There is one thing about this release that is still bothering me, which I > tried to fix myself, but to no avail. > The

Re: [web2py] Re: how to use a user specific form input

2019-03-06 Thread Lovedie JC
Ok. I the first example after I logged in several users, I noticed that they share the same table result. Meaning that when one user updates, everyone else sees the data. I want the privacy of a user having his/her own result. On Wed, 6 Mar 2019, 17:49 Leonel Câmara wrote: > Do you mean you want

Re: [web2py] Re: request.requires_https() Python 3 bug

2019-03-15 Thread Lovedie JC
You could backup the web2py folder, the try the new web2py 2.18.4 then revert in case it doesn't work. Life is about taking risks. Regards On Sat, 16 Mar 2019, 01:08 Yi Liu wrote: > Thanks for replying. Sorry, Massimo, I am reluctant to upgrade on my > server. I experience a major bug on my loca

Re: [web2py] Re: Error accessing app edit

2019-03-17 Thread Lovedie JC
Python 3. I moved to python 3 Regards On Mon, 18 Mar 2019, 05:49 Massimo Di Pierro wrote: > This says you are using python 3. Is your app build for python 3 or python > 2? > > > On Sunday, 17 March 2019 08:01:07 UTC-7, Maurice Waka wrote: >> >> When clicking on the edit button for my app, I get

Re: [web2py] Error when deleting items

2019-03-19 Thread Lovedie JC
Any help on this? On Mon, 18 Mar 2019, 00:31 Maurice Waka wrote: > This is my simple code when using to delete items from my database. > > grid = SQLFORM.grid(db.answered.author == auth.user.id, editable=False > , searchable=False, details= False, fields=None, csv=None, links=None, > create=

Re: [web2py] Re: The support of MongoDB is still experimental?

2019-04-09 Thread Lovedie JC
I use mongodb. It works well. I think digital Ocean.com implements it nicely On Wed, 10 Apr 2019, 02:09 João Matos wrote: > Thanks Anthony. Who can confirm this? Is ti Massimo or is there another > person in charge of MongoDB in web2py? > > > terça-feira, 9 de Abril de 2019 às 23:59:36 UTC+1, An

Re: [web2py] Re: The support of MongoDB is still experimental?

2019-04-10 Thread Lovedie JC
hout any issue? > Do you recommend it? > > > > quarta-feira, 10 de Abril de 2019 às 04:33:32 UTC+1, Lovedie JC escreveu: >> >> I use mongodb. It works well. I think digital Ocean.com implements it >> nicely >> >> On Wed, 10 Apr 2019, 02:09 João Matos wrote:

Re: [web2py] Custom validator that avoids saving duplicate / similar values on a database with custom forms

2019-05-20 Thread Lovedie JC
IS_NOT_IN_DB() On Mon, 20 May 2019, 10:07 mostwanted wrote: > I have a custom form that allows users to save information on what they > are selling but the problem is that at times customers save similar items > names and during a search by buyers the buyer gets a duplicate name > results, what

Re: [web2py] Re: Web2py: Update table content after submit action

2019-05-26 Thread Lovedie JC
Hi Dave. I have struggled with this for long but never got a good answer. Do you have an example where in the view page: {{=form}} in the primary page is used but the page is not refreshing On Sun, 26 May 2019, 11:16 Dave S wrote: > > > On Saturday, May 25, 2019 at 6:59:44 PM UTC-7, Cristina Sig

Re: [web2py] Re: Web2py: Update table content after submit action

2019-05-26 Thread Lovedie JC
I tried with www.web2py.com/AlterEgo/default/show/252 I have to keep refreshing the page for the form to reappear. On Sun, 26 May 2019, 14:43 Lovedie JC wrote: > Hi Dave. I have struggled with this for long but never got a good answer. > Do you have an example where in the view page: >

Re: [web2py] A schedule automatic delete from Database

2019-06-09 Thread Lovedie JC
Had one, let check my archives. On Sun, 9 Jun 2019, 09:47 mostwanted wrote: > Is there a way to schedule an automatic deleting of content from database > on a specified date? I have an application that I want to delete posts > when we reach specified dates. If anyone is familiar with this, your

Re: [web2py] A schedule automatic delete from Database

2019-06-09 Thread Lovedie JC
ards On Sun, 9 Jun 2019 at 12:41, Lovedie JC wrote: > Had one, let check my archives. > > On Sun, 9 Jun 2019, 09:47 mostwanted wrote: > >> Is there a way to schedule an automatic deleting of content from database >> on a specified date? I have an application that I want

Re: [web2py] A schedule automatic delete from Database

2019-06-10 Thread Lovedie JC
t; On Sunday, June 9, 2019 at 11:47:53 AM UTC+2, Lovedie JC wrote: >> >> import datetime >> >> yesterday = request.now - datetime.timedelta(days=1) >> db(db.post.modified_on < yesterday).delete() >> >> I hope this helps. You can work around it but work

Re: [web2py] A schedule automatic delete from Database

2019-06-10 Thread Lovedie JC
achieve this with your algorithm?? > > On Sunday, June 9, 2019 at 11:47:53 AM UTC+2, Lovedie JC wrote: >> >> import datetime >> >> yesterday = request.now - datetime.timedelta(days=1) >> db(db.post.modified_on < yesterday).delete() >> >> I hope t

Re: [web2py] A schedule automatic delete from Database

2019-06-10 Thread Lovedie JC
Welcome On Mon, 10 Jun 2019, 17:45 mostwanted wrote: > Thanks alot @Lovedie JC, I get now, i figured out how to use it. > > On Monday, June 10, 2019 at 11:27:27 AM UTC+2, Lovedie JC wrote: >> >> Further more the request.now which works with the time the item is posted &g

Re: [web2py] Generating graph with chartjs

2019-06-11 Thread Lovedie JC
I'm following this discussion. Does the chart have a print to image(jpg, png, svg) or pdf? Hicharts does a nice job. Regards On Tue, 11 Jun 2019, 19:25 Dave S wrote: > > > On Sunday, June 9, 2019 at 3:06:01 PM UTC-7, Christian Varas wrote: >> >> II have this site www.climbersoul.cl using AdminLT

Re: [web2py] please help testing web3py

2019-07-09 Thread Lovedie JC
Working for me but getting 40 Errors on myapp, _scaffolding. On Tue, 9 Jul 2019, 15:51 Carlos Costa wrote: > I was able to install, start and create app without problems on Ubuntu 19.4 > > Em ter, 9 de jul de 2019 às 09:43, Jim Steil > escreveu: > >> Works for me now. I deleted myapps and retr

Re: [web2py] please help testing web3py

2019-07-10 Thread Lovedie JC
Using ubunut 18.04lts, we are getting: Error Ticket: module 'jwt.exceptions' has no attribute 'InvalidSignatureError' Traceback (most recent call last): File "/home/mauricewaka/web3py/web3py/core.py", line 280, in load self.local.data = jwt.decode(token_data, self.secret, algorithms=[self.a

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Lovedie JC
I'm using Ubuntu 18.04 web2py, python 3.6. I was trying to deploy to digital Ocean On Thu, 11 Jul 2019, 16:28 Jim Steil wrote: > On Windows? Linux? Digital Ocean? > > On Thu, Jul 11, 2019 at 8:26 AM Maurice Waka > wrote: > >> The problem is with the welcome app. I haven't tried any other app.

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Lovedie JC
Web2py works well on the local machine. But when I follow the steps shown on the links, I get the error message. On Thu, 11 Jul 2019 at 17:13, Jim Steil wrote: > Does it work on your local Ubuntu install? > > -Jim > > On Thu, Jul 11, 2019 at 9:08 AM Lovedie JC wrote: > &

Re: [web2py] Re: How to solve the OSError: [Errno 9] Bad file descriptor error

2019-07-11 Thread Lovedie JC
How do I show them. I can see them in the folders but can't show them. On Thu, 11 Jul 2019 at 17:27, Jim Steil wrote: > Can you show: > > /etc/nginx/sites-enabled/web2py > > and > > /etc/uwsgi/web2py.ini > > -Jim > > On Thu, Jul 11, 2019 at 9:21 AM Lovedi

Re: [web2py] How do I solve the login issue

2019-07-13 Thread Lovedie JC
Hi. I had to remove and reinstall Google Chrome. Works for now. On Fri, 12 Jul 2019, 23:37 Maurice Waka wrote: > I recently upgraded to the latest version of web2py, > Today after restarting my system I have not been able to login to the > admin interface after countless attempts, repeat downloa

Re: [web2py] Re: How to get rid if the /init/default/ in the URL?

2019-09-03 Thread Lovedie JC
Ok. I meant hide them. Regards On Tue, 3 Sep 2019, 10:06 Dave S wrote: > > > On Saturday, August 31, 2019 at 4:58:49 AM UTC-7, Maurice Waka wrote: >> >> Hi >> This is a very good discussion. >> I followed it and it worked for me. >> However, I have multiple controllers with different views, How

  1   2   >