Reply to topic

Kdenlive permissions issues with Ubuntu 14.03 upgrade.

leowalton
Registered Member
Posts
6
Karma
0
I am guessing someone should have had this issue also but can't see any posts . I have just migrated from 10.04 Ubuntu to 14.03 less the Unity desktop , for some reason Kdenlive Crashes whe i try to Render , this does not happen whe i run Kdenlive as Sudo user. It seems to be something to do whith the way Kdenlive uses /tmp directories. i have have notices 14.03 and as i recall 12.02 now has the "Me" user that it uses . I have opened up the permissions of the /tmp directory with no change . Should i be changing some configuration in Kdenlive to use a tmp directory in my home directory? Is there something specific in the UID that Kdenlive is looking for? Even the Kdenlive from the Ubuntu repo does this, or the the kdenlive PPA. Any clues appreciated in advance . Thanks
User avatar Steve Guilford
Registered Member
Posts
192
Karma
0
Can you post the crash output when running Kdenlive from a terminal?
leowalton
Registered Member
Posts
6
Karma
0
Got bus address: "unix:abstract=/tmp/dbus-QMyvx6qlvQ,guid=94b6eed7ae122c676af87bb853926e86"
Connected to accessibility bus at: "unix:abstract=/tmp/dbus-QMyvx6qlvQ,guid=94b6eed7ae122c676af87bb853926e86"
Registered DEC: true
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
Registered event listener change listener: true
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
QSpiAccessible::accessibleEvent not handled: "8008" obj: QObject(0x0) " invalid interface!"
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
FIXME: handle dialog start.
QSpiAccessible::accessibleEvent not handled: "8008" obj: QObject(0x0) " invalid interface!"
FIXME: handle dialog end.
[mpeg @ 0x7f8f200099a0] max_analyze_duration reached
[mpeg @ 0x7f8f2000b000] max_analyze_duration reached
[mpeg @ 0x7f8f2000e460] max_analyze_duration reached
[mpeg @ 0x7f8f201349e0] max_analyze_duration reached
[mpeg @ 0x7f8f20135460] max_analyze_duration reached
[mpeg @ 0x7f8f20135fc0] max_analyze_duration reached
FIXME: handle dialog start.
FIXME: handle dialog end.
kdenlive(27997) Render::checkMaxThreads: // TRACTOR PROBLEM
[mpeg @ 0x7f8f2c04abc0] max_analyze_duration reached
[mpeg @ 0x7f8f2c1b5680] max_analyze_duration reached
[mpeg @ 0x7f8f2c04ba60] max_analyze_duration reached
[mpeg @ 0x7f8f2c1651c0] max_analyze_duration reached
[mpeg @ 0x7f8f2c167800] max_analyze_duration reached
[mpeg @ 0x7f8f2c1660c0] max_analyze_duration reached
[mpeg @ 0x7f8f84db7820] max_analyze_duration reached
[mpeg @ 0x7f8f84aac280] max_analyze_duration reached
[mpeg @ 0x7f8f84db64c0] max_analyze_duration reached
[mpeg @ 0x7f8f84d08840] max_analyze_duration reached
[mpeg @ 0x7f8f84b07000] max_analyze_duration reached
[mpeg @ 0x7f8f84dae340] max_analyze_duration reached
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/user/.kde/socket-host/kdeinit4__0
Gtk-Message: Failed to load module "overlay-scrollbar"
Got bus address: "unix:abstract=/tmp/dbus-QMyvx6qlvQ,guid=94b6eed7ae122c676af87bb853926e86"
Connected to accessibility bus at: "unix:abstract=/tmp/dbus-QMyvx6qlvQ,guid=94b6eed7ae122c676af87bb853926e86"
Registered DEC: true
Registered event listener change listener: true

[1]+ Stopped kdenlive
After attempting rendering
User avatar Steve Guilford
Registered Member
Posts
192
Karma
0
Unfortunately I do not see anything useful in that output you've posted.

Create a new Linux user and try to reproduce the error using that account. You need to try to gather in as many clues as possible.
leowalton
Registered Member
Posts
6
Karma
0
Tried adding a new user and rendering works fine .

