Pierre-Jean
2017-05-30 11:29:23 UTC
Hello alls,
Mimeview is unable to parse my current mime.types file:
mimeview -t /usr/share/cups/mime/mime.types file
Invalid character '^', state 1
Aborted (core dump)
Mimeview seems to be unable to parse the regex rule of the
file mime.types. Apparently, that regex rule was introduced
for the sole pdf detection, and is not documented in man 5
mime.types. I found the commit which adds that rule on the
cups repository:
https://github.com/apple/cups/commit/6ee54c072996fd4cde3d5a53e80918e90f8e29c5
But, even with that rule commented, mimeview is still unable
to parse the file:
mimeview -t /usr/share/cups/mime/mime.types file
mimeview: /usr/share/cups/mime/mime.types:86: syntax error
mimeview: /usr/share/cups/mime/mime.types:94: syntax error
mimeview: /usr/share/cups/mime/mime.types:125: syntax error
mimeview: /usr/share/cups/mime/mime.types:148: syntax error
mimeview: /usr/share/cups/mime/mime.types:156: syntax error
mimeview: /usr/share/cups/mime/mime.types:177: syntax error
Cups 2.2.3
mailutils (GNU Mailutils) 3.2.91-15 [release-3.2-40-gd2952d1c8-dirty]
my /usr/share/cups/mime/mime.types is joined.
Kind regards,
Pierre-Jean.
Mimeview is unable to parse my current mime.types file:
mimeview -t /usr/share/cups/mime/mime.types file
Invalid character '^', state 1
Aborted (core dump)
Mimeview seems to be unable to parse the regex rule of the
file mime.types. Apparently, that regex rule was introduced
for the sole pdf detection, and is not documented in man 5
mime.types. I found the commit which adds that rule on the
cups repository:
https://github.com/apple/cups/commit/6ee54c072996fd4cde3d5a53e80918e90f8e29c5
But, even with that rule commented, mimeview is still unable
to parse the file:
mimeview -t /usr/share/cups/mime/mime.types file
mimeview: /usr/share/cups/mime/mime.types:86: syntax error
mimeview: /usr/share/cups/mime/mime.types:94: syntax error
mimeview: /usr/share/cups/mime/mime.types:125: syntax error
mimeview: /usr/share/cups/mime/mime.types:148: syntax error
mimeview: /usr/share/cups/mime/mime.types:156: syntax error
mimeview: /usr/share/cups/mime/mime.types:177: syntax error
Cups 2.2.3
mailutils (GNU Mailutils) 3.2.91-15 [release-3.2-40-gd2952d1c8-dirty]
my /usr/share/cups/mime/mime.types is joined.
Kind regards,
Pierre-Jean.