Spring Challenge 2020 - Bugs & Questions

Sorry I didn’t see your message earlier. This has been fixed.

1 Like

Okay thanks! It’s annoying how they don’t tell you this in the Wood League - I try to make my bot good from the beginning, and I don’t like to have to change my strategy and code to compensate for changing game inputs.

3 Likes

Suggestion: Instead of only pellets as input, it should also give where the absence of pellets are - it is possible to find this information, but it’s one additional step that is kind of annoying to implement.

2 Likes

I am continuously having this- "Oups
An error occurred (#73): “Only 1 executor running at the same time for a test session” ".
Any clue?

4 Likes

I’m using Ruby so who knows

Multiple people including me have reported in chat that they occasionally get:

 /usr/bin/stdbuf: Resource temporarily unavailable

on Standard Error, before they output the first move. This leads to a timeout.

14 Likes

I have also encountered this problem. It happens even if I don’t write anything to std::cerr. This, the error #73 and a 504 HTTP code are all still happening.

1 Like

I get this error when trying to run with C++:

collect2: fatal error: vfork: Resource temporarily unavailable
compilation terminated.

I do create several arrays of size 10,000 or so (map width x map height); could this be the issue?

EDIT: Nope, that was not the issue. I ran it with the exact same code and it compiled fine.

3 Likes

I randomly get this issue while running with C#. When I re-run with the same configuration, it works perfectly fine, but from time to time, it bugs :frowning: And what’s annoying is when I look at the matches I lost in the arena, there are quite a few which is due to that (at least for the moment) :cry:

Standard Error Stream:

/usr/bin/stdbuf: Resource temporarily unavailable

6 Likes

Hi, I also have sometime the following issue on spring challenge 2020 (using PHP) : /usr/bin/stdbuf: Resource temporarily unavailable

It seems this issue already occured by the past : https://www.codingame.com/forum/t/resource-temporarily-unavailable/1927

1 Like

Hi CG team,

I faced several times these errors :

  • Error occurred during initialization of VM
    java.lang.OutOfMemoryError: unable to create new native thread
  • /usr/bin/stdbuf: Resource temporarily unavailable
2 Likes

I have multiple timeout when I submit my code and it is not an implementation problem. I finally be able to reproduce the problem by playing the code normally and I receive this error message in python 3.

OpenBLAS blas_thread_init: pthread_create failed for thread 4 of 8: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC 100 current, 100 max
OpenBLAS blas_thread_init: pthread_create failed for thread 5 of 8: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC 100 current, 100 max
OpenBLAS blas_thread_init: pthread_create failed for thread 6 of 8: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC 100 current, 100 max
OpenBLAS blas_thread_init: pthread_create failed for thread 7 of 8: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC 100 current, 100 max
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
Here is how to proceed:

  • If you’re working with a numpy git repository, try git clean -xdf
    (removes all files not under version control) and rebuild numpy.
  • If you are simply trying to use the numpy version that you have installed:
    your installation is broken - please reinstall numpy.
  • If you have already reinstalled and that did not fix the problem, then:
    1. Check that you are using the Python you expect (you’re using /usr/bin/python3),
      and that you have no directories in your PATH or PYTHONPATH that can
      interfere with the Python and numpy versions you’re trying to use.
    2. If (1) looks fine, you can open a new issue at
      https://github.com/numpy/numpy/issues. Please include details on:
      • how you installed Python
      • how you installed numpy
      • your operating system
      • whether or not you have multiple versions of Python installed
      • if you built from source, your compiler versions and ideally a build log
        Note: this error has many possible causes, so please don’t comment on
        an existing issue about this - open a new one instead.
        Original error was: PyCapsule_Import could not import module “datetime”
1 Like

Hi comunity,

I am having this error randomly:

 /usr/bin/stdbuf: Resource temporarily unavailable

Is this a bug? or something that my code is doing wrong?

Thanks!

3 Likes

It’s a bug, not your code’s fault.

1 Like

I’m using Javascript and my bot keeps timing out. My actual code takes under 2 ms. I’ve narrowed down the timeout to the first call to readline() each turn.

// game loop
while (true) {
const start = Date.now();
const firstLine = readline();
console.error(Read firstLine: ${Date.now() - start} ms);

Outputs: Read firstLine: 279 ms

Any suggestions?

Hi,

Maybe I’m wrong but it might be a problem: when submitting solution, in some games, I get error “0 pellets (timed out)” and I lose the game :frowning: , and when I send game parameters to IDE, the game works normally.

PS: It’s my first contest here and I love the concept, thanks to CondinGame for all this fun !

6 Likes

Indeed, I see battles I have lost like this, I bring them to the IDE, no error, it’s a win. Very frustrating.

What does this mean?

Only pacs with the SPEED ability enabled can move

Does it mean that instead of having each pack move twice on its turn, it takes two turns and has each pack without the SPEED ability disable movement?

1 Like

Is this an error due to a bug or due to my code?
usr/bin/stdbuf: Resource temporarily unavailable
I am using python 3 and it looks like a problem in import

They say its a bug in CG code. Following your post I’ve deleted unnessesary imports, but it didn’t help.