[Differential] [Commented On] D2949: Update GHNS category names

antonanikin (Anton Anikin) noreply at phabricator.kde.org
Fri Oct 7 03:14:06 UTC 2016


antonanikin added a comment.


  > @antonanikin: can you check again if that patch is really applied and installed? If you still do not get elements in the GHNS dialogs, please start KDevelop with 'QT_LOGGING_RULES="org.kde.knewstuff=true" kdevelop' and send me the output.
  
  @cordlandwehr : I apply your patch with `arc patch D2949` and run `QT_LOGGING_RULES="org.kde.knewstuff=true" kdevelop`.
  
  Grepped output 1:
  
    org.kde.knewstuff: Write registry
    org.kde.knewstuff: Initializing KNS3::Engine from ' "kdevfiletemplates.knsrc" '
    org.kde.knewstuff: Loading KNewStuff3 config:  "kdevfiletemplates.knsrc"
    org.kde.knewstuff: Categories:  ("KDevelop File Templates")
    org.kde.knewstuff: Using registry file:  "/home/htower/.local/share/knewstuff3/.knsregistry"
    org.kde.knewstuff: Loading KNS2 registry of files for the component:  ""
    org.kde.knewstuff: Cache read... entries:  0
    org.kde.knewstuff: loading providers from  "http://download.kde.org/ocs/providers.xml"
    org.kde.knewstuff: XmlLoader::load(): url:  QUrl("http://download.kde.org/ocs/providers.xml")
    org.kde.knewstuff: XmlLoader::slotJobData()
    org.kde.knewstuff: XmlLoader::slotJobData()
    org.kde.knewstuff: --Xml Loader-START--
    org.kde.knewstuff: "<providers>\n    <provider>\n        <id>api.kde-look.org</id>\n        <location>https://api.kde-look.org/ocs/v1/</location>\n        <name>api.kde-look.org</name>\n        <icon>\n        https://api.kde-look.org/theme/flatui/img/new/O-standard-logo.png\n        </icon>\n        <termsofuse>https://api.kde-look.org/content/terms</termsofuse>\n        <register>https://api.kde-look.org/register</register>\n        <services>\n            <person ocsversion=\"1.6\"/>\n            <content ocsversion=\"1.6\"/>\n        </services>\n    </provider>\n</providers>\n"
    org.kde.knewstuff: --Xml Loader-END--
    org.kde.knewstuff: slotProvidersLoaded
    org.kde.knewstuff: Provider attributes:  ""
    org.kde.knewstuff: setting provider xml ""
    org.kde.knewstuff: Added provider:  "api.kde-look.org"
    org.kde.knewstuff: base url of attica provider: "https://api.kde-look.org/ocs/v1/"
    org.kde.knewstuff: Engine addProvider called with provider with id  "https://api.kde-look.org/ocs/v1/"
    org.kde.knewstuff: loading categories:  ("KDevelop File Templates")
    org.kde.knewstuff: Could not find category "KDevelop File Templates"
  
  Grepped output 2:
  
    org.kde.knewstuff: Loading KNewStuff3 config:  "kdevappwizard.knsrc"
    org.kde.knewstuff: Categories:  ("KDevelop App Templates")
    org.kde.knewstuff: Using registry file:  "/home/htower/.local/share/knewstuff3/.knsregistry"
    org.kde.knewstuff: Loading KNS2 registry of files for the component:  ""
    org.kde.knewstuff: Cache read... entries:  0
    org.kde.knewstuff: loading providers from  "http://download.kde.org/ocs/providers.xml"
    org.kde.knewstuff: XmlLoader::load(): url:  QUrl("http://download.kde.org/ocs/providers.xml")
    org.kde.knewstuff: XmlLoader::slotJobData()
    org.kde.knewstuff: XmlLoader::slotJobData()
    org.kde.knewstuff: --Xml Loader-START--
    org.kde.knewstuff: "<providers>\n    <provider>\n        <id>api.kde-look.org</id>\n        <location>https://api.kde-look.org/ocs/v1/</location>\n        <name>api.kde-look.org</name>\n        <icon>\n        https://api.kde-look.org/theme/flatui/img/new/O-standard-logo.png\n        </icon>\n        <termsofuse>https://api.kde-look.org/content/terms</termsofuse>\n        <register>https://api.kde-look.org/register</register>\n        <services>\n            <person ocsversion=\"1.6\"/>\n            <content ocsversion=\"1.6\"/>\n        </services>\n    </provider>\n</providers>\n"
    org.kde.knewstuff: --Xml Loader-END--
    org.kde.knewstuff: slotProvidersLoaded
    org.kde.knewstuff: Provider attributes:  ""
    org.kde.knewstuff: setting provider xml ""
    org.kde.knewstuff: Added provider:  "api.kde-look.org"
    org.kde.knewstuff: base url of attica provider: "https://api.kde-look.org/ocs/v1/"
    org.kde.knewstuff: Engine addProvider called with provider with id  "https://api.kde-look.org/ocs/v1/"
    org.kde.knewstuff: loading categories:  ("KDevelop App Templates")
    org.kde.knewstuff: Could not find category "KDevelop App Templates"
  
  Key place here: `org.kde.knewstuff: Could not find category "..."` - it seems that server doesn't returns new categories at current time. Old code produces normal lists of templates.

REPOSITORY
  rKDEVPLATFORM KDevPlatform

REVISION DETAIL
  https://phabricator.kde.org/D2949

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: cordlandwehr, #kdevelop
Cc: apol, kfunk, antonanikin, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20161007/e4064f54/attachment.html>


More information about the KDevelop-devel mailing list