marmni/FreeCAD-PCB

Errors in FreeCAD V0.19

Closed this issue · 4 comments

I had hoped to use this workbench / program to input *.BRD's into FreeCAD, view them and export as *.STEP files. I had to upgrade FreeCAD to V0.19 before the Add-in Manager would show available workbenches. I then installed the PCB workbench. But the first time I tried to open an Eagle *.BRD, I received the following error messages. Is there anything I can do to fix this? Please keep it simple as I have ZERO programming experience.

14:33:41 Traceback (most recent call last):
File "", line 1, in
File "C:\Users\jimc\AppData\Roaming\FreeCAD\Mod\pcb\PCBbrd.py", line 40, in
from PCBconf import *
File "C:\Users\jimc\AppData\Roaming\FreeCAD\Mod\pcb\PCBconf.py", line 31, in
from PCBfunctions import getFromSettings_Color_1, getFromSettings_Color
File "C:\Users\jimc\AppData\Roaming\FreeCAD\Mod\pcb\PCBfunctions.py", line 43, in
from PCBdataBase import dataBase
File "C:\Users\jimc\AppData\Roaming\FreeCAD\Mod\pcb\PCBdataBase.py", line 36, in
from sqlalchemy.ext.declarative import declarative_base
File "C:\Users\jimc\AppData\Roaming\FreeCAD\Mod\pcb\sqlalchemy_init_.py", line 9, in
from .sql import (
File "C:\Users\jimc\AppData\Roaming\FreeCAD\Mod\pcb\sqlalchemy\sql_init_.py", line 8, in
from .expression import (
File "C:\Users\jimc\AppData\Roaming\FreeCAD\Mod\pcb\sqlalchemy\sql\expression.py", line 33, in
from .visitors import Visitable
File "C:\Users\jimc\AppData\Roaming\FreeCAD\Mod\pcb\sqlalchemy\sql\visitors.py", line 28, in
from .. import util
File "C:\Users\jimc\AppData\Roaming\FreeCAD\Mod\pcb\sqlalchemy\util_init_.py", line 8, in
from .compat import callable, cmp, reduce,
File "C:\Users\jimc\AppData\Roaming\FreeCAD\Mod\pcb\sqlalchemy\util\compat.py", line 172, in
time_func = time.clock
<class 'AttributeError'>: module 'time' has no attribute 'clock'

Hi,
delete PCB workbench and install one more time (eventually download from github). It should be ok now.

Sorry my bad. Use option 'Install/Update selected' in the Addon manager (or uninstall and then install when update will fail).