Bug 1959680 - [abrt] retext: detectFileEncoding(): tab.py:320:detectFileEncoding:OSError: [Errno 5] Input/output error
Summary: [abrt] retext: detectFileEncoding(): tab.py:320:detectFileEncoding:OSError: [...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: retext
Version: 34
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: José Matos
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:02014c10d3520b30937ef3acb03...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-12 05:17 UTC by Martin
Modified: 2021-11-24 01:18 UTC (History)
2 users (show)

Fixed In Version: retext-7.2.2-1.fc34 retext-7.2.2-1.fc35
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-24 01:09:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.29 KB, text/plain)
2021-05-12 05:17 UTC, Martin
no flags Details
File: cpuinfo (2.39 KB, text/plain)
2021-05-12 05:17 UTC, Martin
no flags Details
File: environ (1.43 KB, text/plain)
2021-05-12 05:17 UTC, Martin
no flags Details
File: mountinfo (3.08 KB, text/plain)
2021-05-12 05:17 UTC, Martin
no flags Details
File: namespaces (172 bytes, text/plain)
2021-05-12 05:17 UTC, Martin
no flags Details
File: open_fds (3.15 KB, text/plain)
2021-05-12 05:17 UTC, Martin
no flags Details

Description Martin 2021-05-12 05:17:29 UTC
Description of problem:
Tried to open a file from a folder shared by / saved on Tresorit. "Could not open file". Since then I can't open ReText any more.

Version-Release number of selected component:
retext-7.1.0-5.fc34

Additional info:
reporter:       libreport-2.14.0
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-me.mitya57.ReText-3364.scope
cmdline:        /usr/bin/python3 /usr/bin/retext
crash_function: detectFileEncoding
exception_type: OSError
executable:     /usr/bin/retext
interpreter:    python3-3.9.4-1.fc34.x86_64
kernel:         5.11.18-300.fc34.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
tab.py:320:detectFileEncoding:OSError: [Errno 5] Input/output error

Traceback (most recent call last):
  File "/usr/bin/retext", line 33, in <module>
    sys.exit(load_entry_point('ReText==7.1.0', 'gui_scripts', 'retext')())
  File "/usr/lib/python3.9/site-packages/ReText/__main__.py", line 131, in main
    window.restoreLastOpenedFiles()
  File "/usr/lib/python3.9/site-packages/ReText/window.py", line 396, in restoreLastOpenedFiles
    self.openFileWrapper(file)
  File "/usr/lib/python3.9/site-packages/ReText/window.py", line 861, in openFileWrapper
    self.currentTab.readTextFromFile(fileName)
  File "/usr/lib/python3.9/site-packages/ReText/tab.py", line 338, in readTextFromFile
    encoding = self.detectFileEncoding(self._fileName)
  File "/usr/lib/python3.9/site-packages/ReText/tab.py", line 320, in detectFileEncoding
    raw = inputFile.read(2048)
OSError: [Errno 5] Input/output error

Local variables in innermost frame:
self: <ReText.tab.ReTextTab object at 0x7fe58803f430>
fileName: '/home/martin/TresoritDrive/Martins tresor/mystuff/infos_projects/datacube/the_containership.md'
chardet: <module 'chardet' from '/usr/lib/python3.9/site-packages/chardet/__init__.py'>
inputFile: <_io.BufferedReader name='/home/martin/TresoritDrive/Martins tresor/mystuff/infos_projects/datacube/the_containership.md'>

Comment 1 Martin 2021-05-12 05:17:33 UTC
Created attachment 1782229 [details]
File: backtrace

Comment 2 Martin 2021-05-12 05:17:34 UTC
Created attachment 1782230 [details]
File: cpuinfo

Comment 3 Martin 2021-05-12 05:17:35 UTC
Created attachment 1782231 [details]
File: environ

Comment 4 Martin 2021-05-12 05:17:37 UTC
Created attachment 1782232 [details]
File: mountinfo

Comment 5 Martin 2021-05-12 05:17:38 UTC
Created attachment 1782233 [details]
File: namespaces

Comment 6 Martin 2021-05-12 05:17:40 UTC
Created attachment 1782234 [details]
File: open_fds

Comment 7 Fedora Update System 2021-11-15 14:15:32 UTC
FEDORA-2021-4a38c391e9 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-4a38c391e9

Comment 8 Fedora Update System 2021-11-15 14:17:21 UTC
FEDORA-2021-1b67e4853a has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-1b67e4853a

Comment 9 Fedora Update System 2021-11-16 15:42:29 UTC
FEDORA-2021-1b67e4853a has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-1b67e4853a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-1b67e4853a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2021-11-16 15:52:17 UTC
FEDORA-2021-4a38c391e9 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-2021-4a38c391e9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-4a38c391e9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2021-11-24 01:09:26 UTC
FEDORA-2021-1b67e4853a has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2021-11-24 01:18:53 UTC
FEDORA-2021-4a38c391e9 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.