You are here > Bugs > PlayOnLinux > Feature > Ticket #1097 fr

Feature #1097 on PlayOnLinux

Improve downloads error handling

Added by stephsmithers on 2012-07-18 17:15:58 - Comment or update this ticket

Statut:
Confirmed
Priority:
Normal
Assigned to:
Nobody
Last update:
2012-12-21 10:34:55
Description, steps to reproduce:
the install sheild was downloading the .tar file, when the installer had had finished downloading it it went on to install the game (league of legends) when it then reported "[main] Fatal: this is not a valid .TAR file!" please help i miss playing league of legends.

Terminal output:

PlayOnLinux debbuging tool (v4.1.3)
-----------------------------------------------
Debugging: League of Legends

Warning. This is a PlayOnLinux script logfile. It does not contains everything that happened in your program virtual drive (wineprefix)
Please do not use this logfile on winehq forum, this logfile is not interesting for wine debugging.

Date: 07/18/12 15:18:08

> uname -a
  Linux steph-Dell-DXP061 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011 i686 i686 i386 GNU/Linux
> lsb_release -a
  
> wine --version (Be careful, this version might not be the version used 
in the script. Read the content of this file for more information)
  wine-1.3.28
> glxinfo \| grep rendering
  direct rendering: Yes
> glxinfo \| grep renderer
  OpenGL renderer string: Gallium 0.4 on NV50
> OpenGL libs
  32bits direct rendering is enabled
  
> export
  declare -x AMD64_COMPATIBLE="False"
declare -x APPLICATION_TITLE="PlayOnLinux"
declare -x COMPIZ_CONFIG_PROFILE="ubuntu"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-HkZsHrBHrj,guid=57219e21ff705b946a2c2cf600000149"
declare -x DEBIAN_PACKAGE="FALSE"
declare -x DEFAULTS_PATH="/usr/share/gconf/ubuntu.default.path"
declare -x DESKTOP="/home/steph/Desktop"
declare -x DESKTOP_SESSION="ubuntu"
declare -x DISPLAY=":0"
declare -x DYLDPATH_ORIGIN=""
declare -x DYLD_LIBRARY_PATH=""
declare -x GDMSESSION="ubuntu"
declare -x GECKO_SITE="http://www.playonlinux.com/wine/gecko"
declare -x GIO_LAUNCHED_DESKTOP_FILE="/usr/share/applications/PlayOnLinux.desktop"
declare -x GIO_LAUNCHED_DESKTOP_FILE_PID="28763"
declare -x GNOME_DESKTOP_SESSION_ID="this-is-deprecated"
declare -x GNOME_KEYRING_CONTROL="/tmp/keyring-8V3yny"
declare -x GNOME_KEYRING_PID="1480"
declare -x GNUPGHOME="/home/steph/.PlayOnLinux//gpg"
declare -x GPG_AGENT_INFO="/tmp/keyring-8V3yny/gpg:0:1"
declare -x GTK_MODULES="canberra-gtk-module:canberra-gtk-module"
declare -x G_FILENAME_ENCODING="UTF-8"
declare -x HOME="/home/steph"
declare -x IBUS_ENABLE_SYNC_MODE="1"
declare -x IGNORE_ICON_DIR="false"
declare -x LANG="en_US.UTF-8"
declare -x LD_LIBRARY_PATH=""
declare -x LD_PATH_ORIGIN=""
declare -x MACHTYPE="i686-pc-linux-gnu"
declare -x MANDATORY_PATH="/usr/share/gconf/ubuntu.mandatory.path"
declare -x MD5_COMMAND="md5sum"
declare -x OLDPWD="/home/steph/.PlayOnLinux/plugins"
declare -x ONLY_ONCE="1"
declare -x OS_NAME="linux"
declare -x OpenGL32="1"
declare -x OpenGL64="1"
declare -x PATH="/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
declare -x PATH_ORIGIN="/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
declare -x PLAYONLINUX="/usr/share/playonlinux"
declare -x POL_ARCH="x86"
declare -x POL_DNS="playonlinux.com"
declare -x POL_ID="81850200"
declare -x POL_LANG="en"
declare -x POL_OS="Linux"
declare -x POL_SetupWindow_ID="19132"
declare -x POL_TERM="xterm"
declare -x POL_UPTODATE="TRUE"
declare -x POL_USER_ROOT="/home/steph/.PlayOnLinux/"
declare -x POL_WGET="wget -4 -q"
declare -x PWD="/home/steph/.PlayOnLinux"
declare -x PYTHON="python"
declare -x REPERTOIRE="/home/steph/.PlayOnLinux/"
declare -x SCRIPTID="League Of Legends"
declare -x SESSION_MANAGER="local/steph-Dell-DXP061:@/tmp/.ICE-unix/1489,unix/steph-Dell-DXP061:/tmp/.ICE-unix/1489"
declare -x SETUPWINDOW_INIT="true"
declare -x SHELL="/bin/bash"
declare -x SHLVL="4"
declare -x SITE="http://repository.playonlinux.com"
declare -x SSH_AGENT_PID="1526"
declare -x SSH_AUTH_SOCK="/tmp/keyring-8V3yny/ssh"
declare -x TEXTDOMAIN="pol"
declare -x TEXTDOMAINDIR="/usr/share/playonlinux/lang/locale/"
declare -x TITLE="League of Legends"
declare -x TITRE="PlayOnLinux"
declare -x UBUNTU_MENUPROXY="0"
declare -x USER="steph"
declare -x USERNAME="steph"
declare -x VERSION="4.1.3"
declare -x WGETRC="/home/steph/.PlayOnLinux//configurations/wgetrc"
declare -x WINEDLLOVERRIDES="winemenubuilder.exe=d"
declare -x WINEPREFIX="/home/steph/.PlayOnLinux//wineprefix/default"
declare -x WINE_SITE="http://www.playonlinux.com/wine/binaries"
declare -x WorkingDirectory="/home/steph"
declare -x XAUTHORITY="/home/steph/.Xauthority"
declare -x XDG_CONFIG_DIRS="/etc/xdg/xdg-ubuntu:/etc/xdg"
declare -x XDG_CURRENT_DESKTOP="Unity"
declare -x XDG_DATA_DIRS="/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/"
declare -x XDG_SEAT_PATH="/org/freedesktop/DisplayManager/Seat0"
declare -x XDG_SESSION_COOKIE="f1c779a61efab36d473bea1000000009-1342605132.361871-389513484"
declare -x XDG_SESSION_PATH="/org/freedesktop/DisplayManager/Session0"


