massung / r-cade

Retro Game Engine for Racket
https://r-cade.io
Other
273 stars 13 forks source link

Windows 10 - 'quotient: contract violation' upon running shortest game #22

Closed DexterLagan closed 4 years ago

DexterLagan commented 4 years ago

I'm getting an error running the shortest game:

. . ....\Program Files\Racket-7.6.0.18\collects\racket\private\kw.rkt:1393:47: quotient: contract violation expected: integer? given: 614.4 argument position: 1st other arguments...:

I tried with 7.6 and the latest snapshot (7.6.0.18), same error. Same lib version as my other bug reports, different computer. Strangely, bigger games such as Horse Derby run well!

Cheers,

Dexter

massung commented 4 years ago

Sorry, but I need a bit more than "shortest game". Is it one of the tutorials on the website or an example from the repo? If it's something you've copy/pasted and/or modified, is it short enough to just paste the code here?

DexterLagan commented 4 years ago

Yes it is one of the examples, I believe the first example in the tutorial (which displays the rolling frame count).

Dex

On Apr 2, 2020, at 3:32 PM, Jeffrey Massung notifications@github.com wrote:

 Sorry, but I need a bit more than "shortest game". Is it one of the tutorials on the website or an example from the repo? If it's something you've copy/pasted and/or modified, is it short enough to just paste the code here?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

massung commented 4 years ago

Not sure what to say. All the tutorial code from the homepage works perfect for me as do all the example games (I'm also on Windows 10).

Are you sure you didn't edit the code in any way?

DexterLagan commented 4 years ago

No I copy-pasted the code, it works on all my other computers. I’ll let you know if I get to the bottom of it.

Dex

On Apr 2, 2020, at 4:52 PM, Jeffrey Massung notifications@github.com wrote:

 Not sure what to say. All the tutorial code from the homepage works perfect for me as do all the example games (I'm also on Windows 10).

Are you sure you didn't edit the code in any way?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

massung commented 4 years ago

I found a bit of code that might be causing it. I'll change it up a bit and see if that helps.

massung commented 4 years ago

Ok, I believe 2b3f216401f48f45a1a9fa949efd2ab46fea384e fixes this. I've told raco to rescan the project. Version 0.3.2 should be available shortly. Please let me know if this takes care of it.

DexterLagan commented 4 years ago

Thanks I’ll let you know!

Dex

On Apr 2, 2020, at 7:24 PM, Jeffrey Massung notifications@github.com wrote:

 Ok, I believe 2b3f216 fixes this. I've told raco to rescan the project. Version 0.3.2 should be available shortly. Please let me know if this takes care of it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

massung commented 4 years ago

I'm going to assume this is fixed. Just re-open if you hit this again.

DexterLagan commented 4 years ago

Apologies I wasn’t able to reproduce the problem on my other systems. The one that had the problem isn’t available at the moment. I’ll do my best to get it running and see if it’s fixed. Cheers!

Dex

On Apr 8, 2020, at 5:40 PM, Jeffrey Massung notifications@github.com wrote:

 Closed #22.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.