Author Topic: Weather  (Read 3576 times)

PowerZ

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • http://
Weather
« on: June 28, 2004, 09:02:56 am »
I downloded the ipk from this URL: Weather for Zaurus and installed it.  It did not install an icon.  When I try to run it from the command line, I get the following error message:  bash: ./weather: bad interpreter: No such file or directory

Can some one that understands Japanese help me undertsand the page or anyone else that might have an idea?
C-750 - Cacko ROM version 1.21b - Lexar 256MB SD card - Kingston 1 GB CF Card

SL - 5500 - Sharp ROM version 3.13 - SanDisk 128 Mb SD card - Mr. Flash 128 MB CF Card

nilch

  • Hero Member
  • *****
  • Posts: 668
    • View Profile
    • http://
Weather
« Reply #1 on: June 28, 2004, 11:06:09 am »
You may want to check out this Weather for Z

Though this one needs Python packages to be installed as well.

Sorry, couldn't help you there with the Japanese...
New no more-C1000 / 5000D (sold my 6000 and 750) | Cacko ROM 1.23 on C1000 | 256 MB CF | 2GB PNY SD card | Socket Networker WiFi CF Card | USB Host cable from StreamlineCPUS | Mini Microphone (for voice recording) |

mike151

  • Newbie
  • *
  • Posts: 34
    • View Profile
Weather
« Reply #2 on: June 28, 2004, 11:28:58 am »
PowerZ,
The version of weather you are running requires perl, wget, nkf, iselect and zdbat.

Mike

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Weather
« Reply #3 on: June 28, 2004, 12:02:03 pm »
It's a script (I assume from the error message), did you extract it under Windows? - ie. line feeds have been added.

Try: vi script_name

See whether there are funny chars on the end of each line.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

PowerZ

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • http://
Weather
« Reply #4 on: June 28, 2004, 10:22:57 pm »
Thanks for the responses!!!

Nilch said:
Quote
You may want to check out this Weather for Z

Though this one needs Python packages to be installed as well.

Sorry, couldn't help you there with the Japanese...

Nilch -- I emailed the developer to ask if it will run in landscape mode on the Cxxx series and he response was:

Quote
But sadly, it is still not optimed to run on the clamshell zaurus.
If there is demand I might consider making it optimised for the landscape versions and higher resolutions.

Till then, its meant for the 5500 and 5600 versions only.
So that won't work for me at this time.

Mike151 said:
Quote
PowerZ,
The version of weather you are running requires perl, wget, nkf, iselect and zdbat.

Mike
I will try to find those packes and install them.

Lardman said:
Quote
it's a script (I assume from the error message), did you extract it under Windows? - ie. line feeds have been added.

Try: vi script_name

See whether there are funny chars on the end of each line.


Si
Lardman - I installed this on the Z and did not extract it under Windows.  It is a perl script, though.
C-750 - Cacko ROM version 1.21b - Lexar 256MB SD card - Kingston 1 GB CF Card

SL - 5500 - Sharp ROM version 3.13 - SanDisk 128 Mb SD card - Mr. Flash 128 MB CF Card

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Weather
« Reply #5 on: June 29, 2004, 06:29:35 am »
Oh, you need perl then I guess.

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

PowerZ

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • http://
Weather
« Reply #6 on: June 29, 2004, 08:48:12 pm »
Installed Perl and error message didn't change.  Any ideas?
C-750 - Cacko ROM version 1.21b - Lexar 256MB SD card - Kingston 1 GB CF Card

SL - 5500 - Sharp ROM version 3.13 - SanDisk 128 Mb SD card - Mr. Flash 128 MB CF Card

mike151

  • Newbie
  • *
  • Posts: 34
    • View Profile
Weather
« Reply #7 on: June 30, 2004, 11:16:47 am »
Hi,

the first line of the perl script says where the perl interpreter is: #!/usr/bin/perl
You may want to double check that perl is really loacated in /usr/bin/perl.
Another thing you can try is running this from the command line: perl weather
In case the script runs, you can display the path where perl is by running: which perl

One mere thing, double check you have these programs: wget, nkf, iselect and zdbat since they are used by the script. There are links to these programs in the same japanese page you have posted at the beggining of this thread.

Good luck!

Mike

PowerZ

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • http://
Weather
« Reply #8 on: July 03, 2004, 08:51:57 pm »
I pathed perl and installed the remaining packages.  Upon further investiogation, this looks like it is built only for Japan.  Anyone know if this is true?
C-750 - Cacko ROM version 1.21b - Lexar 256MB SD card - Kingston 1 GB CF Card

SL - 5500 - Sharp ROM version 3.13 - SanDisk 128 Mb SD card - Mr. Flash 128 MB CF Card

mike151

  • Newbie
  • *
  • Posts: 34
    • View Profile
Weather
« Reply #9 on: July 03, 2004, 11:21:04 pm »
Hi,

I used  a Japanese to English web page translator and the Japanese URL you have posted, and could read some English out of it.

You may get the command line options of weather from that page.

I hope this helps

Mike

PowerZ

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • http://
Weather
« Reply #10 on: July 04, 2004, 02:44:46 am »
I did that as well and that is where I got the idea that it may be regionalized for Japan only.  When you follow the links to the Excite page, it only lists locations in Japan.  Mike, I appreciate your help so far.  Is there anyone that might be familiar with this software and would be able to assist?
C-750 - Cacko ROM version 1.21b - Lexar 256MB SD card - Kingston 1 GB CF Card

SL - 5500 - Sharp ROM version 3.13 - SanDisk 128 Mb SD card - Mr. Flash 128 MB CF Card

dz

  • Administrator
  • Hero Member
  • *****
  • Posts: 589
    • View Profile
    • http://www.dangerz.net
Weather
« Reply #11 on: July 04, 2004, 05:14:50 am »
Judging by your error, I think all of you are missing the problem.

No such file or directory.

If you do an 'ls', do you see the weather program listed there?  You are typing './weather', which tells it to run the weather program in the current directory.

Try typing just 'weather'.
http://www.dangerz.net
c860 : Cacko
The greatest experience we can have is the mysterious.
- Albert Einstein

PowerZ

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • http://
Weather
« Reply #12 on: July 04, 2004, 12:42:44 pm »
Not misssing the problem dz, but thanks for trying.  Mike had the initial issue right and I have the program running and I am at the iselect portion of the program.  My latest issue is that the screen doesn't give me much information as it is in Japanese.  When I translate the web page it seems this is a Japan only localized progrm.  Looking for confirmation or rejection of my thoughts.  If rejection, which I actualy hope, I need some direction on hw to make this work for the United States.
C-750 - Cacko ROM version 1.21b - Lexar 256MB SD card - Kingston 1 GB CF Card

SL - 5500 - Sharp ROM version 3.13 - SanDisk 128 Mb SD card - Mr. Flash 128 MB CF Card