Bug 377629 - Unable to edit saved kvtml files since they are saved in different folder
Summary: Unable to edit saved kvtml files since they are saved in different folder
Status: RESOLVED FIXED
Alias: None
Product: kanagram
Classification: Applications
Component: general (show other bugs)
Version: 1.2
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Jeremy Whiting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-15 06:29 UTC by Yogesh K S
Modified: 2017-08-22 04:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yogesh K S 2017-03-15 06:29:27 UTC
Creating and editing saved kvtml files through Kanagram configure menu was possible in previous version of Kanagram that I had used in Ubuntu 14.04. Now the current Kanagram version 1.2 in Ubuntu 16.04 doesn't allow you to do that. Here's what I can see when I run kanagram from terminal and try to create own vocabulary -

Checking path  "/usr/share/apps/kvtml"  for kvtml files
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
HSpellDict::HSpellDict: Init failed
No language dictionaries for the language: "en-GB"
org.kde.kanagram: Created game and engine helper
org.kde.kanagram: Set all context properties
org.kde.kanagram: Setup declarative engine
org.kde.kanagram: Set qml file location
Checking path  "/usr/share/apps/kvtml"  for kvtml files
"Cannot lock file /usr/share/apps/kvtml/en/hard.kvtml"
org.kde.kanagram: Saving file as  QUrl("file:///home/user/.local/share/kvtml/en/test.kvtml")

And after I close and re-open Kanagram again from terminal, I see this -
Checking path  "/home/user/.local/share/apps/kvtml"  for kvtml files
Checking path  "/usr/share/apps/kvtml"  for kvtml files
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
HSpellDict::HSpellDict: Init failed

Above suggests that Kanagram saves files .local/share/kvtml while it checks path .local/share/apps/kvtml for kvtml files. 

Vocabulary editor is one of the great feature of Kanagram and the current documentation Kanagram also features this - https://docs.kde.org/trunk5/en/kdeedu/kanagram/configuring.html#vocab-editor
Comment 1 Burkhard Lück 2017-08-22 04:13:59 UTC
Fixed with https://cgit.kde.org/kanagram.git/commit/?id=da31b6eb425b5ac3bc3ea95766d2780f68233d4b by Albert Astals Cid <aacid@kde.org>