bugpyFormex - Bugs: bug #58616, fatal error starting pyformex due...

 
 

bug #58616: fatal error starting pyformex due to undefinid variable

Submitted by:  francesco <francio>
Submitted on:  Fri 19 Jun 2020 01:32:31 AM UTC  
 
Category:  Core Severity:  4 - Important
Item Group:  Fatal Error Status:  Fixed
Privacy:  Public Assigned 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.

 

Fri 19 Jun 2020 08:49:04 AM UTC, comment #1: 

This has been fixed in commit 552620c6

As a work around to avoid the bug in case you are not able to upgrade to this commit yet: edit your user preference settings (normally ~/.config/pyformex/pyformex.conf) and under the section [warnings] in the line 'filters = ...', change the enclosing brackets [] to braces {}

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
Fri 19 Jun 2020 01:32:31 AM UTC, original submission:  

I get this error after the last update (77f18279c)
the filt variable is not references before, I suppose it should be 'f'

Sanitizing settings
Traceback (most recent call last):
  File "/home/francesco/pyformex/pyformex/startup.py", line 74, in <module>
    sys.exit(run(sys.argv[2:]))
  File "/home/francesco/pyformex/pyformex/main.py", line 289, in run
    loadUserConfig()
  File "/home/francesco/pyformex/pyformex/main.py", line 160, in loadUserConfig
    apply_config_changes(pf.prefcfg)
  File "/home/francesco/pyformex/pyformex/cmdtools.py", line 407, in apply_config_changes
    c = _sanitize_warnings_filters(cfg['warnings/filters'])
  File "/home/francesco/pyformex/pyformex/cmdtools.py", line 388, in _sanitize_warnings_filters
    c = set(f for f in c if isinstance(f, tuple) and
  File "/home/francesco/pyformex/pyformex/cmdtools.py", line 389, in <genexpr>
    not (len(f) > 2 and filt[2] == 'D'))
NameError: name 'filt' is not defined

francesco <francio>
Project Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

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 francio (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-19 bverheg StatusNone => Fixed

    Back to the top


    Powered by Savane 3.5