[Solved] Compose Special Characters 2.0.7 / OOo 3.3.0 RC1

Discussions about using 3rd party extension with OpenOffice.org
Post Reply
User avatar
franx
Volunteer
Posts: 540
Joined: Wed Nov 12, 2008 9:25 pm
Location: FRA 'n' QXB

[Solved] Compose Special Characters 2.0.7 / OOo 3.3.0 RC1

Post by franx »

Hi,

[ComposeSpecialCharacters 2.0.7 / OOo 3.3.0 RC1 (OOO330_m11) Writer]

When typing a key combo + CSC shortcut (Alt+F8)
there's always the following error message since OOO330_m6:
CSC_error.png
CSC_error.png (8.14 KiB) Viewed 6351 times
log.txt:

Code: Select all

ERROR: (com.sun.star.lang.IllegalArgumentException) { { Message = "There is no such extension deployed: com.ProductivityApps.ComposeSpecialChacters", Context = (com.sun.star.uno.XInterface) @e07da1c }, ArgumentPosition = (short) -1 }
Copying: ComposeSpecialCharacters-2.0.7.oxt
Who can confirm that issue?
Who knows the cause/solution? ;)

(I've also tried with a clean user profile. The same error message.
Compose Unicode Character works fine.)
Last edited by franx on Tue Oct 19, 2010 10:13 pm, edited 1 time in total.
LibreOffice 4.0.4 · WinXP
PGAGA
Volunteer
Posts: 481
Joined: Sun Dec 07, 2008 10:54 pm

Re: Compose Special Characters 2.0.7 / OOo 3.3.0 RC1 – error

Post by PGAGA »

Monday, October 18, 2010

There is a subtle change in how extensions are handled in 3.3. There are a few extensions which do not work with the change. AltSearch, Readability Report, MultiDiff and terminologie are three of which I am aware.

Phil
Last edited by PGAGA on Tue Oct 19, 2010 3:08 am, edited 1 time in total.
OpenOffice.org 3.2.x, StarOffice 5.1, 7, 8 - OS X, WinXP, OS/2
StarOffice 7, 8, Oracle Open Office 3.3.1, LibreOffice 3.x.x - OS X, Ubuntu, WinXP
NeoOffice 2.2.6, 3.1.2, 3.2.x 3.3 - OS X
Apache OpenOffice 3.4.x - WinXP, OS X, OS/2
User avatar
franx
Volunteer
Posts: 540
Joined: Wed Nov 12, 2008 9:25 pm
Location: FRA 'n' QXB

Re: Compose Special Characters 2.0.7 / OOo 3.3.0 RC1 – error

Post by franx »

Thanks.
Yes, there have been some issues and changes for v3.3.
I'm confused because it works in LibO 3.3 Beta 2 without error message.
And it worked from OOO330_m1 to OOO330_m5.
But the same error message in OOo-dev 3.4.0 (DEV300_m89).

Well, I don't understand the error message, and the log.txt just as little.

[BTW]
I can create the special character in this way:

Typing D= Alt+F8
Error message (pop-up window 1) - OK
Error message (pop-up window 2) - Close
Error message (pop-up window 3) - OK
Error message (pop-up window 4) - OK
Đ

:ouch:
LibreOffice 4.0.4 · WinXP
PGAGA
Volunteer
Posts: 481
Joined: Sun Dec 07, 2008 10:54 pm

Re: Compose Special Characters 2.0.7 / OOo 3.3.0 RC1 – error

Post by PGAGA »

Monday, October 18, 2010

I installed it to test on OS X with LibreOffice beta 2 and OOo 3.3m11 (a check build not RC1). It was flakely on both. My install version was 1.2.6 and LO refused to let it update. OOo updated but while it created the character, there was an error message first. Some part of the code is not playing right with the 3.3 builds.

Try turning it off and on. terminologie does work with 3.3 -- but I either have to turn it off before copying the 3.2.1 profile with it in it (I copy my profiles and never migrate them) and then turn it on or reinstall it to get it to work.

