Jack12816 / id3-writer

Binding to id3lib and eyeD3
GNU Lesser General Public License v3.0
21 stars 9 forks source link

no tags written #16

Open arpho opened 7 years ago

arpho commented 7 years ago

Hi, I am working with nodejs on ubuntu, this is my code:

testId3.txt

I get this error [Error: No available write adapters found] I read that a suitable adapter is eyed3, I installed it on my computer, but a do not know howto use it with node, thanks for help

Jack12816 commented 7 years ago

Hey arpho, how did you installed eyeD3 and which version of Ubuntu/eyeD3 are you using?

The library tries to find the location of eyed3 with the help of system call like this: which eyeD3 which should result in somthing like this: /usr/bin/eyeD3.

If you can verify this then you should double check how you start the nodejs process and if the PATH environment variable includes the path where eyeD3 is located.

arpho commented 7 years ago

Hi, Ubuntu 16.04 Eyed3 0.0.1is installed via npm -g in /Usr/Local/lib/node_modules/eyed3. Thanks for your reply Il mer 4 gen 2017 08:36 Hermann Mayer notifications@github.com ha scritto:

Hey arpho, how did you installed eyeD3 and which version of Ubuntu/eyeD3 are you using?

The library tries to find the location of eyed3 with the help of system call like this: which eyeD3 which should result in somthing like this: /usr/bin/eyeD3.

If you can verify this then you should double check how you start the nodejs process and if the PATH environment variable includes the path where eyeD3 is located.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Jack12816/id3-writer/issues/16#issuecomment-270310760, or mute the thread https://github.com/notifications/unsubscribe-auth/AAWOk8a1Q-7yNAg09cDSwEN2f_eVHH7yks5rO0wXgaJpZM4LZ0Yq .

Jack12816 commented 7 years ago

You installed another nodejs wrapper via npm. eyeD3 is an utility written in python that you can install via the package sources of Ubuntu. See: http://packages.ubuntu.com/xenial/python-eyed3

Just install it like this: sudo apt-get install python-eyed3

arpho commented 7 years ago

HI, installed version 0.6.18-1, same error

2017-01-04 9:49 GMT+01:00 Hermann Mayer notifications@github.com:

You installed another nodejs wrapper via npm. eyeD3 is an utility written in python that you can install via the package sources of Ubuntu. See: http://packages.ubuntu.com/xenial/python-eyed3

Just install it like this: sudo apt-get install python-eyed3

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Jack12816/id3-writer/issues/16#issuecomment-270321979, or mute the thread https://github.com/notifications/unsubscribe-auth/AAWOk_uUs580pfwA7gmysdhWSQcF3iLwks5rO10ogaJpZM4LZ0Yq .

Jack12816 commented 7 years ago

Could you run this which eyeD3 command and eyeD3 -h ?

arpho commented 7 years ago

wich eyeD3 returns: /usr/local/bin/eyeD3 eyeD3 -h: Traceback (most recent call last): File "/usr/local/bin/eyeD3", line 4, in import eyeD3; File "/usr/local/lib/python2.7/dist-packages/eyeD3/init.py", line 138 (self.unsync, SyntaxError: cannot assign to None

2017-01-04 10:29 GMT+01:00 Hermann Mayer notifications@github.com:

Could you run this which eyeD3 command and eyeD3 -h ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Jack12816/id3-writer/issues/16#issuecomment-270329123, or mute the thread https://github.com/notifications/unsubscribe-auth/AAWOk5fVo0tVkblw3cFWUxSeMaPUbPo3ks5rO2aBgaJpZM4LZ0Yq .

Jack12816 commented 7 years ago

I've installed Ubuntu 16.04 (server iso) and the eyed3 (excuse me, python-eyed3 did not bundled the binary) package. Like this: apt-get install eyed3. Then I was able on this fresh system to execute eyeD3 -h without errors.

which eyeD3 resulted in /usr/bin/eyeD3. Looks like the utility needs python2.

I'm a bit confused why the installation path on your system is /usr/local/bin/eyeD3.

Jack12816 commented 7 years ago

@arpho Is this issue now solved?

arpho commented 7 years ago

No,i still have the issue

Il sab 7 gen 2017 11:24 Hermann Mayer notifications@github.com ha scritto:

@arpho https://github.com/arpho Is this issue now solved?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/Jack12816/id3-writer/issues/16#issuecomment-271075287, or mute the thread https://github.com/notifications/unsubscribe-auth/AAWOk2CeGVloz704Uicrqvgj4WWOm65cks5rP2fFgaJpZM4LZ0Yq .