[Kdenlive-devel] Saving the project does not work (trunk)

2007-12-23 Thread Clifford Wolf
Hi,

On Sun, Dec 23, 2007 at 08:42:32PM +0100, jb wrote:
> Thanks for looking at this issue. Where did you install kdenlive ?
> [...]

Aha! My install path was /usr/local. I've now removed this installation and
rebuilt and reinstalled with /usr as install prefix. This solved the
problem for me.

Thanks for your help.

> > In any case I urgly recommend that ProjectFormatManager::saveDocument()
> > at least displays an error dialog in this situation instead of failing
> > silently..
> 
> Sure. I will try to fix the install issue and fix this problem.

thanks.

i'm not sure if this is a kdenlive or kde problem. (maybe there is some kde
config I should have set to make kde also look in /usr/local ?)

however, a nice error message would be fine either way.

yours,
 - clifford

-- 
for(var d,i=<>just,j=function(){d~=i~(defined(i=next[*],i)?" ":"
");},just,another,SPL,hacker;defined i||({debug d;return 0;});j());




[Kdenlive-devel] Saving the project does not work (trunk)

2007-12-23 Thread jb
On Sunday 23 December 2007 18:33:02 Clifford Wolf wrote:
> Hi,
>
> On Sun, Dec 23, 2007 at 10:50:16AM +0100, Clifford Wolf wrote:
> > but there is one massive problem: I can't save my current project. If I
> > try it, everything looks fine in the GUI but no project file is created.
>
> The following line in kdenlive/projectformatmanager.cpp always sets filter
> to NULL which causes the SaveAs slot of the application to do nothing:
>
>   SaveProjectFilter *filter = findSaveFormat(format->name());
>
> it would help me a bit with debugging this problem if someone on this list
> could write a short explanation on what should happen here. In my case
> format and url evaluate to:
>
>   format->name() is 'application/octet-stream'
>   url.url() is 'file:///root/demo.kdenlive'
>
> Afaics format->name() should better be something like
> 'application/vnd.kde.kdenlive'. Do I need to add some kde settings to make
> this work? How? Where? (I'm not really a C++ or Qt/KDE guy, more the
> C/operating systems/digital electronics person who wants to use kdenlive
> for creating a podcast with low-level electronic courses. ;-)

Hi.

Thanks for looking at this issue. Where did you install kdenlive ?
The problem seems to be that the file:
vnd.kde.kdenlive.desktop was not installed in a correct place.
This file goes in $PREFIX/share/mimelnk/application

Please, try copying it to $HOME/.kde/share/mimelnk/application and restart 
kdenlive to see if it fixes the issue.


> In any case I urgly recommend that ProjectFormatManager::saveDocument()
> at least displays an error dialog in this situation instead of failing
> silently..


Sure. I will try to fix the install issue and fix this problem.

regards
jb




[Kdenlive-devel] Saving the project does not work (trunk)

2007-12-23 Thread Clifford Wolf
Hi,

On Sun, Dec 23, 2007 at 10:50:16AM +0100, Clifford Wolf wrote:
> but there is one massive problem: I can't save my current project. If I try
> it, everything looks fine in the GUI but no project file is created.

The following line in kdenlive/projectformatmanager.cpp always sets filter
to NULL which causes the SaveAs slot of the application to do nothing:

SaveProjectFilter *filter = findSaveFormat(format->name());

it would help me a bit with debugging this problem if someone on this list
could write a short explanation on what should happen here. In my case
format and url evaluate to:

format->name() is 'application/octet-stream'
url.url() is 'file:///root/demo.kdenlive'

Afaics format->name() should better be something like
'application/vnd.kde.kdenlive'. Do I need to add some kde settings to make
this work? How? Where? (I'm not really a C++ or Qt/KDE guy, more the
C/operating systems/digital electronics person who wants to use kdenlive
for creating a podcast with low-level electronic courses. ;-)

In any case I urgly recommend that ProjectFormatManager::saveDocument()
at least displays an error dialog in this situation instead of failing
silently..

yours,
 - clifford

-- 
"... one of the main causes of the fall of the Roman Empire was that,
lacking zero, they had no way to indicate successful termination of
their C programs." - Robert Firth. 




[Kdenlive-devel] Saving the project does not work (trunk)

2007-12-23 Thread Clifford Wolf
Hi,

I'm using kdeenlive trunk (rev 1762) because the last release needs
unsermake and I was unable to find the unsermake sources and so could not
build the last release.

it looks great so far. sometimes it segfaults but i assume that's because I
triggered features which are under development right now..

but there is one massive problem: I can't save my current project. If I try
it, everything looks fine in the GUI but no project file is created.

stracing the kdenlive process while trying to save a project showed that it
actually looks if the desired filename exists. So I tried touching such a
file first. This time the 'save as' dialog asked my if I really want to
override the existing file but again, when i click 'yes' nothing changes in
the filesystem.

Combined with 'it segfaults now and then' this renders kdenlive unusable
for me. Is there anything I can do to help you with fixing this bug and the
segfaults?

Are you aware of the segfault problems or should I send you stack
backtraces?

yours,
 - clifford

-- 
A byte walks into a bar and orders a pint. Bartender asks him "What's wrong?"
Byte says "Parity error." Bartender nods and says "Yeah, I thought you looked
a bit off."