Ticket #1360 (new defect)

Opened 14 months ago

Last modified 11 months ago

Gentoo news : Unsupported News-Item-Format '2.0'

Reported by: MageSlayer Owned by:
Priority: Sometime Milestone:
Component: clients/cave Version: 2.4.0
Keywords: Cc:
Blocked By: Blocking:
Distribution: N/A

Description

Hi

It looks like news format in Gentoo changed quite long ago. Could paludis/cave be taught to understand it? Currently it just emits:

cave@1507449715: [WARNING e.news.skipping] In thread ID '27998':
  ... In program cave execute-resolution --preserve-world --world-specs media-libs/libpng:0/16 libpng:0/16:
  ... When executing chosen resolution:
  ... When triggering hook 'install_all_post':
  ... When performing hook 'install_all_post' for repository 'gentoo':
  ... When updating news at location '/var/paludis/repositories/portage/metadata/news' for repository 'gentoo':
  ... When handling news entry '/var/paludis/repositories/portage/metadata/news/2017-04-10-split-and-slotted-wine':
  ... Skipping news item '/var/paludis/repositories/portage/metadata/news/2017-04-10-split-and-slotted-wine' because of exception 'Error in news file '/var/paludis/repositories/portage/metadata/news/2017-04-10-split-and-slotted-wine/2017-04-10-split-and-slotted-wine.en.txt': Unsupported News-Item-Format '2.0'' (paludis::NewsError)
cave@1507449715: [WARNING e.news.skipping] In thread ID '27998':
  ... In program cave execute-resolution --preserve-world --world-specs media-libs/libpng:0/16 libpng:0/16:
  ... When executing chosen resolution:
  ... When triggering hook 'install_all_post':
  ... When performing hook 'install_all_post' for repository 'gentoo':
  ... When updating news at location '/var/paludis/repositories/portage/metadata/news' for repository 'gentoo':
  ... When handling news entry '/var/paludis/repositories/portage/metadata/news/2017-07-16-systemd-rootprefix':
  ... Skipping news item '/var/paludis/repositories/portage/metadata/news/2017-07-16-systemd-rootprefix' because of exception 'Error in news file '/var/paludis/repositories/portage/metadata/news/2017-07-16-systemd-rootprefix/2017-07-16-systemd-rootprefix.en.txt': Unsupported News-Item-Format '2.0'' (paludis::NewsError)
cave@1507449715: [WARNING e.news.skipping] In thread ID '27998':
  ... In program cave execute-resolution --preserve-world --world-specs media-libs/libpng:0/16 libpng:0/16:
  ... When executing chosen resolution:
  ... When triggering hook 'install_all_post':
  ... When performing hook 'install_all_post' for repository 'gentoo':
  ... When updating news at location '/var/paludis/repositories/portage/metadata/news' for repository 'gentoo':
  ... When handling news entry '/var/paludis/repositories/portage/metadata/news/2017-08-19-hardened-sources-removal':
  ... Skipping news item '/var/paludis/repositories/portage/metadata/news/2017-08-19-hardened-sources-removal' because of exception 'Error in news file '/var/paludis/repositories/portage/metadata/news/2017-08-19-hardened-sources-removal/2017-08-19-hardened-sources-removal.en.txt': Unsupported News-Item-Format '2.0'' (paludis::NewsError)
cave@1507449715: [WARNING e.news.skipping] In thread ID '27998':
  ... In program cave execute-resolution --preserve-world --world-specs media-libs/libpng:0/16 libpng:0/16:
  ... When executing chosen resolution:
  ... When triggering hook 'install_all_post':
  ... When performing hook 'install_all_post' for repository 'gentoo':
  ... When updating news at location '/var/paludis/repositories/portage/metadata/news' for repository 'gentoo':
  ... When handling news entry '/var/paludis/repositories/portage/metadata/news/2017-10-04-gentoolkit-dev-deprecation':
  ... Skipping news item '/var/paludis/repositories/portage/metadata/news/2017-10-04-gentoolkit-dev-deprecation' because of exception 'Error in news file '/var/paludis/repositories/portage/metadata/news/2017-10-04-gentoolkit-dev-deprecation/2017-10-04-gentoolkit-dev-deprecation.en.txt': Unsupported News-Item-Format '2.0'' (paludis::NewsError)

Tested under Gentoo x64 and paludis-9999

Change History

comment:1 Changed 14 months ago by chutz

Cannot figure out how to CC myself to the ticket. I hope a comment would do it. And sorry for the noise.

comment:2 Changed 11 months ago by kapsh

This is duplicate. You can try patch from previous ticket #1352.

comment:3 Changed 11 months ago by MageSlayer

Yes, seems like it is the same issue. Please close this one.

Note: See TracTickets for help on using tickets.