You are not logged in.

#1 2008-09-05 21:05:59

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

[SOLVED] Sonata tag editing

Title pretty much says it all!

I have taglib and tagpy installed, latest versions. I've tried this with sonata and sonata-svn, and also taglib and taglib-svn. Running the svn version of sonata shows this popup:

Taglib and/or tagpy not found, tag editing support disabled.

when trying to edit a tag.


% sudo pacman -Qs taglib
local/taglib 1.5-1
    library for reading and editing the meta-data of several popular audio
    formats.
local/tagpy 0.94.5-1
    Python bindings for TagLib

Last edited by heleos (2008-09-07 14:04:19)

Offline

#2 2008-09-06 07:42:20

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: [SOLVED] Sonata tag editing

Try to remove your .config/sonata directory and run sonata again...


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#3 2008-09-06 19:11:37

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: [SOLVED] Sonata tag editing

No luck, still didn't work

Offline

#4 2008-09-06 21:23:33

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: [SOLVED] Sonata tag editing

I can confirm that something broke in the build from extra. I couldn't get it working either. What works though is to use the svn version from AUR: http://aur.archlinux.org/packages.php?ID=6963

I'm only puzzled to whether this is a general problem or only something that some few of us experience and hence not knowing whether there's something to report, a bug here or something upstream.

Offline

#5 2008-09-06 21:39:02

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: [SOLVED] Sonata tag editing

I am using the SVN version from aur, and it's not working

Offline

#6 2008-09-06 22:33:14

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: [SOLVED] Sonata tag editing

Ok, so the reason might be something else then. Which version do you have? Mine is 851-1.

Still I'm not totally satisfied with the included tag function of Sonata. I rip my CD-collection mainly to flac and for than Kid3 works, at least in my experience, best. The drawback could be it's dependency on kdelibs, but I'm not extremely strict and don't see any real issue in using whatever application I prefer.

Offline

#7 2008-09-06 22:38:37

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: [SOLVED] Sonata tag editing

853-1

It's not a huge huge deal for me, most of my music is tagged correctly, but when I come across something that isn't, I want to be able to tag it quickly

Offline

#8 2008-09-07 02:36:51

sm4tik
Member
From: Finland, Jyväskylä
Registered: 2006-11-05
Posts: 248
Website

Re: [SOLVED] Sonata tag editing

This is not a sonata issue, it's with tagpy

sm4tik $ python
Python 2.5.2 (r252:60911, Jul  8 2008, 21:21:10) 
[GCC 4.3.1 20080626 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tagpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/tagpy/__init__.py", line 24, in <module>
    import _tagpy
ImportError: /usr/lib/python2.5/site-packages/_tagpy.so: undefined symbol: _ZN5boost6python9converter8registry9push_backEPFPvP7_objectEPFvS5_PNS1_30rvalue_from_python_stage1_dataEENS0_9type_infoE

Editing tagpy's setup.py was required to get it working again. If you're in a hurry, here's the patch for you to apply before building, or you can just edit the file and change line 35 to

Libraries("BOOST_PYTHON", ["boost_python-mt"]),

patch..

--- setup.py.orig    2008-04-25 19:10:01.000000000 +0300
+++ setup.py    2008-09-07 05:20:16.000000000 +0300
@@ -32,7 +32,7 @@
     return ConfigSchema([
         IncludeDir("BOOST", []),
         LibraryDir("BOOST", []),
-        Libraries("BOOST_PYTHON", ["boost_python-gcc42-mt"]),
+        Libraries("BOOST_PYTHON", ["boost_python-mt"]),
 
         IncludeDir("TAGLIB", []),
         LibraryDir("TAGLIB", []),

EDIT: I requested re-opening of a bug about this issue, so the maintainer of the package is informed.

Last edited by sm4tik (2008-09-07 02:38:56)

Offline

#9 2008-09-07 14:04:00

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: [SOLVED] Sonata tag editing

Thank you, worked like a charm!

I also learned arguments for makepkg big_smile

Last edited by heleos (2008-09-07 14:04:08)

Offline

#10 2008-09-07 18:26:14

sm4tik
Member
From: Finland, Jyväskylä
Registered: 2006-11-05
Posts: 248
Website

Re: [SOLVED] Sonata tag editing

heleos wrote:

Thank you, worked like a charm!

I also learned arguments for makepkg big_smile

No problemo! I'm just starting to learn those things myself too and all I can say is that makepkg is one heck of a handy tool!

Offline

#11 2008-09-07 18:51:37

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: [SOLVED] Sonata tag editing

I'm still confused to why this isn't a universal problem. To import tagpy creates no errors here. I recall that tagpy had to be built by makepkg against a newer version of boost, but that must be some weeks ago by now.

Do you know the cause of this sm4tik?

Offline

#12 2008-09-08 14:50:21

sm4tik
Member
From: Finland, Jyväskylä
Registered: 2006-11-05
Posts: 248
Website

Re: [SOLVED] Sonata tag editing

KimTjik wrote:

I'm still confused to why this isn't a universal problem. To import tagpy creates no errors here. I recall that tagpy had to be built by makepkg against a newer version of boost, but that must be some weeks ago by now.

Do you know the cause of this sm4tik?

I've no idea.. I just rebuilt the package once again without touching the setup.py file and it works just fine? I've no idea why I couldn't get it working yesterday with just a rebuild??
So,as KimTjik said if you have a different version of boost installed than the one tagpy was built against, you need to rebuild it against the version of boost you're having installed.

heleos: Can you confirm this with just a rebuild? (remember to first delete the old directories created by makepkg if you still have them) I used the latest PKGBUILD (0.94.5-4) and all is fine. hmm
EDIT. ..helos and if you don't have the testing repo enabled, please first try the latest tagpy and report back..

Last edited by sm4tik (2008-09-08 14:52:47)

Offline

#13 2008-09-25 01:42:43

nchase
Member
Registered: 2008-05-20
Posts: 9

Re: [SOLVED] Sonata tag editing

Where can I go to learn how to fix this problem?

Offline

#14 2008-09-26 08:46:00

sm4tik
Member
From: Finland, Jyväskylä
Registered: 2006-11-05
Posts: 248
Website

Re: [SOLVED] Sonata tag editing

nchase wrote:

Where can I go to learn how to fix this problem?

Hi,
First it would be good to get some info on the versions of sonata and tagpy you have installed etc. Then if it's needed to rebuild tagpy, and you don't know how to do it the arch way, the wiki provides a few good articles with all the info you need to get started. http://wiki.archlinux.org/index.php/ABS would be a good start and then continue reading the related info (links on the bottom of the page).
Cheers

Offline

#15 2008-09-28 14:15:52

nchase
Member
Registered: 2008-05-20
Posts: 9

Re: [SOLVED] Sonata tag editing

sm4tik wrote:
nchase wrote:

Where can I go to learn how to fix this problem?

Hi,
First it would be good to get some info on the versions of sonata and tagpy you have installed etc. Then if it's needed to rebuild tagpy, and you don't know how to do it the arch way, the wiki provides a few good articles with all the info you need to get started. http://wiki.archlinux.org/index.php/ABS would be a good start and then continue reading the related info (links on the bottom of the page).
Cheers

Thanks for the guidance. I was able to fix this problem by making the change you suggested in the setup.py file.

Offline

Board footer

Powered by FluxBB