Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 run.py
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 hda_analyzer.py
Downloading file hda_guilib.py
Downloading file hda_codec.py
Downloading file hda_proc.py
Downloading file hda_graph.py
Downloading file hda_mixer.py
Downloaded all files, executing hda_analyzer.py
Traceback (most recent call last):
  File "/dev/shm/hda-analyzer/hda_analyzer.py", line 36, in <module>
    from hda_codec import HDACodec, HDA_card_list, HDA_Exporter_pyscript, \
  File "/run/shm/hda-analyzer/hda_codec.py", line 330
    self.reread()
       ^
IndentationError: expected an indented block
share|improve this question

closed as off topic by Takkat, user68186, Eric Carvalho, AgentCool, 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/hda_codec.py http://ideone.com/plain/I0Tje0

And then do

sudo python run.py

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.