EmilyDirsh / hotwire-shell

Automatically exported from code.google.com/p/hotwire-shell
Other
0 stars 0 forks source link

hotwire 0.721 won't start on RHEL5 python-2.4.3: #177

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install RHEL5.1
2. download hotwire 0.721, installed or uninstalled
3. python ui/hotwire

I expect to see it run, but instead I get:

Running uninstalled, extending PYTHONPATH with:
/home/jim/src/hotwire/hotwire-0.721/svn/hotwire
Traceback (most recent call last):
  File "ui/hotwire", line 209, in ?
    main()
  File "ui/hotwire", line 139, in main
    hotwire.builtin.load()
  File
"/home/jim/src/hotwire/hotwire-0.721/svn/hotwire/hotwire/builtin.py", line
250, in load
    import hotwire.builtins.head    
  File
"/home/jim/src/hotwire/hotwire-0.721/svn/hotwire/hotwire/builtins/head.py",
line 56
    yield line
SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause

What version of the product are you using? On what operating system?

Both running svn 1194 and 0.721.  Redhat Enterprise Linux 5.1.  

Please provide any additional information below.

RHEL python:

Python 2.4.3 (#1, Dec 11 2006, 11:38:52) 
[GCC 4.1.1 20061130 (Red Hat 4.1.1-43)] on linux2

Original issue reported on code.google.com by jim.law...@gmail.com on 28 Mar 2008 at 4:20

GoogleCodeExporter commented 9 years ago
Ah, right.  This should fix it:

Committed r1198
    M   hotwire/builtins/head.py
r1198 = 84f55a342f683a97a244b1c21b01a75820dcfe5a (git-svn)

Original comment by cgwalt...@gmail.com on 29 Mar 2008 at 1:24