bugpyFormex - Bugs: bug #49572, STL reader fails reading binary...

 
 

bug #49572: STL reader fails reading binary STL in scripts

Submitter:  gianluca de santis <gianlucadesi>
Submitted:  Thu 10 Nov 2016 02:59:11 PM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Functionality error Status:  Fixed
Privacy:  Public Assigned to:  bverheg
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 10 Nov 2016 03:50:14 PM UTC, comment #3: 

Solved in f8303c9 by putting the utf-8 conversion in a try clause.
Please test and close.

Benedict Verhegghe <bverheg>
Group administrator
Thu 10 Nov 2016 03:35:43 PM UTC, comment #2: 

Yes, of course:

- please download the 2 files (.py and .stl) in the same directory.
- launch pyFormex and execute the .py file.
- you should be able to display the surface. Instead, I get the error in attachment (error.png)




gianluca de santis <gianlucadesi>
Group Member
Thu 10 Nov 2016 03:23:36 PM UTC, comment #1: 

Can you please report what the issue is?
What is the observed behavior?
What is the expected behavior?

I have no idea what to check. Seems to be working ok.

Benedict Verhegghe <bverheg>
Group administrator
Thu 10 Nov 2016 02:59:11 PM UTC, original submission:  

Please check following example: it is possible that it tried to read the OFF file before it is actually there.
From GUI it does not fail.

gianluca de santis <gianlucadesi>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #38928:  error.png added by gianlucadesi (176KiB - image/png)
file #38922:  test.stl added by gianlucadesi (11KiB - application/sla)
file #38923:  binarySTLbug.py added by gianlucadesi (168B - text/x-python)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bverheg (Posted a comment)
  • -email is unavailable- added by gianlucadesi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-10-30 bverheg Open/ClosedOpen Closed
    2016-11-10 bverheg CategoryNone Core
        Item GroupNone Functionality error
        StatusNone Fixed
        Assigned toNone bverheg
    2016-11-10 gianlucadesi Attached File- Added error.png, #38928
    2016-11-10 gianlucadesi Attached File- Added test.stl, #38922
        Attached File- Added binarySTLbug.py, #38923

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code