[solved] 0.19.18694 – File doesn't open after update (Assembly4 + Fasteners WB)

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!
Post Reply
basmati
Posts: 27
Joined: Thu Oct 31, 2019 10:22 am

[solved] 0.19.18694 – File doesn't open after update (Assembly4 + Fasteners WB)

Post by basmati »

I have a file that I can't open anymore after I updates to 0.19.18694 from 18666.
It uses Assembly 4 and the Fasteners Workbench as well but I suspect the TechDraw workbench is the culprit.

When I try to open the file, FreeCad crashes and closes without a message.

I don't know how to use the Project Utility and the resulting XML – can someone help me?
The file is 1,4 mB and thereby to big to attach so I attached the document's xml.

OS: macOS 10.15
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18694 (Git)
Build type: Release
Branch: master
Hash: c3ba04183e016e15410d84bae4d00556d22c7da5
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
Attachments
Document.xml.zip
(147.32 KiB) Downloaded 15 times
Last edited by basmati on Tue Nov 12, 2019 8:59 am, edited 2 times in total.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: 0.19.18694 – File doesn't open after update

Post by Kunda1 »

basmati wrote: Mon Nov 11, 2019 10:01 am When I try to open the file, FreeCad crashes and closes without a message.
Can you attempt to capture a backtrace via debugging please?
Zolko wrote::bell:
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: 0.19.18694 – File doesn't open after update (Assembly4 + Fasteners WB)

Post by Zolko »

basmati wrote: Mon Nov 11, 2019 10:01 am I have a file that I can't open anymore after I updates to 0.19.18694 from 18666.
and can you still open it with v.18666 ?

basmati wrote: Mon Nov 11, 2019 10:01 am It uses Assembly 4 and the Fasteners Workbench as well but I suspect the TechDraw workbench is the culprit.
not sure. There was a problem with relative/absolute filepath, and realthunder has posted a PR which was merged by wmayer yesterday, so if built .18694 was made after that PR then that could be the cause.
try the Assembly4 workbench for FreCAD — tutorials here and here
basmati
Posts: 27
Joined: Thu Oct 31, 2019 10:22 am

Re: 0.19.18694 – File doesn't open after update

Post by basmati »

Kunda1 wrote: Mon Nov 11, 2019 11:09 am
basmati wrote: Mon Nov 11, 2019 10:01 am When I try to open the file, FreeCad crashes and closes without a message.
Can you attempt to capture a backtrace via debugging please?
Zolko wrote::bell:
thank you, @Kunda1

Here's my output:

Code: Select all