07/18/12 15:18:10 - [POL_System_SetArch] Message: POL_ARCH set to x86
07/18/12 15:18:10 - [POL_Wine_SelectPrefix] Message: Selecting prefix: LeagueOfLegends
07/18/12 15:18:10 - [POL_Wine_PrefixCreate] Message: Setting POL_WINEVERSION to 1.5.3-LeagueOfLegends
07/18/12 15:18:10 - [POL_Wine_PrefixCreate] Message: Creating prefix (1.5.3-LeagueOfLegends)...
07/18/12 15:18:10 - [POL_Wine_PrefixCreate] Message: Prefix already exists
07/18/12 15:18:10 - [POL_Wine_PrefixCreate] Message: Setting version to 1.5.3-LeagueOfLegends
07/18/12 15:18:10 - [POL_Config_PrefixWrite] Message: Prefix config write: VERSION 1.5.3-LeagueOfLegends
07/18/12 15:18:13 - [POL_LoadVar_PROGRAMFILES] Message: Getting Program Files name
07/18/12 15:18:13 - [POL_Wine] Message: Running wine-1.5.3-LeagueOfLegends cmd /c echo %ProgramFiles% (Working directory : /home/steph/.PlayOnLinux)
07/18/12 15:18:13 - [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
C:\Program Files
07/18/12 15:18:14 - [POL_Wine] Message: Wine return: 0
07/18/12 15:18:17 - [POL_Call] Message: Calling POL_Install_vcrun2005
07/18/12 15:18:19 - [POL_GPG_auth_script] Message: Checking signature of POL_Install_vcrun2005
07/18/12 15:18:19 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key
07/18/12 15:18:19 - [POL_Source] Message: POL GPG : Good signature
07/18/12 15:18:19 - [POL_Call] Message: Calling POL_Install_vcrun2008
07/18/12 15:18:23 - [POL_GPG_auth_script] Message: Checking signature of POL_Install_vcrun2008
07/18/12 15:18:23 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key
07/18/12 15:18:23 - [POL_Source] Message: POL GPG : Good signature
07/18/12 15:18:23 - [POL_Call] Message: Calling POL_Install_corefonts
07/18/12 15:18:25 - [POL_GPG_auth_script] Message: Checking signature of POL_Install_corefonts
07/18/12 15:18:25 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key
07/18/12 15:18:25 - [POL_Source] Message: POL GPG : Good signature
07/18/12 15:18:25 - [POL_Wine_InstallFonts] Message: Installing microsoft fonts
07/18/12 15:18:25 - [POL_Call] Message: Calling POL_Install_d3dx9
07/18/12 15:18:27 - [POL_GPG_auth_script] Message: Checking signature of POL_Install_d3dx9
07/18/12 15:18:27 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key
07/18/12 15:18:27 - [POL_Source] Message: POL GPG : Good signature
07/18/12 15:18:27 - [POL_Download_Resource] Message: Downloading resource http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe
07/18/12 15:18:27 - [source] Message: Extracting only x86 dlls
07/18/12 15:18:30 - [source] Message: Overriding all d3dx9 dlls
07/18/12 15:18:30 - [POL_Wine_OverrideDLL] Message: Overriting DLLs
07/18/12 15:18:30 - [POL_Wine] Message: Running wine-1.5.3-LeagueOfLegends regedit /home/steph/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/steph/.PlayOnLinux/ressources)
07/18/12 15:18:30 - [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
07/18/12 15:18:31 - [POL_Wine] Message: Wine return: 0
07/18/12 15:18:31 - [source] Message: Deleting temporary directories
07/18/12 15:18:31 - [POL_Call] Message: Calling POL_Install_wininet
07/18/12 15:18:32 - [POL_GPG_auth_script] Message: Checking signature of POL_Install_wininet
07/18/12 15:18:32 - [POL_GPG_install_key] Message: Importing PlayOnLinux public key
07/18/12 15:18:32 - [POL_Source] Message: POL GPG : Good signature
07/18/12 15:18:32 - [POL_Download_Resource] Message: Downloading resource http://download.microsoft.com/download/ie5/Update/1/WIN98/EN-US/3725.exe
07/18/12 15:18:32 - [POL_Wine_OverrideDLL] Message: Overriting DLLs
07/18/12 15:18:32 - [POL_Wine] Message: Running wine-1.5.3-LeagueOfLegends regedit /home/steph/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/steph/.PlayOnLinux/ressources/wininet)
07/18/12 15:18:33 - [POL_Wine] Message: Wine return: 0
07/18/12 15:18:33 - [Set_OS] Message: Setting Windows OS to win7 
07/18/12 15:18:33 - [POL_Wine] Message: Running wine-1.5.3-LeagueOfLegends regedit /home/steph/.PlayOnLinux//tmp/regkey.reg (Working directory : /home/steph/.PlayOnLinux)
07/18/12 15:18:33 - [POL_Wine] Message: Wine return: 0
07/18/12 15:18:36 - [POL_SetupWindow_InstallMethod] Message: Install method: DOWNLOAD
07/18/12 15:18:38 - [POL_Download] Message: Downloading http://server2.playonlinux.com/files/LeagueOfLegends.tar
07/18/12 16:07:26 - [main] Fatal: This is not a valid .tar file!
07/18/12 16:08:30 - [POL_SetupWindow_Close] Message: Closing window for pid 19132

