PDA

View Full Version : Match Properties file duplication


rhciv
05-26-2007, 01:15 AM
I have Match Properties installed and I installed the Trial of Construction Documention: I received this error at startup of SU:
Error Loading File match_properties(2).rb
(eval):186: compile error
(eval):13: syntax error
class Match_Prop_Tool
^
(eval):186: syntax error

Match Properties is no longer on the Right click menu. I removed the File: match_properties(2).rb and this didnt change anything.

So I removed the CDoc_loader and this didnt change anything with the functionality of MP either. Is this the only Installed file with CDoc_loader?

I moved the match_properties(2).rb back to the plugin folder without CDoc_loader and everything is normal.

It appears there is a duplicate instance of MP associated with CDoc. OR?

the wiki development notes sound like the new capabilities will be a nice enhancement.

Robert

Al
05-26-2007, 07:10 AM
CDoc Loader.rb must be altering something which messes up Match_Properties.

I'll download a version of Match Properties and see if I can trace it down...

Al

Al
05-26-2007, 07:50 AM
If you change the last line of Match_Properties.rb to end with:

=}.unpack("m")[0]

instead of:
=}.unpack("m").to_s

Then it will work with CDoc.

Also, I just posted a new version of CDoc which should not have this problem.

See:

http://www.renderplus.com/pdf/download.htm

rhciv
05-26-2007, 12:07 PM
Al,
Changing the code in match properties worked fine. I tried the reinstall download first and it didn't seem to install. Said Maintance complete, I guess there is more than one file installed w/ CDoc. I reused the original _loader file.
Thanks and Happy Memorial Day.

Al
05-26-2007, 04:53 PM
You have to be careful to select "repair" when you reinstall.

Rich found a way to fix this last week - just two options reinstall and uninstall - so any future installations we create won't have this problem.

If your CDoc doesn't have the PDF Print option, try installing it again and be sure to use repair.

439