Bug 1922761 - [abrt] calibre: makedirs(): os.py:225:makedirs:FileExistsError: [Errno 17] Arquivo existe: '/home/vinicius/.config/calibre/conversion'
Summary: [abrt] calibre: makedirs(): os.py:225:makedirs:FileExistsError: [Errno 17] Ar...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: calibre
Version: 33
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:ad52cc639b85dfb97b96414e1ff...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-31 12:22 UTC by ViniciusAccioly
Modified: 2021-10-27 02:08 UTC (History)
5 users (show)

Fixed In Version: calibre-4.23.0-6.fc34
Clone Of:
Environment:
Last Closed: 2021-10-27 02:08:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.51 KB, text/plain)
2021-01-31 12:22 UTC, ViniciusAccioly
no flags Details
File: cpuinfo (2.28 KB, text/plain)
2021-01-31 12:22 UTC, ViniciusAccioly
no flags Details
File: environ (1.43 KB, text/plain)
2021-01-31 12:22 UTC, ViniciusAccioly
no flags Details
File: mountinfo (2.65 KB, text/plain)
2021-01-31 12:22 UTC, ViniciusAccioly
no flags Details
File: namespaces (172 bytes, text/plain)
2021-01-31 12:22 UTC, ViniciusAccioly
no flags Details
File: open_fds (263 bytes, text/plain)
2021-01-31 12:22 UTC, ViniciusAccioly
no flags Details

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.


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