Git Product home page Git Product logo

Comments (2)

benblazak avatar benblazak commented on July 19, 2024

You might have some success with the solution near the end of GitHub issue 19. The map file really isn’t being used for anything anymore, but I haven’t touched that script in ages — it probably won’t exist in rev-2.

On Jun 9, 2014, at 1:40 PM, Leon Bogaert [email protected] wrote:

I'm trying to use build-script/gen-layout.py to generate a visual representation of the generated firmware but I can't get it to work. If I do a make and watch the output I see no errors but the firmware--ui-info.json files in build/* are empty.

If I run the generated command by make by hand:

./'build-scripts/gen-ui-info.py'
--current-date '2014-06-09 22:35:15+02:00'
--git-commit-date '2012-12-20 16:34:08 -0800'
--git-commit-id '43ee200b2b6e2e234ee8d13d8824e1d5068ba7d0'
--map-file-path 'build/ergodox-firmware--master--20121221T013408--43ee200--qwerty-kinesis-mod/firmware.map'
--source-code-path 'src'
--matrix-file-path 'src/keyboard/ergodox/matrix.h'
--layout-file-path
'src/keyboard/ergodox/layout/qwerty-kinesis-mod.c'
I get the following error:

Traceback (most recent call last):
File "./build-scripts/gen-ui-info.py", line 474, in
main()
File "./build-scripts/gen-ui-info.py", line 463, in main
dict_merge(output, parse_mapfile(args.map_file_path))
File "./build-scripts/gen-ui-info.py", line 206, in parse_mapfile
raise ValueError("invalid 'map_file_path' given")
ValueError: invalid 'map_file_path' given
because build/ergodox-firmware--master--20121221T013408--43ee200--qwerty-kinesis-mod/firmware.map doesn't exist.

Is the generation of html/svg files of a layout broken or am I missing something?


Reply to this email directly or view it on GitHub.

from ergodox-firmware.

LeonB avatar LeonB commented on July 19, 2024

Thanks! I'll have a look at issue 19.

On Monday, June 9, 2014, Ben Blazak [email protected] wrote:

You might have some success with the solution near the end of GitHub issue
19. The map file really isn’t being used for anything anymore, but I
haven’t touched that script in ages — it probably won’t exist in rev-2.

On Jun 9, 2014, at 1:40 PM, Leon Bogaert <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');> wrote:

I'm trying to use build-script/gen-layout.py to generate a visual
representation of the generated firmware but I can't get it to work. If I
do a make and watch the output I see no errors but the
firmware--ui-info.json files in build/* are empty.

If I run the generated command by make by hand:

./'build-scripts/gen-ui-info.py'
--current-date '2014-06-09 22:35:15+02:00'
--git-commit-date '2012-12-20 16:34:08 -0800'
--git-commit-id '43ee200b2b6e2e234ee8d13d8824e1d5068ba7d0'
--map-file-path
'build/ergodox-firmware--master--20121221T013408--43ee200--qwerty-kinesis-mod/firmware.map'

--source-code-path 'src'
--matrix-file-path 'src/keyboard/ergodox/matrix.h'
--layout-file-path
'src/keyboard/ergodox/layout/qwerty-kinesis-mod.c'
I get the following error:

Traceback (most recent call last):
File "./build-scripts/gen-ui-info.py", line 474, in
main()
File "./build-scripts/gen-ui-info.py", line 463, in main
dict_merge(output, parse_mapfile(args.map_file_path))
File "./build-scripts/gen-ui-info.py", line 206, in parse_mapfile
raise ValueError("invalid 'map_file_path' given")
ValueError: invalid 'map_file_path' given
because
build/ergodox-firmware--master--20121221T013408--43ee200--qwerty-kinesis-mod/firmware.map
doesn't exist.

Is the generation of html/svg files of a layout broken or am I missing
something?


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#44 (comment)
.

from ergodox-firmware.

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.