Comments (4)
@hlubach Thank you for reporting. You mentioned the latest Linux mint version and Deb file installation, so I assume 7.13.2 version. Could you provide a bit more information below?
- The Deb file you mentioned, is it downloaded from the official https://tribler.org website, can you confirm? If not where did you get it from?
- Could you run the following command on terminal and share the terminal logs? It will show the logs and will give us more insights where the error originated from.
/usr/share/tribler/triber
from tribler.
han@han-iMac:~$ /usr/share/tribler/tribler
INFO:__main__:Run Tribler: Namespace(allow_code_injection=False, chant_testnet=False, core=False, gui_test_mode=False, testnet=False, torrent='', trace_debug=False, trace_exception=False, trustchain_testnet=False, tunnel_testnet=False)
INFO:__main__:Root state dir: /home/han/.Tribler
INFO:__main__:Sentry has been initialised in normal mode
INFO:tribler.gui.start_gui:Running GUI in normal mode
INFO:tribler.gui.start_gui:Enabling a workaround for Ubuntu 21.04+ wayland environment
INFO:tribler.core.logger.logger:Load logger config: app_mode=tribler-gui, config_path=/usr/share/tribler/tribler_source/tribler/core/logger/logger.yaml, dir=/home/han/.Tribler
[tribler-gui PID:170689] 2024-03-14 00:26:12,366 - INFO - tribler.core.logger.logger(80) - Config loaded for app_mode=tribler-gui
[tribler-gui PID:170689] 2024-03-14 00:26:12,366 - INFO - tribler.core.check_os(121) - Check and enable code tracing. Process name: "gui". Log dir: "/home/han/.Tribler"
[tribler-gui PID:170689] 2024-03-14 00:26:12,367 - INFO - tribler.core.check_os(103) - Enable fault handler: "/home/han/.Tribler"
[tribler-gui PID:170689] 2024-03-14 00:26:12,367 - INFO - tribler.core.check_os(45) - Check environment
[tribler-gui PID:170689] 2024-03-14 00:26:12,367 - INFO - tribler.core.check_os(51) - Checking free space for the folder: /home/han/.Tribler
[tribler-gui PID:170689] 2024-03-14 00:26:12,367 - INFO - tribler.core.check_os(59) - There is enough free space: 138133 MB
[tribler-gui PID:170689] 2024-03-14 00:26:12,368 - INFO - TriblerApplication(25) - Start Tribler application. Win id: "triblerapp". Sys argv: "['/usr/share/tribler/tribler']"
Gtk-Message: 00:26:12.446: Failed to load module "xapp-gtk3-module"
[tribler-gui PID:170689] 2024-03-14 00:26:12,522 - INFO - TriblerApplication(51) - No running instances (socket error: 2)
[tribler-gui PID:170689] 2024-03-14 00:26:12,601 - INFO - tribler.gui.utilities(498) - Available Tribler translations {'Chinese': 'zh_CN', 'Russian': 'ru_RU', 'Spanish': 'es_ES', 'Portuguese': 'pt_BR', 'English': 'en_US'}
[tribler-gui PID:170689] 2024-03-14 00:26:12,602 - INFO - tribler.gui.utilities(499) - System language: ['nl-NL'], Tribler language: ['nl', 'nl-NL', 'nl-Latn-NL']
[tribler-gui PID:170689] 2024-03-14 00:26:12,603 - INFO - tribler.gui.start_gui(76) - Start Tribler Window
[tribler-gui PID:170689] 2024-03-14 00:26:12,620 - INFO - Tribler Config(86) - Init. State dir: /home/han/.Tribler. File: /home/han/.Tribler/triblerd.conf
[tribler-gui PID:170689] 2024-03-14 00:26:12,620 - INFO - VersionHistory(307) - Files to copy: ['ec_multichain.pem', 'ecpub_multichain.pem', 'secondary_key.pem', 'ec_trustchain_testnet.pem', 'triblerd.conf', 'lt.state']
[tribler-gui PID:170689] 2024-03-14 00:26:12,620 - INFO - VersionHistory(315) - Load: /home/han/.Tribler/version_history.json
[tribler-gui PID:170689] 2024-03-14 00:26:12,621 - ERROR <start_gui:86> tribler.gui.start_gui.run_gui(): Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "tribler/gui/start_gui.py", line 77, in run_gui
File "tribler/gui/tribler_window.py", line 207, in __init__
File "tribler/core/upgrade/version_manager.py", line 237, in __init__
File "tribler/core/upgrade/version_manager.py", line 316, in load
File "json/__init__.py", line 357, in loads
File "json/decoder.py", line 337, in decode
File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
********************************************************************************
Tribler Exception
********************************************************************************
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
****************************
Just tried the latest vdebfil from the site ,but with the same json message
from tribler.
The error occurred here:
tribler/src/tribler/core/upgrade/version_manager.py
Lines 314 to 316 in 5914263
Based on the logs provided, my guess is that there was a corrupted version_history.json
VersionHistory(315) - Load: /home/han/.Tribler/version_history.json
I suppose that just removing this file should solve the problem, @hlubach
from tribler.
I was able to reproduce the bug by executing the following command:
~/.Tribler
➜ echo > version_history.json
from tribler.
Related Issues (20)
- [7.13.3] PermissionError: [Errno 13] Permission denied: <filepath>
- Health notification is not being sent to the GUI
- [7.13.3] ValueError: bit must be 0 or 1, got 4
- `Stale.yml` Node.js 16 actions are deprecated
- `Gatekeeper.yml` gatekeeper Label check failed: required 1 of 'PR: safe to check', but found 0. HOT 1
- is_frozen() returns the wrong result when the Tribler binary is built with cx_freeze instead of PyInstaller
- [7.14 release branch] PyInstaller refuses to build Tribler on Mac
- `guitest` is failing HOT 1
- After upgrade to 7.14.0 http_port keeps changing and api does not work HOT 27
- GUI tests are order dependent
- No matching distribution found for libtorrent==1.2.19 for macOS HOT 1
- [7.14.0] ValueError: invalid literal for int() with base 10 (in DownloadManager.set_proxy_settings) HOT 1
- [7.14] TypeError: 'NoneType' object is not subscriptable
- Streaming in Ubuntu
- Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognized image file format HOT 1
- [main] KeyError: 'ratio' (in `DownloadWidgetItem.__lt__`)
- Move File Storage issue HOT 1
- [7.14] Slow coroutine step execution: TunnelCommunity.do_remove()
- [7.14] Slow coroutine step execution (34.290 seconds): BandwidthDatabase.get_total_taken HOT 1
- [7.14] Ten-second event loop freezes on `sqlite3.Connection.disconnect` call
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tribler.