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.
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:
The command Selection -> To Pdf is kept grayed and cannot be used.