Bug 1922761

Summary: [abrt] calibre: makedirs(): os.py:225:makedirs:FileExistsError: [Errno 17] Arquivo existe: '/home/vinicius/.config/calibre/conversion'
Product: [Fedora] Fedora Reporter: ViniciusAccioly <vaccioly>
Component: calibreAssignee: Kevin Fenzi <kevin>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: chkr, helio, kevin, nushio, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/08167dfba4112e0bfbfc86777cca3bb30cc64505
Whiteboard: abrt_hash:ad52cc639b85dfb97b96414e1ff4a4d171948880;VARIANT_ID=workstation;
Fixed In Version: calibre-4.23.0-6.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-27 02:08:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description ViniciusAccioly 2021-01-31 12:22:36 UTC
Version-Release number of selected component:
calibre-4.23.0-3.fc33

Additional info:
reporter:       libreport-2.14.0
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.1-org.gnome.Nautilus
cmdline:        /usr/bin/python3 /bin/ebook-edit --detach '/home/vinicius/epub/A magica da arrumacao - Marie Kondo.epub'
crash_function: makedirs
exception_type: FileExistsError
executable:     /bin/ebook-edit
interpreter:    python3-3.9.1-2.fc33.x86_64
kernel:         5.10.9-201.fc33.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
os.py:225:makedirs:FileExistsError: [Errno 17] Arquivo existe: '/home/vinicius/.config/calibre/conversion'

Traceback (most recent call last):
  File "/bin/ebook-edit", line 20, in <module>
    sys.exit(ebook_edit())
  File "/usr/lib64/calibre/calibre/gui_launch.py", line 119, in ebook_edit
    main(args)
  File "/usr/lib64/calibre/calibre/gui2/tweak_book/main.py", line 98, in main
    _run(args)
  File "/usr/lib64/calibre/calibre/gui2/tweak_book/main.py", line 66, in _run
    from calibre.gui2.tweak_book.ui import Main
  File "/usr/lib64/calibre/calibre/gui2/tweak_book/ui.py", line 29, in <module>
    from calibre.gui2.tweak_book.boss import Boss
  File "/usr/lib64/calibre/calibre/gui2/tweak_book/boss.py", line 28, in <module>
    from calibre.ebooks.oeb.polish.main import SUPPORTED, tweak_polish
  File "/usr/lib64/calibre/calibre/ebooks/oeb/polish/main.py", line 20, in <module>
    from calibre.ebooks.oeb.polish.jacket import (
  File "/usr/lib64/calibre/calibre/ebooks/oeb/polish/jacket.py", line 9, in <module>
    from calibre.ebooks.conversion.config import load_defaults
  File "/usr/lib64/calibre/calibre/ebooks/conversion/config.py", line 20, in <module>
    os.makedirs(config_dir)
  File "/usr/lib64/python3.9/os.py", line 225, in makedirs
    mkdir(name, mode)
FileExistsError: [Errno 17] Arquivo existe: '/home/vinicius/.config/calibre/conversion'

Local variables in innermost frame:
name: '/home/vinicius/.config/calibre/conversion'
mode: 511
exist_ok: False
head: '/home/vinicius/.config/calibre'
tail: 'conversion'

Comment 1 ViniciusAccioly 2021-01-31 12:22:39 UTC
Created attachment 1752601 [details]
File: backtrace

Comment 2 ViniciusAccioly 2021-01-31 12:22:40 UTC
Created attachment 1752602 [details]
File: cpuinfo

Comment 3 ViniciusAccioly 2021-01-31 12:22:41 UTC
Created attachment 1752603 [details]
File: environ

Comment 4 ViniciusAccioly 2021-01-31 12:22:42 UTC
Created attachment 1752604 [details]
File: mountinfo

Comment 5 ViniciusAccioly 2021-01-31 12:22:43 UTC
Created attachment 1752605 [details]
File: namespaces

Comment 6 ViniciusAccioly 2021-01-31 12:22:44 UTC
Created attachment 1752606 [details]
File: open_fds

Comment 7 Zbigniew Jędrzejewski-Szmek 2021-09-30 06:48:08 UTC
https://github.com/kovidgoyal/calibre/pull/1486

Comment 8 Zbigniew Jędrzejewski-Szmek 2021-10-02 12:38:57 UTC
The patch has been accepted upstream. But I will not backport the patch to F<35 because this
is mostly a cosmetic issue. The fix will appear in F>=35 when upstream makes a release.

Comment 9 Fedora Update System 2021-10-18 19:03:38 UTC
FEDORA-2021-5a75083479 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-5a75083479

Comment 10 Fedora Update System 2021-10-19 00:48:46 UTC
FEDORA-2021-5a75083479 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-5a75083479`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-5a75083479

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

Comment 11 Fedora Update System 2021-10-27 02:08:48 UTC
FEDORA-2021-5a75083479 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.