tjfontaine / airprint-generate

Automatically generate AirPrint Avahi service files for CUPS printers
http://www.atxconsulting.com/blog/tjfontaine/2010/11/21/automatically-generate-airprint-avahi-service-files-cups-printers
400 stars 119 forks source link

RuntimeError: failed to connect to server #15

Open mkspeakman opened 9 years ago

mkspeakman commented 9 years ago

When running the python script, I get this result. Forgive my ignorance, but I don't know the cause of the error below. Can you assist?

python airprint-generate.py

Traceback (most recent call last): File "airprint-generate.py", line 277, in apg.generate() File "airprint-generate.py", line 116, in generate conn = cups.Connection() RuntimeError: failed to connect to server