Please consider opening an issue for this. Until then would you mind trying
out the following?
Launch your Python-interpreter (either via "python" or "python3", I assume)
and execute the following three lines:
from libqtile import widget
w = widget.YahooWeather(update_interval=900,
format='{current_observation_atmosphere_pressure}hPa
{current_observation_condition_symbol}
{current_observation_condition_temperature}°{units_temperature}',
coordinates={'latitude': '12.846951', 'longitude': '18.1348325'})
w.poll()
You should then see the output normally presented to you by the widget in
the bar. Or an error-message and a stacktrace - in the latter case please
attach those here so I can get an idea of what is going on.
On Thursday, 3 September 2020 at 09:26:50 UTC+2 [email protected] wrote:
> I copied your one and pasted it in place of what I was using. The ony
> possible thing I was thinking of could be the font? I'm using Ubuntu Mono
> (I'll admit that I am using a config from 'DistroTubes' as the basis of my
> qtile config as I'm new and using it to learn on rather than start with a
> blank slate (which I hope to do eventually) - All the other widgets work
> (Pacman, Net, Volume).
>
>
>
> On Wednesday, 2 September 2020 at 17:00:29 UTC+1 tcld wrote:
>
>> Could you show me how you are calling the widget?
>>
>> It is definitely not out of date, I am using it right now.
>>
>> On Wednesday, 2 September 2020 at 17:16:00 UTC+2 [email protected]
>> wrote:
>>
>>> Hmnn, I still get the 'Can't Parse' error. So maybe the widget is out
>>> of date? - I'm certainly running versino 0.16.1 of Qutile (from qtile
>>> --version) I'm so sorry for the newbie questions..
>>>
>>> On Wednesday, 2 September 2020 at 15:50:43 UTC+1 tcld wrote:
>>>
>>>> I use the coordinates of my position as follows:
>>>>
>>>> widget.YahooWeather(update_interval=900,
>>>> format='{current_observation_atmosphere_pressure}hPa
>>>> {current_observation_condition_symbol}
>>>> {current_observation_condition_temperature}°{units_temperature}',
>>>> coordinates={'latitude': '20.12349', 'longitude': '18.5920563'},
>>>> foreground=colors['PowerlineText'], background=colors['BarBackground1']),
>>>>
>>>> On Wednesday, 2 September 2020 at 16:30:59 UTC+2 [email protected]
>>>> wrote:
>>>>
>>>>> Hi,
>>>>> I'm new here and I've searched around but I can't find what I'm
>>>>> looking for other than a ChangeLog saying it was resolved in a pervious
>>>>> version but I'm running the current most up-to-date release of Qtile.
>>>>>
>>>>> I'd like to have the YahooWeather widget but I get a " Can't parse "
>>>>> error in my bar. I assume we need to use the World Wide Identifier as
>>>>> our
>>>>> location (I've also tried the string version of my town and nearest city
>>>>> (Norwich).
>>>>>
>>>>> Am I doing something wrong? OR!! (And I'd prefer) is there a weather
>>>>> widget which uses 'OpenWeather'? How do I find non-standared widgets?
>>>>> My
>>>>> searches are coming up empty or maybe I'm just rubbish at searching.
>>>>>
>>>>> Thanks for any help
>>>>>
>>>>> Rich
>>>>>
>>>>
--
You received this message because you are subscribed to the Google Groups
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qtile-dev/f279b8e8-cb82-48a9-a205-064d2320b526n%40googlegroups.com.