https://bugs.kde.org/show_bug.cgi?id=372494

            Bug ID: 372494
           Summary: Error loading QML file: PluginChecker is not a type
                    When compiling from source 1.0.2
           Product: kdeconnect
           Version: 1.0
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: dg3...@gmail.com
  Target Milestone: ---

Created attachment 102242
  --> https://bugs.kde.org/attachment.cgi?id=102242&action=edit
Screenshot of plasmoid

Greetings

I have Kubuntu 16.04.1 and I'm trying to update KDE Connect from the source
file (just as
http://askubuntu.com/questions/817566/how-to-install-kde-connect-1-0-on-kubuntu
).

I have successfully set up the environment for compiling using [this guide from
KDE](https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source) and I'm
able to run the cmake to the source files [as you can see
here.](http://paste.ubuntu.com/23478114/)

Then, I proceed to install using checkinstall and [gives this
output](http://paste.ubuntu.com/23478142/) and proceed to reboot to apply the
changes on the kdeconnect, but after rebooting, the plasmoid brings these
errors:

    Error loading QML File:
file:///usr/local/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/main.qml:48:34:
Type FullRepresentation unavaliable
    Error loading QML File:
file:///usr/local/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/FullRepresentation.qml:55:23:
Type DeviceDelegate unavaliable
    Error loading QML File:
file:///usr/local/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/DeviceDelegate.qml:92:13:
Type Battery unavaliable
   
file:///usr/local/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/Battery.qml:26:1:
PluginChecker is not a type

I tried to "debug" starting the plasmoid from terminal, and this is the output:

    dguerrero@XPS:~$ plasmawindowed org.kde.kdeconnect
    org.kde.plasma: unversioned plugin detected, may result in instability
    org.kde.plasma: unversioned plugin detected, may result in instability
    org.kde.plasma: requesting config for "KDE Connect" without a containment!
    Trying to use rootObject before initialization is completed, whilst using
setInitializationDelayed. Forcing completion
    Error loading QML file:
file:///usr/local/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/main.qml:48:34:
Type FullRepresentation unavailable
   
file:///usr/local/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/FullRepresentation.qml:55:23:
Type DeviceDelegate unavailable
   
file:///usr/local/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/DeviceDelegate.qml:70:17:
Type Sftp unavailable
   
file:///usr/local/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/Sftp.qml:26:1:
PluginChecker is not a type

If I run ls to the route, all files are there

    root@XPS:~# ls -l
/usr/local/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/
    total 32                                                                    
    -rw-r--r-- 1 root root 2351 nov 11 08:20 Battery.qml                        
    -rw-r--r-- 1 root root 1162 nov 11 08:20 CompactRepresentation.qml          
    -rw-r--r-- 1 root root 4998 nov 11 08:20 DeviceDelegate.qml                 
    -rw-r--r-- 1 root root 1648 nov 11 08:20 FindMyPhone.qml                    
    -rw-r--r-- 1 root root 1801 nov 11 08:20 FullRepresentation.qml
    -rw-r--r-- 1 root root 2165 nov 11 08:20 main.qml
    -rw-r--r-- 1 root root 1598 nov 11 08:20 Sftp.qml

I found PluginChecker in
/usr/local/lib/x86_64-linux-gnu/qml/org/kde/kdeconnect/PluginChecker.qml

    root@XPS:~# find /usr/ -name PluginChecker*
    /usr/local/lib/x86_64-linux-gnu/qml/org/kde/kdeconnect/PluginChecker.qml    

I guessed it shouldn't be there, so i copied it to
/usr/local/share/plasma/plasmoids/org.kde.kdeconnect/contents/ui/

As soon as I copied it there, plasmoid came to life.
Inmediately, I tried to pair my Sony Xperia Z2 (using android app v1.4.4 from
play store) but after a few seconds after paired, disconnects for about minute,
but I'm not sure if that is related with this same problem (hadn't that problem
with 0.8 version and same app).


Reproducible: Always

Steps to Reproduce:
1. Purge current packages
2. Compile and install updated source packages


Actual Results:  
Plasmoid displayed multiple error messages.

Expected Results:  
Plasmoid loaded succesfully and show paired device.

Kubuntu 16.04.1
KDE Frameworks 5.18.0
KDE Plasma 5.5.5
Qt 5.5.1 (built against 5.5.1)
Kernel 4.4.0-47-generic

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to