/A/F/C/R/bin ❯❯❯ lldb FreeCAD
(lldb) target create "FreeCAD"
Current executable set to 'FreeCAD' (x86_64).
(lldb) run
Process 6594 launched: '/Applications/FreeCAD.app/Contents/Resources/bin/FreeCAD' (x86_64)
FreeCAD 0.19, Libs: 0.19R18694 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####
  #                    #      # #   #   #
  #     ##  #### ####  #     #   #  #   #
  ####  # # #  # #  #  #     #####  #   #
  #     #   #### ####  #    #     # #   #
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Loading Assembly 4 WorkBench
During initialization the error "No module named 'freecad'" occurred
2019-11-11 12:50:59.120668+0100 FreeCAD[6594:160079] flock failed to lock maps file: errno = 35
2019-11-11 12:50:59.120726+0100 FreeCAD[6594:160079] flock failed to lock maps file: errno = 35
2019-11-11 12:50:59.122760+0100 FreeCAD[6594:160079] flock failed to lock maps file: errno = 35
2019-11-11 12:50:59.122812+0100 FreeCAD[6594:160079] flock failed to lock maps file: errno = 35
During initialization the error "No module named 'freecad'" occurred
2019-11-11 12:51:24.273950+0100 FreeCAD[6594:161128] GVA info: preferred scaler idx 1
2019-11-11 12:51:42.818509+0100 QtWebEngineProcess[7129:161876] [User Defaults] Couldn't read values in CFPrefsPlistSource<0x10946d330> (Domain: com.apple.universalaccess, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes): accessing preferences outside an application's container requires user-preference-read or file-read-data sandbox access
2019-11-11 12:51:42.818795+0100 QtWebEngineProcess[7129:161856] [User Defaults] Couldn't read values in CFPrefsPlistSource<0x10946d330> (Domain: com.apple.universalaccess, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes): accessing preferences outside an application's container requires user-preference-read or file-read-data sandbox access
Process 6594 stopped
* thread #1, name = 'CrBrowserMain', queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000103380eee libxerces-c-3.2.dylib`xercesc_3_2::ReaderMgr::peekNextChar() + 14
libxerces-c-3.2.dylib`xercesc_3_2::ReaderMgr::peekNextChar:
->  0x103380eee <+14>: movq   (%rbx), %rax
    0x103380ef1 <+17>: cmpq   0x8008(%rbx), %rax
    0x103380ef8 <+24>: jb     0x103380f09               ; <+41>
    0x103380efa <+26>: movq   %rbx, %rdi
Target 0: (FreeCAD) stopped.
(lldb) bt
* thread #1, name = 'CrBrowserMain', queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000103380eee libxerces-c-3.2.dylib`xercesc_3_2::ReaderMgr::peekNextChar() + 14
    frame #1: 0x00000001033a0506 libxerces-c-3.2.dylib`xercesc_3_2::XMLScanner::senseNextToken(unsigned long&) + 70
    frame #2: 0x000000010337057b libxerces-c-3.2.dylib`xercesc_3_2::IGXMLScanner::scanNext(xercesc_3_2::XMLPScanToken&) + 75
    frame #3: 0x00000001018c14a3 libFreeCADBase.dylib`Base::XMLReader::read() + 67
    frame #4: 0x00000001018c17d1 libFreeCADBase.dylib`Base::XMLReader::readElement(char const*) + 97
    frame #5: 0x000000016df13158 TechDraw.so`TechDraw::CenterLine::Restore(Base::XMLReader&) + 1496
    frame #6: 0x000000016df17bfd TechDraw.so`TechDraw::PropertyCenterLineList::Restore(Base::XMLReader&) + 269
    frame #7: 0x00000001014f2ec0 libFreeCADApp.dylib`App::PropertyContainer::Restore(Base::XMLReader&) + 3408
    frame #8: 0x0000000101366a05 libFreeCADApp.dylib`App::Document::readObjects(Base::XMLReader&) + 6085
    frame #9: 0x0000000101364579 libFreeCADApp.dylib`App::Document::Restore(Base::XMLReader&) + 1529
    frame #10: 0x000000010136e371 libFreeCADApp.dylib`App::Document::restore(char const*, bool, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) + 2209
    frame #11: 0x0000000101584107 libFreeCADApp.dylib`App::Application::openDocumentPrivate(char const*, char const*, char const*, bool, bool, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) + 2391
    frame #12: 0x0000000101581c5b libFreeCADApp.dylib`App::Application::openDocuments(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >*, bool) + 2427
    frame #13: 0x000000010158121d libFreeCADApp.dylib`App::Application::openDocument(char const*, bool) + 269
    frame #14: 0x00000001015b2c8d libFreeCADApp.dylib`App::Application::sOpenDocument(_object*, _object*, _object*) + 285
    frame #15: 0x000000010103feb3 libpython3.7m.dylib`_PyMethodDef_RawFastCallKeywords + 755
    frame #16: 0x000000010103ff6d libpython3.7m.dylib`_PyCFunction_FastCallKeywords + 45
    frame #17: 0x0000000101147c1b libpython3.7m.dylib`call_function + 603
    frame #18: 0x000000010113ee15 libpython3.7m.dylib`_PyEval_EvalFrameDefault + 7893
    frame #19: 0x000000010113caa9 libpython3.7m.dylib`_PyEval_EvalCodeWithName + 3305
    frame #20: 0x00000001011905cc libpython3.7m.dylib`PyRun_StringFlags + 188
    frame #21: 0x000000010186cb9b libFreeCADBase.dylib`Base::InterpreterSingleton::runString(char const*) + 91
    frame #22: 0x00000001015b277e libFreeCADApp.dylib`App::Application::sLoadFile(_object*, _object*) + 1742
    frame #23: 0x000000010103fcc3 libpython3.7m.dylib`_PyMethodDef_RawFastCallKeywords + 259
    frame #24: 0x000000010103ff6d libpython3.7m.dylib`_PyCFunction_FastCallKeywords + 45
    frame #25: 0x0000000101147c1b libpython3.7m.dylib`call_function + 603
    frame #26: 0x000000010113ee15 libpython3.7m.dylib`_PyEval_EvalFrameDefault + 7893
    frame #27: 0x000000010113caa9 libpython3.7m.dylib`_PyEval_EvalCodeWithName + 3305
    frame #28: 0x00000001011905cc libpython3.7m.dylib`PyRun_StringFlags + 188
    frame #29: 0x0000000101138499 libpython3.7m.dylib`builtin_exec + 937
    frame #30: 0x000000010103fe69 libpython3.7m.dylib`_PyMethodDef_RawFastCallKeywords + 681
    frame #31: 0x000000010103ff6d libpython3.7m.dylib`_PyCFunction_FastCallKeywords + 45
    frame #32: 0x0000000101147c1b libpython3.7m.dylib`call_function + 603
    frame #33: 0x000000010113eea6 libpython3.7m.dylib`_PyEval_EvalFrameDefault + 8038
    frame #34: 0x000000010113caa9 libpython3.7m.dylib`_PyEval_EvalCodeWithName + 3305
    frame #35: 0x00000001011905cc libpython3.7m.dylib`PyRun_StringFlags + 188
    frame #36: 0x000000010186cb9b libFreeCADBase.dylib`Base::InterpreterSingleton::runString(char const*) + 91
    frame #37: 0x0000000100208602 libFreeCADGui.dylib`Gui::Command::_runCommand(char const*, int, Gui::Command::DoCmd_Type, char const*) + 162
    frame #38: 0x000000010020841d libFreeCADGui.dylib`Gui::Command::_doCommand(char const*, int, Gui::Command::DoCmd_Type, char const*, ...) + 221
    frame #39: 0x000000015149f7f5 WebGui.so`WebGui::BrowserView::urlFilter(QUrl const&) + 1877
    frame #40: 0x00000001023e193e libQt5Core.5.dylib`QObject::event(QEvent*) + 688
    frame #41: 0x0000000101a0eafe libQt5Widgets.5.dylib`QWidget::event(QEvent*) + 3230
    frame #42: 0x00000001019e7145 libQt5Widgets.5.dylib`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 223
    frame #43: 0x00000001019e808f libQt5Widgets.5.dylib`QApplication::notify(QObject*, QEvent*) + 545
    frame #44: 0x00000001001de3c9 libFreeCADGui.dylib`Gui::GUIApplication::notify(QObject*, QEvent*) + 89
    frame #45: 0x00000001023c928e libQt5Core.5.dylib`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 140
    frame #46: 0x00000001023c9d1a libQt5Core.5.dylib`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 394
    frame #47: 0x000000010bcb33d8 libqcocoa.dylib`___lldb_unnamed_symbol911$$libqcocoa.dylib + 168
    frame #48: 0x000000010bcb3931 libqcocoa.dylib`___lldb_unnamed_symbol926$$libqcocoa.dylib + 35
    frame #49: 0x00007fff3047ab81 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #50: 0x00007fff3047ab20 CoreFoundation`__CFRunLoopDoSource0 + 103
    frame #51: 0x00007fff3045e154 CoreFoundation`__CFRunLoopDoSources0 + 209
    frame #52: 0x00007fff3045d760 CoreFoundation`__CFRunLoopRun + 1272
    frame #53: 0x00007fff3045cfe3 CoreFoundation`CFRunLoopRunSpecific + 499
    frame #54: 0x00007fff2efe467d HIToolbox`RunCurrentEventLoopInMode + 292
    frame #55: 0x00007fff2efe43bd HIToolbox`ReceiveNextEventCommon + 600
    frame #56: 0x00007fff2efe4147 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 64
    frame #57: 0x00007fff2d669864 AppKit`_DPSNextEvent + 990
    frame #58: 0x00007fff2d6685d4 AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
    frame #59: 0x00007fff2d662d76 AppKit`-[NSApplication run] + 658
    frame #60: 0x000000010bcb2bf1 libqcocoa.dylib`___lldb_unnamed_symbol901$$libqcocoa.dylib + 1403
    frame #61: 0x00000001023c6e7d libQt5Core.5.dylib`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 265
    frame #62: 0x00000001023c977a libQt5Core.5.dylib`QCoreApplication::exec() + 252
    frame #63: 0x000000010012550f libFreeCADGui.dylib`Gui::Application::runApplication() + 11087
    frame #64: 0x0000000100004fa6 FreeCAD`main + 5958
    frame #65: 0x00007fff679372e5 libdyld.dylib`start + 1
    frame #66: 0x00007fff679372e5 libdyld.dylib`start + 1
