← index #18781Issue #4026
Duplicate · high · value 2.031
QUERY · ISSUE

http://micropython.org/resources/code-dashboard/ shows zeros since April 24th , 2025

openby Josverlopened 2026-02-05updated 2026-02-05
bug

Website

While doing some reading/maintenance/cleaning of the wiki , I came across a linkto an interesting page I was unaware of
https://micropython.org/resources/code-dashboard/

However it does not seem to have been updated in the last 8 months.

I can find a couple of older similar issues and a reference to tools/codestats.sh

If I try to run that locally - I get a lot of errors.

<details><summary>Details</summary>
<p>

micropython) jos@josverl-sb5:~/micropython$ cp tools/codestats.sh ..
(micropython) jos@josverl-sb5:~/micropython$ bash ../codestats.sh 
warning: unable to rmdir 'lib/asf4': Directory not empty
warning: unable to rmdir 'lib/berkeley-db-1.xx': Directory not empty
warning: unable to rmdir 'lib/btstack': Directory not empty
warning: unable to rmdir 'lib/cyw43-driver': Directory not empty
warning: unable to rmdir 'lib/libhydrogen': Directory not empty
warning: unable to rmdir 'lib/lwip': Directory not empty
warning: unable to rmdir 'lib/mbedtls': Directory not empty
warning: unable to rmdir 'lib/micropython-lib': Directory not empty
warning: unable to rmdir 'lib/pico-sdk': Directory not empty
warning: unable to rmdir 'lib/stm32lib': Directory not empty
warning: unable to rmdir 'lib/tinyusb': Directory not empty
Note: switching to 'd32bab27bb027c332ac4c5318acf2b212ad32123'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at d32bab27bb py: Add copyright/license header to each file.
/bin/rm: cannot remove 'ports/unix/build-standard/micropython': No such file or directory
make: Entering directory '/home/jos/micropython/ports/unix'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/unix'
Updated 0 paths from the index
/bin/rm: cannot remove 'ports/stm32/build-PYBV10/firmware.elf': No such file or directory
make: Entering directory '/home/jos/micropython/ports/stm32'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/stm32'
/bin/rm: cannot remove 'ports/bare-arm/build/flash.elf': No such file or directory
/bin/rm: cannot remove 'ports/bare-arm/build/firmware.elf': No such file or directory
make: *** ports/bare-arm: No such file or directory.  Stop.
Previous HEAD position was d32bab27bb py: Add copyright/license header to each file.
HEAD is now at 72521a1c17 mingw: Fix number of exponent digits in floating point formatting
/bin/rm: cannot remove 'ports/unix/build-standard/micropython': No such file or directory
make: Entering directory '/home/jos/micropython/ports/unix'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/unix'
Updated 0 paths from the index
/bin/rm: cannot remove 'ports/stm32/build-PYBV10/firmware.elf': No such file or directory
make: Entering directory '/home/jos/micropython/ports/stm32'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/stm32'
/bin/rm: cannot remove 'ports/bare-arm/build/flash.elf': No such file or directory
/bin/rm: cannot remove 'ports/bare-arm/build/firmware.elf': No such file or directory
make: *** ports/bare-arm: No such file or directory.  Stop.
Previous HEAD position was 72521a1c17 mingw: Fix number of exponent digits in floating point formatting
HEAD is now at c9f9e547d6 Add device ID to deploy make target for stmhal.
/bin/rm: cannot remove 'ports/unix/build-standard/micropython': No such file or directory
make: Entering directory '/home/jos/micropython/ports/unix'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/unix'
Updated 0 paths from the index
/bin/rm: cannot remove 'ports/stm32/build-PYBV10/firmware.elf': No such file or directory
make: Entering directory '/home/jos/micropython/ports/stm32'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/stm32'
/bin/rm: cannot remove 'ports/bare-arm/build/flash.elf': No such file or directory
/bin/rm: cannot remove 'ports/bare-arm/build/firmware.elf': No such file or directory
make: *** ports/bare-arm: No such file or directory.  Stop.
Previous HEAD position was c9f9e547d6 Add device ID to deploy make target for stmhal.
HEAD is now at 349e4c4a2f py: Add --dirty flag to git describe.
/bin/rm: cannot remove 'ports/unix/build-standard/micropython': No such file or directory
make: Entering directory '/home/jos/micropython/ports/unix'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/unix'
Updated 0 paths from the index
/bin/rm: cannot remove 'ports/stm32/build-PYBV10/firmware.elf': No such file or directory
make: Entering directory '/home/jos/micropython/ports/stm32'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/stm32'
/bin/rm: cannot remove 'ports/bare-arm/build/flash.elf': No such file or directory
/bin/rm: cannot remove 'ports/bare-arm/build/firmware.elf': No such file or directory
make: *** ports/bare-arm: No such file or directory.  Stop.
Previous HEAD position was 349e4c4a2f py: Add --dirty flag to git describe.
HEAD is now at 5320bff32c Merge pull request #557 from cjbarnes18/device_id_in_deploy
/bin/rm: cannot remove 'ports/unix/build-standard/micropython': No such file or directory
make: Entering directory '/home/jos/micropython/ports/unix'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/unix'
Updated 0 paths from the index
/bin/rm: cannot remove 'ports/stm32/build-PYBV10/firmware.elf': No such file or directory
make: Entering directory '/home/jos/micropython/ports/stm32'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/stm32'
/bin/rm: cannot remove 'ports/bare-arm/build/flash.elf': No such file or directory
/bin/rm: cannot remove 'ports/bare-arm/build/firmware.elf': No such file or directory
make: *** ports/bare-arm: No such file or directory.  Stop.
Previous HEAD position was 5320bff32c Merge pull request #557 from cjbarnes18/device_id_in_deploy
HEAD is now at d5f5b2f766 py, stream: Implement readlines for a stream.
/bin/rm: cannot remove 'ports/unix/build-standard/micropython': No such file or directory
make: Entering directory '/home/jos/micropython/ports/unix'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/unix'
Updated 0 paths from the index
/bin/rm: cannot remove 'ports/stm32/build-PYBV10/firmware.elf': No such file or directory
make: Entering directory '/home/jos/micropython/ports/stm32'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/stm32'
/bin/rm: cannot remove 'ports/bare-arm/build/flash.elf': No such file or directory
/bin/rm: cannot remove 'ports/bare-arm/build/firmware.elf': No such file or directory
make: *** ports/bare-arm: No such file or directory.  Stop.
Previous HEAD position was d5f5b2f766 py, stream: Implement readlines for a stream.
HEAD is now at cff638a43a Merge branch 'mingw-float-printf' of github.com:stinos/micropython into stinos-mingw-float-printf
/bin/rm: cannot remove 'ports/unix/build-standard/micropython': No such file or directory
make: Entering directory '/home/jos/micropython/ports/unix'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/unix'
Updated 0 paths from the index
/bin/rm: cannot remove 'ports/stm32/build-PYBV10/firmware.elf': No such file or directory
make: Entering directory '/home/jos/micropython/ports/stm32'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/stm32'
/bin/rm: cannot remove 'ports/bare-arm/build/flash.elf': No such file or directory
/bin/rm: cannot remove 'ports/bare-arm/build/firmware.elf': No such file or directory
make: *** ports/bare-arm: No such file or directory.  Stop.
Previous HEAD position was cff638a43a Merge branch 'mingw-float-printf' of github.com:stinos/micropython into stinos-mingw-float-printf
HEAD is now at 3a01840390 windows: Argument to () function should be (void).
/bin/rm: cannot remove 'ports/unix/build-standard/micropython': No such file or directory
make: Entering directory '/home/jos/micropython/ports/unix'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/unix'
Updated 0 paths from the index
/bin/rm: cannot remove 'ports/stm32/build-PYBV10/firmware.elf': No such file or directory
make: Entering directory '/home/jos/micropython/ports/stm32'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/stm32'
/bin/rm: cannot remove 'ports/bare-arm/build/flash.elf': No such file or directory
/bin/rm: cannot remove 'ports/bare-arm/build/firmware.elf': No such file or directory
make: *** ports/bare-arm: No such file or directory.  Stop.
Previous HEAD position was 3a01840390 windows: Argument to () function should be (void).
HEAD is now at 75aebda809 Merge branch 'stinos-mingw-float-printf'
/bin/rm: cannot remove 'ports/unix/build-standard/micropython': No such file or directory
make: Entering directory '/home/jos/micropython/ports/unix'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/unix'
Updated 0 paths from the index
/bin/rm: cannot remove 'ports/stm32/build-PYBV10/firmware.elf': No such file or directory
make: Entering directory '/home/jos/micropython/ports/stm32'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/stm32'
/bin/rm: cannot remove 'ports/bare-arm/build/flash.elf': No such file or directory
/bin/rm: cannot remove 'ports/bare-arm/build/firmware.elf': No such file or directory
make: *** ports/bare-arm: No such file or directory.  Stop.
Previous HEAD position was 75aebda809 Merge branch 'stinos-mingw-float-printf'
HEAD is now at ff380c2558 Merge pull request #535 from pfalcon/blurb
/bin/rm: cannot remove 'ports/unix/build-standard/micropython': No such file or directory
make: Entering directory '/home/jos/micropython/ports/unix'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/unix'
Updated 0 paths from the index
/bin/rm: cannot remove 'ports/stm32/build-PYBV10/firmware.elf': No such file or directory
make: Entering directory '/home/jos/micropython/ports/stm32'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/stm32'
/bin/rm: cannot remove 'ports/bare-arm/build/flash.elf': No such file or directory
/bin/rm: cannot remove 'ports/bare-arm/build/firmware.elf': No such file or directory
make: *** ports/bare-arm: No such file or directory.  Stop.
Previous HEAD position was ff380c2558 Merge pull request #535 from pfalcon/blurb
HEAD is now at 04b9147e15 Add license header to (almost) all files.
/bin/rm: cannot remove 'ports/unix/build-standard/micropython': No such file or directory
make: Entering directory '/home/jos/micropython/ports/unix'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/unix'
Updated 0 paths from the index
/bin/rm: cannot remove 'ports/stm32/build-PYBV10/firmware.elf': No such file or directory
make: Entering directory '/home/jos/micropython/ports/stm32'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/stm32'
/bin/rm: cannot remove 'ports/bare-arm/build/flash.elf': No such file or directory
/bin/rm: cannot remove 'ports/bare-arm/build/firmware.elf': No such file or directory
make: *** ports/bare-arm: No such file or directory.  Stop.
Previous HEAD position was 04b9147e15 Add license header to (almost) all files.
HEAD is now at 37936bebbf tools: In build-stm-latest, replace git hash with git tag.
/bin/rm: cannot remove 'ports/unix/build-standard/micropython': No such file or directory
make: Entering directory '/home/jos/micropython/ports/unix'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/unix'
Updated 0 paths from the index
/bin/rm: cannot remove 'ports/stm32/build-PYBV10/firmware.elf': No such file or directory
make: Entering directory '/home/jos/micropython/ports/stm32'
make: *** No targets specified and no makefile found.  Stop.
make: Leaving directory '/home/jos/micropython/ports/stm32'
/bin/rm: cannot remove 'ports/bare-arm/build/flash.elf': No such file or directory
/bin/rm: cannot remove 'ports/bare-arm/build/firmware.elf': No such file or directory
make: *** ports/bare-arm: No such file or directory.  Stop.

</p>
</details>

I could not find a related GH Action, and I am rather unclear about the conditions needed to run it,
so I have not tried to troubleshoot further.

PS: Labeled as [bug] but a [website] label might be clearer.

Code of Conduct

Yes, I agree

CANDIDATE · ISSUE

http://micropython.org/resources/code-dashboard/ shows zeros since Jan 1, 2018

closedby pfalconopened 2018-08-06updated 2018-12-10

http://micropython.org/resources/code-dashboard/ shows zeros since Jan 1, 2018

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied