[web2py] Re: web2py broken with Python 3.8

2020-03-14 Thread villas
Hi Jim I think you are understanding it correctly, there isn't enough explicit info to give you enough reassurance.about moving to 3.8. I do not use 3.8 myself, but if Massimo says it works, then I assume it now does, but you still have to test your own app in your own environment. As you say,

[web2py] Re: web2py broken with Python 3.8

2020-03-13 Thread 'jim kaubisch' via web2py-users
Hi Villas, Then I'm confused... I've got 15k+ lines of reasonably complex web2py based Python 3.7.6 code. I'm thinking ahead to when it would be wise/necessary to migrate to 3.8 Massimo said "Both web2py and py4web are currently incompatible with python 3.8" (beginning of December) and later

[web2py] Re: web2py broken with Python 3.8

2020-03-12 Thread villas
web2py itself is designed to work on both versions of python. Perhaps it goes without saying, any code that you write yourself must be compatible with the python that you are targeting. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

[web2py] Re: web2py broken with Python 3.8

2020-03-12 Thread 'jim kaubisch' via web2py-users
Hi, How does one access the changes made in web2py to use Python 3.8? when I fire it up it tells me its up-to-date with 2.18.5-stable+timestamp.2019.04.08.04.22.03 I presume that version doesn't have the changes ?? Thanks On Friday, March 6, 2020 at 2:26:10 PM UTC-8, jim kaubisch wrote: > > W

[web2py] Re: web2py broken with Python 3.8

2020-03-06 Thread 'jim kaubisch' via web2py-users
What was the result of 3.8 for you when you tried it? On Wednesday, January 15, 2020 at 9:36:55 AM UTC-8, Woody wrote: > > Good news! I'll give it a try. > > On Friday, December 6, 2019 at 10:56:48 AM UTC-5, Woody wrote: >> >> web2py is broken with Python 3.8. I asked a question about this a few

[web2py] Re: web2py broken with Python 3.8

2020-01-15 Thread 'Woody' via web2py-users
Good news! I'll give it a try. On Friday, December 6, 2019 at 10:56:48 AM UTC-5, Woody wrote: > > web2py is broken with Python 3.8. I asked a question about this a few days > ago and was told that it would be fixed. Looking at the open issues for > w2p, I don't see open issues related to fixing

[web2py] Re: web2py broken with Python 3.8

2020-01-14 Thread Massimo Di Pierro
Works for me right now. On Monday, 6 January 2020 14:41:42 UTC-8, Woody wrote: > > Any update on when web2py will be compatible with Python 3.8? > > On Sunday, December 8, 2019 at 2:59:49 AM UTC-5, Massimo Di Pierro wrote: >> >> Both web2py and py4web are currently incompatible with python 3.8 bec

[web2py] Re: web2py broken with Python 3.8

2020-01-06 Thread 'Woody' via web2py-users
Any update on when web2py will be compatible with Python 3.8? On Sunday, December 8, 2019 at 2:59:49 AM UTC-5, Massimo Di Pierro wrote: > > Both web2py and py4web are currently incompatible with python 3.8 because > the latter break backward compatibility again. One of the issue is that > stream

[web2py] Re: web2py broken with Python 3.8

2019-12-08 Thread Massimo Di Pierro
Both web2py and py4web are currently incompatible with python 3.8 because the latter break backward compatibility again. One of the issue is that stream-like objects are now required to support more methods than they used to. Another issue I am trying to get to the bottom of has to do with pick

Re: [web2py] Re: web2py broken

2018-08-12 Thread 黄祥
still not sure where problem is in web2py part or in database sqlite part just an idea, why not separate the root cause first. in dev or testing environment, 1. use the same web2py app, with new database (test crud work or not). if work, then the problem probably is in database part 2. just follo

Re: [web2py] Re: web2py broken

2018-08-12 Thread BlueShadow
well in windows (home pc) I got full access for myself, system, admin and authenticated users. on my linux server I got the following: -rw-r--r-- 1 www-data www-data but never the less it doesn't work on either system. Any other idea? On Sunday, August 12, 2018 at 12:44:10 PM UTC+2, Junior Phan

Re: [web2py] Re: web2py broken

2018-08-12 Thread Junior Phanter
check the database permissions... Em 12/08/2018 06:14, "BlueShadow" escreveu: Do you guys have any tips what I can try next in order to fix it? Do you need to see other files? thanks for your help kind regards BlueShadow -- Resources: - http://web2py.com - http://web2py.com/book (Documentation