(lldb)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: 0.19.18694 – File doesn't open after update (Assembly4 + Fasteners WB)

Post by Kunda1 »

basmati wrote: Mon Nov 11, 2019 11:54 am During initialization the error "No module named 'freecad'" occurred
Are you using the MacOSX appimage? If so, re-download it.
See https://forum.freecadweb.org/viewtopic. ... 15#p346705
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
basmati
Posts: 27
Joined: Thu Oct 31, 2019 10:22 am

Re: 0.19.18694 – File doesn't open after update (Assembly4 + Fasteners WB)

Post by basmati »

Kunda1 wrote: Mon Nov 11, 2019 12:01 pm
basmati wrote: Mon Nov 11, 2019 11:54 am During initialization the error "No module named 'freecad'" occurred
Are you using the MacOSX appimage? If so, re-download it.
See https://forum.freecadweb.org/viewtopic. ... 15#p346705
I did, thank you.

Problem persists, though:

Code: Select all

/A/F/C/R/bin ❯❯❯ lldb FreeCAD
(lldb) target create "FreeCAD"
Current executable set to 'FreeCAD' (x86_64).
(lldb) run
Process 24008 launched: '/Applications/FreeCAD.app/Contents/Resources/bin/FreeCAD' (x86_64)
Process 24008 exited with status = 0 (0x00000000) Terminated due to signal 9
(lldb) run
Process 24343 launched: '/Applications/FreeCAD.app/Contents/Resources/bin/FreeCAD' (x86_64)
FreeCAD 0.19, Libs: 0.19R18714 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####
  #                    #      # #   #   #
  #     ##  #### ####  #     #   #  #   #
  ####  # # #  # #  #  #     #####  #   #
  #     #   #### ####  #    #     # #   #
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Loading Assembly 4 WorkBench
Error in InitApplications module 'FreeCAD' has no attribute 'GuiUp'
--------------------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 620, in <module>
  File "<string>", line 162, in InitApplications
  File "/Applications/FreeCAD.app/Contents/Resources/lib/python3.7/site-packages/freecad/__init__.py", line 8, in <module>
    import Draft as draft
  File "/Applications/FreeCAD.app/Contents/Resources/Mod/Draft/Draft.py", line 53, in <module>
    if FreeCAD.GuiUp:
