Oops! Poly path was still hard-coded. Added a setting 'poly_bin' in File Settings for setting up a custom path. Pull the latest version of the package, then go to "Sublime Text 2 > Preferences > File Settings - User", and add a line like this to the JSON:
"poly_bin": "/usr/local/bin/poly",
On 13 October 2011 06:30, Lucas Dixon lucas.dixon@gmail.com wrote:
Looks like a nice editor!
I had a go at running build on the Quantomatic ROOT.ML file, I got this error output (and an endless compiling ROOT.ML [ = ? ] thing), the error in the console is:
startup, version: 2126 osx x64 channel: stable executable: /Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2 working dir: / packages path: /Users/ldixon/Library/Application Support/Sublime Text 2/Packages settings path: /Users/ldixon/Library/Application Support/Sublime Text 2/Settings package /Applications/Sublime Text 2.app/Contents/MacOS/Pristine Packages/ActionScript.sublime-package is newer than the installed version (/Users/ldixon/Library/Application Support/Sublime Text 2/Pristine Packages/ActionScript.sublime-package), running PackageSetup error parsing session: No data at: 0:0 PackageSetup returned: -1 catalogue loaded found 3 files for base name Default.sublime-keymap found 1 files for base name Default.sublime-mousemap found 1 files for base name Main.sublime-menu Generating syntax summary Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/comment.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/copy_path.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/delete_word.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/detect_indentation.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/duplicate_line.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/echo.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/exec.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/fold.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/font.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/goto_line.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/indentation.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/kill_ring.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/mark.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/new_templates.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/open_file_settings.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/paragraph.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/save_on_focus_lost.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/scroll.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/side_bar.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/sort.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/swap_line.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/switch_file.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/transform.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/transpose.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Default/trim_trailing_white_space.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/Diff/diff.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/HTML/encode_html_entities.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/HTML/html_completions.py Reloading plugin /Users/ldixon/Library/Application Support/Sublime Text 2/Packages/PolyML/run_poly.py loading bindings loading pointer bindings found 1 files for base name Default.sublime-theme theme loaded app ready pre session restore time: 4.33111 startup time: 4.47067 loaded 937 snippets Traceback (most recent call last): ?File "./sublime_plugin.py", line 259, in run_ ?File "./run_poly.py", line 131, in run ?File "./poly/__init__.py", line 45, in compile ?File "./poly/__init__.py", line 36, in ensure_poly_running ?File "./poly/process.py", line 201, in __init__ ?File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 595, in __init__ ? ?errread, errwrite) ?File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1106, in _execute_child ? ?raise child_exception OSError: [Errno 2] No such file or directory Exception AttributeError: "PolyProcess instance has no attribute 'pipe'" in <bound method PolyProcess.__del__ of <poly.process.PolyProcess instance at 0x115590830>> ignored Traceback (most recent call last): ?File "./sublime_plugin.py", line 259, in run_ ?File "./run_poly.py", line 131, in run ?File "./poly/__init__.py", line 45, in compile ?File "./poly/__init__.py", line 36, in ensure_poly_running ?File "./poly/process.py", line 201, in __init__ ?File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 595, in __init__ ? ?errread, errwrite) ?File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1106, in _execute_child ? ?raise child_exception OSError: [Errno 2] No such file or directory
Any suggestions?
best, lucas
On 12 October 2011 13:02, Aleks Kissinger aleks0@gmail.com wrote:
For those interested, I've been working on a Poly/ML package for Sublime Text 2.
https://github.com/akissinger/sublime-polyml
Sublime Text 2 is in some ways the "moral" successor to Textmate (which is essentially defunct). However, unlike Textmate, it's available for Mac, Linux, and Windows. It will be a paid app at some point, but currently it is in free beta.
I've been using the package for a couple of weeks now. It's still a bit on the rough side, but basic highlighting, building, and error reporting is working pretty well. Please let me know if you have issues or want to contribute.
Aleks
-- You received this message because you are subscribed to the Google Groups "Quantomatic" group. To post to this group, send email to quantomatic@googlegroups.com. To unsubscribe from this group, send email to quantomatic+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/quantomatic?hl=en.
-- You received this message because you are subscribed to the Google Groups "Quantomatic" group. To post to this group, send email to quantomatic@googlegroups.com. To unsubscribe from this group, send email to quantomatic+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/quantomatic?hl=en.