科学Linux的圣杯(网络浏览器)的安装 [英] Grail (web browser) installation on Scientific Linux

查看:257
本文介绍了科学Linux的圣杯(网络浏览器)的安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道,如果圣杯的浏览器是时下一个不错的选择,但是我想尝试一下,因为我对Firefox的费米显卡运行的一些问题。接下来,就是我努力后获得圣杯-0.6(TGZ)

I'm not sure if Grail browser is a good choice nowadays, however I want to try it, because I have some problems about graphics running on Firefox-Fermi. The next, is what I obtain after trying grail-0.6 (tgz)

# python grail.py 
Traceback (most recent call last):
File "grail.py", line 43, in ?
from Tkinter import *

在安装Tkinter的充分后,我跑grail.py了,我也得到

After installing "tkinter" adequately, I run "grail.py" again, and I get

# python grail.py 
/root/grail-0.6/grailbase/app.py:6: Deprecation Warning: the regex module is   
deprecated; please use the re module
import regex
/usr/lib/python2.4/regsub.py:15: DeprecationWarning: the regsub module is  
deprecated; please use re.sub()
DeprecationWarning)
Traceback (most recent call last):
File "grail.py", line 499, in ?
main()
File "grail.py", line 108, in main
app = Application(prefs=prefs, display=display)
File "grail.py", line 248, in __init__
self.stylesheet = Stylesheet.Stylesheet(self.prefs)
File "/root/grail-0.6/Stylesheet.py", line 21, in __init__
self.load()
File "/root/grail-0.6/Stylesheet.py", line 45, in load
massaged.append((g, c), v % fparms_dict)
TypeError: append() takes exactly one argument (2 given)

但现在,我无法理解的消息都没有。愿你指点我这个问题?

but now, I'm not able to understand the message at all. May you advice me about this problem?

推荐答案

哇 - 这是从过去的爆炸!我的建议是放弃:圣杯尚未在十几年前被感动。它死了。

Wow - that's a blast from the past! My advice is to give up: Grail hasn't been touched in more than a dozen years. It's dead.

您收到此错误信息制成回来的路上在Python 1.6的变化茎(5日发布2000年9月)。以下是从发行说明消息:

The error message you're getting stems from a change made way back in Python 1.6 (released 5 September 2000). Here's the message from the release notes:


      
  • 对列表的append()方法不再能与更多的调用
      多个参数。这用于追加做出来的一个元组
      所有参数,但没有证件。要追加一个元组,使用
      例如l.append((A,B,C))。

  •   

所以,你可以:


  1. 放弃。推荐; - )

  2. 安装Python中的一个古老的版本;或者,

  3. 更改该行

  1. Give up. Recommended ;-)
  2. Install an ancient version of Python; or,
  3. Change that line to

massaged.append(((G,C),V%fparms_dict))

,看看接下来有什么突破; - )

and see what breaks next ;-)

的Python 0.9.1是的非常的老人,从1991年初之前1.0在很多很多方面改变了这种语言被释放。

Python 0.9.1 is extremely old, from early 1991. The language changed in many, many ways before 1.0 was released.

根据老圣杯主页,圣杯0.6:

需要Python 1.5或更新版本,和Tcl​​ / Tk的8.0或更高版本。

requires Python 1.5 or newer, and Tcl/Tk 8.0 or newer.

所以找的Python 1.5,如果你下定决心追求这个;-)请注意, .append()语义1.6版本发生了变化,所以原来的 .append() code伤害你首先在1.5仍然应该工作正常。

So find Python 1.5 if you're determined to pursue this ;-) Note that the .append() semantics were changed in version 1.6, so the original .append() code that hurt you at first should still work OK in 1.5.

这篇关于科学Linux的圣杯(网络浏览器)的安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