LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unable to open downloaded applet (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-open-downloaded-applet-666856/)

David A. Samuel 09-01-2008 10:02 AM

unable to open downloaded applet
 
Hi Everyone,
I have just finished loading Ubuntu on my desktop and it's running GREAT! I tried to download the zweather applet. It downloaded but when I tried to open & install it I got the following error message: /tmp/zweatherapplet-1.51.tar-2.gz could not be opened because the associated helper application does not exist. Change the association in your preferences.
I do not understand what that means or what to do: any ideas? Thank you, David

{BBI}Nexus{BBI} 09-01-2008 05:34 PM

How are you trying to open and install it?

David A. Samuel 09-02-2008 08:17 AM

applets
 
Hi,
I downloaded the applet. I double clicked on it. I followed the directions and then I got that error message. Thanks, David

{BBI}Nexus{BBI} 09-02-2008 10:11 AM

Quote:

Installation :
--------------

1 - Download and install the pymetar Python module from :

http://www.schwartzvogel.de/software-pymetar.shtml

You need at least version 0.12

$ tar -zxf pymetar-0.12.tar.gz
$ cd pymetar-0.12
$ python setup.py install

2 - Download and install the ZWeatherApplet product from :

http://www.librelogiciel.com/software/

Then, under Debian :

$ cd /var/lib/zope/instance/default/Products

if an error occurs, then please manually create
the /var/lib/zope/Products directory and restart
above.


$ tar -zxf ~/ZWeatherApplet-1.99.tar.gz

restart Zope :

$ /etc/init.d/zope stop
$ /etc/init.d/zope start

Installation instructions may be somewhat different on
other systems. You're on your own.

3 - Add some ZWeatherApplet instances with correct location codes
(see the four letters codes in the file Locations, or use the
drop down list)

4 - You can display them with the default rendering with :

<dtml-var YourInstance>

or you can display them the way you prefer, by calling
individual methods :

<dtml-with YourInstance>
<dtml-call refresh> <!-- Refreshes data from the NOAA server -->
Temperature : <dtml-var getTemperatureFahrenheit>&deg;F
</dtml-with>

NB : You must call refresh in this case, otherwise data is never
refreshed. The refresh() method takes care of caching and
cache expiration for you (by default 15 minutes), so this
shouldn't hurt your bandwidth. Caching is done per instance,
so if you display many instances at once be careful to not
create them at the same time to dispatch the speed loss
encured when fetching new datas accross several instances
in the time.
That is what you need to do to install and use this applet. Plus you will need to have Zope server installed and running. If all you want is a weather applet, it would be simpler to install and use SuperKaramba.


All times are GMT -5. The time now is 11:48 AM.