This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: python 3.5 conflict with Mailman, ebtables and firewalld
Type: crash Stage:
Components: Installation Versions: Python 3.5
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Rubén Rivero Capriles, barry
Priority: normal Keywords:

Created on 2016-05-28 00:26 by Rubén Rivero Capriles, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (6)
msg266522 - (view) Author: Rubén Rivero Capriles (Rubén Rivero Capriles) Date: 2016-05-28 00:26
My current python version is 3.5 which I installed yesterday. How can I get rid of 2,7. Python 3.5 should be the one running.

While: Installing mailman.
An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/root/Python-3.5.0/venv/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1992, in main
    getattr(buildout, command)(args)
  File "/root/Python-3.5.0/venv/lib/python2.7/site-packages/zc/buildout/buildout.py", line 666, in install
    installed_files = self[part]._call(recipe.install)
  File "/root/Python-3.5.0/venv/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1407, in _call
    return f()
  File "/root/mailman-bundler/eggs/collective.recipe.cmd-0.11-py2.7.egg/collective/recipe/cmd/__init__.py", line 56, in install
    self.execute()
  File "/root/mailman-bundler/eggs/collective.recipe.cmd-0.11-py2.7.egg/collective/recipe/cmd/__init__.py", line 69, in execute
    run_commands(cmds, self.shell)
  File "/root/mailman-bundler/eggs/collective.recipe.cmd-0.11-py2.7.egg/collective/recipe/cmd/__init__.py", line 39, in run_commands
    check_call('%s %s' % (shell, tmpfile), shell=True)
  File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command 'sh /tmp/tmpnI0SlP/run' returned non-zero exit status 127
(venv)[root@mlp mailman-bundler]# groupadd mailman
groupadd: group 'mailman' already exists

I had many firewalld conflicts today with the pythos 3.5 I installed yesterday. Iptables didn't work either. So I uninstalled both of them and downloaded from source firewalld-0.4.1.2.tar.bz2 but can't install it either due to a bug in gobject.stp.in', needed by 'gobject.stp

sudo firewall-cmd --permanent --add-service=ssh
Error: Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/dbus/service.py", line 707, in message_cb
retval = candidate_method(self, args, *keywords)
File "/usr/lib/python2.7/site-packages/slip/dbus/service.py", line 148, in wrapped_method
reply_handler=reply_handler, error_handler=error_handler)
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 270, in IsSystemBusNameAu thorizedAsync
reply_handler, error_handler, challenge, details)
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 256, in IsSystemBusNameAu thorizedAsync
timeout=method_call_no_timeout)
File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 137, in __call_
**keywords)
File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 584, in call_async
message.append(signature=signature, *args)
ValueError: Unable to guess signature from an empty dict

[root@mlp config]# sudo firewall-cmd --permanent --add-service=http
Error: Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/dbus/service.py", line 707, in message_cb
retval = candidate_method(self, args, *keywords)
File "/usr/lib/python2.7/site-packages/slip/dbus/service.py", line 148, in wrapped_method
reply_handler=reply_handler, error_handler=error_handler)
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 270, in IsSystemBusNameAu thorizedAsync
reply_handler, error_handler, challenge, details)
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 256, in IsSystemBusNameAu thorizedAsync
timeout=method_call_no_timeout)
File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 137, in __call_
**keywords)
File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 584, in call_async
message.append(signature=signature, *args)
ValueError: Unable to guess signature from an empty dict

[root@mlp config]# sudo firewall-cmd --permanent --add-service=https
Error: Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/dbus/service.py", line 707, in message_cb
retval = candidate_method(self, args, *keywords)
File "/usr/lib/python2.7/site-packages/slip/dbus/service.py", line 148, in wrapped_method
reply_handler=reply_handler, error_handler=error_handler)
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 270, in IsSystemBusNameAu thorizedAsync
reply_handler, error_handler, challenge, details)
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 256, in IsSystemBusNameAu thorizedAsync
timeout=method_call_no_timeout)
File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 137, in __call_
**keywords)
File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 584, in call_async
message.append(signature=signature, *args)
ValueError: Unable to guess signature from an empty dict

