Bug 318188 - Adding snippet repository fails with clean install: missing file
Summary: Adding snippet repository fails with clean install: missing file
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.4.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-11 11:45 UTC by susundberg
Modified: 2013-06-12 10:52 UTC (History)
2 users (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 susundberg 2013-04-11 11:45:51 UTC
When trying to get new snippets i see no options and error "Configuration file not found: "ktexteditor_codesnippets_core.knsrc" (on bottom of where i should select the snippets)

Running apt-file search 'ktexteditor_codesnippets_core.knsrc' shows nothing so its not provided by any package, afaik.



Reproducible: Always

Steps to Reproduce:
1) On kdevelop, start session, search for snippets (from right side tab) open and 
2) right click -> get new snippets 
3)  dialog opens but with no snippets to select from.

Actual Results:  
No items to select from

Expected Results:  
items to select from

I am running a fresh install of Kubuntu 13.04.
Comment 1 Aleix Pol 2013-06-12 00:40:48 UTC
Sounds like a distribution problem. You can check if the file is missing using:
apt-file search ktexteditor_codesnippets_core.knsrc

Otherwise please contact the kubuntu development team, you can find them in irc.freenode.org, #kubuntu-devel

This file is provided by Kate.
Comment 2 susundberg 2013-06-12 05:56:59 UTC
You are correct, and the bug is fixed when typing this. For Ubuntu 13.04 the file is now provided (was not before) by package 'kate-data', to /usr/share/kde4/config/ktexteditor_codesnippets_core.knsrc. 

Thanks and sorry for the trouble.
Comment 3 Aleix Pol 2013-06-12 10:47:36 UTC
It would be interesting if you could ask kubuntu packagers to make it a dependency.
Comment 4 Jonathan Riddell 2013-06-12 10:52:05 UTC
11:50 < Riddell> apol: yeah I'll add that
11:51 < Riddell> apol: probably also worth that being noted in the sources, in a README (it points at 
                 http://www.kdevelop.org/index.html?filename=HEAD/requirements.html but that doesn't exist) or better yet in cmake config output