Add OS/arch to spellcontrol check

Having trouble installing Oxygen? Got a bug to report? Post it all here.
bds
Posts: 47
Joined: Mon Jun 26, 2006 10:40 pm

Add OS/arch to spellcontrol check

Post by bds »

Hi all --

I understand that this doesn't really qualify as a *common* problem, but it is one that I encounter occassionally: I use FreeBSD and I get the following error when I invoke oXygen or diff* from the command line:

Code: Select all


13:44:52,484 0 ERROR [ main ] ro.sync.azcheck.ui.spellcontrol.hunspell.f - The hunspell library or dictionary could not be loaded, due to java.lang.UnsupportedOperationException: Unknown OS/arch: freebsd/amd64
java.lang.UnsupportedOperationException: Unknown OS/arch: freebsd/amd64
at ro.sync.azcheck.ui.spellcontrol.hunspell.d.k(Unknown Source)
at ro.sync.azcheck.ui.spellcontrol.hunspell.d.m(Unknown Source)
at ro.sync.azcheck.ui.spellcontrol.hunspell.d.<init>(Unknown Source)
at ro.sync.azcheck.ui.spellcontrol.hunspell.d.e(Unknown Source)
at ro.sync.azcheck.ui.spellcontrol.hunspell.f$_b.<init>(Unknown Source)
at ro.sync.azcheck.ui.spellcontrol.hunspell.f.hb(Unknown Source)
at ro.sync.azcheck.ui.spellcontrol.f.p(Unknown Source)
at ro.sync.azcheck.ui.p.x(Unknown Source)
at ro.sync.azcheck.ui.p.o(Unknown Source)
at ro.sync.azcheck.ui.p.vb(Unknown Source)
at ro.sync.azcheck.ui.p.lb(Unknown Source)
at ro.sync.azcheck.ui.p.m(Unknown Source)
at ro.sync.azcheck.ui.n.<init>(Unknown Source)
at ro.sync.azcheck.ui.i.<init>(Unknown Source)
at ro.sync.contentcompletion.editor.u.zen(Unknown Source)
at ro.sync.contentcompletion.editor.u.enableAutomaticSpellCheck(Unknown Source)
at ro.sync.exml.editor.pagetext.f.wjm(Unknown Source)
at ro.sync.exml.editor.pagetext.f.iyk(Unknown Source)
at ro.sync.exml.editor.xmleditor.e.j.iyk(Unknown Source)
at ro.sync.exml.editor.xmleditor.e.p.iyk(Unknown Source)
at ro.sync.exml.editor.p.ymg(Unknown Source)
at ro.sync.exml.editor.xmleditor.e.j.ymg(Unknown Source)
at ro.sync.exml.editor.vc.changePage(Unknown Source)
at ro.sync.exml.editor.vc.changePage(Unknown Source)
at ro.sync.exml.editor.validate.q.changePage(Unknown Source)
at ro.sync.exml.editor.vc.initFrame(Unknown Source)
at ro.sync.exml.editor.validate.q.initFrame(Unknown Source)
at ro.sync.exml.editor.xmleditor.sb.initFrame(Unknown Source)
at ro.sync.diff.ui.l.<init>(Unknown Source)
at ro.sync.diff.d.f.<init>(Unknown Source)
at ro.sync.diff.ui.d.t.<init>(Unknown Source)
at ro.sync.diff.ui.DiffFilesMainFrame.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at ro.sync.ui.application.ApplicationLauncher.d(Unknown Source)
at ro.sync.ui.application.ApplicationLauncher.launch(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at ro.sync.exml.Oxygen.main(Unknown Source)
Is this something you all might consider for a fix?
Thanks very much!
bds
Posts: 47
Joined: Mon Jun 26, 2006 10:40 pm

Re: Add OS/arch to spellcontrol check

Post by bds »

And apologies - if this is more appropriate for the Feature Request subforum, please move it.

Thank you!
adrian
Posts: 2850
Joined: Tue May 17, 2005 4:01 pm

Re: Add OS/arch to spellcontrol check

Post by adrian »

Hello,

FreeBSD isn't officially supported by Oxygen. What you're seeing is an error message from the Hunspell spell checker library loader. The spell checker implementation is native, so it tries to load a native library according to the detected platform and architecture. Oxygen provides spell checker implementations for Windows, Linux and macOS. However, FreeBSD doesn't quite fall in the Linux category, hence the error message.

I've logged a feature request for this, but AFAIK there are no plans to support FreeBSD in the near future.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
bds
Posts: 47
Joined: Mon Jun 26, 2006 10:40 pm

Re: Add OS/arch to spellcontrol check

Post by bds »

Hi Adrian,

that's perfectly reasonable. Thanks for your time!

Best,
Bridger
Post Reply