• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved ERROR: 'NoneType' object has no attribute 'run_sack'

E.BlackStone

New Pleskian
Hi,
When I update the system, the package list is not displayed with the following error.

ERROR: 'NoneType' object has no attribute 'run_sack' 2021-08-21 14:45:27 ERROR: Exited with returncode 1.

Is there something wrong with the Python version?

# grep run_sack -r /lib/*
/lib/python3.6/site-packages/dnf/plugin.py: def run_sack(self):
/lib/python3.6/site-packages/dnf/base.py: self._plugins.run_sack()
/lib/python3.6/site-packages/dnf/base.py: self._plugins.run_sack()


[Versions]
VersionPlesk Obsidian v18.0.37_build1800210809.18 os_CentOS 8
OSCentOS Stream 8

dnf-0:4.7.0-2.el8.noarch



[ALL TEXT of Error Message]
Error: Unable to get packages list: 2021-08-21 14:45:25 INFO: pum is called with arguments: ['--list', '--repo-info', '--json', '--unsafe'] 2021-08-21 14:45:25 INFO: Librepo version: 1.14.0 with CURL_GLOBAL_ACK_EINTR support (libcurl/7.61.1 OpenSSL/1.1.1k zlib/1.2.11 brotli/1.0.6 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.2.0) libssh/0.9.4/openssl/zlib nghttp2/1.33.0) 2021-08-21 14:45:25 INFO: --- logging initialized --- 2021-08-21 14:45:25 DEBUG: User-Agent: constructed: 'libdnf (CentOS Stream 8; generic; Linux.x86_64)' 2021-08-21 14:45:26 INFO: Librepo version: 1.14.0 with CURL_GLOBAL_ACK_EINTR support (libcurl/7.61.1 OpenSSL/1.1.1k zlib/1.2.11 brotli/1.0.6 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.2.0) libssh/0.9.4/openssl/zlib nghttp2/1.33.0) 2021-08-21 14:45:26 DEBUG: repo: using cache for: appstream 2021-08-21 14:45:26 DEBUG: appstream: using metadata from Fri Aug 20 07:38:04 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: baseos 2021-08-21 14:45:26 DEBUG: baseos: using metadata from Fri Aug 20 07:37:31 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: extras 2021-08-21 14:45:26 DEBUG: extras: using metadata from Fri Aug 6 23:50:48 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: powertools 2021-08-21 14:45:26 DEBUG: powertools: using metadata from Fri Aug 20 07:38:15 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: elrepo 2021-08-21 14:45:26 DEBUG: elrepo: using metadata from Sat Aug 21 02:47:03 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: epel 2021-08-21 14:45:26 DEBUG: epel: using metadata from Fri Aug 20 10:34:48 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: epel-modular 2021-08-21 14:45:26 DEBUG: epel-modular: using metadata from Wed Aug 11 10:42:10 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: epel-next 2021-08-21 14:45:26 DEBUG: epel-next: using metadata from Tue Aug 17 10:36:00 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: PLESK_18_0_37-extras 2021-08-21 14:45:26 DEBUG: PLESK_18_0_37-extras: using metadata from Mon Aug 9 20:12:24 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: PLESK_17_PHP73 2021-08-21 14:45:26 DEBUG: PLESK_17_PHP73: using metadata from Fri Jul 2 15:31:48 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: PLESK_17_PHP74 2021-08-21 14:45:26 DEBUG: PLESK_17_PHP74: using metadata from Fri Jul 30 14:23:50 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: PLESK_17_PHP80 2021-08-21 14:45:26 DEBUG: PLESK_17_PHP80: using metadata from Fri Jul 30 14:23:54 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: plesk-ext-nodejs 2021-08-21 14:45:26 DEBUG: plesk-ext-nodejs: using metadata from Mon Oct 28 15:35:40 2019. 2021-08-21 14:45:26 DEBUG: repo: using cache for: plesk-ext-panel-migrator 2021-08-21 14:45:26 DEBUG: plesk-ext-panel-migrator: using metadata from Mon Feb 10 20:41:46 2020. 2021-08-21 14:45:26 DEBUG: repo: using cache for: plesk-ext-ruby 2021-08-21 14:45:26 DEBUG: plesk-ext-ruby: using metadata from Fri Oct 11 19:57:18 2019. 2021-08-21 14:45:26 INFO: Last metadata expiration check: 2:21:16 ago on Sat Aug 21 12:24:10 2021. 2021-08-21 14:45:27 DDEBUG: timer: sack setup: 1334 ms 2021-08-21 14:45:27 DDEBUG: timer: depsolve: 41 ms 2021-08-21 14:45:27 DDEBUG: Cleaning up. 2021-08-21 14:45:27 DDEBUG: timer: sack setup: 414 ms 2021-08-21 14:45:27 ERROR: 'NoneType' object has no attribute 'run_sack' 2021-08-21 14:45:27 ERROR: Exited with returncode 1.
 
Also seeing this here whenever Plesk does its auto update check. If I run it manually, I get the same thing:
plesk sbin pum --list --repo-info --json

A bunch of DEBUG output lines, then ends with:

ERROR: 'NoneType' object has no attribute 'run_sack'
ERROR: Exited with returncode 1.

This prevents Plesk auto update from proceeding.

# plesk -v
Product version: Plesk Obsidian 18.0.39.1
OS version: AlmaLinux 8.5 x86_64
Build date: 2021/10/14 23:00
Revision: abd80734589dbcc9d72ab53622ef5737a658fb43
 
Back
Top