Comment 24 for bug 986841

Revision history for this message
Jan de Haan (jdehaan) wrote :

sed rules. One liner to change the root cause of this.

   sudo find / -name nppdf.so | xargs sudo sed -i 's/C:\\nppdf32Log\\debuglog.txt/.\/.nppdf32Log.debuglog.txt/g'

Use at your own risk. Safe way to do this would be of course to remove all 'C:\nppdf32Log\debuglog.txt' files,

   sudo find / -name 'C:\\nppdf32Log\\debuglog.txt' -print0 | xargs -0 --max-args=1 sudo rm

find all nppdf.so files and copy them to a working area directory for safe keeping and to edit,

   mkdir ~/tmp
   sudo find / -name nppdf.so

   cp /opt/Adobe/Reader9/Browser/intellinux/nppdf.so ~/tmp/nppdf.so-org
   cp /opt/Adobe/Reader9/Browser/intellinux/nppdf.so ~/tmp/nppdf.so-sed

run the sed command on your to-edit-version,

   sed -i 's/C:\\nppdf32Log\\debuglog.txt/.\/.nppdf32Log.debuglog.txt/g' ~/tmp/nppdf.so-sed

replace the original with yours,

   sudo cp ~/tmp/nppdf.so-sed /opt/Adobe/Reader9/Browser/intellinux/nppdf.so
   sudo chown root:root /opt/Adobe/Reader9/Browser/intellinux/nppdf.so

reboot and test.

   sudo shutdown -r -y now