Version-Release number of selected component: jrnl-2.8.3-1.fc35 Additional info: reporter: libreport-2.15.2 cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-4e5d19ff-4bd5-45e5-aee5-b18b97f2ad36.scope cmdline: /usr/bin/python3 -s /usr/bin/jrnl -to today crash_function: _display_search_results exception_type: AttributeError executable: /usr/bin/jrnl interpreter: python3-3.10.1-2.fc35.x86_64 kernel: 5.15.12-200.fc35.x86_64 runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: jrnl.py:340:_display_search_results:AttributeError: 'NoneType' object has no attribute 'export' Traceback (most recent call last): File "/usr/bin/jrnl", line 8, in <module> sys.exit(cli()) File "/usr/lib/python3.10/site-packages/jrnl/cli.py", line 34, in cli return run(args) File "/usr/lib/python3.10/site-packages/jrnl/jrnl.py", line 73, in run search_mode(**kwargs) File "/usr/lib/python3.10/site-packages/jrnl/jrnl.py", line 179, in search_mode _display_search_results(**kwargs) File "/usr/lib/python3.10/site-packages/jrnl/jrnl.py", line 340, in _display_search_results print(exporter.export(journal, args.filename)) AttributeError: 'NoneType' object has no attribute 'export' Local variables in innermost frame: args: Namespace(debug=False, preconfig_cmd=None, postconfig_cmd=None, filename=None, on_date=None, today_in_history=False, month=None, day=None, year=None, start_date=None, end_date='today', contains=None, strict=False, starred=False, limit=None, excluded=[], edit=False, delete=False, export=False, tags=False, short=False, config_override=[], text=[], journal_name='default') journal: <Journal with 1 entries> kwargs: {'config': {'colors': {'body': 'NONE', 'date': 'GREEN', 'tags': 'YELLOW', 'title': 'BLUE'}, 'default_hour': 9, 'default_minute': 0, 'display_format': 'pretty', 'editor': 'nano', 'encrypt': False, 'highlight': True, 'indent_character': '|', 'journals': {'default': '~/Projects/jrnl/journal.txt', 'story': {'journal': '~/Projects/jrnl/story.txt'}}, 'linewrap': 80, 'tagsymbols': '#', 'template': False, 'timeformat': '%a, %d %b %Y %H:%M:%S', 'version': 'v2.8.3', 'journal': '~/Projects/jrnl/journal.txt'}, 'old_entries': [<Entry 'Este texto é um teste' on 2022-01-10 19:02>]} exporter: None
Created attachment 1850399 [details] File: backtrace
Created attachment 1850400 [details] File: cpuinfo
Created attachment 1850401 [details] File: environ
Created attachment 1850402 [details] File: mountinfo
Created attachment 1850403 [details] File: namespaces
Created attachment 1850404 [details] File: open_fds
Can you please check upstream bug https://github.com/jrnl-org/jrnl/issues/1263 and confirm whether or not this is the same issue? In particular, consider re-running the command with --debug, i.e.: > jrnl -to today --debug and checking whether your configuration contains > 'display_format': 'short' or > 'display_format': 'pretty'
Yes, you're correct. I've put the display_format with 'pretty' or 'fancy', but because of this bug, I delete it. I'll link this issue to github, if the files haven't any confidencial issues ...
Sounds good! Thanks for checking. I’ll reference this issue in a package update when upstream reports the problem is fixed.
@code Can you remove the private tag from this issue, to be acessible to Github users?
(In reply to Tiago d'Almeida from comment #10) > @code Can you remove the private tag from this issue, to > be acessible to Github users? Since you’re the original submitter and you agree it should be public, I’ll be happy to do so.
Thanks!
Upstream has fixed this in PR https://github.com/jrnl-org/jrnl/pull/1495. I have backported this as a patch and am updating the Fedora packages with the bugfix.
FEDORA-2022-2a1a4a5313 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-2a1a4a5313
FEDORA-2022-2a1a4a5313 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-da979d68b6 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-da979d68b6
FEDORA-2022-11a485efff has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-11a485efff
FEDORA-2022-da979d68b6 has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-da979d68b6` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-da979d68b6 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-11a485efff has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-11a485efff` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-11a485efff See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
With my testing, I guess this issue is resolved. Thanks for all your effort!
Thanks for your testing, and for the detailed bug report and interaction with upstream. I’m glad the fix is working for you!
FEDORA-2022-da979d68b6 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-11a485efff has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.