Changing filenames from Greeklish => Greek (subprocess complain)

Nobody nobody at nowhere.com
Sun Jun 2 06:22:03 EDT 2013


On Sat, 01 Jun 2013 08:44:36 -0700, Νικόλαος Κούρας wrote:

> CalledProcessError: Command '/home/nikos/public_html/cgi-bin/files.py' returned non-zero exit status 1 
>       args = (1, '/home/nikos/public_html/cgi-bin/files.py') 
>       cmd = '/home/nikos/public_html/cgi-bin/files.py' 
>       output = b'Content-type: text/html; charset=utf-8\n\n<bod...n position 74: surrogates not allowed\n\n-->\n\n' 
>       returncode = 1 
>       with_traceback = <built-in method with_traceback of CalledProcessError object>

The traceback indicates that files.py terminated with a non-zero exit
code, indicating an error.

And that's *all* that can be determined from the information which you
have posted.

If you want to solve the problem, you'll need to make files.py generate
useful error messages, then capture them.




More information about the Python-list mailing list