#1 Le 24/04/2009, à 21:01
- gvh
Wubi: TypeError et filepath vers un repository wubi hardcodé
J'essaye de réinstaller Ubuntu via Wubi.
J'ai le problème suivant, cf log.
04-24 21:50 DEBUG CommonBackend: Fetching basic info...
04-24 21:50 DEBUG CommonBackend: original_exe=E:\wubi.exe
04-24 21:50 DEBUG CommonBackend: platform=win32
04-24 21:50 DEBUG CommonBackend: osname=nt
04-24 21:50 DEBUG CommonBackend: language=fr_BE
04-24 21:50 DEBUG CommonBackend: encoding=cp1252
04-24 21:50 DEBUG WindowsBackend: arch=i386
04-24 21:50 DEBUG CommonBackend: Parsing isolist=C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp\data\isolist.ini
04-24 21:50 DEBUG CommonBackend: Adding distro Xubuntu-i386
04-24 21:50 DEBUG CommonBackend: Adding distro Xubuntu-amd64
04-24 21:50 DEBUG CommonBackend: Adding distro Kubuntu-amd64
04-24 21:50 DEBUG CommonBackend: Adding distro Mythbuntu-i386
04-24 21:50 DEBUG CommonBackend: Adding distro Ubuntu-amd64
04-24 21:50 DEBUG CommonBackend: Adding distro Ubuntu-i386
04-24 21:50 DEBUG CommonBackend: Adding distro Mythbuntu-amd64
04-24 21:50 DEBUG CommonBackend: Adding distro Kubuntu-i386
04-24 21:50 DEBUG WindowsBackend: Fetching host info...
04-24 21:50 DEBUG WindowsBackend: registry_key=Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi
04-24 21:50 DEBUG WindowsBackend: windows version=xp
04-24 21:50 DEBUG WindowsBackend: windows_version2=Microsoft Windows XP
04-24 21:50 DEBUG WindowsBackend: windows_sp=Service Pack 3
04-24 21:50 DEBUG WindowsBackend: windows_build=2600
04-24 21:50 DEBUG WindowsBackend: gmt=1
04-24 21:50 DEBUG WindowsBackend: country=BE
04-24 21:50 DEBUG WindowsBackend: timezone=Europe/Brussels
04-24 21:50 DEBUG WindowsBackend: windows_username=Gerald.VanHuffelen
04-24 21:50 DEBUG WindowsBackend: user_full_name=Gerald.VanHuffelen
04-24 21:50 DEBUG WindowsBackend: user_directory=Gerald.VanHuffelen
04-24 21:50 DEBUG WindowsBackend: windows_language_code=1036
04-24 21:50 DEBUG WindowsBackend: windows_language=French
04-24 21:50 DEBUG WindowsBackend: processor_name= Intel(R) Pentium(R) M processor 1.86GHz
04-24 21:50 DEBUG WindowsBackend: bootloader=xp
04-24 21:50 DEBUG WindowsBackend: system_drive=Drive(C: hd 9955.21875 mb free )
04-24 21:50 DEBUG WindowsBackend: drive=Drive(C: hd 9955.21875 mb free )
04-24 21:50 DEBUG WindowsBackend: drive=Drive(D: cd 0.0 mb free )
04-24 21:50 DEBUG WindowsBackend: drive=Drive(E: cd 0.0 mb free cdfs)
04-24 21:50 DEBUG WindowsBackend: uninstaller_path=None
04-24 21:50 DEBUG WindowsBackend: previous_target_dir=None
04-24 21:50 DEBUG WindowsBackend: previous_distro_name=None
04-24 21:50 DEBUG WindowsBackend: keyboard_id=135006220
04-24 21:50 DEBUG WindowsBackend: keyboard_layout=be
04-24 21:50 DEBUG WindowsBackend: keyboard_variant=
04-24 21:50 DEBUG CommonBackend: locale=fr_BE.UTF-8
04-24 21:50 DEBUG WindowsBackend: total_memory_mb=1535.390625
04-24 21:50 DEBUG CommonBackend: Searching ISOs on USB devices
04-24 21:50 DEBUG CommonBackend: Searching for local CDs
04-24 21:50 DEBUG Distro: checking whether C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp is a valid Ubuntu CD
04-24 21:50 DEBUG Distro: does not contain C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp\casper\filesystem.squashfs
04-24 21:50 DEBUG Distro: checking whether C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp is a valid Ubuntu CD
04-24 21:50 DEBUG Distro: does not contain C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp\casper\filesystem.squashfs
04-24 21:50 DEBUG Distro: checking whether C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp is a valid Kubuntu CD
04-24 21:50 DEBUG Distro: does not contain C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp\casper\filesystem.squashfs
04-24 21:50 DEBUG Distro: checking whether C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp is a valid Kubuntu CD
04-24 21:50 DEBUG Distro: does not contain C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp\casper\filesystem.squashfs
04-24 21:50 DEBUG Distro: checking whether C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp is a valid Xubuntu CD
04-24 21:50 DEBUG Distro: does not contain C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp\casper\filesystem.squashfs
04-24 21:50 DEBUG Distro: checking whether C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp is a valid Xubuntu CD
04-24 21:50 DEBUG Distro: does not contain C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp\casper\filesystem.squashfs
04-24 21:50 DEBUG Distro: checking whether C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp is a valid Mythbuntu CD
04-24 21:50 DEBUG Distro: does not contain C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp\casper\filesystem.squashfs
04-24 21:50 DEBUG Distro: checking whether C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp is a valid Mythbuntu CD
04-24 21:50 DEBUG Distro: does not contain C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp\casper\filesystem.squashfs
04-24 21:50 DEBUG Distro: checking whether D:\ is a valid Ubuntu CD
04-24 21:50 DEBUG Distro: does not contain D:\casper\filesystem.squashfs
04-24 21:50 DEBUG Distro: checking whether D:\ is a valid Ubuntu CD
04-24 21:50 DEBUG Distro: does not contain D:\casper\filesystem.squashfs
04-24 21:50 DEBUG Distro: checking whether D:\ is a valid Kubuntu CD
04-24 21:50 DEBUG Distro: does not contain D:\casper\filesystem.squashfs
04-24 21:50 DEBUG Distro: checking whether D:\ is a valid Kubuntu CD
04-24 21:50 DEBUG Distro: does not contain D:\casper\filesystem.squashfs
04-24 21:50 DEBUG Distro: checking whether D:\ is a valid Xubuntu CD
04-24 21:50 DEBUG Distro: does not contain D:\casper\filesystem.squashfs
04-24 21:50 DEBUG Distro: checking whether D:\ is a valid Xubuntu CD
04-24 21:50 DEBUG Distro: does not contain D:\casper\filesystem.squashfs
04-24 21:50 DEBUG Distro: checking whether D:\ is a valid Mythbuntu CD
04-24 21:50 DEBUG Distro: does not contain D:\casper\filesystem.squashfs
04-24 21:50 DEBUG Distro: checking whether D:\ is a valid Mythbuntu CD
04-24 21:50 DEBUG Distro: does not contain D:\casper\filesystem.squashfs
04-24 21:50 DEBUG Distro: checking whether E:\ is a valid Ubuntu CD
04-24 21:50 DEBUG Distro: wrong arch: i386 != amd64
04-24 21:50 DEBUG Distro: checking whether E:\ is a valid Ubuntu CD
04-24 21:50 INFO Distro: Found a valid CD for Ubuntu: E:\
04-24 21:50 INFO root: Running the installer...
04-24 21:50 DEBUG WinuiInstallationPage: target_drive=C:, installation_size=8000MB, distro_name=Ubuntu, language=English, username=gvanhuffelen
04-24 21:50 INFO root: Received settings
04-24 21:50 DEBUG TaskList: # Running tasklist...
04-24 21:50 DEBUG TaskList: ## Running select_target_dir...
04-24 21:50 INFO WindowsBackend: Installing into C:\ubuntu
04-24 21:50 DEBUG TaskList: ## Finished select_target_dir
04-24 21:50 DEBUG TaskList: ## Running create_dir_structure...
04-24 21:50 DEBUG CommonBackend: Creating dir C:\ubuntu
04-24 21:50 DEBUG CommonBackend: Creating dir C:\ubuntu\disks
04-24 21:50 DEBUG CommonBackend: Creating dir C:\ubuntu\install
04-24 21:50 DEBUG CommonBackend: Creating dir C:\ubuntu\install\boot
04-24 21:50 DEBUG CommonBackend: Creating dir C:\ubuntu\disks\boot
04-24 21:50 DEBUG CommonBackend: Creating dir C:\ubuntu\disks\boot\grub
04-24 21:50 DEBUG CommonBackend: Creating dir C:\ubuntu\install\boot\grub
04-24 21:50 DEBUG TaskList: ## Finished create_dir_structure
04-24 21:50 DEBUG TaskList: ## Running uncompress_target_dir...
04-24 21:50 DEBUG TaskList: ## Finished uncompress_target_dir
04-24 21:50 DEBUG TaskList: ## Running create_uninstaller...
04-24 21:50 DEBUG WindowsBackend: Copying uninstaller E:\wubi.exe -> C:\ubuntu\uninstall-wubi.exe
04-24 21:50 DEBUG registry: Setting registry key -2147483646 Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi UninstallString C:\ubuntu\uninstall-wubi.exe
04-24 21:50 DEBUG registry: Setting registry key -2147483646 Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi InstallationDir C:\ubuntu
04-24 21:50 DEBUG registry: Setting registry key -2147483646 Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi DisplayName Ubuntu
04-24 21:50 DEBUG registry: Setting registry key -2147483646 Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi DisplayIcon C:\ubuntu\Ubuntu.ico
04-24 21:50 DEBUG registry: Setting registry key -2147483646 Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi DisplayVersion 9.04-rev128
04-24 21:50 DEBUG registry: Setting registry key -2147483646 Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi Publisher Ubuntu
04-24 21:50 DEBUG registry: Setting registry key -2147483646 Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi URLInfoAbout http://www.ubuntu.com
04-24 21:50 DEBUG registry: Setting registry key -2147483646 Software\Microsoft\Windows\CurrentVersion\Uninstall\Wubi HelpLink http://www.ubuntu.com/support
04-24 21:50 DEBUG TaskList: ## Finished create_uninstaller
04-24 21:50 DEBUG TaskList: ## Running copy_installation_files...
04-24 21:50 DEBUG WindowsBackend: Copying C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp\data\custom-installation -> C:\ubuntu\install\custom-installation
04-24 21:50 DEBUG WindowsBackend: Copying C:\DOCUME~1\GERALD~1.VAN\LOCALS~1\Temp\pyl12.tmp\winboot -> C:\ubuntu\winboot
04-24 21:50 ERROR TaskList: writelines() argument must be a sequence of strings
Traceback (most recent call last):
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\backends\common\tasklist.py", line 196, in __call__
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\backends\win32\backend.py", line 161, in copy_installation_files
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\backends\common\utils.py", line 257, in replace_line_in_file
TypeError: writelines() argument must be a sequence of strings
04-24 21:50 DEBUG TaskList: # Cancelling tasklist
04-24 21:50 ERROR root: writelines() argument must be a sequence of strings
Traceback (most recent call last):
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\application.py", line 55, in run
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\application.py", line 125, in select_task
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\application.py", line 193, in run_cd_menu
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\application.py", line 117, in select_task
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\application.py", line 155, in run_installer
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\frontends\win32\frontend.py", line 137, in run_tasks
TypeError: writelines() argument must be a sequence of strings
04-24 21:50 DEBUG TaskList: # Finished tasklist
Plusieurs lignes m'interpellent:
Traceback (most recent call last):
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\backends\common\tasklist.py", line 196, in __call__
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\backends\win32\backend.py", line 161, in copy_installation_files
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\backends\common\utils.py", line 257, in replace_line_in_file
TypeError: writelines() argument must be a sequence of strings
04-24 21:50 DEBUG TaskList: # Cancelling tasklist
04-24 21:50 ERROR root: writelines() argument must be a sequence of strings
Traceback (most recent call last):
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\application.py", line 55, in run
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\application.py", line 125, in select_task
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\application.py", line 193, in run_cd_menu
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\application.py", line 117, in select_task
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\application.py", line 155, in run_installer
File "Z:\home\evan\bzr\wubi.trunk\build\wubi\files\lib\wubi\frontends\win32\frontend.py", line 137, in run_tasks
TypeError: writelines() argument must be a sequence of strings
Je rêve ou il va chercher après un fichier sur le répository bazaar de ce gars?
Une idée de ce que je peux faire pour réussir l'installation?
Merci d'avance,
Gérald
Ubuntero!
Hors ligne
#2 Le 25/04/2009, à 10:44
- malbo
Re : Wubi: TypeError et filepath vers un repository wubi hardcodé
C'est un peu trop technique pour moi et je crains de ne pouvoir t'aider mais je reste un peu coincé sur ta première phrase :
"J'essaye de réinstaller Ubuntu via Wubi"
Ma question : doit-on comprendre que Ubuntu a déjà été installé dans ce PC par la méthode Wubi ? Ou bien veux-tu dire que Ubuntu a déjà été installé dans ce PC mais par une méthode d'installation classique ?
Si c'est la première proposition (précédente install façon Wubi), as-tu bien désinstallé par cette procédure :
http://doc.ubuntu-fr.org/wubi#impossible_de_desinstaller_wubi
C'est à dire avec le désinstallateur "Uninstall-Ubuntu.exe" préalablement téléchargé dans tes documents sous windows. Sinon, je te suggère de refaire cela avec Uninstall-Ubuntu.exe car c'est vraiment le nettoyage parfait.
Si tu dois sauvegarder ton dossier "ubuntu" avant, utilise cette procédure :
http://forum.ubuntu-fr.org/viewtopic.php?pid=2566669#p2566669
sauf que toi, tu ne vas pas réinstaller Windows mais c'est le principe qui est à comprendre.
Hors ligne
#3 Le 25/04/2009, à 18:15
- gvh
Re : Wubi: TypeError et filepath vers un repository wubi hardcodé
J'avais déjà installé la 8.10 via Wubi.
Pour passer à la 9.04, j'ai d'abord laissé Ubuntu faire sa migration, comme proposé dans le module de mise-à-jour.
J'ai juste attendu vendredi après-midi pour le faire, me disant que la saturation des serveurs serait peut-être de l'histoire ancienne.
Malheureusement la migration ne s'est pas passé correctement (messages d'erreurs, etc...)
Pour installer la 9.04, j'ai d'abord désinstallé la 8.10 en passant par "Add or remove programs".
J'ai essayé le uninstall-ubuntu, dont tu donnes le lien.
Il a effectivement encore nettoyé 2-3 choses, mais ça n'a rien changé.
Tout ce que j'avais à sauvegarder était fait, pas de soucis de ce côté-là. Je n'ai rien perdu.
Là je retente la solution suivante: j'installe la 8.10 et je re-ferai une migration. On verra bien
Ubuntero!
Hors ligne
#4 Le 26/04/2009, à 12:09
- gvh
Re : Wubi: TypeError et filepath vers un repository wubi hardcodé
Hello,
La ré-installation de 8.10 et la migration a donné de bons résultats.
J'ai soumis le problème sur launchpad. Si il y a des infos, je les partagerai ici.
Bon we,
Gérald
Ubuntero!
Hors ligne
#5 Le 26/04/2009, à 13:35
- malbo
Re : Wubi: TypeError et filepath vers un repository wubi hardcodé
Merci pour l'info
Hors ligne