Code Monkey home page Code Monkey logo

nuts-n-bolts's People

Contributors

brunogirin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

jumbojing gelamb

nuts-n-bolts's Issues

Not Python 3 compatible

$ python --version
Python 3.4.1
$ ./build.sh 
Processing ./py/iso261-extended.py -l ./license-header.scad ./src/csv/iso261-extended.csv ./build/scad/iso261-extended.scad
Traceback (most recent call last):
  File "./py/iso261-extended.py", line 73, in <module>
    process(datain, dataout, args.json, args.decimals, args.license)
  File "./py/iso261-extended.py", line 48, in process
    iso261.process_data(data, dataout, produce_json, precision, license)
  File "/home/user/dev/nuts-n-bolts/py/iso261.py", line 110, in process_data
    screw.process_spec(k, s, dataout, decimals)
  File "/home/user/dev/nuts-n-bolts/py/screw.py", line 52, in process_spec
    ]) for pp in [poly[i:i+items_per_line] for i in xrange(0, len(poly), items_per_line)]
NameError: name 'xrange' is not defined
Processing ./py/iso261.py -l ./license-header.scad ./src/json/iso261.json ./build/scad/iso261.scad
Traceback (most recent call last):
  File "./py/iso261.py", line 134, in <module>
    process(datain, dataout, args.json, args.decimals, args.license)
  File "./py/iso261.py", line 18, in process
    process_data(data, dataout, produce_json, precision, license)
  File "./py/iso261.py", line 110, in process_data
    screw.process_spec(k, s, dataout, decimals)
  File "/home/user/dev/nuts-n-bolts/py/screw.py", line 52, in process_spec
    ]) for pp in [poly[i:i+items_per_line] for i in xrange(0, len(poly), items_per_line)]
NameError: name 'xrange' is not defined
Processing ./py/screw.py -i ../scad -l ./license-header.scad ./test/json/test.json ./build/test/test.scad
Traceback (most recent call last):
  File "./py/screw.py", line 98, in <module>
    process(datain, dataout, args.include, args.license)
  File "./py/screw.py", line 75, in process
    process_specs(specs, dataout, include, license)
  File "./py/screw.py", line 69, in process_specs
    for k, v in specs.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

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.