rednotebook icon indicating copy to clipboard operation
rednotebook copied to clipboard

Rednotebook on Linux Mint 20.2 x64 destroys its files

Open vpereguda opened this issue 2 years ago • 0 comments

Describe the bug From time to time Rednotebook says in console at startup: "File xxxxx could not be read". when I go to the file, I see its size is equal to zero and the file is indeed empty - however before it was a normal Rednotebook's file. After deleting the file, Rednotebook starts normally, but the content of the file is lost for sure.

This bug appears periodically, not always, so I don't now how to reproduce it.

Plz note that Rednotebook's directory ../data is kept not in my home dir but on another fault-tolerant drive, so from my /home/.. directory there is a symlink to the data folder.

Versions:

  • RedNotebook version 2.22
  • Operating system and version: Linux Mint 20.2 x64.

Log output when reproducing bug username@machineName:~$ rednotebook Adding /usr/share/rednotebook to sys.path 2021-12-26 11:44:42,747 INFO Writing log to file "/home/username/.rednotebook/rednotebook.log" 2021-12-26 11:44:42,748 INFO System encoding: utf-8 2021-12-26 11:44:42,748 INFO Language code: en_US 2021-12-26 11:44:42,946 INFO Running in portable mode: False 2021-12-26 11:44:42,946 INFO First Start: False 2021-12-26 11:44:42,947 INFO RedNotebook version: 2.22 2021-12-26 11:44:42,965 INFO System info: machine: x86_64, platform: Linux-5.4.0-91-generic-x86_64-with-glibc2.29, processor: x86_64, python_version: 3.8.10, release: 5.4.0-91-generic, system: Linux, GTK: (3, 24, 20), Glib: (2, 64, 2), PyGObject: (3, 36, 0), YAML: 5.3.1

(rednotebook:13622): Gtk-WARNING **: 11:44:43.168: Content added to the action area of a dialog using header bars

(rednotebook:13622): Gtk-WARNING **: 11:44:43.168: Content added to the action area of a dialog using header bars

(rednotebook:13622): Gtk-WARNING **: 11:44:43.241: Content added to the action area of a dialog using header bars

(rednotebook:13622): Gtk-WARNING **: 11:44:43.241: Content added to the action area of a dialog using header bars

(rednotebook:13622): Gtk-WARNING **: 11:44:43.302: Content added to the action area of a dialog using header bars

(rednotebook:13622): Gtk-WARNING **: 11:44:43.303: Content added to the action area of a dialog using header bars

(rednotebook:13622): Gtk-WARNING **: 11:44:43.389: Content added to the action area of a dialog using header bars

(rednotebook:13622): Gtk-WARNING **: 11:44:43.390: Content added to the action area of a dialog using header bars 2021-12-26 11:44:43,414 DEBUG Default font: Ubuntu 10 2021-12-26 11:44:43,414 DEBUG Default size: 10.0 2021-12-26 11:44:43,555 INFO Cloud ignore list: ['#tags', 'and', 'comma', 'filter', 'separated', 'these', 'words'] 2021-12-26 11:44:43,556 INFO Cloud include list: ['job', 'mtv', 'play', 'spam', 'work'] 2021-12-26 11:44:43,556 DEBUG Start compiling regexes 2021-12-26 11:44:43,557 DEBUG Finished 2021-12-26 11:44:43,632 DEBUG Tray icon visible: False 2021-12-26 11:44:43,634 INFO Opening journal at '/home/username/.rednotebook/data' 2021-12-26 11:44:43,635 DEBUG Starting to load files in dir "/home/username/.rednotebook/data" 2021-12-26 11:44:43,640 DEBUG Loading file "/home/username/.rednotebook/data/2014-11.txt" 2021-12-26 11:44:43,642 ERROR Error: The file /home/username/.rednotebook/data/2014-11.txt could not be read

vpereguda avatar Dec 26 '21 16:12 vpereguda