- Status Closed
- Percent Complete
- Task Type Bug Report
- Category QCAD/CAM
-
Assigned To
Andrew - Operating System Linux (All / Other)
- Severity Low
- Priority Very Low
- Reported Version Development
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Opened by Massimo - 03.09.2014
Last edited by Andrew - 12.09.2014
FS#1097 - uncaught exception: /LibraryBrowser.js:362
$ git status
On branch master
Your branch is up-to-date with ‘origin/master’.
$ qcad
Debug: RDxfPlugin::init
Debug: RExamplePlugin::init
Debug: TransactionListenerPlugin::init
Debug: TIMER: 59 ms - “loading add-ons”
Warning: “QFormBuilder was unable to create a custom widget of the class ‘QWebView’; defaulting to base class ‘QWidget’.”
Debug: TIMER: 602 ms - “initializing add-ons”
Warning: Script Exception:
“TypeError: Result of expression ‘tagsBrowser.page’ [undefined] is not a function.”
Warning: “<anonymous>()@/home/mo/opt/qcad/scripts/Widgets/LibraryBrowser/LibraryBrowser.js:362”
Warning: RScriptHandlerEcma::eval: script engine exception: “TypeError: Result of expression ‘tagsBrowser.page’ [undefined] is not a function.”
Warning: “<anonymous>()@/home/mo/opt/qcad/scripts/Widgets/LibraryBrowser/LibraryBrowser.js:362”
Warning: At least one uncaught exception:
Warning: “<anonymous>()@/home/mo/opt/qcad/scripts/Widgets/LibraryBrowser/LibraryBrowser.js:362”
I have some large library, but the library browser is always crashing since long time and several versions, also tagged versions. I need to disable it by removing LibraryBrowser.js completely or deleting my configuration in order to get QCad starting again.
This is the master head from git, on Gentoo@amd64
I'm assuming that you are compiling QCAD from sources.
Please make sure that you also build the Qt WebKit plugin and copy the QWebView plugin to /home/mo/opt/qcad/plugins/designer/libqwebview.so
I have built dev-qt/qtwebkit-4.8.6-r1 on Gentoo, but there is no file like this included, and no other file on the system:
$ equery files dev-qt/qtwebkit |grep libqwebview
$ locate libqwebview
I'm building qcad from git sources as user in ~/opt/qcad, pulling new updates and rebuilding from time to time.
The Library browser is working with initial configuration, but is crashing with my somehow big electronic library. After that qcad cannot be started anymore with the Library browser enabled, so I always (re)move ~/opt/qcad/scripts/Widgets/LibraryBrowser/LibraryBrowser.js