Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

To change the jack from input to output for any computer or laptop I followed this question:

How do I change which audio jacks are used for input and output?

But the Python script does not work. This is the message I get:

$ sudo python
Using temporary directory: /dev/shm/hda-analyzer
You may remove this directory when finished or if you like to
download the most recent copy of hda-analyzer tool.
Downloading file
Downloading file
Downloading file
Downloading file
Downloading file
Downloading file
Downloaded all files, executing
Traceback (most recent call last):
  File "/dev/shm/hda-analyzer/", line 36, in <module>
    from hda_codec import HDACodec, HDA_card_list, HDA_Exporter_pyscript, \
  File "/run/shm/hda-analyzer/", line 330
IndentationError: expected an indented block
share|improve this question

closed as off topic by Takkat, user68186, Eric Carvalho, Raja, Seth May 1 '13 at 16:22

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

This is clearly a bug in the script from the ALSA project and should be reported there. As such this question is off topic here (seeFAQ). – Takkat May 1 '13 at 12:29

1 Answer 1

up vote 1 down vote accepted

Fixed all the basic problems and manged to open the GUI.

sudo wget -O /run/shm/hda-analyzer/

And then do

sudo python

share|improve this answer
Oops. I ll try and give the diff output – thefourtheye May 1 '13 at 12:39
Uploaded it to ideone :) – thefourtheye May 1 '13 at 12:50
Hope this is an unbreakable link then ;) – Takkat May 1 '13 at 12:51
Yup. Ideone is an awesome website. Please try that, if you haven’t yet. – thefourtheye May 1 '13 at 12:53
how do i save it – Scott Hunt May 1 '13 at 13:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.