[root@mlp config]# sudo firewall-cmd --permanent --add-service=smtp
Error: Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/dbus/service.py", line 707, in message_cb
retval = candidate_method(self, args, *keywords)
File "/usr/lib/python2.7/site-packages/slip/dbus/service.py", line 148, in wrapped_method
reply_handler=reply_handler, error_handler=error_handler)
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 270, in IsSystemBusNameAu thorizedAsync
reply_handler, error_handler, challenge, details)
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 256, in IsSystemBusNameAu thorizedAsync
timeout=method_call_no_timeout)
File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 137, in __call_
**keywords)
File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 584, in call_async
message.append(signature=signature, *args)
ValueError: Unable to guess signature from an empty dict

[root@mlp config]# firewall-cmd --add-service=dns
Error: Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/dbus/service.py ", line 707, in message_cb
retval = candidate_method(self, args, *keywords)
File "/usr/lib/python2.7/site-packages/slip/dbus/service .py", line 148, in wrapped_method
reply_handler=reply_handler, error_handler=error_handl er)
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit. py", line 270, in IsSystemBusNameAuthorizedAsync
reply_handler, error_handler, challenge, details)
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit. py", line 256, in IsSystemBusNameAuthorizedAsync
timeout=method_call_no_timeout)
File "/usr/lib64/python2.7/site-packages/dbus/proxies.py ", line 137, in __call_
**keywords)
File "/usr/lib64/python2.7/site-packages/dbus/connection .py", line 584, in call_async
message.append(signature=signature, *args)
ValueError: Unable to guess signature from an empty dict

[root@mlp config]# sudo firewall-cmd --get-services
Error: Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/dbus/service.py", line 707, in message_cb
retval = candidate_method(self, args, *keywords)
File "/usr/lib/python2.7/site-packages/slip/dbus/service.py", line 148, in wrapped_method
reply_handler=reply_handler, error_handler=error_handler)
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 270, in IsSystemBusNameAu thorizedAsync
reply_handler, error_handler, challenge, details)
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 256, in IsSystemBusNameAu thorizedAsync
timeout=method_call_no_timeout)
File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 137, in __call_
**keywords)
File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 584, in call_async
message.append(signature=signature, *args)
ValueError: Unable to guess signature from an empty dict

[root@mlp config]# sudo firewall-cmd --permanent --list-all
Error: Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/dbus/service.py", line 707, in message_cb
retval = candidate_method(self, args, *keywords)
File "/usr/lib/python2.7/site-packages/slip/dbus/service.py", line 148, in wrapped_method
reply_handler=reply_handler, error_handler=error_handler)
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 270, in IsSystemBusNameAu thorizedAsync
reply_handler, error_handler, challenge, details)
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 256, in IsSystemBusNameAu thorizedAsync
timeout=method_call_no_timeout)
File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 137, in __call_
**keywords)
File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 584, in call_async
message.append(signature=signature, *args)
ValueError: Unable to guess signature from an empty dict

[root@mlp config]# sudo firewall-cmd --reload
Error: Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/dbus/service.py", line 707, in message_cb
retval = candidate_method(self, args, *keywords)
File "/usr/lib/python2.7/site-packages/slip/dbus/service.py", line 148, in wrapped_method
reply_handler=reply_handler, error_handler=error_handler)
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 270, in IsSystemBusNameAu thorizedAsync
reply_handler, error_handler, challenge, details)
File "/usr/lib/python2.7/site-packages/slip/dbus/polkit.py", line 256, in IsSystemBusNameAu thorizedAsync
timeout=method_call_no_timeout)
File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 137, in __call_
**keywords)
File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 584, in call_async
message.append(signature=signature, *args)
ValueError: Unable to guess signature from an empty dict

