GithubHelp home page GithubHelp logo

Comments (6)

bzyx avatar bzyx commented on June 15, 2024 1

After clean recompiling it worked! So it was my fault that I didn't clean up after failed builds.

./target/debug/earbuds status
Info for 'Galaxy Buds Pro (7876)':

Battery:        L: 68%, R: 66%
Equalizer:      Dynamic
ANC:            Enabled
Touchpads:      Enabled
Left option:    NoiseCanceling
Right option:   Spotify
Temp. left:     29.3°C
Temp. right:    29.1°C

Thank you for your help and great tool!

from livebudscli.

JojiiOfficial avatar JojiiOfficial commented on June 15, 2024

That is weird. Did you build it before? This error tells me there is a panic in extended_status_updated.rs:107 in the connection library but this line differs from the latest version (143) which means it didn't use the latest version with buds pro support. Are you sure you're using the latest git commit? Could you try to run cargo update, delete the ./target folder and build it again?

from livebudscli.

bzyx avatar bzyx commented on June 15, 2024

I'll try again. Actually I tried to build but it failed because I had 1.5.0 version of rust/cargo. Then I uninstalled everything and tried again after installing using rustup, and maybe some old build artifacts were preserved.

from livebudscli.

JojiiOfficial avatar JojiiOfficial commented on June 15, 2024

You mean 1.50.0? This should work though, at least the error shouldn't be caused by the version of rust since it is still pretty new

from livebudscli.

bzyx avatar bzyx commented on June 15, 2024

Yes, 1.50.0 was installed from Ubuntu 21.04 apt repository. Here is the build error I have on that version.


cargo install earbuds
    Updating crates.io index
  Installing earbuds v0.1.8
error: failed to compile `earbuds v0.1.8`, intermediate artifacts can be found at `/tmp/cargo-installyfj8B9`

Caused by:
  failed to download `zvariant v2.8.0`

Caused by:
  unable to get packages from source

Caused by:
  failed to parse manifest at `/home/marcin/.cargo/registry/src/github.com-1ecc6299db9ec823/zvariant-2.8.0/Cargo.toml`

Caused by:
  feature `resolver` is required

  consider adding `cargo-features = ["resolver"]` to the manifest

from livebudscli.

JojiiOfficial avatar JojiiOfficial commented on June 15, 2024

I'm glad it works now

This other error looks interesting though. Maybe I should bump a new version.

from livebudscli.

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.