Bug 136882 - kdenlive (multimedia/kdenlive port) project rendering crashes
Summary: kdenlive (multimedia/kdenlive port) project rendering crashes
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-18 08:00 UTC by Wasil Sergejczyk
Modified: 2009-09-03 10:00 UTC (History)
0 users

See Also:


Attachments
kdenlive-0.7.5_1.txt (926 bytes, text/plain; charset="UTF-8")
2009-08-03 10:53 UTC, Alberto Villa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wasil Sergejczyk 2009-07-18 08:00:07 UTC
when trying to render the project from GUI, script execution crashes. it happens when $PATH is not containing kde4 bin directory ( /usr/local/kde4/bin ), so the script cannot find kdenlive_render.

Fix: 

make kdenlive generate scripts with
RENDERER="${KDE4_PREFIX}/bin/kdenlive_render"
i.e. RENDERER="/usr/local/kde4/bin/kdenlive_render" (for standard ${KDE4_PREFIX})
instead of
RENDERER="kdenlive_render"
How-To-Repeat: try to render some kdenlive project in GUI without having ${KDE4_PREFIX}/bin in $PATH environment variable.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-07-18 08:02:04 UTC
Maintainer of multimedia/kdenlive,

Please note that PR ports/136882 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/136882

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2009-07-18 08:02:05 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Alberto Villa 2009-07-31 13:41:00 UTC
sorry for being so late
kdenlive already sets the absolute path of the renderer when possible:

QString renderer = QCoreApplication::applicationDirPath() + 
QString("/kdenlive_render");
if (!QFile::exists(renderer)) renderer = "kdenlive_render";

but there's a problem with linux (and freebsd i think). do you have /proc 
mounted?
also, can you confirm you have kdenlive and kdenlive_render in the same 
directory? i guess so
-- 
Alberto Villa <villa.alberto@gmail.com>

A mind is a wonderful thing to waste.
Comment 4 Wasil Sergejczyk 2009-08-03 09:43:01 UTC
1. no, /proc is not mounted, usually it's not necessary, so I disabled
this. I'll try to run kdenlive with /proc soon.
2. kdenlive and kdenlive_render are in the same directory (
/usr/local/kde4/bin/ )

2009/7/31, Alberto Villa <villa.alberto@gmail.com>:
> sorry for being so late
> kdenlive already sets the absolute path of the renderer when possible:
>
> QString renderer = QCoreApplication::applicationDirPath() +
> QString("/kdenlive_render");
> if (!QFile::exists(renderer)) renderer = "kdenlive_render";
>
> but there's a problem with linux (and freebsd i think). do you have /proc
> mounted?
> also, can you confirm you have kdenlive and kdenlive_render in the same
> directory? i guess so
> --
> Alberto Villa <villa.alberto@gmail.com>
>
> A mind is a wonderful thing to waste.
>


-- 
Best regards.
Comment 5 Alberto Villa 2009-08-03 10:53:21 UTC
here's the patch you suggested. i don't like it, but it should be enough until 
we fix this upstream

On Monday 03 August 2009 10:43:01 Wasil Sergejczyk wrote:
> 1. no, /proc is not mounted, usually it's not necessary, so I disabled
> this. I'll try to run kdenlive with /proc soon.

i can make it work even with /proc unmounted... strange!
-- 
Alberto Villa <villa.alberto@gmail.com>

Wiker's Law:
	Government expands to absorb all
	available revenue and then some.
Comment 6 Alberto Villa 2009-08-18 16:13:21 UTC
On Monday 03 August 2009 11:53:21 Alberto Villa wrote:
> here's the patch you suggested. i don't like it, but it should be enough
> until we fix this upstream

sorry, perhaps that wasn't clear enough: please, commit the patch in my latest 
mail
-- 
Alberto Villa <villa.alberto@gmail.com>

KNOWLEDGE:
	Things you believe.
Comment 7 Mark Linimon freebsd_committer freebsd_triage 2009-08-18 16:21:52 UTC
State Changed
From-To: feedback->open

Maintainer approved.
Comment 8 Martin Wilke freebsd_committer freebsd_triage 2009-09-03 09:50:04 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 9 dfilter service freebsd_committer freebsd_triage 2009-09-03 09:50:10 UTC
miwi        2009-09-03 08:49:49 UTC

  FreeBSD ports repository

  Modified files:
    multimedia/kdenlive  Makefile 
  Log:
  - Fix a script executions crash.
  
  PR:             136882
  Reported by:    Wasil Sergejczyk <szelga.wws@gmail.com>
  Submitted by:   Alberto Villa <villa.alberto@gmail.com> (maintainer)
  
  Revision  Changes    Path
  1.9       +5 -0      ports/multimedia/kdenlive/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"