[Solved] Arch Survey Copy Length Py3 Bug

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
User avatar
furti
Posts: 343
Joined: Mon Nov 27, 2017 5:27 pm

[Solved] Arch Survey Copy Length Py3 Bug

Postby furti » Mon Sep 10, 2018 6:51 pm

Steps to reproduce:

1. Create Wall
2. Start Survey
3. Select Edge of wall
4. Click "Copy Length"

Now the following Error occurs:

Code: Select all

Traceback (most recent call last):
  File "C:\Meine Daten\freecad\FreeCAD_0.18.14575_Conda_Py3QT5-WinVS2015_x64\FreeCAD_0.18.14575_Conda_Py3QT5-WinVS2015_x64\Mod\Arch\ArchCommands.py", line 1025, in clipLength
    QtGui.QApplication.clipboard().setText(t)
TypeError: 'PySide2.QtGui.QClipboard.setText' called with wrong argument types:
  PySide2.QtGui.QClipboard.setText(bytes)
Supported signatures:
  PySide2.QtGui.QClipboard.setText(unicode, PySide2.QtGui.QClipboard.Mode = Clipboard)

Code: Select all

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14575 (Git)
Build type: Release
Branch: master
Hash: a624fee2c27bbbb869df6a8ce40438953a282a8c
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Austria (de_AT)
Last edited by furti on Sat Oct 20, 2018 2:19 pm, edited 1 time in total.
User avatar
furti
Posts: 343
Joined: Mon Nov 27, 2017 5:27 pm

Re: Arch Survey Copy Length Py3 Bug

Postby furti » Tue Sep 11, 2018 5:11 pm

Created issue in bug tracker for this https://www.freecadweb.org/tracker/view.php?id=3590
User avatar
furti
Posts: 343
Joined: Mon Nov 27, 2017 5:27 pm

Re: Arch Survey Copy Length Py3 Bug

Postby furti » Sat Oct 20, 2018 2:19 pm

@looo Works in Version :)

Code: Select all

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14993 (Git)
Build type: Release
Branch: master
Hash: 1e6818b6fbf86ad08d8fc85252dddcae8891dd54
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Austria (de_AT)
Edit: pinged loo