Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225019 - media-video/kdenlive is not able to save projects (workaround included)
Summary: media-video/kdenlive is not able to save projects (workaround included)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-05 17:39 UTC by Fabian Henze
Modified: 2008-06-08 22:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,3.63 KB, text/plain)
2008-06-05 17:40 UTC, Fabian Henze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Henze 2008-06-05 17:39:54 UTC
After fixing #225015 I noticed that kdenlive would not save my projects (no error at all) and I tried the workaround mentioned in comment 7 on #188626. After running "mv /usr/share/mimelnk/application/vnd.kde.kdenlive.* /usr/kde/3.5/share/mimelnk/application/" everything worked fine.

btw. comment 5 on the same page is pretty much the description of the whole problem

Reproducible: Always

Steps to Reproduce:
1. emerge kdenlive
2. try to save a project
Comment 1 Fabian Henze 2008-06-05 17:40:56 UTC
Created attachment 155635 [details]
emerge --info
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-06 01:22:50 UTC
/usr/share/mimelnk/ is the correct path. Relates to bug 209371, maybe. What does
`kde-config --path mime` print?
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-06 02:01:01 UTC
Ah, missed to assign.
Comment 4 Fabian Henze 2008-06-06 14:15:42 UTC
(In reply to comment #3)
> Ah, missed to assign.
> 

it gives "/home/flyser/.kde3.5/share/mimelnk/:/usr/share/mimelnk/:/usr/kde/3.5/share/mimelnk/"

this might be the issue:
$ ls /usr/share/mimelnk/
ls: cannot open directory /usr/share/mimelnk/: Permission denied

so its a different bug? should I recreate it?
Comment 5 Fabian Henze 2008-06-06 14:26:39 UTC
ah forgot this one:
# ls -ld /usr/share/mimelnk
drwx------ 5 root root 4096 20. Mai 19:31 /usr/share/mimelnk
Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-06 23:38:41 UTC
Yes, that's it. Permissions should be 755 of course. Maybe a local issue, or the first ebuilds you installed which created the path used the wrong permissions. 


I do not feel tempted to put such a check into kde.eclass, but you could put the following:

--

if [[ "$EBUILD_PHASE" == "preinst" && -n "${KDEDIR}" && -d "${D}/usr/share" ]] ; then
        bashrc_temp=`find "${D}"/usr/share -type d ! -perm 755`
        if [[ -n "${bashrc_temp}" ]] ; then
                eerror "Directories found below /usr/share/ not matching permissions 775:"
                echo ${bashrc_temp} | tr ' ' '\n'
                die
        fi
fi

--

into /etc/portage/bashrc, do `qlist /usr/share/mimelnk` to find the suspectible ebuilds, and reemerge these ebuilds. But be careful, Portage bashrc is a nasty hack. ;)
Comment 7 Fabian Henze 2008-06-07 07:22:57 UTC
Well ... I have fixed the permissions and its working now but neither `qlist /usr/share/mimilnk` nor `find /usr/share/mimelnk -exec qlist {} \;` gives any result
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-07 10:51:21 UTC
Sorry, meant qfile instead qlist of course.
Comment 9 Fabian Henze 2008-06-07 13:15:39 UTC
I recompiled every item in the list, but the permissions stayed 755 so I assume the bug is closed now...
Comment 10 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-08 22:37:57 UTC
O.k., assuming local issue then.