cpdf icon indicating copy to clipboard operation
cpdf copied to clipboard

pyprind required but not installed

Open logkirk opened this issue 2 years ago • 1 comments

The pyprind module in imported, but is not installed with install.sh or mentioned in the README. This gives me the following error:

l@l ~> cpdf
/usr/local/bin/cpdf:65: SyntaxWarning: invalid escape sequence '\`'
  if re.search('[|;\`><{}#*]', inFile):
/usr/local/bin/cpdf:66: SyntaxWarning: invalid escape sequence '\`'
  print("\n" + '\033[91m' + "ERROR:" + '\033[0m' + " Input file contains invalid characters such as | ; \` > < } { # *.... Exiting...\n")
/usr/local/bin/cpdf:70: SyntaxWarning: invalid escape sequence '\`'
  if re.search('[|;\`><{}#*]', outFile):
/usr/local/bin/cpdf:71: SyntaxWarning: invalid escape sequence '\`'
  print("\n" + '\033[91m' + "ERROR:" + '\033[0m' + " Output file contains invalid characters such as | ; \` > < } { # *.... Exiting...\n")
Traceback (most recent call last):
  File "/usr/local/bin/cpdf", line 19, in <module>
    import os, datetime, sys, glob, re, subprocess, pyprind, time
ModuleNotFoundError: No module named 'pyprind'

logkirk avatar Aug 16 '24 15:08 logkirk

v2.0 Fixes this.

hkdb avatar Jan 21 '26 11:01 hkdb