UNSOLVED

hcancelik

updated

11 years ago

H

hcancelik

1 Rookie

•

9 Posts

1

135832

August 2nd, 2015 09:00

XPS 13 (9343) Ubuntu Driver Installation Problem

I'm trying to install XPS13_A08.fish.tar.gz with Dell Driver Installer however after I click install button I get this error.

Exception

Traceback(most recent call last):

File "usr/lib/python3/dist-packages/dbus/service.py", line 707, in_message_cbretval = candidate_method(self, *args, **keywords)

File "usr/lib/python3/dist-packages/Dell/recovery_backend.py", line 840, in install_driver_package

wdf.write(output)

TypeError: must be str, not bytes

Any help?

  • imathon

    3 Posts

    1600

    0

    Posted August 2nd, 2015 13:00

    Same here with brand new XPS 13 with pre-installed Ubuntu 14.04

    Linux 3.13.0-37-generic #64bdw1-Ubuntu SMP Thu Sep 25 14:01:25 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

  • hcancelik

    1 Rookie

    •

    9 Posts

    1600

    0

    Posted August 3rd, 2015 20:00

    There is actually Ubuntu 15.04  realesed which I tried also installing / upgrading. There is more support with 15.04 but still this computer is not compatible with Ubuntu out of the box.

  • imathon

    3 Posts

    1600

    0

    Posted August 11th, 2015 01:00

    The Ubuntu Software Center app included an update of the Dell Driver Installer app last week. The updated app will install XPS13_A08.fish.tar.gz OK.

  • illuque

    1 Message

    1600

    0

    Posted August 12th, 2015 15:00

    The last Dell Driver Installer didn't work for me, using Ubuntu 14.04.3 ISO. Same python problem.

  • imathon

    3 Posts

    1600

    0

    Posted August 13th, 2015 08:00

    You may want to uncompress the tar.gz and have direct access to all the individual files .deb

    They can be installed one at a time with $sudo dpkg -i filename.deb

    The synaptic .deb files might work.

  • CereS2009

    9 Posts

    1600

    0

    Posted August 31st, 2015 03:00

    Hi,

    is the driver package only for 14.04 or can it be used with 15.04 also?

    I'm still having trackpad issues under any 15.04 flavor and with any actual kernel.

    Tried fresh 4.2 today - still unusable trackpad.

    Best,

     C.

  • cfree918

    2 Posts

    1600

    0

    Posted September 1st, 2015 17:00

    Has anyone found a solution to this?

  • gagaus

    2 Posts

    1600

    0

    Posted September 1st, 2015 20:00

    Same problem here

  • CereS2009

    9 Posts

    1599

    1

    Posted September 2nd, 2015 16:00

    Hi,

    as i kind of hijacked this thread i crossposted here, since there is more traffic:

    http://en.community.dell.com/techcenter/os-applications/f/4613/t/19650961

    Honestly @Dell am i missing something obvious here?

    @Dell this is a decent piece of hardware planned to be a "MacBook Air" Killer, having hardware that simply isn't well supported under linux. I never had the repeating keyboard issue, but BC WifFi costing hours of configuration and lots of kernel panics. Furthermore an simply unusable Touchpad.

    I saw theres a windows firmware update for the trackpad. is there an pendant to this for linux, is it needed or does the kernel 4.2 bringing in the firmware?

    Can or do i have to install the firmware with a Windows PE Stick?

    how can i diagnose weather it is a hardware defect?

    After 4 months i'm getting uncomfortable now,

     C.

  • ast4

    4 Posts

    792

    1

    Posted October 11th, 2015 11:00

    I was having this issue with my M3800, specifically trying to install the drivers under Ubuntu Gnome 14.04.3

    Eventually I was able to fix the problems and get the drivers installed and this is how: 

    1) create user named oem, so sudo -i; adduser oem

    2) within the your python dist-packages, there's a dell library and in it there's a file called recovery_backend.py. The path where this existed for me was /usr/lib/python3/dist-packages/Dell/recovery_backend.py. On line 839, it should read: with open(os.path.join(deb_dir, 'Packages'), 'w') as wfd: change 'w' to 'wb'. Save and close this. (You will need superuser permissions to do this)

    3) within the same dist-packages folder there will be a file called driver_gtk.py and on line 232 it should read if type(tid) == dbus.UTF8String. If the version of the python dbus lib you're running is <.8 then you need to change dbus.UTF8String to dbus.String.

    Finally run the driver installer and things should install. The problem at hand seems like a mismatch in the python library dependencies. The issue could probably be solved by updating some of the deps, but I don't know - was too lazy to figure out which versions were needed. If any developers for Dell are reading this, it would probably be prudent to deploy software like this in the future using a virtual environment.