Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352216 - app-emulation/playonlinux-3.8.8 postinstall failed
Summary: app-emulation/playonlinux-3.8.8 postinstall failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Mounir Lamouri (volkmar) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-20 09:54 UTC by Oleg Akimov
Modified: 2011-04-17 12:28 UTC (History)
1 user (show)

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


Attachments
emerge.info (emerge.info,4.77 KB, text/plain)
2011-01-21 15:43 UTC, Oleg Akimov
Details
broken file (new_guiv3.py,21.13 KB, text/plain)
2011-01-21 15:44 UTC, Oleg Akimov
Details
build.log (build.log,1.88 KB, text/plain)
2011-01-21 16:02 UTC, Oleg Akimov
Details
patch for new_guiv3.py (new_guiv3.patch,19 bytes, patch)
2011-01-21 16:07 UTC, Oleg Akimov
Details | Diff
new_guiv3.patch (new_guiv3.patch,387 bytes, patch)
2011-03-27 14:22 UTC, Chema
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Akimov 2011-01-20 09:54:08 UTC
/usr/share/games/playonlinux/python/new_guiv3.py is broken (unexpecred ! in code):

...
--- /usr/share/pixmaps/
>>> /usr/share/pixmaps/playonlinux.png
 * Remember, in order to play games, you have to
 * be in the 'games' group.

 * Just run 'gpasswd -a <USER> games', then have <USER> re-login.

 * For more info about Gentoo gaming in general, see our website:
 *    http://games.gentoo.org/

 * Compilation and optimization of Python modules for CPython 2.6 ...
Compiling /usr/share/games/playonlinux/python/new_guiv3.py ...
Sorry: IndentationError: ('unindent does not match any outer indentation level', ('/usr/share/games/playonlinux/python/new_guiv3.py', 565, 9, '\t\t\t\t\t\t !\n')) 



Reproducible: Always

Steps to Reproduce:
1. unmask app-emulation/playonlinux-3.8.8
2. emerge -va app-emulation/playonlinux

Actual Results:  
postinstall failed

Expected Results:  
postinstall must be ok

look at new_guiv3.py:

-- cut --
                            if(self.fichier[1] == "question\n"):
                                self.DrawHeader()
                                self.texte.SetLabel(self.fichier[2].replace("\\n","\n"))
                                self.texte.Show()
                                    
                                self.titre.SetLabel(self.fichier[3])
                                self.titre.Show()
                                    
                                #self.titre.SetFont(self.fontText)
                                self.YesButton.Show()
                                self.NoButton.Show()

                            !
                        ^^^^^^^^^  line 565 contains lonely exclamation

                            if(self.fichier[1] == "make_shortcut\n"):
                                self.DrawHeader()
-- cut --
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2011-01-21 12:51:52 UTC
emerge --info and build.log plz
Comment 2 Oleg Akimov 2011-01-21 15:43:14 UTC
Created attachment 260443 [details]
emerge.info
Comment 3 Oleg Akimov 2011-01-21 15:44:14 UTC
Created attachment 260445 [details]
broken file

 * Compilation and optimization of Python modules for CPython 2.6 ...
Compiling /usr/share/games/playonlinux/python/new_guiv3.py ...
Sorry: IndentationError: ('unindent does not match any outer indentation level', ('/usr/share/games/playonlinux/python/new_guiv3.py', 565, 9, '\t\t\t\t\t\t !\n
'))
<<< /usr/share/games/playonlinux/python/new_guiv3.py[co]                                                                                                [ !! ]
>>> Auto-cleaning packages...
Comment 4 Oleg Akimov 2011-01-21 16:02:44 UTC
Created attachment 260448 [details]
build.log
Comment 5 Oleg Akimov 2011-01-21 16:07:45 UTC
Created attachment 260450 [details, diff]
patch for new_guiv3.py

removing unexpected exclamation
Comment 6 Chema 2011-03-27 14:22:29 UTC
Created attachment 267399 [details, diff]
new_guiv3.patch
Comment 7 Chema 2011-03-27 14:23:19 UTC
I added a working patch, at least for me, i hope it works for everyone else.
Comment 8 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2011-04-17 12:28:20 UTC
Fixed by upstream in 3.8.12.