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

Can't install via package control on Sublime Text 2.0.2 #22

Open
olgabot opened this issue Apr 1, 2015 · 2 comments
Open

Can't install via package control on Sublime Text 2.0.2 #22

olgabot opened this issue Apr 1, 2015 · 2 comments

Comments

@olgabot
Copy link

olgabot commented Apr 1, 2015

Control-Shift-P--> Install Packages --> search for "Pelican" results in nothing. Is there a database that needs updating maybe?

@gregcanter
Copy link

I am also having the same problems in installing the package. Furthermore, even after installing it manually it still fails to work, however it does show up in the list of installed packages. Sublime Text 2 --> Preferences --> Package Settings does show the 'Sublime Pelican' entry with both User and Default entries. I am using Mac OS 10.8.5 with Python 2.7.2. Any help or clues would be greatly appreciated.

@kjmancuso
Copy link

@gregcanter After starting Sublime Text, hit ctrl+` to bring up the debug console. Do you see any errors? For me, I found the following:

Reloading plugin /Users/kevin/Library/Application Support/Sublime Text 2/Packages/Pelican/Pelican.py
Traceback (most recent call last):
  File "./sublime_plugin.py", line 62, in reload_plugin
  File "./Pelican.py", line 14, in <module>
    from lib.moveToPosts import getMoveInfo
  File "./lib/moveToPosts.py", line 3, in <module>
    import os, os.path, argparse, platform
ImportError: No module named argparse

moveToPosts.py imports argparse, which seems to cause the plugin to not get loaded due to traceback.

Throwing a debug import sys; print sys.path in that file shows that it's loaded the system python2.6 instead of python2.7.

Switching to Sublime3 calls a different python ver and now everything works, so I assume @jsliang wrote it with python3 in mind.

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

No branches or pull requests

3 participants