This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Cantor crash & no backend found problem

Tags: cantor, installation cantor, installation cantor, installation
(comma "," separated)
User avatar
joon
Registered Member
Posts
20
Karma
0
Hi,

I installed Cantor from openSUSE kde 4.7 repo, and that version crashed everytime I tried to open a cantor file that I saved. (I think it is https://bugs.kde.org/show_bug.cgi?id=258286)

So I cloned the git repo and build cantor. This time, if I run it it just says No Backend Found.

What can I do to fix this?

Thank you!
Joon
arieder
KDE Developer
Posts
32
Karma
0
OS
did you remember to run kbuildsycoca4 after building cantor?


arieder, proud to be a member of KDE forums since 2008-Oct.
User avatar
joon
Registered Member
Posts
20
Karma
0
arieder wrote:did you remember to run kbuildsycoca4 after building cantor?


I was not aware of such thing. I just did that after $ sudo make install, but I've got the same No Backend Found:

joon@linux-64fk:~> cantor
cantor(20544) KXMLGUIClient::setXMLFile: cannot find .rc file "cantor_shell.rc" for component "cantor"
cantor(20544) KXMLGUIClient::setXMLFile: cannot find .rc file "cantor_shell.rc" for component "cantor"
cantor(20544)/kdeui (KMainWindow) KMainWindow::applyMainWindowSettings: KMainWindow::applyMainWindowSettings "MainWindow"
cantor(20544)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-joon/ksycoca4"
cantor(20544)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "Cantor/Backend" not found
cantor(20544)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "Cantor/Backend" not found
cantor(20544)/kdecore (KLocale) KuitSemanticsPrivate::semanticToVisualText: "Markup error in message {<kuil><h1>No Backend Found</h1>
<div>You could try:
<ul> <li>Changing the s...}: Opening and ending tag mismatch.. Last tag parsed: ul"
Object::disconnect: Unexpected null parameter
arieder
KDE Developer
Posts
32
Karma
0
OS
it looks like there is something seriously wrong with your installation. Did you install it into some weird prefix? maybe adding the prefix path to the KDEDIRS environment variable might help


arieder, proud to be a member of KDE forums since 2008-Oct.
User avatar
joon
Registered Member
Posts
20
Karma
0
arieder wrote:it looks like there is something seriously wrong with your installation. Did you install it into some weird prefix? maybe adding the prefix path to the KDEDIRS environment variable might help


I just followed the instructions in the README.txt file:

$ cd <project_name_path>
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=$KDEDIRS -DCMAKE_BUILD_TYPE=debugfull ..
$ make
$ sudo make install
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please try running (as your normal user):
Code: Select all
kbuildsycoca4 --noincremental


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
joon
Registered Member
Posts
20
Karma
0
bcooksley wrote:Please try running (as your normal user):
Code: Select all
kbuildsycoca4 --noincremental


I just did kbuildsycoca4 --noincremental and then ran cantor, but I still got:

Code: Select all
$ cantor
cantor(30005) KXMLGUIClient::setXMLFile: cannot find .rc file "cantor_shell.rc" for component "cantor"
cantor(30005) KXMLGUIClient::setXMLFile: cannot find .rc file "cantor_shell.rc" for component "cantor"
cantor(30005)/kdeui (KMainWindow) KMainWindow::applyMainWindowSettings: KMainWindow::applyMainWindowSettings  "MainWindow"
cantor(30005)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-joon/ksycoca4"
cantor(30005)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "Cantor/Backend"  not found
cantor(30005)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "Cantor/Backend"  not found
cantor(30005)/kdecore (KLocale) KuitSemanticsPrivate::semanticToVisualText: "Markup error in message {<kuil><h1>No Backend Found</h1>
<div>You could try:
  <ul>    <li>Changing the s...}: Opening and ending tag mismatch.. Last tag parsed: ul"
Object::disconnect: Unexpected null parameter


Is there a specific place where I'm supposed to run this? (Right after build, before sudo make install ... ?)

Thank you!
Joon
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Where did you install the version of Cantor you self-compiled? This path, if not /usr will need to be added to several environment variables to be properly detected by KDE.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
joon
Registered Member
Posts
20
Karma
0
bcooksley wrote:Where did you install the version of Cantor you self-compiled? This path, if not /usr will need to be added to several environment variables to be properly detected by KDE.


Oh .. I haven't noticed that. I just uninstalled it and they were installed at / instead of /usr. Let me try to re-install. Thanks.
User avatar
joon
Registered Member
Posts
20
Karma
0
Awesome!

$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=debugfull ..

made everything well. Thank you very much!

-Joon


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], mesutakcan, Sogou [Bot]