Giter Club home page Giter Club logo

Comments (11)

 avatar commented on June 8, 2024 4

Pulling the latest version of the docker image, the following error is occurring:

/usr/lib/python3.8/site-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.6) or chardet (3.0.4) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Traceback (most recent call last):
  File "/scripts/dlclient.py", line 8, in <module>
    from deemix.app import deemix
ModuleNotFoundError: No module named 'deemix.app'

requests dependency warning is now fixed. However, "ModuleNotFoundError: No module named 'deemix.app'" is still an issue.

from docker-amd.

daPyr0x avatar daPyr0x commented on June 8, 2024 4

Apologies in advance, I'm not the most well versed in this stuff, just poking at it until something works... These might all be stupid ideas.

At first it looks like the issue here is with the pycryptodomex package. Trying to run pip wheel --wheel-dir=/root/wheels deemix manually inside the container gives an error about needing gcc.

gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -DPYCRYPTO_LITTLE_ENDIAN -DSYS_BITS=64 -DLTC_NO_ASM -Isrc/ -I/usr/include/python3.8 -c src/MD2.c -o build/temp.linux-x86_64-3.8/src/MD2.o
  unable to execute 'gcc': No such file or directory
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for pycryptodomex

I then ran apk add gcc which got past the initial error, but then gave a new error about stdio.h. I then ran apk add musl-dev after which pip wheel --wheel-dir=/root/wheels deemix finally installed okay. So, adding gcc and musl-dev to your dockerfile should get deemix installed properly now.

Unfortunately, that still doesn't work. dlclient.py still fails with ModuleNotFoundError: No module named 'deemix.app'.

Now it looks like the problem is the refactoring that deemix-py went through. Somewhere around this commit, where I noticed they removed the /app directory where the deemix class being imported in dlclient.py existed.

Looks to my highly uneducated eye that some refactoring will be required for dlclient.py. Could try re-implementing deezer.app from before the refactoring here or, probably the better option, refactor the dlclient.py code to match the changes deemix implemented.

Sorry I can't be of more help (yet...)

from docker-amd.

daPyr0x avatar daPyr0x commented on June 8, 2024 4

I have it working locally, will submit a pull request shortly.

Due to updates from Deezer, you can no longer download FLAC files without a hi-fi account as far as I can tell. If you do not have a hi-fi account, have quality set to FLAC, and requirequality set to true then the script will download mp3s and then immediately delete them.

@0xE28891 I do not have a hi-fi account to confirm FLAC files work properly. Can you check once the pull request is submitted?

from docker-amd.

RandomNinjaAtk avatar RandomNinjaAtk commented on June 8, 2024 3

This should be fixed now, give it a try and report back.

from docker-amd.

 avatar commented on June 8, 2024

Pulling the latest version of the docker image, the following error is occurring:

/usr/lib/python3.8/site-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.6) or chardet (3.0.4) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Traceback (most recent call last):
  File "/scripts/dlclient.py", line 8, in <module>
    from deemix.app import deemix
ModuleNotFoundError: No module named 'deemix.app'

from docker-amd.

GregTroar avatar GregTroar commented on June 8, 2024

since the update of deemix it is indeed broken, I really hope it will be updated :(

from docker-amd.

acherifi avatar acherifi commented on June 8, 2024

Same error on my side

from docker-amd.

RandomNinjaAtk avatar RandomNinjaAtk commented on June 8, 2024

I don't have time to work on this, help wanted...

from docker-amd.

cruix89 avatar cruix89 commented on June 8, 2024

hi guys, sorry for insert a stupid comment so, we need create a team of programers to support theprojects of our friend @RandomNinjaAtk
him projects is great and we dont allow them dying.

i think so all help is welcome, i dont know nothing about programmer but i start to learn righ now, in some time i can contribute something.

I ask you to bring all the help you can, friends, relatives, etc. who know how to program

thank you guys

from docker-amd.

galenjdove avatar galenjdove commented on June 8, 2024

This should be fixed now, give it a try and report back.

Working well for me. Thanks for the fix!

from docker-amd.

GregTroar avatar GregTroar commented on June 8, 2024

Same working well thanks for the fix

from docker-amd.

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.