From trac at pykota.com Sun Mar 20 21:11:55 2011 From: trac at pykota.com (Trac) Date: Sun, 20 Mar 2011 20:11:55 -0000 Subject: [pykota-devel] [PyKota] #76: pkpgcounter always tries to read from stdin when not launched from ttyjj Message-ID: <041.35cb21ea27961aadec75526ac14caf48@pykota.com> #76: pkpgcounter always tries to read from stdin when not launched from ttyjj ----------------------+----------------------------------------------------- Reporter: lukas227 | Owner: jerome Type: defect | Status: new Priority: trivial | Milestone: Component: pykota | Version: development Keywords: | ----------------------+----------------------------------------------------- The main function of pkpgpdls/analyzer.py will always append "-" to the list of arguments in case it not launched from a tty (and "-" is not already there). When not launched from tty with a file given as argument, the file is correctly processed, but an error is produced on stderr: Unsupported file format for /tmp/tmpXXXXXX (input file /tmp/tmpXXXXXX is empty !) Patch is attached. -- Ticket URL: PyKota The PyKota Print Quotas and Print Accounting Solution