Touchpad-Indicator crashes on start

Bug #1483954 reported by Tim romig
48
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Touchpad-indicator
Fix Released
Undecided
Lorenzo Carbonell

Bug Description

Tried launching after a fresh install of Xubuntu 14.04 LTS. Installed from PPA. It looks to me as if it did not install correctly. I have purged and tried to re-install as well with no joy.
.
Here's console output.

gimormit@Destiny:~$ /opt/extras.ubuntu.com/touchpad-indicator/bin/touchpad-indicator
<gettext.GNUTranslations object at 0x7fdd0805c4a8>
#####################################################
No LSB modules are available.
#####################################################
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
Version: x86_64
#####################################################

Touchpad-Indicator version: 1.0.5-0extras15.04.0-src
#####################################################
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/touchpad-indicator/bin/touchpad-indicator", line 42, in <module>
    main()
  File "/opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/touchpad_indicator.py", line 483, in main
    tpi=TouchpadIndicator()
  File "/opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/touchpad_indicator.py", line 95, in __init__
    self.read_preferences()
  File "/opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/touchpad_indicator.py", line 227, in read_preferences
    configuration = Configuration()
  File "/opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/configurator.py", line 32, in __init__
    self.read()
  File "/opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/configurator.py", line 56, in read
    f=codecs.open(comun.CONFIG_FILE,'r','utf-8')
  File "/usr/lib/python3.4/codecs.py", line 896, in open
    file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: '/home/gimormit/.config/touchpad-indicator/touchpad-indicator.conf'

Tags: crash startup
Revision history for this message
MD4 (bruno-mueller) wrote :

I created the directory .config/touchpad-indicator but still get the same error

Revision history for this message
MD4 (bruno-mueller) wrote :

I am using using Ubuntu 15.04 and get the follwoing:
susan@srhp:~$ /opt/extras.ubuntu.com/touchpad-indicator/bin/touchpad-indicator &
[1] 4203
susan@srhp:~$ <gettext.GNUTranslations object at 0x7fa5c0009be0>
#####################################################
No LSB modules are available.
#####################################################
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid
Version: x86_64
#####################################################

Touchpad-Indicator version: 1.0.5-0extras15.04.0-src
#####################################################
Traceback (most recent call last):
  File "/opt/extras.ubuntu.com/touchpad-indicator/bin/touchpad-indicator", line 42, in <module>
    main()
  File "/opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/touchpad_indicator.py", line 483, in main
    tpi=TouchpadIndicator()
  File "/opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/touchpad_indicator.py", line 95, in __init__
    self.read_preferences()
  File "/opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/touchpad_indicator.py", line 227, in read_preferences
    configuration = Configuration()
  File "/opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/configurator.py", line 32, in __init__
    self.read()
  File "/opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/configurator.py", line 56, in read
    f=codecs.open(comun.CONFIG_FILE,'r','utf-8')
  File "/usr/lib/python3.4/codecs.py", line 891, in open
    file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: '/home/susan/.config/touchpad-indicator/touchpad-indicator.conf'

[1]+ Exit 1 /opt/extras.ubuntu.com/touchpad-indicator/bin/touchpad-indicator

Revision history for this message
SilverFire (d-naumenko-a) wrote :

Confirmin crashing on Ubuntu 15.04

After creating ~/touchpad-indicator/touchpad-indicator.conf have an error:

touchpad-indicator crashed with OSError in /opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/comun.py: [Errno 5] Input/output error

Revision history for this message
Papatravka (papatravka) wrote :

Confirmin crashing on Ubuntu 14.04

After creating ~/touchpad-indicator/touchpad-indicator.conf have an error:

touchpad-indicator crashed with OSError in /opt/extras.ubuntu.com/touchpad-indicator/share/touchpad-indicator/comun.py: [Errno 5] Input/output error

Revision history for this message
Nicholas McCurdy (nick-mccurdy) wrote :

I encountered this with Ubuntu 15.04 with exactly the same result as MD4 above. Following the comments from this related thread: https://bugs.launchpad.net/touchpad-indicator/+bug/1476064

I applied the following command with a successful outcome:

echo '{}' > ~/.config/touchpad-indicator/touchpad-indicator.conf

So far, everything is working fine again.

Revision history for this message
MD4 (bruno-mueller) wrote :

Hi Nick

Thanks for the tip now it works

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

It seems crashes only 1.0.5 version, I'm using older 1.0.4 version without problems :)
working touchpad-indicator 1.0.4 can be installed from official Ubuntu-derivative Baltix repository:
ppa:baltix-members/ppa
See https://launchpad.net/~baltix-members/+archive/ubuntu/ppa/+packages?field.name_filter=touchpad-indicator

Changed in touchpad-indicator:
status: New → Confirmed
Revision history for this message
tellapu (tellapu) wrote :

Same happens to me (also 1.0.5). Nick's workaround (comment 5 - https://bugs.launchpad.net/touchpad-indicator/+bug/1483954/comments/5) works for me, too, after creating the folder .config/touchpad-indicator (as mentioned in comment 1).

Revision history for this message
synion (lach-szymon86) wrote :

hello I also add permission to touchpad-indicator.conf and after that it was start so put comannd
chmod 777 touchpad-indicator.conf

Changed in touchpad-indicator:
assignee: nobody → Lorenzo Carbonell (lorenzo-carbonell)
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.