Bad graphs

167 views
Skip to first unread message

Meteo Ballino

unread,
Dec 17, 2020, 7:16:25 AM12/17/20
to weewx-user
Hello everyone
I have installed weewx for a few days now, it works very well. The problem is that I can't see the graphs correctly.
I also installed a new skin (neowx) but the problem persists. The graphs are cropped and full of strange lines. If I save the graph as a image, it appears complete but "buggy".
What can it be?

Thanks.

Luca 

Meteo Ballino

unread,
Dec 17, 2020, 7:17:15 AM12/17/20
to weewx-user
intro.png

Tom Keffer

unread,
Dec 17, 2020, 8:57:24 AM12/17/20
to weewx-user
Hello, Luca

I think this is a question best directed at the author of the skin. Something probably got set wrong in skin.conf.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/099fbf30-994c-4344-88d9-ea87616e42ddn%40googlegroups.com.

Meteo Ballino

unread,
Dec 17, 2020, 9:27:17 AM12/17/20
to weewx-user
Actually I had this problem even with the "default" skinf of weewx. I try to post the skin.conf file
skin.conf

Tom Keffer

unread,
Dec 17, 2020, 9:32:10 AM12/17/20
to weewx-user
I suspect the problem involves the anti-aliasing. You have it set very high

    anti_alias = 4

Just to make sure this is the problem, set it to 1 and see what happens.

-tk

Meteo Ballino

unread,
Dec 17, 2020, 9:43:21 AM12/17/20
to weewx-user
I tried. Unfortunately nothing changes.
Could it be that the hardware is limited and can't handle plotting?
weewx is running on a sheevaplug with debian10

Tom Keffer

unread,
Dec 17, 2020, 2:18:29 PM12/17/20
to weewx-user
A SheevaPlug is certainly a very low-powered device. A look at the log might answer your question. But, I doubt low-memory would be causing this.

Sorry, but I can't really debug neowx, but you say it is happening with the Standard skin, so let's focus on that. Deactivate the neowx skin, activate the Standard skin. Restart weewx. Post the log from startup through the first reporting cycle. 

-tk

vince

unread,
Dec 17, 2020, 2:32:39 PM12/17/20
to weewx-user
On Thursday, December 17, 2020 at 6:43:21 AM UTC-8 meteo....@gmail.com wrote:
Could it be that the hardware is limited and can't handle plotting?
weewx is running on a sheevaplug with debian10


I run weewx in debian 8 on a Seagate Dockstar which is a Sheevaplug with only 128 MB RAM.  Everything runs just fine on that tiny system, although it periodically swaps a bit.   I run many extensions and skins including forecast and Belchertown without issues there, other than it being slow to process the skins.

Meteo Ballino

unread,
Dec 17, 2020, 3:27:14 PM12/17/20
to weewx-user
Hello and thanks for your answers.
I set the standard skin and these are the results
The graphs are generated but they are all buggy

screen.pnggraph.png

Tom Keffer

unread,
Dec 17, 2020, 3:58:38 PM12/17/20
to weewx-user
Very odd. I have not seen this before. This is with anti_alias = 1, correct?

I'm suspecting something is wrong with your installation of the Python Imaging Library (PIL). What version do you have? I can't tell which version of Python you are running because you did not post the log from the restart of WeeWX.

But, this should work:

cat /etc/default/weewx
source /etc/default/weewx
$WEEWX_PYTHON -c "import PIL; print(PIL.__version__)"



-tk

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.

Meteo Ballino

unread,
Dec 17, 2020, 4:03:22 PM12/17/20
to weewx-user
Yes, the anti_alias is set to 1. I also think that the problem is the PIL.

Python version 3
PIL version is the 5.4.1

Tom Keffer

unread,
Dec 17, 2020, 4:41:30 PM12/17/20
to weewx-user
Can you upgrade PIL?

Meteo Ballino

unread,
Dec 17, 2020, 5:04:50 PM12/17/20
to weewx-user
how can I do?
thanks

Tom Keffer

unread,
Dec 17, 2020, 6:49:52 PM12/17/20
to weewx-user
Not sure, but you can try pip:

sudo python3 -m pip install Pillow

Then, again,

python3 -c "import PIL; print(PIL.__version__)"

to see if it's any different.

Meteo Ballino

unread,
Dec 18, 2020, 2:04:09 AM12/18/20
to weewx-user
I can't get the PIL version, but I've updatet Pillow.
Now I obtain this result.

error.png

Tom Keffer

unread,
Dec 18, 2020, 8:18:23 AM12/18/20
to weewx-user
You do not want the PIL version. It is very out of date. You want Pillow. What exactly did you try? If you tried to install PIL, then tried to install Pillow, it's possible you left parts of PIL behind, and now have a mixture.

What do you get for this:

python3 -c "from PIL import ImageDraw; print(dir(ImageDraw))"
python3 -c "import PIL; print(PIL.__version__)"
python3 -m pip list

-tk


Tom Keffer

unread,
Dec 22, 2020, 12:26:08 PM12/22/20
to weewx-user
Meteo Ballino?
Reply all
Reply to author
Forward
0 new messages