fileparse.py does not work

47 views
Skip to first unread message

Astrid

unread,
Mar 23, 2020, 10:49:39 AM3/23/20
to weewx-user
Hello!

I want to use fileparse for my weewx 3.9.2.
I copy it from
https://github.com/weewx/weewx/tree/master/examples/fileparse
I choose manually-installation and put the
fileparse.py into
/usr/share/weewx/user
on my local installation at leap 15.1

I want to test it locally as described in the
py-file, but:

linux:/usr/share/weewx/user # PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/fileparse.py
Traceback (most recent call last):
  File "/usr/share/weewx/user/fileparse.py", line 119, in <module>
    import weeutil.logger
ImportError: No module named logger

How I can get it work?

Regards, Astrid

Thomas Keffer

unread,
Mar 23, 2020, 10:55:07 AM3/23/20
to weewx-user
You are using fileparse.py from the master branch on GitHub, which is part of WeeWX V4, not WeeWX V3. Either use the version that came with your distribution (should be found in /usr/share/doc/weewx/examples/), or get the archived V3.9.2 version using the v3.9.2 tag: https://github.com/weewx/weewx/tree/v3.9.2/examples/fileparse

--
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/5ff3791c-6ced-45b4-8415-2060e081cfed%40googlegroups.com.

Astrid

unread,
Mar 23, 2020, 12:27:14 PM3/23/20
to weewx-user
Hello!

Now it works with the testing-command. :)
Great thanx. :)

So I hope, that I will get it work with
real-data too.

Regards, Astrid

Reply all
Reply to author
Forward
0 new messages