Announcement

Collapse
No announcement yet.

Python based widgets do not load

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Python based widgets do not load

    Hey everyone,

    I am new to Linux in general, and I took the plunge and installed kubuntu on my Dell XPS M1330 laptop and so far just about everything is smooth. One issue I am having is that I have tried to install a few widgets (specifically plasma-pyweather) that give me the error "This object could not be created for the following reason: Scrpt initialization failure."

    After some Googling it seems that this is due to an error with the Python script. I tried whereis plasma-scriptengine-python but the output is blank. I also tried to install kdebindings-python, but the installer says that the file does not exist. When I type sudo apt-get install plasma-scriptengine-python I am told that the latest version is already installed.

    Clearly I'm grasping at straws here, so any direction would be appreciated to help me get the widgets working.

    My specs are Dell XPS M1330
    Distrib Release = 14.04
    This is a dual boot install
    KDE = 4.13.2
    Grub Version = 0.97-29ubuntu66
    Windows XP is the other OS (dual boot)

    PC
    XPS M1330
    Intel core 2 duo 32-bit
    My graphics card is an Nvidia but when I ran lspci | grep aphic it did not return the type of graphics card
    3 gb ram

    #2
    http://kde-look.org/content/show.php...content=110137

    Hasn't been updated since June 2010 and, according to the latest comments, won't work because it's calling now-nonexistent Google APIs. Try using one of the weather widgets that's currently in the repositories.

    Nevertheless, try installing python-kde4. Does that do anything for you?

    Comment


      #3
      Originally posted by SteveRiley View Post
      http://kde-look.org/content/show.php...content=110137

      Hasn't been updated since June 2010 and, according to the latest comments, won't work because it's calling now-nonexistent Google APIs. Try using one of the weather widgets that's currently in the repositories.

      Nevertheless, try installing python-kde4. Does that do anything for you?
      Steve,

      Thanks for the info and the link. I guess where I am confused is that pyweather is listed in the Muon software center, and under the add new widgets area. If there are outdated widgets there, how do I ensure that I am only using items from the repositories?

      Comment


        #4
        Along the same lines of installing widgets, I decided to try installing yawp from http://kde-look.org/content/show.php...?content=94106
        I followed the directions to install, but when I run the command sudo cmake -DCMAKE_INSTALL_PREFIX='kde4-config --prefix' .. i get the following errors:

        CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (message):
        ERROR: cmake/modules/FindKDE4Internal.cmake not found in
        /home/danny/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
        Call Stack (most recent call first):
        CMakeLists.txt:23 (FIND_PACKAGE)

        I don't know if this is because its a slightly older build and it is incompatible with the latest Kubuntu, or if I am really missing dependencies. If I am missing required files, how do I install what I need?

        Thanks again for the help.

        Comment


          #5
          Originally posted by dcor78 View Post
          Thanks for the info and the link. I guess where I am confused is that pyweather is listed in the Muon software center, and under the add new widgets area. If there are outdated widgets there, how do I ensure that I am only using items from the repositories?
          Hm... I wonder how that got on your system? No package called pyweather appears in the *buntu package list, and apt-cache search pyweather shows nothing.

          Originally posted by dcor78 View Post
          Along the same lines of installing widgets, I decided to try installing yawp from http://kde-look.org/content/show.php...?content=94106
          Yawp is included in the repository, you don't need to compile it. The package is called plasma-widget-yawp.

          Comment


            #6
            Muon Discover

            The Muon Discover is default package installer for the Trusty and later: http://www.kubuntu.org/news/kubuntu-14.04 .

            The Muon Discover is supporting the 'KNewStuff3': http://jontheechidna.wordpress.com/2...-0-0-released/
            Both the Muon Software Center and Muon Discover now support installing things via KDE’s KNewStuff framework version 3. This is the framework that allows developers to publish scripted plugins such as Plasma widgets to the world...



            Apt and the package managers gui's like the Muon (package manager) or the Synaptic are only showing packages from the repositories.
            Last edited by Rog132; Jul 18, 2014, 05:40 AM.
            A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
            Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

            Comment


              #7
              Originally posted by Rog132 View Post
              The Muon Discover is supporting the 'KNewStuff3': http://jontheechidna.wordpress.com/2...-0-0-released/
              Ah, right... forgot about that, because I don't use Muon for anything.

              I'm not so sure this is a good idea. The potential exists for displaying a lot of old and forgotten pieces of code -- for example, this PyWeather thing.

              Comment

              Working...
              X