Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when "Copy" in Preview mode #595

Closed
waltlps opened this issue Sep 3, 2021 · 4 comments
Closed

Crash when "Copy" in Preview mode #595

waltlps opened this issue Sep 3, 2021 · 4 comments

Comments

@waltlps
Copy link

waltlps commented Sep 3, 2021

I'm using RedNotebook 2.20 on Windows 64 bits. I noticed that when I'm in Preview mode and I click Edit--> Copy the software crashes immediately and all changes in the edit section are lost.
I searched for this bug here at GitHub and didn't see this reported. I don't know if this same bug exists in the latest version of RedNotebook.
I am going to keep this version until I receive some feedback on the matter and hopefully I could provide any more details you need.
Thanks!

@jendrikseipp
Copy link
Owner

Thanks for the report! Could you try running RedNotebook from the command line, click "Edit->Copy" and paste the output here? If that's not possible, please paste the contents of the C:\Users\username.rednotebook\rednotebook.log file.

@waltlps
Copy link
Author

waltlps commented Sep 6, 2021

Hi @jendrikseipp ! Thanks for your message. I am going to paste the contents of C:\Users\username.rednotebook\rednotebook.log file. I tried loading rednotebook from both PowerShell and CMD, re-created the issue, but nothing was shown in both terminals.

These are the contents of rednotebook.log:

PS C:\Users\walter\.rednotebook> cat .\rednotebook.log
2021-09-06 05:16:32,927 INFO     Writing log to file "C:\Users\walter\.rednotebook\rednotebook.log"
2021-09-06 05:16:32,927 INFO     System encoding: mbcs
2021-09-06 05:16:32,927 INFO     Language code: en_US
2021-09-06 05:16:33,041 INFO     Running in portable mode: False
2021-09-06 05:16:33,041 INFO     First Start: False
2021-09-06 05:16:33,042 INFO     RedNotebook version: 2.20
2021-09-06 05:16:33,042 INFO     System info: machine: AMD64, platform: Windows-10-10.0.19041-SP0, processor: Intel64 Family 6 Model 158 Stepping 13, GenuineIntel, python_version: 3.4.4, release: 10, system: Windows, GTK: (3, 18, 9), Glib: (2, 52, 1), PyGObject: (3, 18, 2), YAML: 3.13
2021-09-06 05:16:33,650 DEBUG    Default font: Sans 10
2021-09-06 05:16:33,650 DEBUG    Default size: 10.0
2021-09-06 05:16:33,859 DEBUG    Tray icon visible: False
2021-09-06 05:16:33,861 INFO     Opening journal at 'C:\\Users\\walter\\.rednotebook\\data'
2021-09-06 05:16:33,861 DEBUG    Starting to load files in dir "C:\Users\walter\.rednotebook\data"
2021-09-06 05:16:33,862 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2017-12.txt"
2021-09-06 05:16:33,863 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2018-01.txt"
2021-09-06 05:16:33,865 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2018-02.txt"
2021-09-06 05:16:33,867 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2018-03.txt"
2021-09-06 05:16:33,868 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2018-04.txt"
2021-09-06 05:16:33,870 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2018-05.txt"
2021-09-06 05:16:33,871 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2018-06.txt"
2021-09-06 05:16:33,873 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2018-07.txt"
2021-09-06 05:16:33,874 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2018-08.txt"
2021-09-06 05:16:33,875 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2018-09.txt"
2021-09-06 05:16:33,876 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2018-10.txt"
2021-09-06 05:16:33,877 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2018-11.txt"
2021-09-06 05:16:33,879 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2018-12.txt"
2021-09-06 05:16:33,880 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2019-01.txt"
2021-09-06 05:16:33,881 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2019-02.txt"
2021-09-06 05:16:33,882 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2019-03.txt"
2021-09-06 05:16:33,884 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2019-04.txt"
2021-09-06 05:16:33,885 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2019-05.txt"
2021-09-06 05:16:33,886 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2019-06.txt"
2021-09-06 05:16:33,887 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2019-07.txt"
2021-09-06 05:16:33,889 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2019-08.txt"
2021-09-06 05:16:33,890 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2019-09.txt"
2021-09-06 05:16:33,891 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2019-10.txt"
2021-09-06 05:16:33,893 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2019-11.txt"
2021-09-06 05:16:33,894 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2019-12.txt"
2021-09-06 05:16:33,895 DEBUG    2020-01.CONFLICT_BACKUP1579746287.2356353.txt is not a valid month filename
2021-09-06 05:16:33,896 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2020-01.txt"
2021-09-06 05:16:33,897 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2020-02.txt"
2021-09-06 05:16:33,899 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2020-03.txt"
2021-09-06 05:16:33,900 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2020-04.txt"
2021-09-06 05:16:33,901 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2020-05.txt"
2021-09-06 05:16:33,903 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2020-06.txt"
2021-09-06 05:16:33,904 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2020-07.txt"
2021-09-06 05:16:33,906 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2020-08.txt"
2021-09-06 05:16:33,906 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2020-09.txt"
2021-09-06 05:16:33,907 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2020-10.txt"
2021-09-06 05:16:33,909 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2020-11.txt"
2021-09-06 05:16:33,910 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2020-12.txt"
2021-09-06 05:16:33,912 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2021-01.txt"
2021-09-06 05:16:33,913 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2021-02.txt"
2021-09-06 05:16:33,915 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2021-03.txt"
2021-09-06 05:16:33,916 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2021-04.txt"
2021-09-06 05:16:33,918 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2021-05.txt"
2021-09-06 05:16:33,921 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2021-06.txt"
2021-09-06 05:16:33,923 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2021-07.txt"
2021-09-06 05:16:33,924 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2021-08.txt"
2021-09-06 05:16:33,927 DEBUG    Loading file "C:\Users\walter\.rednotebook\data\2021-09.txt"
2021-09-06 05:16:33,927 DEBUG    Finished loading files in dir "C:\Users\walter\.rednotebook\data"
2021-09-06 05:16:34,068 INFO     Connected Signals: [2, 22, 15]
2021-09-06 05:16:34,068 DEBUG    Start took 1.0266129970550537 seconds
2021-09-06 05:16:34,068 DEBUG    Trying to enter the gtk main loop
2021-09-06 05:16:34,209 INFO     Last backup was made 9 days ago
2021-09-06 05:16:34,209 WARNING  Last backup is older than 7 days.
2021-09-06 05:16:45,586 DEBUG    Background color: rgb(246,246,246)
2021-09-06 05:16:45,586 DEBUG    Foreground color: rgb(46,52,54)
2021-09-06 05:16:45,586 DEBUG    Add mathjax code: False
[CEF Python] ExceptHook: catched exception, will shutdown CEF

Traceback (most recent call last):
  File "C:\repo\rednotebook\gui\menu.py", line 357, in on_copy_menu_item_activate
TypeError: <Preview object at 0x53640f8 (rednotebook+gui+main_window+Preview at 0x5dec0a8)>: unknown signal name: copy_clipboard

PS C:\Users\walter\.rednotebook>

I can see the bug is logged there.

I am open to assist in whatever it's possible.

@jendrikseipp
Copy link
Owner

Thanks for the info! Unfortunately, I can't look into this at the moment, but maybe someone else can.

@jendrikseipp
Copy link
Owner

Closing this since the newest version has a new preview mode that uses an external browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants