Skip to content

Demonstrate a problem with REUSE 0.11.0 parsing a legal RTF file

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
License.rtf
Notifications You must be signed in to change notification settings

oddhack/reuse-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Copyright 2020 The Khronos Group Inc.
SPDX-License-Identifier: Apache-2.0

reuse-error

Demonstrate a problem with REUSE 0.11.0 parsing a legal RTF file

The file 'License.rtf' originally comes from https://github.com/KhronosGroup/KTX-Software/commit/36176c273322f13e656e5da433b059debc8b9f21 . In order to show a problem with REUSE, I've created this otherwise empty repository. Running 'reuse lint' on this repository generates

reuse._util - ERROR - Could not parse 'Apache-2.0\'
reuse.report - ERROR - Unexpected error occurred while parsing 'cmake/License.rtf'
KeyError: 'path'
# READ ERRORS

Could not read:
* cmake/License.rtf

However, the license information is entered in License.rtf and looks correct when viewing it in e.g. Libreoffice. While it's understandable that the REUSE tool would not read every possible documentation format, having it throw an error attempting to read .rtf suggests an underlying problem in whatever component consumes this type of file.

About

Demonstrate a problem with REUSE 0.11.0 parsing a legal RTF file

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
License.rtf

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published