{"id":152,"date":"2024-01-16T23:17:05","date_gmt":"2024-01-16T22:17:05","guid":{"rendered":"https:\/\/invar.nl\/?p=152"},"modified":"2024-01-31T22:12:50","modified_gmt":"2024-01-31T21:12:50","slug":"dupeguru-on-fedora","status":"publish","type":"post","link":"https:\/\/invar.nl\/?p=152","title":{"rendered":"DupeGuru on Fedora"},"content":{"rendered":"\n<p>After many years of Ubuntu, I&#8217;m still a Linux noob. This is me typing out loud while I try to install a program.<\/p>\n\n\n\n<p>I moved to KDE Nobara (Fedora) late last year and so far it&#8217;s been a nice experience. The only program I didn&#8217;t immediately manage to reinstall after the move (besides my wireless dongle) is <a href=\"https:\/\/dupeguru.voltaicideas.net\/\">DupeGuru<\/a>. On their homepage they only give an option for Ubuntu as well as the source, and I&#8217;ve never compiled anything from source.<\/p>\n\n\n\n<p>I was expecting this to be a whole adventure log with me learning to convert or to compile from source or something, but apparently they do have an .rpm package, so I installed that. <br>Unfortunately, it doesn&#8217;t work straight away:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Traceback (most recent call last):\n  File \"\/usr\/bin\/dupeguru\", line 88, in &lt;module&gt;\n    sys.exit(main())\n             ^^^^^^\n  File \"\/usr\/bin\/dupeguru\", line 71, in main\n    from qt.app import DupeGuru\n  File \"\/usr\/share\/dupeguru\/qt\/app.py\", line 22, in &lt;module&gt;\n    from core.app import AppMode, DupeGuru as DupeGuruModel\n  File \"\/usr\/share\/dupeguru\/core\/app.py\", line 26, in &lt;module&gt;\n    from core import se, me, pe\n  File \"\/usr\/share\/dupeguru\/core\/pe\/__init__.py\", line 1, in &lt;module&gt;\n    from core.pe import (  # noqa\n  File \"\/usr\/share\/dupeguru\/core\/pe\/block.py\", line 9, in &lt;module&gt;\n    from core.pe._block import NoBlocksError, DifferentBlockCountError, avgdiff, getblocks2  # NOQA\n    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nModuleNotFoundError: No module named 'core.pe._block'<\/code><\/pre>\n\n\n\n<p>Instead of using a search engine, I asked AI (<a href=\"https:\/\/www.perplexity.ai\/search\/What-does-the-4.a.CJ5hTnypyMQ_5rXW2A?s=u\">Perplexity<\/a>) what to do. It told me to check if the core.pe._block Python module is installed and how to install it. That did not work and the AI kept repeating itself. So back to the search engine, the first hit was somebody with the <a href=\"https:\/\/github.com\/arsenetar\/dupeguru\/issues\/1074\">exact same problem<\/a> on the DupeGuru github. There the following was suggested:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ln \/usr\/share\/dupeguru\/core\/pe\/_cache.cpython-39-x86_64-linux-gnu.so \/usr\/share\/dupeguru\/core\/pe\/_cache.cpython-310-x86_64-linux-gnu.so\nsudo ln \/usr\/share\/dupeguru\/core\/pe\/_block.cpython-39-x86_64-linux-gnu.so \/usr\/share\/dupeguru\/core\/pe\/_block.cpython-310-x86_64-linux-gnu.so\nsudo ln \/usr\/share\/dupeguru\/qt\/pe\/_block_qt.cpython-39-x86_64-linux-gnu.so \/usr\/share\/dupeguru\/qt\/pe\/_block_qt.cpython-310-x86_64-linux-gnu.so<\/code><\/pre>\n\n\n\n<p>I checked my Python version (3.11.6) so I changed the 310 above to 311 and ran the commands. <\/p>\n\n\n\n<p>Now it works. <\/p>\n\n\n\n<p>Yay.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After many years of Ubuntu, I&#8217;m still a Linux noob. This is me typing out loud while I try to install a program. I moved to KDE Nobara (Fedora) late last year and so far it&#8217;s been a nice experience. The only program I didn&#8217;t immediately manage to reinstall after the move (besides my wireless [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-152","post","type-post","status-publish","format-standard","hentry","category-pc"],"_links":{"self":[{"href":"https:\/\/invar.nl\/index.php?rest_route=\/wp\/v2\/posts\/152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/invar.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/invar.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/invar.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/invar.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=152"}],"version-history":[{"count":2,"href":"https:\/\/invar.nl\/index.php?rest_route=\/wp\/v2\/posts\/152\/revisions"}],"predecessor-version":[{"id":154,"href":"https:\/\/invar.nl\/index.php?rest_route=\/wp\/v2\/posts\/152\/revisions\/154"}],"wp:attachment":[{"href":"https:\/\/invar.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/invar.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/invar.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}