Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ebuild for digikam-5.3.0? Lost tags with 5.5.0 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
hunky
l33t
l33t


Joined: 19 Nov 2003
Posts: 910
Location: Alaska

PostPosted: Fri May 12, 2017 2:25 am    Post subject: Ebuild for digikam-5.3.0? Lost tags with 5.5.0 [SOLVED] Reply with quote

I upgraded to digikam-5.5.0 and I have thousands of images that I've spent considerable time tagging, and now no tags show up. I also tried the digikam-5.6.0-appimage (64bit version) with same or similar results. So hoping I can go back to 5.3.0 as my portage no longer has that ebuild when I try masking newer. Do I just rename the 5.5.0 ebuild and do a digest on it? Not sure how to make it install the previous version. Might take a bit more editing.

The tag error I get when running digikam from the console is this

Code:
digikam.database: Attempt to create tag properties for tag id 0
digikam.dbengine: Failure executing query:
 "INSERT INTO Tags (pid, name) VALUES( ?, ?);"
Error messages: "Unable to fetch row" "UNIQUE constraint failed: TagsTree.id, TagsTree.pid" 19 1
Bound values:  (QVariant(int, 0), QVariant(QString, "_Digikam_Internal_Tags_"))
digikam.dbengine: Error while executing DBAction [ "InsertTag" ] Statement [ "INSERT INTO Tags (pid, name) VALUES( :tagPID, :tagname);" ]


Last edited by hunky on Fri May 12, 2017 6:23 am; edited 1 time in total
Back to top
View user's profile Send private message
hunky
l33t
l33t


Joined: 19 Nov 2003
Posts: 910
Location: Alaska

PostPosted: Fri May 12, 2017 2:42 am    Post subject: Reply with quote

Just renaming the newer ebuild failed to emerge. Assume it has to do with something in ebuild that points to the fact it was migrated to qt5 and whatnot.

Code:
/usr/include/qt5/QtCore/qfile.h:60:5: note: in expansion of macro ‘Q_OBJECT’
     Q_OBJECT
     ^
make[2]: *** [libs/dimg/CMakeFiles/dimg_src.dir/build.make:519: libs/dimg/CMakeFiles/dimg_src.dir/filters/randomnumbergenerator.cpp.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-gfx/digikam-5.3.0/work/digikam-5.3.0_build'
make[1]: *** [CMakeFiles/Makefile2:767: libs/dimg/CMakeFiles/dimg_src.dir/all] Error 2
[ 17%] Building CXX object libs/database/CMakeFiles/digikamdatabase_src.dir/haar/haar.cpp.o

<snip>
make[2]: *** [libs/database/CMakeFiles/digikamdatabase_src.dir/build.make:1023: libs/database/CMakeFiles/digikamdatabase_src.dir/item/imagescanner.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [libs/database/CMakeFiles/digikamdatabase_src.dir/build.make:1119: libs/database/CMakeFiles/digikamdatabase_src.dir/imagehistory/imagehistorygraphmodel.cpp.o] Error 1
make[2]: *** [libs/database/CMakeFiles/digikamdatabase_src.dir/build.make:1095: libs/database/CMakeFiles/digikamdatabase_src.dir/imagehistory/imagehistorygraph.cpp.o] Error 1
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30915
Location: here

PostPosted: Fri May 12, 2017 6:02 am    Post subject: Reply with quote

hunky wrote:
Just renaming the newer ebuild failed to emerge. Assume it has to do with something in ebuild that points to the fact it was migrated to qt5 and whatnot.

The problem is that digikam-5.3.0 had some patch.
Here you can download digikam-5.3.0 ebuild with his patches.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
hunky
l33t
l33t


Joined: 19 Nov 2003
Posts: 910
Location: Alaska

PostPosted: Fri May 12, 2017 6:45 am    Post subject: Reply with quote

thanks fedeliallalinea!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum