Skip to content
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.

Plugin not working on OS X 10.6.x in Sublime 2.0.2 #6

Open
mity opened this issue Aug 1, 2013 · 0 comments
Open

Plugin not working on OS X 10.6.x in Sublime 2.0.2 #6

mity opened this issue Aug 1, 2013 · 0 comments

Comments

@mity
Copy link

mity commented Aug 1, 2013

My setup:
Mac OS X 10.6.8
Sublime Text 2.0.2 build 2221

When starting Sublime, this can be found in console log:

Reloading plugin /Users/mity/Library/Application Support/Sublime Text 2/Packages/2pdf/2pdf.py
Traceback (most recent call last):
  File "./sublime_plugin.py", line 62, in reload_plugin
  File "./2pdf.py", line 65, in <module>
    import rst2pdf.createpdf
  File "c:\python\python26\lib\site-packages\rst2pdf-0.93.dev-py2.6.egg\rst2pdf\createpdf.py", line 45, in <module>
  File "c:\python\python26\lib\site-packages\rst2pdf-0.93.dev-py2.6.egg\rst2pdf\opt_imports.py", line 49, in <module>
  File "c:\python\python26\lib\site-packages\reportlab-2.6-py2.6-win32.egg\reportlab\lib\styles.py", line 25, in <module>
  File "/Users/mity/Library/Application Support/Sublime Text 2/Packages/2pdf/libs/reportlab-2.6.zip/reportlab/lib/colors.py", line 43, in <module>
  File "c:\python\python26\lib\site-packages\reportlab-2.6-py2.6-win32.egg\reportlab\lib\utils.py", line 221, in <module>
  File "/Users/mity/Library/Application Support/Sublime Text 2/Packages/2pdf/libs/reportlab-2.6.zip/_rl_accel.py", line 7, in <module>
  File "/Users/mity/Library/Application Support/Sublime Text 2/Packages/2pdf/libs/reportlab-2.6.zip/_rl_accel.py", line 4, in __bootstrap__
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py", line 835, in resource_filename
    self, resource_name
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py", line 1297, in get_resource_filename
    "resource_filename() only supported for .egg, not .zip"
NotImplementedError: resource_filename() only supported for .egg, not .zip

The command Selection -> To Pdf is kept grayed and cannot be used.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant