Can't rename DJVu files if they are open in Lister Viewer

Hi all

I have Caminova's DJVu shell extension installed, and it works fine.

However, under Windows 7, if I have a DJVU file displayed in the lister viewer, I can't rename the file - I get the "The process cannot access the file because it is being used by another process" error.

Under XP (I dual-boot; same DO version, same DJVU shell extension version), I can rename the file.

Running DO in Administrator mode doesn't seem to help.

Renaming PDFs, CHMs, other files seems to be ok, its just DJVU files that produce the error.

Given this is DO, I'm sure there's a setting somewhere I need to change :smiley: Please, does anyone know what it is???

OK, for the record, I'm going to answer my own question.

  1. I closed DO completely.
  2. I uninstalled the shell extension, and re-installed the browser plugin.
  3. Restarted DO, and tried renaming a DJVu file whilst it was displayed in the lister viewer.

It works.

The shell extension seems to hang on to a process handle or something. (?)
Anyway I'm happy now. :slight_smile:

Sounds like their Preview Handler keeps the file locked, which preview handlers are not meant to do. (You can test if that's the case by trying to rename it while viewing it in Explorer.)

If needed, I can add a workaround so that Djvu files are copied to the temp directory and then viewed from there, so that the original file is left closed and can be renamed or deleted. (As done for PDF files and a few others at the moment.)

In fact, since it's a preview handler, you can make that change yourself:

Go to Preferences - Plugins - Viewers and configure the ActiveX... plugin, find the Djvu preview handler in the top part of the list, select it, then turn on the Open Temporary Copies checkbox at the top-right.

Let me know if that solves it.

If it does solve it, please type /dopusdata/ConfigFiles/Plugins into the location bar in Opus and send me the Docx.oxc config file that you should see. I can then turn on that flag by default for the viewer in question. (The config file will identify exactly which viewer we're talking about.)

Just an update on this with Dopus 9.3.6

I CAN rename .djvu files; open temporary copies is OFF. So something has changed, and now it works. Yay!