guardian8612 / zen-coding

Automatically exported from code.google.com/p/zen-coding
0 stars 0 forks source link

Module import error, zen coding doesn't work at all #150

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. type div#id or div.class or div#id.class>ul>li>a or what ever
2. press CMD+E to execute Zen-coding

What is the expected output?
<div id="id"></div> or
<div class="class"></div> or
<div id="id" class="class"><ul><li><a href=""></a></li></ul></div>

Error message:
Traceback (most recent call last):
  File "/Users/Jozan/Library/Application Support/TextMate/Pristine Copy/Bundles/Zen 
Coding.tmbundle/Support/expand_abbreviation.py", line 7, in <module>
    from zencoding import zen_core
  File "/Users/Jozan/Library/Application Support/TextMate/Pristine Copy/Bundles/Zen 
Coding.tmbundle/Support/zencoding/zen_core.py", line 27, in <module>
    from zen_settings import zen_settings
ImportError: No module named zen_settings

What version of the product are you using? On what operating system?
Newest Zen-coding for TextMate on Mac OS X (10.5.8) Leopard.

Original issue reported on code.google.com by jozan.a...@gmail.com on 30 Apr 2010 at 3:50

GoogleCodeExporter commented 8 years ago
That's weird. Can you navigate to /Users/Jozan/Library/Application 
Support/TextMate/Pristine 
Copy/Bundles/Zen 
Coding.tmbundle/Support/zencoding/ in Finder and check out that there's a 
zen_settings.py file?

that Python version do you have?

Original comment by serge....@gmail.com on 1 May 2010 at 7:43

GoogleCodeExporter commented 8 years ago
It was all about wrong Python version. That's weird but Zen Coding doesn't work 
with Python 3 or newer. I 
downgraded my Python install back to the same version what came with Leopard, 
Python 2.5, and I'm happy 
Zen Coder again.

So there was zen_settings.py file and there it still is. Do you've any plans to 
make Zen Coding Python 3 
compatible in future?

Thanks,
Jozan.

Original comment by jozan.a...@gmail.com on 1 May 2010 at 11:25

GoogleCodeExporter commented 8 years ago
Nothing weird: Python 3 is very different from Python 2.x.
Maybe later, when Python 3 will become industry standard, ZC will be ported

Original comment by serge....@gmail.com on 2 May 2010 at 5:51