AttributeError: module 'FreeCAD' has no attribute 'GuiUp'
--------------------------------------------------------------------------------
2019-11-11 13:25:54.674569+0100 FreeCAD[24343:231719] flock failed to lock maps file: errno = 35
2019-11-11 13:25:54.674626+0100 FreeCAD[24343:231719] flock failed to lock maps file: errno = 35
2019-11-11 13:25:54.675519+0100 FreeCAD[24343:231719] flock failed to lock maps file: errno = 35
2019-11-11 13:25:54.675566+0100 FreeCAD[24343:231719] flock failed to lock maps file: errno = 35
2019-11-11 13:26:13.817675+0100 FreeCAD[24343:232880] GVA info: preferred scaler idx 1
2019-11-11 13:26:29.987042+0100 QtWebEngineProcess[24731:233541] [User Defaults] Couldn't read values in CFPrefsPlistSource<0x111d0d570> (Domain: com.apple.universalaccess, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes): accessing preferences outside an application's container requires user-preference-read or file-read-data sandbox access
2019-11-11 13:26:29.987344+0100 QtWebEngineProcess[24731:233521] [User Defaults] Couldn't read values in CFPrefsPlistSource<0x111d0d570> (Domain: com.apple.universalaccess, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes): accessing preferences outside an application's container requires user-preference-read or file-read-data sandbox access
Process 24343 stopped
* thread #1, name = 'CrBrowserMain', queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000103380eee libxerces-c-3.2.dylib`xercesc_3_2::ReaderMgr::peekNextChar() + 14
libxerces-c-3.2.dylib`xercesc_3_2::ReaderMgr::peekNextChar:
->  0x103380eee <+14>: movq   (%rbx), %rax
    0x103380ef1 <+17>: cmpq   0x8008(%rbx), %rax
    0x103380ef8 <+24>: jb     0x103380f09               ; <+41>
    0x103380efa <+26>: movq   %rbx, %rdi
Target 0: (FreeCAD) stopped.
(lldb) bt
* thread #1, name = 'CrBrowserMain', queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000103380eee libxerces-c-3.2.dylib`xercesc_3_2::ReaderMgr::peekNextChar() + 14
    frame #1: 0x00000001033a0506 libxerces-c-3.2.dylib`xercesc_3_2::XMLScanner::senseNextToken(unsigned long&) + 70
    frame #2: 0x000000010337057b libxerces-c-3.2.dylib`xercesc_3_2::IGXMLScanner::scanNext(xercesc_3_2::XMLPScanToken&) + 75
    frame #3: 0x00000001018c14a3 libFreeCADBase.dylib`Base::XMLReader::read() + 67
    frame #4: 0x00000001018c17d1 libFreeCADBase.dylib`Base::XMLReader::readElement(char const*) + 97
    frame #5: 0x000000011f755138 TechDraw.so`TechDraw::CenterLine::Restore(Base::XMLReader&) + 1496
    frame #6: 0x000000011f759bdd TechDraw.so`TechDraw::PropertyCenterLineList::Restore(Base::XMLReader&) + 269
    frame #7: 0x00000001014f2e10 libFreeCADApp.dylib`App::PropertyContainer::Restore(Base::XMLReader&) + 3408
    frame #8: 0x0000000101366955 libFreeCADApp.dylib`App::Document::readObjects(Base::XMLReader&) + 6085
    frame #9: 0x00000001013644c9 libFreeCADApp.dylib`App::Document::Restore(Base::XMLReader&) + 1529
    frame #10: 0x000000010136e2c1 libFreeCADApp.dylib`App::Document::restore(char const*, bool, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) + 2209
    frame #11: 0x0000000101584057 libFreeCADApp.dylib`App::Application::openDocumentPrivate(char const*, char const*, char const*, bool, bool, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) + 2391
    frame #12: 0x0000000101581bab libFreeCADApp.dylib`App::Application::openDocuments(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >*, bool) + 2427
    frame #13: 0x000000010158116d libFreeCADApp.dylib`App::Application::openDocument(char const*, bool) + 269
    frame #14: 0x00000001015b2bdd libFreeCADApp.dylib`App::Application::sOpenDocument(_object*, _object*, _object*) + 285
    frame #15: 0x000000010103feb3 libpython3.7m.dylib`_PyMethodDef_RawFastCallKeywords + 755
    frame #16: 0x000000010103ff6d libpython3.7m.dylib`_PyCFunction_FastCallKeywords + 45
    frame #17: 0x0000000101147c1b libpython3.7m.dylib`call_function + 603
    frame #18: 0x000000010113ee15 libpython3.7m.dylib`_PyEval_EvalFrameDefault + 7893
    frame #19: 0x000000010113caa9 libpython3.7m.dylib`_PyEval_EvalCodeWithName + 3305
    frame #20: 0x00000001011905cc libpython3.7m.dylib`PyRun_StringFlags + 188
    frame #21: 0x000000010186cb9b libFreeCADBase.dylib`Base::InterpreterSingleton::runString(char const*) + 91
    frame #22: 0x00000001015b26ce libFreeCADApp.dylib`App::Application::sLoadFile(_object*, _object*) + 1742
    frame #23: 0x000000010103fcc3 libpython3.7m.dylib`_PyMethodDef_RawFastCallKeywords + 259
    frame #24: 0x000000010103ff6d libpython3.7m.dylib`_PyCFunction_FastCallKeywords + 45
    frame #25: 0x0000000101147c1b libpython3.7m.dylib`call_function + 603
    frame #26: 0x000000010113ee15 libpython3.7m.dylib`_PyEval_EvalFrameDefault + 7893
    frame #27: 0x000000010113caa9 libpython3.7m.dylib`_PyEval_EvalCodeWithName + 3305
    frame #28: 0x00000001011905cc libpython3.7m.dylib`PyRun_StringFlags + 188
    frame #29: 0x0000000101138499 libpython3.7m.dylib`builtin_exec + 937
    frame #30: 0x000000010103fe69 libpython3.7m.dylib`_PyMethodDef_RawFastCallKeywords + 681
    frame #31: 0x000000010103ff6d libpython3.7m.dylib`_PyCFunction_FastCallKeywords + 45
    frame #32: 0x0000000101147c1b libpython3.7m.dylib`call_function + 603
    frame #33: 0x000000010113eea6 libpython3.7m.dylib`_PyEval_EvalFrameDefault + 8038
    frame #34: 0x000000010113caa9 libpython3.7m.dylib`_PyEval_EvalCodeWithName + 3305
    frame #35: 0x00000001011905cc libpython3.7m.dylib`PyRun_StringFlags + 188
    frame #36: 0x000000010186cb9b libFreeCADBase.dylib`Base::InterpreterSingleton::runString(char const*) + 91
    frame #37: 0x0000000100208522 libFreeCADGui.dylib`Gui::Command::_runCommand(char const*, int, Gui::Command::DoCmd_Type, char const*) + 162
    frame #38: 0x000000010020833d libFreeCADGui.dylib`Gui::Command::_doCommand(char const*, int, Gui::Command::DoCmd_Type, char const*, ...) + 221
    frame #39: 0x00000001146977f5 WebGui.so`WebGui::BrowserView::urlFilter(QUrl const&) + 1877
    frame #40: 0x00000001023e193e libQt5Core.5.dylib`QObject::event(QEvent*) + 688
    frame #41: 0x0000000101a0eafe libQt5Widgets.5.dylib`QWidget::event(QEvent*) + 3230
    frame #42: 0x00000001019e7145 libQt5Widgets.5.dylib`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 223
    frame #43: 0x00000001019e808f libQt5Widgets.5.dylib`QApplication::notify(QObject*, QEvent*) + 545
    frame #44: 0x00000001001de2e9 libFreeCADGui.dylib`Gui::GUIApplication::notify(QObject*, QEvent*) + 89
    frame #45: 0x00000001023c928e libQt5Core.5.dylib`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 140
    frame #46: 0x00000001023c9d1a libQt5Core.5.dylib`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 394
    frame #47: 0x0000000110f9f3d8 libqcocoa.dylib`___lldb_unnamed_symbol911$$libqcocoa.dylib + 168
    frame #48: 0x0000000110f9f931 libqcocoa.dylib`___lldb_unnamed_symbol926$$libqcocoa.dylib + 35
    frame #49: 0x00007fff3047ab81 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #50: 0x00007fff3047ab20 CoreFoundation`__CFRunLoopDoSource0 + 103
    frame #51: 0x00007fff3045e154 CoreFoundation`__CFRunLoopDoSources0 + 209
    frame #52: 0x00007fff3045d760 CoreFoundation`__CFRunLoopRun + 1272
    frame #53: 0x00007fff3045cfe3 CoreFoundation`CFRunLoopRunSpecific + 499
    frame #54: 0x00007fff2efe467d HIToolbox`RunCurrentEventLoopInMode + 292
    frame #55: 0x00007fff2efe43bd HIToolbox`ReceiveNextEventCommon + 600
    frame #56: 0x00007fff2efe4147 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 64
    frame #57: 0x00007fff2d669864 AppKit`_DPSNextEvent + 990
    frame #58: 0x00007fff2d6685d4 AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
    frame #59: 0x00007fff2d662d76 AppKit`-[NSApplication run] + 658
    frame #60: 0x0000000110f9ebf1 libqcocoa.dylib`___lldb_unnamed_symbol901$$libqcocoa.dylib + 1403
    frame #61: 0x00000001023c6e7d libQt5Core.5.dylib`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 265
    frame #62: 0x00000001023c977a libQt5Core.5.dylib`QCoreApplication::exec() + 252
    frame #63: 0x0000000100125401 libFreeCADGui.dylib`Gui::Application::runApplication() + 11265
    frame #64: 0x0000000100004fa6 FreeCAD`main + 5958
    frame #65: 0x00007fff679372e5 libdyld.dylib`start + 1
