Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scratch 2 projects including extensions throw an exception #23

Open
tjvr opened this issue May 28, 2014 · 1 comment
Open

Scratch 2 projects including extensions throw an exception #23

tjvr opened this issue May 28, 2014 · 1 comment
Labels

Comments

@tjvr
Copy link
Owner

tjvr commented May 28, 2014

ValueError                                Traceback (most recent call last)
<ipython-input-2-4b529b0d4ee7> in <module>()
----> 1 kurt.Project.load('Desktop/bob')

/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/kurt-2.0.5-py2.7.egg/kurt/__init__.pyc in load(cls, path, format)
    254             (name, extension) = os.path.splitext(filename)
    255             if format is None:
--> 256                 plugin = kurt.plugin.Kurt.get_plugin(extension=extension)
    257                 if not plugin:
    258                     raise UnknownFormat(extension)

/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/kurt-2.0.5-py2.7.egg/kurt/plugin.pyc in get_plugin(cls, name, **kwargs)
    221                 return plugin
    222 
--> 223         raise ValueError, "Unknown format %r" % kwargs
    224 
    225     @classmethod

ValueError: Unknown format {'extension': ''}
@tjvr tjvr added the bug label May 28, 2014
@tjvr tjvr changed the title Crashes loading Scratch 2 projects with extensions Scratch 2 projects with extensions throw an error May 28, 2014
@tjvr tjvr changed the title Scratch 2 projects with extensions throw an error Scratch 2 projects with extensions throw an exception May 28, 2014
@tjvr tjvr changed the title Scratch 2 projects with extensions throw an exception Scratch 2 projects including extensions throw an exception Jun 5, 2014
@tjvr tjvr self-assigned this Dec 18, 2014
@ghost
Copy link

ghost commented Dec 7, 2015

Might I add this happened with my project that does not contain an extension

@tjvr tjvr removed their assignment Nov 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant