Seite 1 von 1

Problem with create_driver_links

Verfasst: 27 Jul 2012, 16:30
von o.ferre
Hi

i've got this message when i try to do a create_driver_links.py :

'ascii' codec can't decode byte 0xc2 in position 15: ordinal not in range(128)

if someone knows this problem
thanks
O.Ferre

(Server : Debian 6.0 ; Opsi Version : 4.0)

Re: Problem with create_driver_links

Verfasst: 27 Jul 2012, 16:56
von ueluekmen
Hi,

please run:

Code: Alles auswählen

./create_driver_links.py -d
and post the output.

Re: Problem with create_driver_links

Verfasst: 27 Jul 2012, 17:54
von o.ferre
Hi

this is the output of the command
Command 'wget' found at: '/usr/bin/wget'
Command 'cabextract' found at: '/usr/bin/cabextract'
Buildin drivers dir '/opt/pcbin/install/winxppro/drivers/drivers/buildin' already exists
Deleting link directory '/opt/pcbin/install/winxppro/drivers/classes'
Traceback:
line 300 in '<module>' in file './create_driver_links.py'
line 95 in 'unlink' in file './create_driver_links.py'
line 212 in 'rmtree' in file '/usr/lib/python2.6/shutil.py'
line 212 in 'rmtree' in file '/usr/lib/python2.6/shutil.py'
line 206 in 'rmtree' in file '/usr/lib/python2.6/shutil.py'
line 70 in 'join' in file '/usr/lib/python2.6/posixpath.py'
==>>> 'ascii' codec can't decode byte 0xc2 in position 15: ordinal not in range(128)
'ascii' codec can't decode byte 0xc2 in position 15: ordinal not in range(128)

Re: Problem with create_driver_links

Verfasst: 01 Aug 2012, 11:05
von ueluekmen
Hi,

please remove the following directories and files:

Code: Alles auswählen

rm -R /opt/pcbin/install/winxppro/drivers/classes
rm -R /opt/pcbin/install/winxppro/drivers/pciids
rm -R /opt/pcbin/install/winxppro/drivers/usbids
rm -R /opt/pcbin/install/winxppro/drivers/hdaudioids
rm -R /opt/pcbin/install/winxppro/drivers/vendors

rm /opt/pcbin/install/winxppro/drivers/pci.ids
rm /opt/pcbin/install/winxppro/drivers/usb.ids
after that try to run create_driver_links again.