Skip to content

Error running code in python #8

@willfig

Description

@willfig

To get around the memory issue I'm trying to run the code with python interpreter. I've used pip to install all requirements to python 3.6. When I run I get this error right at the end and the file just has headers:

C:\MeshWork\WillWork>python R:\PRJ-HabitatStr\Mesh3d\Code\main.py --dim XYZ --size 2 --verbose --out "OT-CB_1A.csv" --meshes "OT-CB_1A_co.obj"
Starting to read the mesh files...
Finished reading in the mesh files.
Calculating the bounding box...
Reading in mesh: OT-CB_1A_co.obj
25120892it [02:03, 203510.36it/s]
Vertices: 5713912, Faces: 9228853
Finished calculating the bounding box.
Generating the quadrats inside the bounding box...
Finished generating all the quadrats.
There are this many quadrats: 153
Calculating the area...
Finished calculating the area.
Writing the output to a .csv file...
Finished writing to OT-CB_1A.csv
It took {:0.2f} minutes to process the covfefe out of the mesh(es).
Traceback (most recent call last):
File "R:\PRJ-HabitatStr\Mesh3d\Code\main.py", line 9, in
print("It took {:0.2f} minutes to process the covfefe out of the mesh(es).").format(minutes)
AttributeError: 'NoneType' object has no attribute 'format'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions