Coder Social home page Coder Social logo

Comments (10)

flozz avatar flozz commented on August 25, 2024

I will try to fix that Monday or Tuesday, and I will add some tests to automatically check that everything work on Python 2 and Python 3

from rivalcfg.

flozz avatar flozz commented on August 25, 2024

I am not able to reproduce this bug (I tested with Python 2.7 and Python 3.5 on Ubuntu).

  • Are you able to reproduce with the latest commit from master?
  • What is your exact Python version python --version?
  • What is your Linux distribution?

from rivalcfg.

 avatar commented on August 25, 2024

Are you able to reproduce with the latest commit from master?

Yes. Updated to r67.71e0b62 and produces the same message.

What is your exact Python version python --version?

Python 3.5.2

What is your Linux distribution?

Arch Linux. Output from uname: Linux janus 4.6.4-1-ARCH #1 SMP PREEMPT Mon Jul 11 19:12:32 CEST 2016 x86_64 GNU/Linux

from rivalcfg.

flozz avatar flozz commented on August 25, 2024

I will install an Archlinux VM to try to reproduce

from rivalcfg.

flozz avatar flozz commented on August 25, 2024

Hello,

I installed rivalcfg using your AUR package, I tested in DEBUG_DRY mode and it worked fine, but the problem seems to happen when the application tries to write informations to a real device. I will have to wait until tomorrow to test on my own Rival 100.

capture d ecran de 2016-08-15 20-10-57

from rivalcfg.

 avatar commented on August 25, 2024

Could it be an issue with pyudev?

from rivalcfg.

flozz avatar flozz commented on August 25, 2024

I tried with the real mouse plugged in, and it worked fine... I cannot figure out what is going wrong... That is a weird issue :(

screenshot 2016-08-16 09-08-38

Could it be an issue with pyudev?

It should not, because it is used only to find devices, not to send data to mice.

from rivalcfg.

flozz avatar flozz commented on August 25, 2024

Oh! I think I found the problem... With Python 3, rivalcfg tries to write floating point numbers to the devices (only for Rival and Rival 300). Can you confirm that the last commit fixes the issue?

from rivalcfg.

 avatar commented on August 25, 2024

rivalcfg tries to write floating point numbers

I suppose TypeError: an integer is required indicates this.

Can you confirm that the last commit fixes the issue?

r68.09e6ef8 fixes the issue. Great work! 👍

from rivalcfg.

flozz avatar flozz commented on August 25, 2024

rivalcfg 2.4.3 released with this issue fixed :)

from rivalcfg.

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.