(lldb)
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: 0.19.18694 – File doesn't open after update (Assembly4 + Fasteners WB)

Post by looo »

basmati wrote: Mon Nov 11, 2019 12:28 pm Problem persists, though:
So FreeCAD doesn't start at all, or only if you open it with the mentioned file?
basmati
Posts: 27
Joined: Thu Oct 31, 2019 10:22 am

Re: 0.19.18694 – File doesn't open after update (Assembly4 + Fasteners WB)

Post by basmati »

looo wrote: Mon Nov 11, 2019 1:03 pm
basmati wrote: Mon Nov 11, 2019 12:28 pm Problem persists, though:
So FreeCAD doesn't start at all, or only if you open it with the mentioned file?
only after I open the mentioned file.
basmati
Posts: 27
Joined: Thu Oct 31, 2019 10:22 am

Re: 0.19.18694 – File doesn't open after update (Assembly4 + Fasteners WB)

Post by basmati »

I removed the two CenterLines and now it works!

Code: Select all

<Property name="CenterLines" type="TechDraw::PropertyCenterLineList" status="134217728">
                    <CenterLineList count="2">
                    […]
changed to:

Code: Select all

 <Property name="CenterLines" type="TechDraw::PropertyCenterLineList" status="134217728">
                    <CenterLineList count="0">
                    </CenterLineList>
Post Reply