OK... Not going to start modifying things until I understand what is going on... Here is the situation:
CentOS 7 running on a quad core NUC. Python 2.7.5 & Python 3 installed. Standard python installs under yum with the following symlinks created under the Python 2.7.5 install: */usr/bin/python -> python2* */usr/bin/python2 -> python2.7* */usr/bin/python2.7* I ran the following... *mkdir /var/tmp/weewx4_src* *cd /var/tmp/weewx4_src* *git clone -b development https://github.com/weewx/weewx* *sudo PYTHONPATH=/var/tmp/weewx4_src/weewx/bin /var/tmp/weewx4_src/weewx/bin/wee_import --help* I am actually getting more errors than before (that is my luck)... *Traceback (most recent call last):* * File "/var/tmp/weewx4_src/weewx/bin/wee_import", line 726, in <module>* * import weeimport.weeimport* * File "/var/tmp/weewx4_src/weewx/bin/weeimport/weeimport.py", line 30, in <module>* * import weecfg.database* * File "/var/tmp/weewx4_src/weewx/bin/weecfg/database.py", line 22, in <module>* * import weewx.manager* * File "/var/tmp/weewx4_src/weewx/bin/weewx/manager.py", line 21, in <module>* * import weewx.accum* * File "/var/tmp/weewx4_src/weewx/bin/weewx/accum.py", line 95, in <module>* * defaults_dict = configobj.ConfigObj(StringIO(DEFAULTS_INI), encoding='utf-8')* * File "/usr/lib/python2.7/site-packages/configobj.py", line 1242, in __init__* * self._load(infile, configspec)* * File "/usr/lib/python2.7/site-packages/configobj.py", line 1302, in _load* * infile = self._handle_bom(infile)* * File "/usr/lib/python2.7/site-packages/configobj.py", line 1442, in _handle_bom* * if not line.startswith(BOM):* *UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)* I have verified all the files exist, now I am going to look at the lines in the files. I am not a programmer, but I sometimes can figure things out with the limited knowledge of programming languages I have, so we will see. If there is a ENV variable that is broke because of the multiple versions of python, hopefully I can figure that out... just to reiterate all the file paths in the Traceback exist, including */usr/lib/python2.7/site-packages/configobj.py.* Any thoughts? -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b9bafcb0-5496-4f72-bb04-7db24b157670%40googlegroups.com.
