Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410743 - app-cdr/recorder-1.4.1 - File "/usr/bin/recorder", line 68: TabError: inconsistent use of tabs and spaces in indentation'
Summary: app-cdr/recorder-1.4.1 - File "/usr/bin/recorder", line 68: TabError: inconsi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Optical Media project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-04 03:25 UTC by Calvin Kruse
Modified: 2012-04-04 21:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-cdr/recorder-1.4.1.ebuild.patch (recorder-1.4.1.ebuild.patch,284 bytes, patch)
2012-04-04 20:12 UTC, Godfath3r
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Calvin Kruse 2012-04-04 03:25:59 UTC
running recorder after a fresh install (never used it before) gives 'calvin@nerine ~ $ recorder
  File "/usr/bin/recorder", line 68
    self.window.connect("destroy", gtk.main_quit)
                                                ^
TabError: inconsistent use of tabs and spaces in indentation'

I've gone in and attempted to replace the spaced indents with tabs, and vice-verce, but I can't seem to quite get it fixed.


Reproducible: Always

Steps to Reproduce:
1.install app-cdr/recorder-1.4.1 with  USE="dvdr mp3 nls ogg vcd"
2.run recorder as normal user
Actual Results:  
recorder does not run and instead reports back
  File "/usr/bin/recorder", line 68
    self.window.connect("destroy", gtk.main_quit)
                                                ^
TabError: inconsistent use of tabs and spaces in indentation


Expected Results:  
a gui front-end to cdrecord pops up

don't think an emerge --info or anything else is as necessary. UTF-8 locale, if it matters. Seems like the dev just needs to pick a method and stick with it.
Comment 1 Godfath3r 2012-04-04 20:12:51 UTC
Created attachment 307829 [details, diff]
app-cdr/recorder-1.4.1.ebuild.patch
Comment 2 Godfath3r 2012-04-04 20:20:38 UTC
What's your python version?

With python version 2.7 selected (eselect python set) it works ok.
With python 3.2 I get the same error. So the ebuild must require python2 I suppose... 

If you can patch your ebuild with the one I attached and try... It should pull python2.7

(And yes, an emerge --info will give us your python version :P)
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-04-04 21:33:34 UTC
added 1.4.5 in portage and made it always use python-2.7