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

Problem to print php #4

Open
Seraph11 opened this issue Nov 15, 2012 · 1 comment
Open

Problem to print php #4

Seraph11 opened this issue Nov 15, 2012 · 1 comment

Comments

@Seraph11
Copy link

Hi first thanks for the plugin, it's excellent, but i've a problem when I want print a php code obtaining the follow exception:
Writing file application/config/database.php with encoding UTF-8
Traceback (most recent call last):
File "./sublime_plugin.py", line 356, in run_
File "./PrintToHTML.py", line 45, in run
File "./PrintToHTML.py", line 192, in convert_to_html
File "./PrintToHTML.py", line 146, in get_lexer
File "./pygments/lexers/init.py", line 74, in get_lexer_by_name
File "./pygments/lexer.py", line 470, in call
File "./pygments/lexers/web.py", line 870, in init
ImportError: No module named _phpbuiltins

PD. Sorry for my bad english

@ghost
Copy link

ghost commented Jan 26, 2013

This issue has been fixed in a similar plugin, SublimeHighlit. The author explains briefly how he achieved this on the comments.

n1k0/SublimeHighlight#10

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

1 participant