tosher / Mediawiker

A plugin for Sublime Text editor that adds possibility to use it as Wiki Editor on MediaWiki-based sites like Wikipedia and many other.
Other
138 stars 27 forks source link

[Bug] MarkdownPreview conflict #98

Closed Kristinita closed 7 years ago

Kristinita commented 8 years ago

Summary

If I convert Markdown to HTML use MarkdownPreview plugin, I get errors in console. If Mediawiker disabled for me I no get errors.

Expected behavior

No errors in console.

Actual behavior

command: markdown_preview_select {"target": "save"}
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\markdown/extensions/__init__.py:37: DeprecationWarning: Extension classes accepting positional args is pending Deprecation. Each setting should be passed into the Class as a keyword. Positional args are deprecated and will raise an error in version 2.7. See the Release Notes for Python-Markdown version 2.6 for more info.
E:\Sublime Text 3\Data\Installed Packages\Markdown Preview.sublime-package\MarkdownPreview.py:739: DeprecationWarning: cgi.escape is deprecated, use html.escape instead

Steps to reproduce

The problem is reproduced for me in a version of Sublime Text without plugins and user settings.

I remove all settings of my User\MarkdownPreview.sublime-settings file.

For example, I have markdown file:

1. [Description](#description)
1. [Support](#support)
    1. [Platforms](#platforms)
    1. [Sublime Text](#sublime-text)

## Support

### Platforms

Windows, macOS, Linux.

I open my markdown file → in the tab where open my Markdown file, Ctrl+Shift+PMarkdown Preview: Export HTML In Sublime Textmarkdown → I get errors in console.

Environment

Operating system and version: Windows 10.0.14393 Sublime Text: Build 3126

Thanks.

tosher commented 8 years ago

https://github.com/revolunet/sublimetext-markdown-preview/issues/368#issuecomment-255878056

tosher commented 7 years ago

Suppress of DeprecationWarning messages: https://github.com/tosher/Mediawiker/releases/tag/3.1.14 Please, check this error after update (it's not a fix of the issue).

Kristinita commented 7 years ago

@tosher , thank you very much! Now problem not reproduced for me.