Re: [web2py] Re: web2py broken

2018-08-12 Thread BlueShadow
Do you guys have any tips what I can try next in order to fix it? Do you need to see other files? thanks for your help kind regards BlueShadow -- 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: web2py broken

2018-08-11 Thread BlueShadow
So I tried to connect on python. and it seems to work. I wrote this tiny program: import sqlite3 conn = sqlite3.connect('storage.sqlite') print(conn) c = conn.cursor() c.close() this is the output: So I guess it has nothing to do with a corrupted database. -- Resources: - http://web2py.com - htt

Re: [web2py] Re: web2py broken

2018-08-10 Thread BlueShadow
here is my menu.py: # -*- coding: utf-8 -*- # this file is released under public domain and you can use without limitations # ## Customize your APP title, subtitle and menus here ##

Re: [web2py] Re: web2py broken

2018-08-10 Thread 黄祥
if you sure the problem is with database sqlite file and your data is not corrupted (integrity checked database = OK) just an idea why not extract your data and put it on new database (sqlite or another dbms (recommended using export_to_csv_file() and import_from_csv_file() ) *# backup database*

Re: [web2py] Re: web2py broken

2018-08-10 Thread Anthony
Are you able to connect to the database (either the one on your server or the copy you have downloaded to your machine) via a Python shell using https://docs.python.org/2/library/sqlite3.html (i.e., no web2py or DAL)? Anthony On Friday, August 10, 2018 at 11:00:43 AM UTC-4, BlueShadow wrote: >

Re: [web2py] Re: web2py broken

2018-08-10 Thread Jim S
What about menu.py? Can we see that? -Jim On Friday, August 10, 2018 at 10:00:43 AM UTC-5, BlueShadow wrote: > > Hi thanks for all the answers. > Just before I got your answers I found this article: > https://www.team-mediaportal.com/wiki/display/MediaPortal1/Repair+SQLite+Database > > which

Re: [web2py] Re: web2py broken

2018-08-10 Thread villas
Although I don't really use SQLite, I just noticed that I have "SQLite2009 Pro Enterprise Manager" on my Windows PC. For a better list of tools, try the SQLite website: https://www.sqlite.org/cvstrac/wiki?p=ManagementTools -- Resources: - http://web2py.com - http://web2py.com/book (Documentat

[web2py] Re: web2py broken

2018-08-10 Thread 黄祥
you said your last backup is not work, is it on web2py app backup (*.py, etc) or database backup (something.sqlite or *.csv or *.sql) ? did you do incremental backup? if yes pls restore it one by one (date descending) to verify which one is work and the rest is same like the other's suggestion: -

Re: [web2py] Re: web2py broken

2018-08-10 Thread Jim S
How much of your app/data can you share with us? What does db.py look like? -Jim On Friday, August 10, 2018 at 7:32:05 AM UTC-5, BlueShadow wrote: > > Hi thanks for the post villas. > I have the database on my local pc. (storage.sqlite) > I opened it with the tool db browser and it seems to be

Re: [web2py] Re: web2py broken

2018-08-10 Thread Kevin Bethke
Hi thanks for the post villas. I have the database on my local pc. (storage.sqlite) I opened it with the tool db browser and it seems to be OK. At least I can view all the tables and I checked a few entries which are still there. Are there any tools you reccommend to verify and check it. I looked

[web2py] Re: web2py broken

2018-08-10 Thread villas
Hi Blueshadow, I think I would first make a copy of the SQLite database file and then use SQLite tools to examine and verify its integrity. By the way, whilst I find SQLite very useful for new experimental apps, I would not advise using SQLite in a production environment. I believe you will

[web2py] Re: web2py broken

2018-08-09 Thread BlueShadow
No one? Did I give insufficient information? I really need some help with this Problem thanks guys. On Thursday, August 9, 2018 at 1:27:42 PM UTC+2, BlueShadow wrote: > > > I just downloaded my entire app. (with FTP since I can't access the > webinterface) Now when I try to run it locally on a w

[web2py] Re: web2py broken

2018-08-09 Thread BlueShadow
I just downloaded my entire app. (with FTP since I can't access the webinterface) Now when I try to run it locally on a web2py compiled server (newest one directly from the site). I get the following error: 127.0.0.1.2018-08-09.13-16-30.9c125719-b261-4285-8a88-3012470558cc file is encrypted o