Phil
OpenOffice.org 3.2.x, StarOffice 5.1, 7, 8 - OS X, WinXP, OS/2
StarOffice 7, 8, Oracle Open Office 3.3.1, LibreOffice 3.x.x - OS X, Ubuntu, WinXP
NeoOffice 2.2.6, 3.1.2, 3.2.x 3.3 - OS X
Apache OpenOffice 3.4.x - WinXP, OS X, OS/2
hanya
Volunteer
Posts: 885
Joined: Fri Nov 23, 2007 9:27 am
Location: Japan

Re: Compose Special Characters 2.0.7 / OOo 3.3.0 RC1 – error

Post by hanya »

This problem should be fixed by the original author of the extension but here is the way to fix showing "Data type mismatch".

In the ComposeSpecialChars library of the OOo Basic, there is modCustomConstants module. Show fncGetDisplayCUCAlert function which is there about line 492 in the module.

Code: Select all

    blnResult = ComposeSpecialCharsX.fncDisplayCUCAlert

FinishUp:
    
'    fncGetDisplayCUCAlert = blnResult ' replace with the following line (line 539)
    fncGetDisplayCUCAlert = (blnResult = "True")
    
    Exit Function

errorhandler:
I have not well tested on it.
Please, edit this thread's initial post and add "[Solved]" to the subject line if your problem has been solved.
Apache OpenOffice 4-dev on Xubuntu 14.04
User avatar
franx
Volunteer
Posts: 540
Joined: Wed Nov 12, 2008 9:25 pm
Location: FRA 'n' QXB

Re: Compose Special Characters 2.0.7 / OOo 3.3.0 RC1 – error

Post by franx »

Now I've found three new comments, referring to this error message:
→ "Beta versions of OpenOffice not supported"
→ "Problem with combining characters"
→ "Thanks for reporting"
<http://extensions.services.openoffice.o ... mment-3257>

I will contact the owner of CSC.
And I will try a test with hanya's proposal.

Thanks for your comments.
LibreOffice 4.0.4 · WinXP
User avatar
franx
Volunteer
Posts: 540
Joined: Wed Nov 12, 2008 9:25 pm
Location: FRA 'n' QXB

Re: Compose Special Characters 2.0.7 / OOo 3.3.0 RC1 – error

Post by franx »

@hanya
hanya wrote:This problem should be fixed by the original author of the extension but here is the way to fix showing "Data type mismatch".

In the ComposeSpecialChars library of the OOo Basic, there is modCustomConstants module. Show fncGetDisplayCUCAlert function which is there about line 492 in the module.

Code: Select all

    blnResult = ComposeSpecialCharsX.fncDisplayCUCAlert

FinishUp:
    
'    fncGetDisplayCUCAlert = blnResult ' replace with the following line (line 539)
    fncGetDisplayCUCAlert = (blnResult = "True")
    
    Exit Function

errorhandler:
I have not well tested on it.
Great!
That has fixed the error (for me).
CSC works fine again.

:super:

(I've added a short comment on the OOo extensions site.)


Edit 2011-01-10
The error messages do not pop up anymore with → Compose Special Characters 2.0.10 (OOo 3.3.0 RC8).
That works well now, no need of manual editing.
:)
Last edited by franx on Mon Jan 10, 2011 1:42 pm, edited 1 time in total.
LibreOffice 4.0.4 · WinXP
proapps
Posts: 2
Joined: Fri Feb 05, 2010 2:46 pm

Re: Compose Special Characters 2.0.7 / OOo 3.3.0 RC1 – error

Post by proapps »

I'm the developer of the extension - thanks everyone for troubleshooting this error! I'll take a look at the code when I get a chance.

I tend not to deal with OO beta or RC builds because with at least one major release (3.0 I believe) changes were made to how dialog boxes were rendered that caused problems for a number of extensions. Those problems were fixed by a later build, but in the meantime I put in a fair bit of effort rebuilding dialogs, which ended up being unnecessary. Since I do this on a voluntary basis, I hold off until I absolutely have to redevelop to avoid unnecessary effort. I hope you understand.

In this case it looks like the fix is fairly simple.

So thanks again! :D
OpenOffice 3.1 on Windows XP
Post Reply