chenqingyu / auto-sub

Automatically exported from code.google.com/p/auto-sub
0 stars 0 forks source link

Cheetah template engine is not (always) part of python install (Revision: b0bbf792fe93) #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. get a clean windows 7 64bit 
2. download python 2.7.2  http://ninite.com/
3. check out source Revision: b0bbf792fe93
4. run the program 

What is the expected output? What do you see instead?
Expected: Running program 

Traceback (most recent call last):
  File "AutoSub.py", line 1, in <module>
    import autosub.AutoSub
  File "C:\scripts\autosub\autosub\AutoSub.py", line 6, in <module>
    import autosub.WebServer
  File "C:\scripts\autosub\autosub\WebServer.py", line 2, in <module>
    from Cheetah.Template import Template
ImportError: No module named Cheetah.Template

What version of the product are you using? On what operating system?
Revision: b0bbf792fe93 
windows 7 64bit 

Please provide any additional information below.
- fixed by downloading: http://pypi.python.org/pypi/Cheetah/2.4.4#downloads
- extracting and running: 'python setup.py install' in dir. 

Don't know if this is normal when compiling from source, but maybe something 
you have to take in account, when distributing it.

Original issue reported on code.google.com by Fraipo...@gmail.com on 24 Feb 2012 at 7:03

GoogleCodeExporter commented 9 years ago
Thanks for your detailed bug report!

This is known yeah, there is a reason why cheetah in not included in the 
source. If you use cheetah on a Mac or a Windows machine. Additional binaries 
are required. It is better for the user to download them him(/her)self. In the 
near future, when the new version will be released, we will make sure that it 
is clear to the user to also download cheetah. Over the weekend I will add a 
simple check in AutoSub. If AutoSub is not able to load the Cheetah Template, 
it will tell the user to download it from the cheetah website.

Thanks for reporting this.

Original comment by romke.va...@gmail.com on 24 Feb 2012 at 7:11

GoogleCodeExporter commented 9 years ago

Original comment by romke.va...@gmail.com on 28 Feb 2012 at 7:02

GoogleCodeExporter commented 9 years ago
This issue was closed by revision f25d563bbb1a.

Original comment by romke.va...@gmail.com on 28 Feb 2012 at 7:46