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

 
 

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

Submitter:  francesco <francio>
Submitted:  Fri 19 Jun 2020 01:32:31 AM UTC
   
 
Category:  Core Severity:  4 - Important
Item Group:  Fatal Error Status:  Fixed
Privacy:  Public Assigned to:  bverheg
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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>
Group 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)
  •  

    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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-02-23 bverheg Open/ClosedOpen Closed
    2020-06-19 bverheg StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code