thx finally this works pi@raspberrypi:/usr/share/weewx $ sudo wee_extension --config=/etc/weewx/weewx.conf --install=/home/pi/weewxwd-1.0.0.tar.gz Request to install '/home/pi/weewxwd-1.0.0.tar.gz' Extracting from tar archive /home/pi/weewxwd-1.0.0.tar.gz Saving installer file to /usr/share/weewx/user/installer/Weewx-WD Saved configuration dictionary. Backup copy at /etc/weewx/weewx.conf.20161112110131 Finished installing extension '/home/pi/weewxwd-1.0.0.tar.gz'
On Saturday, November 12, 2016 at 8:35:49 AM UTC+1, gjr80 wrote: > > Did you try explicitly setting the --config option as per my last? I also > note you ran wee_extension from the / directory. You might want to try > changing into the /usr/share/weewx folder and then running it again, it > could be a path issue. > > Gary > > On Saturday, 12 November 2016 17:17:30 UTC+10, Jacek Skowroński wrote: >> >> Yes file is in the standard location. Weewx is working without any warn >> on start so It's crazy to have problems with config. >> Could i send You a file to chceck? Maybe there is something with program >> wee_extension >> Regards >> Jacek >> >> W dniu pt., 11.11.2016 o 23:00 gjr80 <gjrod...@gmail.com> napisał(a): >> >>> That error indicates that wee_extension found an error in your >>> weewx.conf and could not parse it. I trust that your weewx.conf is >>> located in /etc/weewx (you said you did a deb install) and that it in >>> fact is not malformed? If everything is fine you might want to tell >>> wee_extension exactly where weewx.conf is rather than have it guessing. >>> You could try: >>> >>> wee_extension --config=/etc/weewx/weewx.conf --install=/home/pi/weewxwd- >>> 1.0.0.tar.gz >>> >>> Gary >>> >>> >>> On Saturday, 12 November 2016 07:43:27 UTC+10, Jacek Skowroński wrote: >>>> >>>> by the way, the solution you gave me producess errors >>>> >>>> pi@raspberrypi:/ $ sudo wee_extension --install= >>>> /home/pi/weewxwd-1.0.0.tar.gz >>>> Traceback (most recent call last): >>>> File "/usr/bin/wee_extension", line 83, in <module> >>>> main() >>>> File "/usr/bin/wee_extension", line 62, in main >>>> config_path, config_dict = weecfg.read_config(options.config, _args) >>>> File "/usr/share/weewx/weecfg/__init__.py", line 223, in read_config >>>> config_dict = configobj.ConfigObj(config_path, file_error=True) >>>> File "/usr/lib/python2.7/dist-packages/configobj.py", line 1229, in >>>> __init__ >>>> self._load(infile, configspec) >>>> File "/usr/lib/python2.7/dist-packages/configobj.py", line 1318, in >>>> _load >>>> raise error >>>> configobj.ConfigObjError: Parsing failed with several errors. >>>> First error at line 1. >>>> >>>> >>>> On Friday, November 11, 2016 at 10:15:18 PM UTC+1, gjr80 wrote: >>>>> >>>>> Hi, >>>>> >>>>> The Weewx-WD install instructions have not yet been updated to reflect >>>>> the removal of the weewx extension management capabilities from >>>>> setup.py and the creation of the wee_extension utilitiy at weewx >>>>> v3.2.0. You can safely install Weewx-WD with wee_extension using >>>>> something >>>>> like: >>>>> >>>>> ./wee_extension --install=/path/to/weewxwd-1.0.0.tar.gz >>>>> >>>>> Weewx-WD v1.0.0 has a few bugs in it that may or may not affect you. I >>>>> am just putting the finishing touches to a v1.0.1 package that adresses >>>>> these issues. If you could hang off installing for a week that might be >>>>> advantageous. >>>>> >>>>> Gary >>>>> >>>>> On Saturday, 12 November 2016 06:39:22 UTC+10, Jacek Skowroński wrote: >>>>>> >>>>>> Hi, >>>>>> I have some confusion. >>>>>> I'd like to install weewxwd. Previously I had installed weewx from >>>>>> deb. >>>>>> Where should I find setup.py file in general? This is the first step >>>>>> in installation of the weewxwd >>>>>> >>>>>> sudo find / -name 'setup.py' >>>>>> >>>>>> gives nothing >>>>>> >>>>>> Thanks for help >>>>>> >>>>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "weewx-user" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/weewx-user/EJxwFGpcu60/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> weewx-user+...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.