We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

python i2c



  • I have been using the python i2c module and it's been working fine. However even if I start from factory default

    E.G
    firstboot -y
    sync
    reboot
    wifisetup
    opkg update
    opkg install python
    opkg install pyOnionI2C

    I then get

    root@Omega-E941:~# python
    Python 2.7.13 (default, Sep 18 2017, 20:32:03)
    [GCC 5.4.0] on linux2
    Type "help", "copyright", "credits" or "license" for more information.

    from OmegaExpansion import onionI2C
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    ImportError: Error relocating /usr/lib/python2.7/OmegaExpansion/onionI2C.so: i2c_writeBufferRaw: symbol not found

    If anyone has any idea's as to what may be the problem I'd appreciate it

    Thanks

    Paul



  • I believe I know what the problem is. The latest i2C packages are broken

    pyOmegaExpansion_0.5-1_mipsel_24kc.ipk
    pyOnionI2C_0.5-1_mipsel_24kc.ipk

    Have the problem I described. I dropped back to

    pyOmegaExpansion_0.4-1_mipsel_24kc.ipk
    pyOnionI2C_0.4-1_mipsel_24kc.ipk

    And the problem went away.


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.