Coder Social home page Coder Social logo

Comments (6)

Sawtaytoes avatar Sawtaytoes commented on August 20, 2024

I'm getting a different error but the same result (preview doesn't work):

desktop/init.py in %appdata%\Sublime Text 3\Installed Packages\Strapdown.js Markdown Preview.sublime-package is not utf-8 encoded, unable to load plugin

from sublime-strapdown-preview.

leafy7382 avatar leafy7382 commented on August 20, 2024

Same here, so I corrected the encoding issue with iconv and another error pops up

reloading plugin Strapdown.js Markdown Preview.Strapdown Markdown Preview
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "X/importlib/init.py", line 88, in import_module
File "", line 1577, in _gcd_import
File "", line 1558, in _find_and_load
File "", line 1505, in _find_and_load_unlocked
File "", line 313, in _call_with_frames_removed
File "", line 1577, in _gcd_import
File "", line 1558, in _find_and_load
File "", line 1505, in _find_and_load_unlocked
File "", line 313, in _call_with_frames_removed
File "", line 1577, in _gcd_import
File "", line 1558, in _find_and_load
File "", line 1522, in _find_and_load_unlocked
ImportError: No module named 'Strapdown'

from sublime-strapdown-preview.

michfield avatar michfield commented on August 20, 2024

This should be the same as issue #1. The solution is to rename a package.
Btw, I can't reproduce that error on Windows or Linux.

from sublime-strapdown-preview.

michfield avatar michfield commented on August 20, 2024

I finally did reproduced an error.
I could change the name of the package or I can wait for Package Manager to fix this error (sanitize names).

from sublime-strapdown-preview.

sergeevabc avatar sergeevabc commented on August 20, 2024

Package Manager version fails.
Gitcloned from here.
Preview in browser works.
Preview in ST3 doesn't work.

Traceback (most recent call last):
  File "C:\Portable\Sublime3\sublime_plugin.py", line 543, in run_
    return self.run(edit, **args)
  File "C:\Portable\Sublime3\Data\Packages\sublime-strapdown-preview\Strapdown Markdown Preview.py", line 106, in run
    new_edit = new_view.begin_edit()
TypeError: begin_edit() missing 2 required positional arguments: 'edit_token' and 'cmd'

from sublime-strapdown-preview.

michfield avatar michfield commented on August 20, 2024

Preview in ST3 works now. Fixed in 3b84a1d

from sublime-strapdown-preview.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.