HelloZeroNet / ZeroNet

ZeroNet - Decentralized websites using Bitcoin crypto and BitTorrent network
https://zeronet.io
Other
18.37k stars 2.27k forks source link

Err: OperationalError: cannot start a transaction within a transaction #754

Closed jerry-wolf closed 7 years ago

jerry-wolf commented 7 years ago

Err: OperationalError: cannot start a transaction within a transaction in UiServer.py line 81 > UiRequest.py line 82 > UiRequest.py line 213 > SiteManagerPlugin.py line 64 > SiteManager.py line 129 > Site.py line 58 > ContentManager.py line 42 > PeerDbPlugin.py line 82 > ContentDbPlugin.py line 61 > ContentDbPlugin.py line 128 > DbCursor.py line 53

{ "GATEWAY_INTERFACE": "CGI/1.1", "HTTP_ACCEPT": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8", "HTTP_ACCEPT_ENCODING": "gzip, deflate, sdch, br", "HTTP_ACCEPT_LANGUAGE": "zh-CN,zh;q=0.8,zh-TW;q=0.6,en-US;q=0.4,en;q=0.2", "HTTP_CONNECTION": "keep-alive", "HTTP_DNT": "1", "HTTP_HOST": "127.0.0.1:43110", "HTTP_UPGRADE_INSECURE_REQUESTS": "1", "HTTP_USER_AGENT": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2970.0 Safari/537.36", "PATH_INFO": "/1VDSn52aqmhH4v5pgXKwteQyXtSHysmZM", "QUERY_STRING": "", "REMOTE_ADDR": "127.0.0.1", "REMOTE_PORT": "8282", "REQUEST_METHOD": "GET", "SCRIPT_NAME": "", "SERVER_NAME": "lmath-main", "SERVER_PORT": "43110", "SERVER_PROTOCOL": "HTTP/1.1", "SERVER_SOFTWARE": "gevent/1.1 Python/2.7", "arguments": { "action": "main", "batch": false, "bit_resolver": "1Name2NXVi1RDPDgf5617UoW7xA6YrhM9F", "coffeescript_compiler": "type %s | tools\coffee\coffee.cmd", "config_file": "zeronet.conf", "connected_limit": 6, "data_dir": "data", "debug": false, "debug_gevent": false, "debug_socket": false, "disable_db": false, "disable_encryption": false, "disable_sslcompression": true, "disable_udp": false, "fileserver_ip": "", "fileserver_port": 15441, "fix_float_decimals": false, "homepage": "1HeLLo4uzjaLetFx6NH3PMwFP3qbRbTf3D", "ip_external": null, "keep_ssl_cert": false, "language": "zh", "log_dir": "log", "max_files_opened": 2048, "msgpack_purepython": true, "open_browser": "default_browser", "optional_limit": "15", "proxy": null, "size_limit": 10, "stream_downloads": false, "tor": "enable", "tor_controller": "127.0.0.1:9051", "tor_proxy": "127.0.0.1:9050", "trackers": [ "zero://boot3rdez4rzn36x.onion:15441", "zero://boot.zeronet.io#f36ca555bee6ba216b14d10f38c16f7769ff064e0e37d887603548cc2e64191d:15441", "udp://tracker.coppersurfer.tk:6969", "udp://tracker.leechers-paradise.org:6969", "udp://9.rarbg.com:2710", "http://tracker.tordb.ml:6881/announce", "http://explodie.org:6969/announce", "http://tracker1.wasabii.com.tw:6969/announce" ], "trackers_file": false, "ui_ip": "", "ui_port": 43110, "ui_restrict": false, "updatesite": "1UPDatEDxnvHDo7TXvq6AEBARfNkyfxsp", "use_openssl": true, "use_tempfiles": false, "verbose": false }, "plugins": [ "AnnounceZero", "Bootstrapper", "CryptMessage", "MergerSite", "Newsfeed", "OptionalManager", "PeerDb", "Sidebar", "Stats", "TranslateSite", "Trayicon", "Zeroname" ], "version_gevent": "1.1.2", "version_python": "2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 32 bit (Intel)]", "version_zeronet": "0.5.1 r1806", "wsgi.url_scheme": "http" }

jerry-wolf commented 7 years ago

It works after restarting ZeroNet.