问题:无法下载 mfc42.cab

问题:无法下载 mfc42.cab

不幸的是我需要安装并使用 IE...我正在使用该指南这里给出。但是当我尝试从终端启动时使用./ies4linux我总是收到这个错误:

The program 'ies4linux-gtk.py' received an X Window System error.
This probably reflects a bug in the program.
The error was 'RenderBadPicture (invalid Picture parameter)'.
  (Details: serial 6659 error_code 143 request_code 139 minor_code 10)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

有人能帮帮我吗?谢谢!

用过的./ies4linux --no-gui

IEs4Linux 2 is developed to be used with recent Wine versions (0.9.x). It seems that you are using an old version. It's recommended that you update your wine to the latest version (Go to: winehq.com).

IEs4Linux will:
  - Install Internet Explorers: 6.0
  - Using IE locale: EN-US
  - Install Adobe Flash 9.0
  - Install everything at: /home/giovanni/.ies4linux
[ OK ]

Downloading everything we need
  Downloading from microsoft.com:
   DCOM98.EXE
   0%   mfc42.cab   249973USA8.exe
   ADVAUTH.CAB
   CRLUPD.CAB
   HHUPD.CAB
   IEDOM.CAB
   IE_EXTRA.CAB
   IE_S1.CAB
   IE_S2.CAB
   IE_S5.CAB
   IE_S4.CAB
   IE_S3.CAB
   IE_S6.CAB
   SETUPW95.CAB
   FONTCORE.CAB
   FONTSUP.CAB
   VGX.CAB
   SCR56EN.CAB

  Downloading from macromedia.com:
   swflash.cab
[ OK ]

Installing IE 6
  Initializing
  Creating Wine Prefix
  Extracting CAB files
  Installing IE 6
  Installing DCOM98
  Installing TTF Fonts
  Installing ActiveX MFC42
/home/giovanni/.ies4linux/downloads/mfc42.cab: No such file or directory
An error occured when trying to cabextract some files.

正在做

wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
sudo wget http://deb.playonlinux.com/playonlinux_precise.list -O /etc/apt/sources.list.d/playonlinux.list

sudo apt-get update && sudo apt-get install playonlinux

我又得到了

giovanni@giovanni-X551CAP:~$ cd ies4linux-*
giovanni@giovanni-X551CAP:~/ies4linux-2.99.0.1$ ./ies4linuxIEs4Linux 2 is developed to be used with recent Wine versions (0.9.x). It seems that you are using an old version. It's recommended that you update your wine to the latest version (Go to: winehq.com).

The program 'ies4linux-gtk.py' received an X Window System error.
This probably reflects a bug in the program.
The error was 'RenderBadPicture (invalid Picture parameter)'.
  (Details: serial 2720 error_code 143 request_code 139 minor_code 10)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

我更改了链接,如评论中所述“最新软件包中的 install.sh 第 75 行内容为:

download http://activex.microsoft.com/controls/vc/mfc42.cab

服务器回答:

拒绝访问您无权访问“http://activex.microsoft.com/controls/vc/mfc42.cab“在此服务器上。

参考#18.ecdd4e17.1453232252.16053044 如果您有该文件或可以在其他地方找到它,只需替换 URL 就可以继续安装。”


但现在我有了......

IEs4Linux 2 是为与较新的 Wine 版本 (0.9.x) 配合使用而开发的。看来您使用的是旧版本。建议您将 wine 更新到最新版本 (访问:winehq.com)。

程序“ies4linux-gtk.py”收到 X Window System 错误。这可能反映了程序中的错误。错误为“RenderBadPicture(无效的图片参数)”。(详细信息:串行 2920 错误代码 143 请求代码 139 次要代码 6)(程序员请注意:通常,X 错误是异步报告的;也就是说,您会在错误发生后一段时间收到错误。要调试程序,请使用 --sync 命令行选项运行它以更改此行为。然后,如果您在 gdk_x_error() 函数上中断,您可以从调试器中获得有意义的回溯。)

答案1

问题:无法下载 mfc42.cab

第 75 行install.sh来自最新的包裹内容如下:

    download http://activex.microsoft.com/controls/vc/mfc42.cab

服务器回答:

拒绝访问

您无权访问“http://activex.microsoft.com/controls/vc/mfc42.cab“在此服务器上。

参考编号 #18.ecdd4e17.1453232252.16053044

如果您有该文件或可以在其他地方找到它,只需替换 URL,它就可以继续安装。作者很聪明,为文件中的文件提供了哈希值files

mfc42.cab   632755  fbe551338463f13c6a5e215db55ac21b

问题:有关旧 Wine 版本的警告

关于 Wine 版本的警告信息位于第 36 行functions.sh

wine --version 2>&1  | grep -q "0.9." || warning $MSG_WARNING_OLDWINE

MSG_WARNING_OLDWINE在您的本地化中查找类似内容enUS.sh,您将再次找到警告消息。代码检查以开头的版本号,0.9如您所见。当 Wine 最终发布 1.0 版本时,作者显然从未更新过该软件包。您可以放心地忽略内容警告信息,但请注意您正在使用旧软件。

备择方案

如何安装 Internet Explorer(多个版本)?

答案2

通过 PlayOnLinux 安装 IE 版本

根据以下说明更新 Ubuntu 中的 PlayOnLinuxhttps://www.playonlinux.com/en/download.html

wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
sudo wget http://deb.playonlinux.com/playonlinux_trusty.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get update
sudo apt-get install playonlinux

Wine 现在将自动更新。打开 PlayOnLinux 并按照说明安装 IE6/IE7/IE8这个答案

相关内容