GithubHelp home page GithubHelp logo

Error when running reiz-marker about pyreiz HOT 7 CLOSED

pyreiz avatar pyreiz commented on June 16, 2024
Error when running reiz-marker

from pyreiz.

Comments (7)

BettinaTrunk avatar BettinaTrunk commented on June 16, 2024 1

Going back to pyglet 1.5.0 as you suggested solved the error!

from pyreiz.

moan0s avatar moan0s commented on June 16, 2024

The error occurs for reiz-marker and reiz-marker -h

from pyreiz.

agricolab avatar agricolab commented on June 16, 2024

Can you also post the traceback, and your version on Python, Windows and reiz?

from pyreiz.

BettinaTrunk avatar BettinaTrunk commented on June 16, 2024

Sure:

  • Traceback:
    \
    Traceback (most recent call last):
    File "", line 983, in _find_and_load
    File "", line 967, in find_and_load_unlocked
    File "", line 677, in load_unlocked
    File "", line 728, in exec_module
    File "", line 219, in call_with_frames_removed
    File "C:\Users\AGNPT-M-001\Anaconda3\lib\site-packages\pyglet\media_init
    .py", line 143, in
    add_default_media_codecs()
    File "C:\Users\AGNPT-M-001\Anaconda3\lib\site-packages\pyglet\media\codecs_init
    .py", line 175, in add_default_media_codecs
    add_decoders(wmf)
    File "C:\Users\AGNPT-M-001\Anaconda3\lib\site-packages\pyglet\media\codecs_init.py", line 128, in add_decoders
    for decoder in module.get_decoders():
    File "C:\Users\AGNPT-M-001\Anaconda3\lib\site-packages\pyglet\media\codecs\wmf.py", line 890, in get_decoders
    return [WMFDecoder()]
    File "C:\Users\AGNPT-M-001\Anaconda3\lib\site-packages\pyglet\media\codecs\wmf.py", line 836, in init
    warnings.warn('WMF failed to initialize threading:', err.strerror)
    TypeError: category must be a Warning subclass, not 'str'
    \\

  • Python Version: 3.7

  • Windows Version: 10.0.17134

  • Reiz: pyglet-1.5.5

from pyreiz.

agricolab avatar agricolab commented on June 16, 2024

The traceback clearly shows that this is a an error within pyglet. Apparently they were working a lot on the WMF backend (see here). Try pip install pyglet==1.5.0 to rewind to an older version of pyglet and run reiz-marker afterwards again. If the error persists, you can also try older versions of pyglet, or install the most recent development branch from github.

from pyreiz.

agricolab avatar agricolab commented on June 16, 2024

See also pyglet/pyglet#174 and the partial fix with pyglet/pyglet#183

from pyreiz.

agricolab avatar agricolab commented on June 16, 2024

Can i get an update whether this error still persists?

from pyreiz.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.