Giter Site home page Giter Site logo

Bug in cerealizer ? about fofix HOT 7 CLOSED

fofix avatar fofix commented on June 28, 2024
Bug in cerealizer ?

from fofix.

Comments (7)

Salamandar avatar Salamandar commented on June 28, 2024

BTW it seems to me I already had a similar error, a long time ago.

from fofix.

Salamandar avatar Salamandar commented on June 28, 2024

I commented the line 562, now it works. But what's the problem ?

from fofix.

mdsitton avatar mdsitton commented on June 28, 2024

What version of cerealizer are you using? the line numbers dont match up with 0.8.1

from fofix.

Salamandar avatar Salamandar commented on June 28, 2024

I'm using the 0.8.1 though :

pkgver=0.8.1
source=(https://pypi.python.org/packages/source/C/Cerealizer/Cerealizer-${pkgver}.tar.bz2)

from fofix.

mdsitton avatar mdsitton commented on June 28, 2024

I'm really not sure whats going on here. At some point i plan to get rid of the need to use cerealizer anyways. all its really used for atm is to upload scores to some kind of score tracking service (all of which are currently dead i think), and to save scores in ini files. So scores in the ini files imo are a bad idea, so eventually they will probably end up in an sqlite database somewhere.

from fofix.

shanebrowncs avatar shanebrowncs commented on June 28, 2024

I get this as well. Pulling the git repo with the fofix-git AUR package on arch.

Traceback (most recent call last):
  File "./FoFiX.py", line 156, in <module>
    from fofix.core.VideoPlayer import VideoLayer, VideoPlayerError
  File "/opt/fofix-git/fofix/core/VideoPlayer/__init__.py", line 1, in <module>
    from fofix.lib._VideoPlayer import *
  File "fofix/core/VideoPlayer/_VideoPlayer.pyx", line 100, in init fofix.core.VideoPlayer._VideoPlayer (fofix/core/VideoPlayer/_VideoPlayer.c:4286)
    from fofix.core.Input import KeyListener
  File "/opt/fofix-git/fofix/core/Input.py", line 39, in <module>
    from fofix.core.Player import Controls
  File "/opt/fofix-git/fofix/core/Player.py", line 34, in <module>
    from fofix.game import song
  File "/opt/fofix-git/fofix/game/song/__init__.py", line 1, in <module>
    from fofix.game.song.song import *
  File "/opt/fofix-git/fofix/game/song/song.py", line 36, in <module>
    import cerealizer
  File "/usr/lib/python2.7/site-packages/cerealizer/__init__.py", line 562, in <module>
    register(str       , StrHandler      ())
  File "/usr/lib/python2.7/site-packages/cerealizer/__init__.py", line 515, in register
    if Class in _HANDLERS_: raise ValueError("Class %s has already been registred!" % Class)
ValueError: Class <type 'str'> has already been registred!

Using AUR package python2-cerealizer(Version 0.8.1-2)

from fofix.

mdsitton avatar mdsitton commented on June 28, 2024

Ok so installing the version of cerealizer with pip works fine, the AUR package doesnt work fine... So technically this is an issue with the AUR package...

from fofix.

Related Issues (20)

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.