Package Details: brainworkshop 5.0.3-1

Git Clone URL: https://aur.archlinux.org/brainworkshop.git (read-only, click to copy)
Package Base: brainworkshop
Description: Brain Workshop is a free open-source version of the Dual N-Back mental exercise
Upstream URL: https://github.com/samcv/brainworkshop
Licenses: GPL
Submitter: xantares
Maintainer: xantares
Last Packager: xantares
Votes: 10
Popularity: 0.30
First Submitted: 2015-10-13 20:02 (UTC)
Last Updated: 2024-02-23 20:20 (UTC)

Latest Comments

1 2 3 4 Next › Last »

escorares commented on 2025-02-15 23:31 (UTC) (edited on 2025-02-16 12:10 (UTC) by escorares)

@E3LDDfrK Is this your error too? There was an issue for it: https://github.com/brain-workshop/brainworkshop/issues/59

Error: unable to load pyglet.  If you already installed pyglet, please ensure ctypes is installed.  Please visit http://pyglet.org
Full text of error:
Traceback (most recent call last):
  File "/usr/share/brainworkshop/brainworkshop.py", line 915, in <module>
    if NOVBO: pyglet.options['graphics_vbo'] = False
              ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pyglet/__init__.py", line 302, in __setitem__
    assert key in self.__annotations__, f"Invalid option name: '{key}'"
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Invalid option name: 'graphics_vbo'

I just decided to get back into DNB and alas, failing to build python-future on this new python version, and noticing that pyglet ostensibly depends on it made me think this recent situation is the culprit. That's a red herring.

It's an issue with the introduction of pyglet versions, in the vein of what @sime wrote.

E3LDDfrK commented on 2025-02-02 09:44 (UTC)

Currently both brainworkshop and brainworkshop-git don't work because of the python-pyglet issue and possibly python-future, right?

Error: unable to load pyglet.  If you already installed pyglet, please ensure ctypes is installed.

Looks like python-future on AUR can't be built too.

I just want to get smarter lol.

sime commented on 2024-02-22 22:37 (UTC)

Hello,

If I don't install the package "python-pyglet1.5" first, I got an error, and it't looks then in the original repo: https://github.com/brain-workshop/brainworkshop -> requirements.txt: the version is blocked to "pyglet 1.5"

@xantares : As pyglet is now 2.0 with some breaking changed, If you can simply modify the dependencies to only python-pyglet1.5 it will fix the problem

xantares commented on 2019-09-11 19:44 (UTC)

@josealb77 try brainworkshop-git

xantares commented on 2019-09-06 20:11 (UTC) (edited on 2019-09-06 20:11 (UTC) by xantares)

It needs a bit of python hacking, as pyglet switched from avbin to ffmpeg

there's a somewhat active fork here to contribute to:

https://github.com/samcv/brainworkshop

imheretoreport commented on 2019-09-06 19:16 (UTC) (edited on 2019-09-06 19:17 (UTC) by imheretoreport)

josealb77, downgrade python2-pyglet package to 1.3.2-2, it worked for me.

xantares, is there a way to make brain workshop work with the current version of python2-pyglet?

josealb77 commented on 2019-08-31 08:47 (UTC)

$ brainworkshop AVBin not detected. Music disabled. Download AVBin from: http://code.google.com/p/avbin/ Traceback (most recent call last): File "/usr/share/brainworkshop/brainworkshop.pyw", line 4618, in <module> brain_icon.set_position(field.center_x - brain_icon.width//2, AttributeError: 'Sprite' object has no attribute 'set_position'

I've got installed avbin7 7.0.0-1 and brainworkshop 4.8.4-7

josealb77 commented on 2017-12-03 20:28 (UTC)

josealb77, I reverted back to avbin7, does that fix your problem?

Yes ;)

xantares commented on 2017-12-02 10:21 (UTC)

josealb77, I reverted back to avbin7, does that fix your problem?

xantares commented on 2017-12-01 08:05 (UTC)

could you try running gdb ?