Bug#970769: freecad: FEM Module uses time.clock() which has been removed from python3.8

Michael Farmbauer michael.farmbauer at oth-regensburg.de
Wed Sep 23 08:20:02 BST 2020


Package: freecad
Version: 0.18.4+dfsg2-5
Severity: normal
X-Debbugs-Cc: michael.farmbauer at oth-regensburg.de

Dear Maintainer,

the issue has been fixed upstream in commit:

  60ca94d7c2ff070631189216d2991ea8d59f80c7

  See:
  https://github.com/FreeCAD/FreeCAD/commit/60ca94d7c2ff070631189216d2991ea8d59f80c7


   * What led up to the situation?
   Removal of time.clock() from python 3.8

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

   Configure FEM analysis, push "Write .inp file" in simulation dialog.

   * What was the outcome of this action?

   Fails to write CalculiX input file. With following output in the
   terminal:

FemInputWriterCcx --> self.dir_name  -->  /tmp/
FemInputWriterCcx --> self.main_file_name  -->  FEMMeshGmsh.inp
FemInputWriterCcx --> self.file_name  -->  /tmp/FEMMeshGmsh.inp
Unexpected error when writing CalculiX input file: <class 'AttributeError'>

   * What outcome did you expect instead?

    Write CalculiX input file.





-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.8.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages freecad depends on:
ii  freecad-python3  0.18.4+dfsg2-5

Versions of packages freecad recommends:
ii  calculix-ccx  2.17-1
ii  graphviz      2.42.2-4

Versions of packages freecad suggests:
pn  povray  <none>

-- no debconf information



More information about the debian-science-maintainers mailing list