NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

ratep2001's avatar
ratep2001
Aspirant
Jan 23, 2014

Install weewx on ReadyNas Duo - problem with Python?

I am trying to install the weather software weewx on my ReadyNas Duo. I started without checking for necessary packages, following the installation guideline:
http://www.weewx.com/docs/debian.htm

After getting errors because of missing Python >=2.5, I tried updating the source.list as suggested elsewhere and running apt-get for python several times but without success. The package could not be found, but this was maybe also result of problems encountered when generating the list due to missing dynamic MMap space. I think I solved the latter problem by increasing some buffer length as suggested elsewhere, but I still had trouble when installing the python package.

Finally I found that there is a Python 2.7 (unofficial) addon for Redynas at this url:
http://minfejl.dk/readynas/

However, I still cannot finish the weewx installation - it still complains about missing python. If I try "python --version" it responds with 2.7.3, so it is somewhere in the system. If I try "dpkg -l", I cannot see the python package on the list. But this is somehow similar with the APT addon for ReadyNas - I cannot find it on the list of added packages using "dpkg -l", but I can see it is working. Is this a general issue when installing addons, that they cannot be seen in the package list, cannot be uninstalled, or ...?

Anyway, is it possible that I will be able to install weewx if python appears on the package list from dpkg? And if yes, how do I get python 2.7.3 from the Readynas addon on that list?

1 Reply

Replies have been turned off for this discussion
  • Just to follow up on this issue, I got some professional help to get weewx installed on the ReadyNAS Duo v2:

    1. Download Python module:
    # wget --no-check-certificate https://pypi.python.org/packages/source/c/configobj/configobj-4.7.2.tar.gz

    2. Unpack module:
    # tar -zxvf configobj-4.7.2.tar.gz

    3. Install module
    # cd configobj-4.7.2.tar.gz
    # python setup.py install --prefix=/opt/python-2.7.3

    4. Download software
    # wget http://downloads.sourceforge.net/project/weewx/weewx-2.5.1.tar.gz

    5. Unpack software
    # tar -zxvf weewx-2.5.1.tar.gz
    # cd weewx-2.5.1

    6. Install weewx
    # python setup.py install

    Now the installation does not complain about missing Python or what so ever, but I still have trouble running this SW. Some of the modules for communicating wiht the Davis weather station complain when I try to start them up, something like non existing file or directory, although I can see the module name in the folder. I found out that I am missing the CP210x driver, so I cannot even establish basic communication with the Davis weather station via e.g. Minicom because /dev/ttyUSBx is not being created, but I placed my questions about this in a different thread...

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More