On the fresh user when rendering .
//STARTING RENDERING: true , false , "/usr/bin/melt" , "hdv_1080_50i" , "avformat" , "-" , "/tmp/kde-kdenlivetest/kdenliveJy6535.mlt" , "/home/kdenlivetest/kdenlive/untitled.m2t" , () , ("f=mpegts", "acodec=mp2", "ab=384k", "ar=48000", "ac=2", "vcodec=mpeg2video", "s=1440x1080", "vb=25000k", "g=12", "trellis=1", "mlt_profile=hdv_1080_50i", "threads=1", "real_time=-1") , -1 , -1
Started render process: "/usr/bin/melt" "/tmp/kde-kdenlivetest/kdenliveJy6535.mlt -profile hdv_1080_50i -consumer avformat:/home/kdenlivetest/kdenlive/untitled.m2t progress=1 f=mpegts acodec=mp2 ab=384k ar=48000 ac=2 vcodec=mpeg2video s=1440x1080 vb=25000k g=12 trellis=1 mlt_profile=hdv_1080_50i threads=1 real_time=-1"

occurs .

My original account that was present before the 14.03 upgrade and a sudo user . If i run kdenlive as sudo I get the rendering message as above . I notice on 14.03 file permissions, I now have a "Me" user on file permissions . Not real sure how that works . Creation of the /tmp/kde-username ---- I expect has something to do with it .

Thanks in advance . I will have a poke around at the new users file permissions on these tmp files and see if i can see nay differences .
leowalton
Registered Member
Posts
6
Karma
0
In the /tmp directory for the fresh user that works , a couple of directories have been made kde-kdenlivetest (new user name is kdenlivetest) and ksocket-kdenlivetest orbit-kdenlivetest
All directories are empty and owned by kdenlivetest .

I assume xauth-1001-_1 is for UID 1001 ?

/tmp$ sudo ls -al k*

kde-kdenlivetest:
total 20
drwx------ 2 kdenlivetest kdenlivetest 4096 Jun 11 19:12 .
drwxrwxrwt 15 leo users 12288 Jun 11 19:36 ..
-rw-rw-r-- 1 kdenlivetest kdenlivetest 49 Jun 11 19:11 xauth-1001-_1

kde-leootoiCs:
total 20
drwx------ 2 leo leo 4096 Jun 11 18:39 .
drwxrwxrwt 15 leo users 12288 Jun 11 19:36 ..
-rw-rw-r-- 1 leo leo 49 Jun 11 18:39 xauth-1000-_0

ksocket-kdenlivetest:
total 16
drwx------ 2 kdenlivetest kdenlivetest 4096 Jun 11 19:20 .
drwxrwxrwt 15 leo users 12288 Jun 11 19:36 ..
srwxrwxr-x 1 kdenlivetest kdenlivetest 0 Jun 11 19:11 klauncherhX6589.slave-socket

ksocket-leo4ABrxG:
total 16
drwx------ 2 leo leo 4096 Jun 11 18:49 .
drwxrwxrwt 15 leo users 12288 Jun 11 19:36 ..
srw------- 1 leo leo 0 Jun 11 18:39 kdeinit4__0
srwxrwxr-x 1 leo leo 0 Jun 11 18:39 klauncherhX3331.slave-socket
User avatar Steve Guilford
Registered Member
Posts
192
Karma
0
Good deal. You might try checking your system logs to see if a message was logged in response to the file permission problem you encountered when using your original login to render content.
leowalton
Registered Member
Posts
6
Karma
0
Tried changing the the tmp folder to something on the home directory , Logs didn't have any permission complaints ???
Still the same
User avatar bcooksley
Administrator
Posts
19744
Karma
85
OS
Can you please post the output of "id -un" and "id -gn" under the normal user, as well as the full content of the permissions error message you are seeing (as a screenshot if necessary)?


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
leowalton
Registered Member
Posts
6
Karma
0
I have sorted it out i think . I may have well caused it myself . As part of the install process I guess some temporary files or directories get made. I expect these have been given root permissions. To resolve the problem . Go to settings . Run configuration wizard again with the desired login (not sudo) . Now rendering works fine.

Thanks to everyone for your efforts to help.

 
Reply to topic

Bookmarks



Who is online

Registered users: andreas_k, askinner, Baidu [Spider], Bing [Bot], canon, einar, Exabot [Bot], Google [Bot], google01103, Hans, La Ninje, Majestic-12 [Bot], nharmony, schnelle, sebas, stoyandimitrov, vascobasque, wolfi323, Yahoo [Bot], zekthedeadcow