Re: [Rosegarden-user] QLockFile Problem (was: Project Lock file)

2021-06-21 Thread Will Godfrey


For the sake of completeness, this is on devuan beowulf (equivalent to debian
buster without systemD)

It seems to be running qt 5.11 although there seem to be a lot of bits of qt4
in there as well.

I'm seeing this issue on fairly recent builds of master.

What package is qlockfile in? Although presumably it wouldn't compile if it's
missing.

On Mon, 21 Jun 2021 18:11:17 -0400
Ted Felix  wrote:

>   This is odd.  I thought the lock mechanism we're using (QLockFile) 
>was keyed on process ID.  Therefore it should go away automatically when 
>it realizes that process is no longer running.  Or something like that.
>
>   I've changed the subject to hopefully get David Faure's attention. 
>QLockFile is his.  Hopefully he has some insight as to why you might be 
>having so much trouble with it.
>
>   Works great for me.  Even if rosegarden crashes (and I crash it all 
>the time) I am never locked out of a file since we switched to QLockFile.
>
>Ted.
>
>On 6/21/21 6:18 AM, Will Godfrey wrote:
>> I would like to suggest moving these into /tmp
>> That way, when restarting the computer they will be cleared.
>> 
>> I've got something like 300 different projects on my 'music' computer and 
>> often
>> get blocked when loading projects I've not run for some time, and then have 
>> to
>> hunt out the file. I have no idea why the lock wasn't cleared, but it is 
>> quite
>> obvious that a project can't still be open over a reboot!
>>   
>
>
>___
>Rosegarden-user mailing list
>Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
>https://lists.sourceforge.net/lists/listinfo/rosegarden-user


-- 
Will J Godfrey
https://willgodfrey.bandcamp.com/
http://yoshimi.github.io
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] compile error

2021-06-21 Thread chuck elliot

'no way I can check now I'm afraid. It's gone.

But I did check qt versions against my working machine (fc33 - now also 
upgraded too fc34)


when I was trying to troubleshoot and they were the same.

The fc33 package list at www.mirrorservice.org shows

qt-tools-devel ver. 5.15. That is just as I remember it.

'hope that helps,

Chuck.


On 21/06/2021 11:01 pm, Ted Felix wrote:

On 6/20/21 5:20 AM, chuck elliot wrote:
/home/chuck/rosegarden-git/src/gui/dialogs/KeySignatureDialog.cpp:149:34: 
error: ‘ReturnByValue’ is not a member of ‘Qt’

   149 | pm = m_keyPixmap->pixmap(Qt::ReturnByValue);


  Hmmm.  I know you got this fixed, but is there any way you can check 
what version of the Qt dev tools you had installed when you had this 
error?  We have a check for qt version (5.14) in there, but I suspect 
it might be slightly off (should be 5.15), and this error is the proof.


Ted.


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user




___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] QLockFile Problem (was: Project Lock file)

2021-06-21 Thread Ted Felix
  This is odd.  I thought the lock mechanism we're using (QLockFile) 
was keyed on process ID.  Therefore it should go away automatically when 
it realizes that process is no longer running.  Or something like that.


  I've changed the subject to hopefully get David Faure's attention. 
QLockFile is his.  Hopefully he has some insight as to why you might be 
having so much trouble with it.


  Works great for me.  Even if rosegarden crashes (and I crash it all 
the time) I am never locked out of a file since we switched to QLockFile.


Ted.

On 6/21/21 6:18 AM, Will Godfrey wrote:

I would like to suggest moving these into /tmp
That way, when restarting the computer they will be cleared.

I've got something like 300 different projects on my 'music' computer and often
get blocked when loading projects I've not run for some time, and then have to
hunt out the file. I have no idea why the lock wasn't cleared, but it is quite
obvious that a project can't still be open over a reboot!




___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] compile error

2021-06-21 Thread Ted Felix

On 6/20/21 5:20 AM, chuck elliot wrote:
/home/chuck/rosegarden-git/src/gui/dialogs/KeySignatureDialog.cpp:149:34: error: 
‘ReturnByValue’ is not a member of ‘Qt’

   149 | pm = m_keyPixmap->pixmap(Qt::ReturnByValue);


  Hmmm.  I know you got this fixed, but is there any way you can check 
what version of the Qt dev tools you had installed when you had this 
error?  We have a check for qt version (5.14) in there, but I suspect it 
might be slightly off (should be 5.15), and this error is the proof.


Ted.


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Project Lock file

2021-06-21 Thread Will Godfrey
On Mon, 21 Jun 2021 13:32:30 -0400 (EDT)
msk...@ansuz.sooke.bc.ca wrote:

>On Mon, 21 Jun 2021, Will Godfrey wrote:
>> I would like to suggest moving these into /tmp
>> That way, when restarting the computer they will be cleared.  
>
>Some systems erase /tmp on reboot, but it's hardly universal.
>

Well that's a surprise!

OK, it's been a good few years since I last went distro-hopping, but it's
always been done on those I tried.

For me, the lock serves no purpose anyway. I never use more than one instance of
Rosegarden, and can't think of a circumstance where I'd want to.

-- 
Will J Godfrey
https://willgodfrey.bandcamp.com/
http://yoshimi.github.io
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Project Lock file

2021-06-21 Thread mskala
On Mon, 21 Jun 2021, Will Godfrey wrote:
> I would like to suggest moving these into /tmp
> That way, when restarting the computer they will be cleared.

Some systems erase /tmp on reboot, but it's hardly universal.

-- 
Matthew Skala
msk...@ansuz.sooke.bc.ca People before tribes.
https://ansuz.sooke.bc.ca/


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


[Rosegarden-user] Project Lock file

2021-06-21 Thread Will Godfrey
I would like to suggest moving these into /tmp
That way, when restarting the computer they will be cleared.

I've got something like 300 different projects on my 'music' computer and often
get blocked when loading projects I've not run for some time, and then have to
hunt out the file. I have no idea why the lock wasn't cleared, but it is quite
obvious that a project can't still be open over a reboot!

-- 
Will J Godfrey
https://willgodfrey.bandcamp.com/
http://yoshimi.github.io
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user