Giter Site home page Giter Site logo

Comments (2)

ryanvolz avatar ryanvolz commented on July 27, 2024

At a high level, it looks like gr-lora_sdr's CMake code was not really updated to align with GNU Radio 3.8; the version of cmake/Modules/UseSWIG.cmake that it has is from the GNU Radio 3.7 era. Updating that (probably a big job, and I'm not saying it's your job) would almost certainly improve things.

At a lower level, this is the key error:

TypeError: Unicode-objects must be encoded before hashing

which happens when executing the Python code from these lines.

I think that is ultimately a problem coming from using Python 3 with code that was originally written to work with Python 2. That code snippet probably needs to be upgraded to be compatible with Python 3 by doing what the error says and .encode()ing the string before hashlib.md5() is evaluated. But if that were the full problem, then I wouldn't think this would work for anybody with Python 3, yet gr-lora_sdr claims Python 3 compatibility so I don't know what is unique about your setup. Perhaps is has to do with having Unicode characters in your file paths.

from radioconda.

ewwll avatar ewwll commented on July 27, 2024

At a high level, it looks like gr-lora_sdr's CMake code was not really updated to align with GNU Radio 3.8; the version of cmake/Modules/UseSWIG.cmake that it has is from the GNU Radio 3.7 era. Updating that (probably a big job, and I'm not saying it's your job) would almost certainly improve things.

At a lower level, this is the key error:

TypeError: Unicode-objects must be encoded before hashing

which happens when executing the Python code from these lines.

I think that is ultimately a problem coming from using Python 3 with code that was originally written to work with Python 2. That code snippet probably needs to be upgraded to be compatible with Python 3 by doing what the error says and .encode()ing the string before hashlib.md5() is evaluated. But if that were the full problem, then I wouldn't think this would work for anybody with Python 3, yet gr-lora_sdr claims Python 3 compatibility so I don't know what is unique about your setup. Perhaps is has to do with having Unicode characters in your file paths.

from radioconda.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.