systemctl status firewalld.service

firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled) Active: failed (Result: timeout) since Fri 2016-05-27 17:09:14 BOT; 11s ago Process: 2202 ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=0/SUCCESS) Main PID: 2202 (code=exited, status=0/SUCCESS)
May 27 17:07:44 mlp systemd[1]: Starting firewalld - dynamic firewall daemon...
May 27 17:07:44 mlp firewalld[2202]: 2016-05-27 17:07:44 ERROR: ebtables not usable, disabling ethernet bridge firewall.
May 27 17:09:14 mlp systemd[1]: firewalld.service start operation timed out. Terminating.
May 27 17:09:14 mlp systemd[1]: Failed to start firewalld - dynamic firewall daemon.
May 27 17:09:14 mlp systemd[1]: Unit firewalld.service entered failed state.
May 27 17:09:14 mlp systemd[1]: firewalld.service failed.

ps -efc
root 915 898 TS 19 16:40 pts/0 00:00:00 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid --debug 10
root 1882 898 TS 19 16:51 pts/0 00:00:00 /usr/bin/python -Es /usr/bin/firewall-cmd --permanent --add-service=ssh

It seems there are bugs everywhere and I can't install anything
msg266524 - (view) Author: Rubén Rivero Capriles (Rubén Rivero Capriles) Date: 2016-05-28 01:09
# whereis python
python: /usr/bin/python 
/usr/bin/python2.7 
/usr/bin/python2.7-config 
/usr/lib/python2.7 
/usr/lib64/python2.7 
/etc/python 
/usr/local/bin/python3.5-config 
/usr/local/bin/python3.5m-config 
/usr/local/bin/python3.5m 
/usr/local/bin/python3.5 
/usr/local/lib/python3.5 
/usr/include/python2.7 
/usr/share/man/man1/python.1.gz
msg266536 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2016-05-28 06:34
On May 28, 2016, at 12:26 AM, Rubén Rivero Capriles wrote:

>While: Installing mailman.

Which version of Mailman?  Mailman 2.1 is not compatible with Python 3,
Mailman 3.0 is only compatible with Python 3.4, and Mailman 3.1 (not yet
released) will be compatible with 3.4 and 3.5.
msg266538 - (view) Author: Rubén Rivero Capriles (Rubén Rivero Capriles) Date: 2016-05-28 06:48
I have Mailman 2.1.5
Is it possible to use it with Python 2.7?
I would need to park the Python 3.5 recently donwloaded until Mailman 3.1 is released?
Or should I download both Python 3.4 and Mailman 3.0
I have no problem in uninstalling anything that would cause conflict
msg266551 - (view) Author: Rubén Rivero Capriles (Rubén Rivero Capriles) Date: 2016-05-28 13:25
Hi. I decided to reinstall CentOs 7 and already installed Python 3.4 at http://www.codeghar.com/blog/install-latest-python-on-centos-7.html

I am downloading the tarball for mailman 3.0.3. I will greatly appreciate if you quickly let me know how to install it. I do not wish to use mailman bundler.
msg266559 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2016-05-28 16:21
This is definitely not the right place to discuss this.  Please use the Mailman 3 users mailing list or the Mailman Developers mailing list.

https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/
https://mail.python.org/mailman/listinfo/mailman-developers
History
Date User Action Args
2022-04-11 14:58:31adminsetgithub: 71330
2016-05-28 16:21:36barrysetstatus: open -> closed

messages: + msg266559
2016-05-28 13:25:06Rubén Rivero Caprilessetmessages: + msg266551
2016-05-28 06:48:29Rubén Rivero Caprilessetmessages: + msg266538
2016-05-28 06:34:35barrysetnosy: + barry
messages: + msg266536
2016-05-28 01:09:13Rubén Rivero Caprilessetmessages: + msg266524
2016-05-28 00:26:14Rubén Rivero Caprilescreate