History

Update by petch on 2012-07-19 01:26:41


Do you have enough free diskspace in your /home partition?
downloaded tarball size is 1681.3MB, then it needs to be decompressed, so you need 3.2GB free before the installation even starts, could be it the problem?

Update by stephsmithers on 2012-07-19 02:53:17

ive got plenty enough space left over 30GB, i tried it again and sometimes it comes up with this error and some times it works and doesnt come up with this error nd gets all the way through to installing in the wizard and creating a shortcut, i dont check the box with "launch LOL", when i click finish. so i created a shortcut from the configure menu in playonlinux and go to run the game and it shows a clipping of my desktop background slap bang in the middle of my screen which i cant do anything with other than hide my cursor. so its just a matter of luck wether when i go to reinstall wehter it gets through to the wizard or not, nd wen it finally finishes installing it doesnt work. THANX

Update by stephsmithers on 2012-07-19 03:14:49

ok its installed its open its updating, but i cant see a thing, the writing is all blurred like some and the pictures keep flashing on and off rapidly

Update by petch on 2012-07-19 03:27:02


Ok, so it was just that your connection is not reliable enough to always complete 1.6GB downloads.

Update by petch on 2012-12-01 10:22:01

  • Statut changed to Confirmed
  • Subject changed to Reliability issues with large downloads
  • Tracker changed to Bug


Update by petch on 2012-12-08 20:37:44

  • Priority changed to Low


Update by petch on 2012-12-21 10:34:55

  • Priority changed to Normal
  • Subject changed to Improve downloads error handling
  • Tracker changed to Feature


Changed title because I think the problem (and its solution) is more general than just large downloads reliability; Errors handling in general need more thought:
- when to automatically retry (and then how to retry gracefully and efficiently, back to "large downloads" question)
- when to give up and give useful feedback to the user
- allow manual retry?

See also bug report #1679 for an example of communication issue with the user.

Il n'y a rien à voir ici