CadView for TotalCommander 9

Discuss and ask questions about CAD plugins for 3rd party software: IrfanView, XnView, Total Commander, Konvertor FM.

Moderators: SDS, support, admin

Post Reply
Peter
Posts: 323
Joined: 23 Jun 2005, 11:27
Location: Switzerland
Contact:

CadView for TotalCommander 9

Post by Peter » 21 Feb 2017, 19:49

Before I used TC 8.52 with Cadview 11.1.

Now I updated to TC 9.0 and have a problem:
- Display Cadiew
- Select Options - Register "SHX Fonts"
- I get the message "TotalCMD: List index out of bounds (0)
Attachments
Cadview_Options.png
Cadview_Options.png (21.79 KiB) Viewed 53368 times

support
Posts: 3254
Joined: 30 Mar 2005, 11:36
Contact:

Re: CadView for TotalCommander 9

Post by support » 21 Feb 2017, 20:01

Hello Peter,

Could you specify a bit system of used CAD View Plugin?


Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Peter
Posts: 323
Joined: 23 Jun 2005, 11:27
Location: Switzerland
Contact:

Re: CadView for TotalCommander 9

Post by Peter » 21 Feb 2017, 20:18

Win 10, German
Cadview 11.1.0.6
TotalCommander 9.0a

support
Posts: 3254
Joined: 30 Mar 2005, 11:36
Contact:

Re: CadView for TotalCommander 9

Post by support » 21 Feb 2017, 21:45

Peter,

Thank you for the information.

Do you have this problem with CADView 11.1.0.6 32-bit or 64-bit (or maybe with both versions)?


Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Peter
Posts: 323
Joined: 23 Jun 2005, 11:27
Location: Switzerland
Contact:

Re: CadView for TotalCommander 9

Post by Peter » 22 Feb 2017, 00:46

I use TC with all plugins as 32bit software; the PC is 64 bit.

support
Posts: 3254
Joined: 30 Mar 2005, 11:36
Contact:

Re: CadView for TotalCommander 9

Post by support » 22 Feb 2017, 16:30

Peter,

The List index out of bounds (0) error usually occurs when attempting to access an element with the 0th index in the empty list. In this case the list (table) that contains Big font names is empty. This table should be filled with the information loaded from the file bigfont.xml which comes bundled with the plugin and installed at the following path: \plugins\wlx\CADView\bigfont.xml. It appears that this XML file is missing, please check it.

If the file bigfont.xml is missing, you can manually copy it from cadview.zip package to the folder \plugins\wlx\CADView\. The filled table should appear as shown below.

Image

In my opinion, the message List index out of bounds (0) is not informative for the user. Before referring to the 0th index of the list we should perform a check on whether the list is empty or not, after that display some informative message. We would like to hear your opinion about this.


Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Peter
Posts: 323
Joined: 23 Jun 2005, 11:27
Location: Switzerland
Contact:

Re: CadView for TotalCommander 9

Post by Peter » 22 Feb 2017, 17:13

Yes, you were right: The XML was damaged, filedate from yesterday evening, this was the entire content of the file:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<Fonts/>
But now I replaced it with the newly downloaded, and it works fine.

And yes again - the current message says nothing for the standard user. Every clearer message (What happened and why and where? What to do against it?) is an improvement.

support
Posts: 3254
Joined: 30 Mar 2005, 11:36
Contact:

Re: CadView for TotalCommander 9

Post by support » 22 Feb 2017, 21:41

Peter,

I've opened a case which describes the needed improvements regarding this matter.

Thank you for your help!


Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply