Bug 311570 - Configuration file not found:"ktexteditor codesnippets_core.knsrc"
Summary: Configuration file not found:"ktexteditor codesnippets_core.knsrc"
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: plugin-snippets (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 313867 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-12 14:43 UTC by nowardev
Modified: 2013-04-30 02:47 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.10.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nowardev 2012-12-12 14:43:58 UTC
try to download snippets 
you will see a page and on the bottom 

Configuration file not found:"ktexteditor codesnippets_core.knsrc"

so you will not able to download and see the snippets you can download from ghns

Reproducible: Always

Steps to Reproduce:
1.try to download new snippets 
2.observe the GHNS WINDOW 
3.read Configuration file not found:"ktexteditor codesnippets_core.knsrc"
4. you can't download snippets from internet 
Actual Results:  
see before

Expected Results:  
download snippets from GHNS window
Comment 1 ariasuni 2013-02-08 22:59:02 UTC
Same problem with KDE 4.10 on Arch Linux. This file is not provided by Katepart or Kate.
Comment 2 John 2013-03-10 02:54:10 UTC
It would appear that the "snippet_tng" plugin that provided that file was disabled in in KDE 4.10 after being replaced by a new "snippet" plugin [1]. As a workaround it would appear that pulling that file from the sources [2] and sticking it in ~/.kde/share/config/ktexteditor_codesnippets_core.knsrc or it's equivalent global directory gets it working again. Haven't actually got around to using any of the snippets to see if anything else has changed though.

[1] - https://projects.kde.org/projects/kde/kde-baseapps/kate/repository/revisions/591cac23e70badd106436553a89e137d5087d3eb

[2] - https://projects.kde.org/projects/kde/kde-baseapps/kate/repository/raw/kate/plugins/snippets_tng/lib/ktexteditor_codesnippets_core.knsrc?rev=KDE%2F4.10
Comment 3 Christoph Cullmann 2013-04-07 09:49:18 UTC
Git commit b5ae8390b42fbed8419be31f012eb3c57280ee69 by Christoph Cullmann.
Committed on 07/04/2013 at 11:48.
Pushed by cullmann into branch 'master'.

fix snippet download
will backport

M  +3    -0    part/CMakeLists.txt
A  +27   -0    part/snippet/ktexteditor_codesnippets_core.knsrc

http://commits.kde.org/kate/b5ae8390b42fbed8419be31f012eb3c57280ee69
Comment 4 Christoph Cullmann 2013-04-07 09:51:08 UTC
Git commit 412f7127c817b570d5e779f1c0692b91c1cdf590 by Christoph Cullmann.
Committed on 07/04/2013 at 11:48.
Pushed by cullmann into branch 'KDE/4.10'.

fix snippet download
will backport

M  +3    -0    part/CMakeLists.txt
A  +27   -0    part/snippet/ktexteditor_codesnippets_core.knsrc

http://commits.kde.org/kate/412f7127c817b570d5e779f1c0692b91c1cdf590
Comment 5 Burkhard Lück 2013-04-30 02:47:58 UTC
*** Bug 313867 has been marked as a duplicate of this bug. ***