Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#79205 - [vim-pastie] 2.0-11 contains an HTML error page instead of the vim plugin file
Attached to Project:
Arch Linux
Opened by Dylan (acerix) - Wednesday, 26 July 2023, 02:51 GMT
Last edited by Jelle van der Waa (jelly) - Wednesday, 26 July 2023, 05:38 GMT
Opened by Dylan (acerix) - Wednesday, 26 July 2023, 02:51 GMT
Last edited by Jelle van der Waa (jelly) - Wednesday, 26 July 2023, 05:38 GMT
|
DetailsDescription:
The plugin file "/usr/share/vim/vimfiles/plugin/pastie.vim" in release 2.0-11 is actually an HTML error page saying "Can't connect to local MySQL server through socket...". This causes parsing errors when loading the plugin in vim since it's not a valid plugin. Presumably, the vim plugin database was offline when this release was generated so this just needs to be regenerated now that the database is back. Additional info: * package version 2.0-11 * errors when starting vim: ``` Error detected while processing /usr/share/vim/vimfiles/plugin/pastie.vim: line 1: E477: No ! allowed: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> line 2: E488: Trailing characters: html>: <html> ... ``` I suggest also adding a simple check during the build, like confirming that the first line of the downloaded file is `" pastie.vim: Vim plugin for pastie.org`. Steps to reproduce: Run `vim` with vim-pastie 2.0-11 installed. |
This task depends upon
Closed by Jelle van der Waa (jelly)
Wednesday, 26 July 2023, 05:38 GMT
Reason for closing: Fixed
Additional comments about closing: Woops, fixed in -12.
Wednesday, 26 July 2023, 05:38 GMT
Reason for closing: Fixed
Additional comments about closing: Woops, fixed in -12.
pastie.vim