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

 
 

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

Submitted by:  gianluca de santis <gianlucadesi>
Submitted on:  Thu 10 Nov 2016 02:59:11 PM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: Functionality errorStatus: Fixed
Privacy: PublicAssigned to: Benedict Verhegghe <bverheg>
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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)

(file #38928)

gianluca de santis <gianlucadesi>
Project 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>
Project AdministratorIn charge of this item.
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>
Project Member

 

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

Attach File(s):
   
   
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
  • -unavailable- added by bverheg (Posted a comment)
  • -unavailable- added by gianlucadesi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 10 Nov 2016 03:50:14 PM UTCbverhegCategoryNone=>Core
      Item GroupNone=>Functionality error
      StatusNone=>Fixed
      Assigned toNone=>bverheg
    Thu 10 Nov 2016 03:35:43 PM UTCgianlucadesiAttached File-=>Added error.png, #38928
    Thu 10 Nov 2016 02:59:11 PM UTCgianlucadesiAttached File-=>Added test.stl, #38922
      Attached File-=>Added binarySTLbug.py, #38923

    Back to the top


    Powered by Savane 3.1-cleanup1