Bug 362176 - Parley can write lock file
Summary: Parley can write lock file
Status: RESOLVED FIXED
Alias: None
Product: parley
Classification: Applications
Component: general (show other bugs)
Version: 1.1.0
Platform: Ubuntu Linux
: NOR grave
Target Milestone: ---
Assignee: parley bug tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-24 06:45 UTC by Juergen
Modified: 2016-09-16 14:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: KDE Applications 16.04


Attachments
next version up (45.97 KB, image/png)
2016-06-22 12:42 UTC, Juergen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen 2016-04-24 06:45:01 UTC
This is a duplicate report of https://bugs.kde.org/show_bug.cgi?id=357385 which is marked as "resolved" which is not the case for the latest ubuntu 16.04 64bit on my computer. Before the upgrade all worked fine.

now I get this error:
Writing file "..." resulted in an error: The lock file can't be created.

The vocabulary collection is locked by another process.  You can open the file if you take over the lock, but you will lose any changes from the other process.

Do you want to take over the lock?

Version 2.1.0
4:15.12.3-0ubuntu1
Using:
KDE Frameworks 5.18.0
Qt 5.5.1 (built against 5.5.1)
The xcb windowing system



Reproducible: Always

Steps to Reproduce:
1. open parley 
2. get message "Writing file "..." resulted in an error: The lock file can't be created."
3. 

Actual Results:  
parley can't save any lock or any data 

Expected Results:  
parley can save lock files and data
Comment 1 Juergen 2016-04-26 00:27:49 UTC
QFile::copy: Empty or null file name
"Cannot lock file "
Save failed trying save as for  "/home/..../parley-en-es-0.4.2.kvtml"
QFile::copy: Empty or null file name
"Cannot lock file "
Save failed trying save as for  "/home/..../parley-en-es-0.4.2.kvtml"
QFile::copy: Empty or null file name
"Cannot lock file "
Save failed trying save as for  "/home/..../parley-en-es-0.4.2.kvtml"
Clear summary widget
Set invalid document
Clear summary widget
QCoreApplication::postEvent: Unexpected null receiver
Comment 2 Juergen 2016-04-26 00:43:47 UTC
as a temporary work around:
when trying to save the file and getting the message 

Writing file "/home/...../parley-en-es-0.4.2.kvtml" resulted in an error: The lock file can't be created.

the "Save as" dialogue window opens and I choose the same file name.
whne asked "parley-en-es-0.4.2.kvtml already exists.
Do you want to replace it?" I say yes.

then a warming window pops up:

The file
/home/......./parley-en-es-0.4.2.kvtml
already exists. Do you want to overwrite it?

I say yes. File is saved. However the automatic backup and the save on exit and quit needs to be disabled. 

I hope this can be fixed soon
Comment 3 sven 2016-04-28 19:39:11 UTC
Moin,
I can confirm this bug.
CU Sven
Comment 4 Juergen 2016-05-17 07:29:33 UTC
bug continues in version   4:16.04.0-0u amd64
Comment 5 Juergen 2016-06-22 12:42:54 UTC
Created attachment 99657 [details]
next version up
Comment 6 Hartmut Riesenbeck 2016-07-26 13:36:42 UTC
Ubuntu 16.04 still comes with KDE Applications 15.12. 
But this bug is fixed in KDE Applications 16.04. 
I'm affraid that you still have to wait until Unbuntu updates to KDE Applications 16.04 or you have to compile libkeduvocdocument and parley using the latest sources from the git repository.
Comment 7 Juergen 2016-07-27 15:16:31 UTC
Thank you for this comment. I will wait until Unbuntu upgrades :)