Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 654510

Summary: games-puzzle/brainworkshop doesn't run
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: Pending removal: 2018-07-17
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 574082    

Description Pacho Ramos gentoo-dev 2018-05-01 10:35:02 UTC
I get:
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/brainworkshop", line 721, in <module>
    check_and_move_user_data()
  File "/usr/lib/python-exec/python2.7/brainworkshop", line 605, in check_and_move_user_data
    shutil.copytree(get_old_data_dir(), get_data_dir())
  File "/usr/lib64/python2.7/shutil.py", line 191, in copytree
    os.makedirs(dst)
  File "/usr/lib64/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 17] File exists: '/home/pacho/.brainworkshop'

it doesn't matter if the file exists or not
Comment 1 Samantha McVey 2018-07-10 10:52:59 UTC
I have made a fork of brainworkshop that does work (since the original is not maintained at all) as well as fixing many bugs.

Let me know if there's any chance in gentoo switching. The repo is here: https://github.com/samcv/brainworkshop

It's a nice brain game and I would be sad if it cannot be in portage anymore. Let me know if I can work with you to get my maintained version in portage.
Comment 2 James Le Cuirot gentoo-dev 2018-07-14 12:32:48 UTC
I've mostly fixed the ebuild, will write more later.
Comment 3 Larry the Git Cow gentoo-dev 2018-07-24 21:38:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b74766ad5f4cf1735009a302a1ad49a0290ffaa

commit 5b74766ad5f4cf1735009a302a1ad49a0290ffaa
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2018-07-24 21:36:18 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2018-07-24 21:36:18 +0000

    games-puzzle/brainworkshop: Version bump to 5_beta20180712
    
    This has a new upstream.
    
    Closes: https://bugs.gentoo.org/654510
    Package-Manager: Portage-2.3.43, Repoman-2.3.10

 games-puzzle/brainworkshop/Manifest                |  1 +
 .../brainworkshop-5_beta20180712.ebuild            | 52 ++++++++++++++++++++++
 .../files/brainworkshop-5-fix-paths.patch          | 38 ++++++++++++++++
 games-puzzle/brainworkshop/metadata.xml            |  1 +
 4 files changed, 92 insertions(+)