Re: [Freevo-users] Weather forecast

2009-08-02 Thread Chris Jones
On Sun, Aug 02, 2009 at 03:16:39PM EDT, John Percival wrote:

> Chris,

> Don't know about a cache. There is WEATHER_AGE which I have set to 1
> sec to force it to get the data every time (normally it's set to an
> hour).

Now it's working.. Must have been sloppy testing on my part.

> I'll have a look at the places you're having trouble with. I did warn
> you it was a hack, though !!

One who fixes a lowly user like myself's issue in a couple of hours
becomes the official maintainer of the code.

That's precisely why I was giving you a heads-up re: the results of my
testing.

A possible design flaw in the plugin is that it fetches all the data for
all weather stations when you access the subdirectory from the main
menu. This is OK when you have about 2-3 entries.. less so when you have
defined 20-30 entries or more. 

Takes forever.. so maybe it would be better to retrieve the data when
the user actually accesses a given weather station. 

Seriously, I was NOT whining, quite the contrary.. 

I figured some form of feedback from a real life "user" might be useful.

Thanks for fixing my problem...!!!

CJ


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] portrait images are displayed upside down

2009-08-02 Thread cornelius
Hello freevo users,

I am running freevo 1.9.0 on a ubuntu-i-think-9.04.
My Digicam stores the position (landscape or protrait) in the exif
information.
On my old roughly 1.7 based freevo system everyting worked fine.

But now, when I got portrait images, the images are display upside-down,
i.e. the exif information seem to be interpreted wrong.
THe landscape images are ok.

Any ideas about this?

Kind regards
Cornelius

--
Diese Nachricht wurde auf Viren und andere gefährliche Inhalte untersucht

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Weather forecast

2009-08-02 Thread John Percival

> 
> From: Chris Jones 
> Sent: Sun Aug 02 20:54:26 CEST 2009
> To: 
> Subject: Re: [Freevo-users] Weather forecast
> 
> 
> On Sun, Aug 02, 2009 at 01:52:43PM EDT, Chris Jones wrote:
> 
> Also, I mistyped RSXX063 (Moscow, Russia) and entered RUXX063 instead
> and this causes freevo to crash.
> 
> CJ
> 
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users

Chris,

Don't know about a cache. There is WEATHER_AGE which I have set to 1 sec to 
force it to get the data every time (normally it's set to an hour).

I'll have a look at the places you're having trouble with. I did warn you it 
was a hack, though !!

John.

-
Mail.be, WebMail and Virtual Office
http://www.mail.be

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Weather forecast

2009-08-02 Thread Chris Jones
On Sun, Aug 02, 2009 at 01:52:43PM EDT, Chris Jones wrote:

Also, I mistyped RSXX063 (Moscow, Russia) and entered RUXX063 instead
and this causes freevo to crash.

CJ

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Weather forecast

2009-08-02 Thread Chris Jones
Two things:

There is definitely some form of cache issue involved. I ran your
improved version of oneclick.py under my personal id, rather than the
freevo id, that normally runs on vt9, and I was able to display a map
for many areas, including China, South America, and various European
countries.

The maps you grab are great - much better than those rather useless
radar maps that I for one do not know how to read.

Hope they make it the official version real soon..!!!

The second issue is that I tried East Islip, here on L.I. and also San
Fran', CA.. and with these particular weather stations, I am still
getting the error I reported in my earlier post.

So could this be a problem with U.S. weather stations..?

Thanks,

CJ

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Weather forecast

2009-08-02 Thread Chris Jones
On Sun, Aug 02, 2009 at 12:04:46PM EDT, John Percival wrote:

> I modified the code to make it work (for my location it displays a
> weather map, not a radar map - but at least it is a map). I checked it
> with Long Island and it does display a map, not sure if it's the sort
> you want though.
> 
> I attach the code for what it's worth. I'm a hacker, not a Python
> programmer - but I'm trying to learn!
> 
> John.

Hmm.. I copied your version to /usr/share/pyshared/plugins/ and I'm
still getting the same message.

Is there a cache that needs to be refreshed..?

Thanks,

CJ

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Weather forecast

2009-08-02 Thread John Percival
> 
> From: Chris Jones 
> Sent: Sun Aug 02 01:04:25 CEST 2009
> To: 
> Subject: [Freevo-users] Weather forecast
> 
> 
> I have found several plugins that appear to add a "Weather Forecast"
> entry to the main freevo menu and I'm not sure which I should use.
> 
> There appears to be a "weather" plugin, a "weatherdata" plugin and..
> took me a while to find it a "oneclick" plugin.
> 
> I eventually set up the "oneclick.py" and this seems to work OK -
> configured it to display the weather here on Long Island, NY.. as well
> as the UK (London), Shanghai, China.. Buenos Aires, Lima, Peru, Paris,
> France, etc. and the only glitch appears that for all of these, the last
> step when I arrow down through the successive screens should display the
> radar map. For all of the above, a "Radar Map for xx" message is
> displayed and and error message that reads: "error encountered while
> trying to download weather map". 
> 
> I do get a transient message "Fetching radar map for xx" when I hit
> the space bar to refresh the display.
> 
> Is there any way I could fix this, or if not, altogether skip the
> display of this last screen?
> 
> Is the "radar map" url incorrect in the plugin source?
> 
> Thanks,
> 
> CJ
> 
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users



I modified the code to make it work (for my location it displays a weather map, 
not a radar map - but at least it is a map). I checked it with Long Island and 
it does display a map, not sure if it's the sort you want though.

I attach the code for what it's worth. I'm a hacker, not a Python programmer - 
but I'm trying to learn!

John.









-
Mail.be, WebMail and Virtual Office
http://www.mail.be


oneclick.py
Description: File Attachment: oneclick.py
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users