Changeset 2352
- Timestamp:
- 07/10/05 13:00:16 (19 years ago)
- Location:
- pykota/trunk
- Files:
-
- 5 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/pkmail
r2344 r2352 32 32 33 33 from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 34 from pykota.pdlanalyzer import PDLAnalyzer, PDLAnalyzerError 35 34 36 35 __doc__ = N_("""pkmail v%(__version__)s (c) %(__years__)s %(__author__)s 37 36 -
pykota/trunk/bin/pykotme
r2344 r2352 30 30 31 31 from pykota.tool import PyKotaTool, PyKotaToolError, crashed, N_ 32 from pykota.pdlanalyzer import PDLAnalyzer, PDLAnalyzerError 32 33 try : 34 from pkpgpdls import analyzer, pdlparser 35 except ImportError : # TODO : Remove the try/except after release 1.24. 36 sys.stderr.write("ERROR: pkpgcounter is now distributed separately, please grab it from http://www.librelogiciel.com/software/pkpgcounter/action_Download\n") 37 33 38 34 39 __doc__ = N_("""pykotme v%(__version__)s (c) %(__years__)s %(__author__)s … … 84 89 for filename in files : 85 90 try : 86 parser = PDLAnalyzer(filename)91 parser = analyzer.PDLAnalyzer(filename) 87 92 totalsize += parser.getJobSize() 88 except PDLAnalyzerError, msg :93 except pdlparser.PDLParserError, msg : 89 94 self.printInfo(msg) 90 95 -
pykota/trunk/cgi-bin/pykotme.cgi
r2344 r2352 33 33 from pykota import version 34 34 from pykota.tool import PyKotaTool, PyKotaToolError 35 from pykota.pdlanalyzer import PDLAnalyzer, PDLAnalyzerError36 35 from pykota.cgifuncs import getLanguagePreference, getCharsetPreference 36 37 try : 38 from pkpgpdls import analyzer, pdlparser 39 except ImportError : # TODO : Remove the try/except after release 1.24. 40 sys.stderr.write("ERROR: pkpgcounter is now distributed separately, please grab it from http://www.librelogiciel.com/software/pkpgcounter/action_Download\n") 41 37 42 38 43 header = """Content-type: text/html … … 141 146 if inputfile : 142 147 try : 143 parser = PDLAnalyzer(cStringIO.StringIO(inputfile))148 parser = analyzer.PDLAnalyzer(cStringIO.StringIO(inputfile)) 144 149 jobsize = parser.getJobSize() 145 except PDLAnalyzerError, msg :150 except pdlparser.PDLParserError, msg : 146 151 self.body += '<p><font color="red">%s</font></p>' % msg 147 152 else : -
pykota/trunk/MANIFEST.in
r2345 r2352 1 include README FAQ COPYING LICENSE TODO NEWS CREDITS SECURITY MANIFEST.in clean.sh checkdeps.py bin/pkmail bin/pkbanner bin/autopykota bin/dumpykota bin/lprngpykota bin/cupspykota bin/edpykota bin/warnpykota bin/repykota bin/pykotme bin/pykosd bin/pkprinters bin/pkhint bin/pkbcodes bin/ snmpprinterstatus bin/waitprinter.sh bin/papwaitprinter.sh bin/mailandpopup.sh bin/README1 include README FAQ COPYING LICENSE TODO NEWS CREDITS SECURITY MANIFEST.in clean.sh checkdeps.py bin/pkmail bin/pkbanner bin/autopykota bin/dumpykota bin/lprngpykota bin/cupspykota bin/edpykota bin/warnpykota bin/repykota bin/pykotme bin/pykosd bin/pkprinters bin/pkhint bin/pkbcodes bin/waitprinter.sh bin/papwaitprinter.sh bin/mailandpopup.sh bin/README 2 2 recursive-include po README *.sh *.po *.mo *.pot 3 3 recursive-include man README *.sh *.1 -
pykota/trunk/setup.py
r2345 r2352 101 101 url = "http://www.librelogiciel.com/software/", 102 102 packages = [ "pykota", "pykota.storages", "pykota.loggers", "pykota.accounters", "pykota.reporters" ], 103 scripts = [ "bin/pkbcodes", "bin/pkmail", "bin/pkbanner", "bin/autopykota", "bin/dumpykota", "bin/ snmpprinterstatus", "bin/pykosd", "bin/edpykota", "bin/repykota", "bin/warnpykota", "bin/pykotme", "bin/pkprinters", "bin/pkhint" ],103 scripts = [ "bin/pkbcodes", "bin/pkmail", "bin/pkbanner", "bin/autopykota", "bin/dumpykota", "bin/pykosd", "bin/edpykota", "bin/repykota", "bin/warnpykota", "bin/pykotme", "bin/pkprinters", "bin/pkhint" ], 104 104 data_files = data_files)