Impossible to add a remote printer

poma pomidorabelisima at gmail.com
Mon Feb 2 16:32:38 UTC 2015


On 02.02.2015 14:41, Thomas Woerner wrote:
> On 02/02/2015 02:39 PM, poma wrote:
>> On 02.02.2015 12:41, Tim Waugh wrote:
>>> On Sun, 2015-02-01 at 20:28 +0100, poma wrote:
>>>> Mister Waugh,
>>>> whether it's worth a try latest and greatest?
>>>> https://git.fedorahosted.org/cgit/system-config-printer.git/
>>>
>>> The problem is that firewalld only provides Python2 bindings, whereas
>>> system-config-printer is Python3.
>>>
>>> Tim.
>>> */
>>>
>>
>> Thanks for your response.
>>
>> Mister Woerner, Popelka
>> can we users of Fedora 21 also get support for Py3?
>>
>> # system-config-printer --debug
>> ...
>> Caught non-fatal exception.  Traceback:
>> File "/usr/share/system-config-printer/serversettings.py", line 552, in saveBasic
>>      allowed = f.check_ipp_server_allowed ()
>> File "/usr/share/system-config-printer/firewallsettings.py", line 252, in check_ipp_server_allowed
>>      "--service=" + IPP_SERVER_SERVICE]))
>> File "/usr/share/system-config-printer/firewallsettings.py", line 228, in _check_any_allowed
>>      (args, filename) = self._get_fw_data ()
>> TypeError: 'NoneType' object is not iterable
>> Continuing anyway..
>>
>>
>> poma
>>
>>
>> Ref.
>> Enable Python3 support in spec file
>> https://git.fedorahosted.org/cgit/firewalld.git/commit/?id=f087e22
>>
>>
> Yes, sure - it is building already: 
> http://koji.fedoraproject.org/koji/taskinfo?taskID=8794185
> 
> Regards,
> Thomas
> 

Thank you, this is now working.
http://goo.gl/MrB9x1

firewall-applet-0.3.13-2.fc21.noarch
firewall-config-0.3.13-2.fc21.noarch
firewalld-0.3.13-2.fc21.noarch
firewalld-config-standard-0.3.13-2.fc21.noarch
firewalld-filesystem-0.3.13-2.fc21.noarch
python2-firewall-0.3.13-2.fc21.noarch
python3-firewall-0.3.13-2.fc21.noarch


Mister Waugh,
can this mechanism be improved in the way when you chose not to want to share the printer that the relevant port is closed?


poma




More information about the users mailing list