Comments (8)
Got the same deal:
Running cd ; compass watch
Traceback (most recent call last):
File "./sublime_plugin.py", line 337, in run_
File "./exec.py", line 146, in run
OSError: [Errno 2] No such file or directory: '/Users/username/Library/Application Support/Sublime Text 2/Packages/Compass'
from sublime-text-compass.
Hey guys. Sorry for the error. Can you give me some more informations? How did you install it: With Sublime Package Control, GIT Clone or manually?
In case of @aaronbushnell It seems it wasn't installed/extracted in a Folder called Compass. Can you check whether there is a Folder named "Compass" in your Sublime Text 2/Packages/ Folder? When not, is there a Sublime-Text-2-Compass-Build-System Folder?
Please check there is a Folder named Compass. If the Folder is called "Sublime-Text-2-Compass-Build-System", you have to rename it to Compass.
from sublime-text-compass.
Hey @Nachtmeister , I have figured this folder issue and tryed to rename it with no sucess at all. Now I'm having a stupid problem where my .sublime-workspace
file keeps reappearing no matter what... And every time it reappears the name of the folder in the build system is still Compass Build System and because of this the build system always try to find files in the incorrect location!!
I've installed by Package Control.
Actually, none of my build systems work. I don't know what the heck is that! I've tryied python as well, with no success too...
from sublime-text-compass.
@lianzinho Sorry for that. I'm going to make some tests with the Package in the Package Control. Maybe something went wrong.
from sublime-text-compass.
After renaming the folder and solving the issue with the reappering workspace file, the error message changed.
Traceback (most recent call last):
File ".\sublime_plugin.py", line 337, in run_
File ".\exec.py", line 154, in run
File ".\exec.py", line 45, in __init__
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 1081: ordinal not in range(128)
I've even made some tests with a fresh install, and got the same message after that. Maybe it's an issue with Windows and encoding.
I've spotted that the .build file should also cover source.scss, now there is only source.sass listed. Should I open another issue?
from sublime-text-compass.
Well, I solved the problem partially.
My builds were not working because of an encoding problem. I found the solution in sublime text forum itself: http://www.sublimetext.com/forum/viewtopic.php?f=3&t=2441&p=11152&hilit=getfilesystemencoding#p11152
The solution was to substitute line 45 of exec.py
with this code:
proc_env[k] = os.path.expandvars(v.decode(sys.getfilesystemencoding())).encode(sys.getfilesystemencoding())
Doing this the message disapears and the build systems works!
Unfortunately compass build is still not fully functional to me, but as the problem is fairly different I'll close this issue and open another one.
Consider this solved for the UnicodeDecodeError
.
@aaronbushnell , my issue changed through time as I fooled around here trying to solve it. You may change your Package folder to Compass or edit line 3 of Compass.sublime-build
to match the original folder name:
"working_dir": "$packages/Compass Build System",
This solved my first error (which is also yours).
Thanks!
from sublime-text-compass.
Thanks @lianzinho. It seems that I took a wrong setting for the Control Package which causes that it does not name the folder correctly. I'm sorry for this error. I'm going to fix it. Thanks for your patience.
from sublime-text-compass.
Editing of 45 line of exec.py doesn't help me with UnicodeEncodeError on ST2b2221. What can I do?
from sublime-text-compass.
Related Issues (20)
- No such file or directory
- [ERROR] compass not found. Make sure it exists in your PATH. HOT 6
- Not watching just compile once HOT 1
- ST3 : Compass not showing in "Install Package" HOT 3
- Multiple builds result in a CPU overhead HOT 4
- Sublime compass is throwing the following error HOT 12
- [ERROR] config.rb not found HOT 6
- Path appended to HOT 5
- sprite mixins from compass doesnt work HOT 2
- No such file or directory @ rb_sysopen Sublime Text 3 HOT 5
- CSS output to other directory? HOT 2
- Compass will not build (exit code 255) HOT 11
- Package isn't listed in Package Control HOT 3
- Change default build path HOT 2
- Sprites are compiled in every call to sprite
- pas HOT 1
- 'compass' is not recognized as an internal or external command, operable program or batch file HOT 8
- Update paths in install.txt HOT 1
- Remove package.json HOT 1
- High CPU usage problem with multiple builds running HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sublime-text-compass.