Warning: session_start(): open(/tmp/sess_5918crili44k7sce4dap7q9im5, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
NixieClock openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans (2) .- Knowledge Base  . 

NixieClock

   0.5  

Plasmoid Script

Score 80%
cfiguracfigura
Wartburg College
NixieClock
zoom


Downloads:  925
Submitted:  Mar 13 2009
Updated:  Mar 14 2009

Description:

NixieClock is a Python-based plasmoid for KDE4.X that uses images of real NixieTubes to display time and date. The clock's primary purpose is as an aid for astronomical applications, and has options for showing Universal Time (UTC), Local Sidereal Time (LST), Julian Dan (JD), and Gregorian Date (either local or Universal). All displays may be individually turned on and off.




LicenseGPL
Ubuntu(NixieClock.zip)
Send to a friend
Subscribe
Other  Content  from cfigura
Report inappropriate content



-
.

 Cute Idea, but...

 
 by bizzl on: Mar 13 2009
 
Score 50%


  • [*]Please Tag it as "Plasmoid Script"
    [*]Upload it with plasmoid as extension, not zip (for GHNS)

  • Also, it won't start, neither in plasma nor in plasmoidviewer. I got the following backtrace:
    Quote:
    .kde/share/apps/plasma/plasmoids/NixieClock/contents/code/images/nixieClock.conf: No configuration file found
    Traceback (most recent call last):
    File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py", line 55, in init
    self.pyapplet.init()
    File "/home/bizzl/.kde4/share/apps/plasma/plasmoids/NixieClock/contents/code/main.py", line 812, in init
    clock = Clock()
    File "/home/bizzl/.kde4/share/apps/plasma/plasmoids/NixieClock/contents/code/main.py", line 161, in __init__
    self.setDefault()
    File "/home/bizzl/.kde4/share/apps/plasma/plasmoids/NixieClock/contents/code/main.py", line 316, in setDefault
    self.addSite(siteName,siteLong,siteZone,siteZoNa)
    File "/home/bizzl/.kde4/share/apps/plasma/plasmoids/NixieClock/contents/code/main.py", line 308, in addSite
    self.setSite(siteName)
    File "/home/bizzl/.kde4/share/apps/plasma/plasmoids/NixieClock/contents/code/main.py", line 373, in setSite
    zoNa = self.zoNa[0]+"S"+zoNa[2]
    AttributeError: Clock instance has no attribute 'zoNa'


    ---
    Reply to this

    -

     Re: Cute Idea, but...

     
     by cfigura on: Mar 14 2009
     
    Score 50%
    cfiguracfigura
    Wartburg College

    bizzl -

    Thanks for the comments. Unfortunately, you've found the one problem that I was aware of - difficulty with specifying path.

    When I originally wrote the clock (as a non-plasmoid), I used sys.path[0] to specify the location of the images and the configuration file. I've found that that doesn't work under plasma, and haven't been able to find a solution. I was hoping that the .kde directory structure was universal enough that I could specify from there, and it seemed to work on several different machines here.

    If anyone has any recommendations on that front, that would be appreciated.

    Otherwise, the path is specified in the second line of main.py - I'd edit it after installation (rather than unzipping, editing, rezipping and installing). If you do a 'locate NixieClock' after installing the script, you should be able to find out where it was installed, and modify main.py appropriately.

    Let me know if you have further problems!


    Charlie Figura
    Associate Professor of Physics
    Director, Wartburg Platte Observatory

    Reply to this

    -

     Re: Re: Cute Idea, but...

     
     by justi on: Mar 14 2009
     
    Score 50%

    KStandardDirs?
    http://api.kde.org/pykde-4.2-api/kdecore/KStandardDirs.html


    Reply to this

    -

     Re: Re: Cute Idea, but...

     
     by bizzl on: Mar 14 2009
     
    Score 50%

    Quote:
    When I originally wrote the clock (as a non-plasmoid), I used sys.path[0] to specify the location of the images and the configuration file. I've found that that doesn't work under plasma, and haven't been able to find a solution.

    Replace it by nixiePath = self.package().path() + "contents/code/images/"
    However, it still crashes, so this wasn't the only problem.
    After a quick check I also removed self. from zoNa = self.zoNa[0]+"S"+zoNa[2]
    It work with this two changes.


    However... you have changed the code, right? In the new code are dozens of lines that cause trouble, mainly of the "x has no attribute y" kind. So I sended you the code that works for me(tm), maybe it will help you more then my comment...


    ---
    Reply to this

    -

     Re: Re: Re: Cute Idea, but...

     
     by cfigura on: Mar 14 2009
     
    Score 50%
    cfiguracfigura
    Wartburg College

    Thanks - that path did the trick. I suspect the other errors resulted from a separate change I made, renaming the image directory to 'NixieDir' (change made for other reasons).

    I've uploaded an updated version, and that should work. Let me know -

    -C


    Charlie Figura
    Associate Professor of Physics
    Director, Wartburg Platte Observatory

    Reply to this

    -
    .

     Re: Re: Re: Re: Cute Idea, but...

     
     by AMO88 on: Mar 14 2009
     
    Score 50%
    AMO88AMO88
    >>>>>

    Doesn't work for me :(

    When I try to install, it fails...


    Reply to this

    -
    .

     Re: Re: Re: Re: Re: Cute Idea, but...

     
     by bizzl on: Mar 15 2009
     
    Score 50%

    @cfigura: yes, it works now out of the box :D

    @AM088: Do you get something like:
    Quote:
    The installation of /tmp/kde-bizzlE6HdTB///100937-NixieClock.plasmoid failed.

    followed by
    Quote:
    The installation /tmp/kde-bizzlE6HdTB/// failed.

    ?
    I get those alot, too, but it appears to be a problem with plasmapkg, as it always happens in combination with ghns :(


    ---
    Reply to this

    -

     Re: Re: Re: Re: Re: Re: Cute Idea, but...

     
     by Jinlu on: Jul 3 2009
     
    Score 50%

    I upgraded qt on gentoo as part of a standard world update. In fact I dont know why it upgraded because it only reinstalled itself. But the after math was this message:

    * After a rebuild or upgrade of Qt, it can happen that Qt plugins (such as Qt
    * and KDE styles and widgets) can no longer be loaded. In this situation you
    * should recompile the packages providing these plugins. Also, make sure you
    * compile the Qt packages, and the packages that depend on it, with the same
    * GCC version and the same USE flag settings (especially the debug flag).
    *
    * Packages that typically need to be recompiled are kdelibs from KDE4, any
    * additional KDE4/Qt4 styles, qscintilla and PyQt4. Before filing a bug report,
    * make sure all your Qt4 packages are up-to-date and built with the same
    * configuration.
    *
    * For more information, see http://doc.trolltech.com/4.5/plugins-howto.html


    The important part is that after this update the Nixieclock stopped working and now I get the same error specified above:

    Installing the package /home/jinlu/side_research/widgets/100937-NixieClock.plasmoid failed.

    I have reinstalled all the plasma related programs as well as the programs listed above, but to no avail.

    If there is any help, let me know; this is one of my favorite apps. I am an astronomer and my fellow astronomers love it too. :)



    -

     Re: Re: Re: Re: Re: Re: Cute Idea, but...

     
     by Jinlu on: Jul 3 2009
     
    Score 50%

    So I edited the python code the way that bizzl said to and it works now.

    Changed line 373 or 375 (i cant remember) from

    zoNa = self.zoNa[0]+"S"+zoNa[2]

    to

    zoNa = zoNa[0]+"S"+zoNa[2]

    now it works fine.



    -
    .

     I like your applet...

     
     by arnonym on: Apr 16 2009
     
    Score 50%

    ...although I am not an astronomer.

    But here are some ideas:

  • Add an option to hide the seconds. This would allow for more sleeping in the applet and thus saves power (especially on laptops).

  • Make the numbers svg's so they blend with the background. They could then also blend with each other just as in the real valve-displays the glowing of one would be visible in others too.

  • Reply to this

    -

     Sidebar problem

     
     by FlappySocks on: May 11 2009
     
    Score 50%

    Looks great.

    Doesn't work too well with a sidebar. The timezone gets in the way. Would like to be able to remove that.

    Would also be nice to be able to specify date format (dd/mm/yy or mm/dd/yy etc)


    Reply to this

    -
    .

     script initialization failed

     
     by mdb on: Nov 9 2009
     
    Score 50%

    Previously with openSUSE 11.2 RC1 this was working. Now at openSUSE 11.2 nixie clock failes with script initialization failed


    Reply to this

    Add commentBack




    -



     
     
     Who we are
    Contact
    More about us
    Frequently Asked Questions
    Register
    Twitter
    Blog
    Explore
    Apps
    Artwork
    Jobs
    Knowledge
    Events
    People
    Updates on identi.ca
    Updates on Twitter
    Content RSS   
    Events RSS   

    Participate
    Groups
    Forum
    Add Content
    Public API
    About openDesktop.org
    Legal Notice
    Spreadshirt Shop
    CafePress Shop
    Advertising
    Sponsor us
    Report Abuse
     

    Copyright 2007-2016 openDesktop.org Team  
    All rights reserved. openDesktop.org is not liable for any content or goods on this site.
    All contributors are responsible for the lawfulness of their uploads.
    openDesktop is a trademark of the openDesktop.org Team