Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot open my files anymore. Any workaround? #13034

Closed
2 tasks done
leoheck opened this issue Mar 18, 2024 · 9 comments
Closed
2 tasks done

Cannot open my files anymore. Any workaround? #13034

leoheck opened this issue Mar 18, 2024 · 9 comments
Labels
Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD Missing: confirmation Missing confirmation from other testers Packaging: AppImage AppImage related

Comments

@leoheck
Copy link

leoheck commented Mar 18, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

After installing FreeCAD_weekly-builds-36331-2024-03-08-conda-Linux-x86_64-py310.AppImage I can't open my files again. I have a couple of files that I cannot open anymore.

Now I am using FreeCAD_weekly-builds-36438-2024-03-15-conda-Linux-x86_64-py310.AppImage but it is not able to open those files anymore.

Is there anything I can do to be able to open those project files?

Full version info

I don't have this AppImage anymore.


FreeCAD_weekly-builds-36331-2024-03-08-conda-Linux-x86_64-py310.AppImage

Subproject(s) affected?

None

Anything else?

I have created this issue before here,
FreeCAD/FreeCAD-Bundle#214

Code of Conduct

  • I agree to follow this project's Code of Conduct
@maxwxyz
Copy link
Collaborator

maxwxyz commented Mar 19, 2024

Could you share a file? I cannot reproduce on windows.

@maxwxyz maxwxyz added Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD Missing: confirmation Missing confirmation from other testers Packaging: AppImage AppImage related and removed Needs triage labels Mar 19, 2024
@leoheck
Copy link
Author

leoheck commented Mar 19, 2024

You won't be able to reproduce it, I guess.

The file was generated with a very specific weekly build I am not sure of the version.

But it should be this FreeCAD_weekly-builds-36331-2024-03-08-conda-Linux-x86_64-py310.AppImage or the one before, but I cannot get those AppImages again, to be able to test or reproduce it.

This is what I get when loading one file.

Do the .FCStd has the version of the Freecad used in the last save? I can try to get it from inside the file if there is this version.

I unfortunately cannot share these files.

This is my file version case-v0.2.4.FCStd

➜ freecad case-v0.2.4.FCStd        
Latest FreeCAD /home/lheck/Applications/FreeCAD_weekly-builds-36438-2024-03-15-conda-Linux-x86_64-py310.AppImage
FreeCAD 0.22.0, Libs: 0.22.0devR36438 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2024
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Sheet Metal workbench loaded
AttachEngine3D::calculateAttachedPlacement:InertialCS: inertia tensor has axis of symmetry. Second and third axes of inertia are undefined.
AttachEngine3D::calculateAttachedPlacement:InertialCS: inertia tensor has axis of symmetry. Second and third axes of inertia are undefined.
AttachEngine3D::calculateAttachedPlacement:InertialCS: inertia tensor has axis of symmetry. Second and third axes of inertia are undefined.
AttachEngine3D::calculateAttachedPlacement:InertialCS: inertia tensor has axis of symmetry. Second and third axes of inertia are undefined.
Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x42990) [0x7b8bb2042990]

@leoheck
Copy link
Author

leoheck commented Mar 19, 2024

This is one version back of my file (case-v0.2.3.FCStd )

➜ freecad case-v0.2.3.FCStd 
Latest FreeCAD /home/lheck/Applications/FreeCAD_weekly-builds-36480-2024-03-18-conda-Linux-x86_64-py311.AppImage
FreeCAD 0.22.0, Libs: 0.22.0devR36480 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2024
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Sheet Metal workbench loaded
Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x42990) [0x76674c842990]
#1  0x76674fe40913 in Gui::MDIView::buildWindowTitle() from /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libFreeCADGui.so+0x23
#2  0x76674fdc9eec in Gui::MainWindow::_updateActions() from /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libFreeCADGui.so+0x6c
#3  /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libQt5Core.so.5(+0x2e9214) [0x76674cee9214]
#4  0x76674ceecc8a in QTimer::timeout(QTimer::QPrivateSignal) from /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libQt5Core.so.5+0x2a
#5  0x76674ceddfad in QObject::event(QEvent*) from /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libQt5Core.so.5+0x7d
#6  0x76674dd7035e in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libQt5Widgets.so.5+0x7e
#7  0x76674f927399 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libFreeCADGui.so+0x99
#8  0x76674ceb3fc8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libQt5Core.so.5+0x108
#9  0x76674cf078f1 in QTimerInfoList::activateTimers() from /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libQt5Core.so.5+0x381
#10  /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libQt5Core.so.5(+0x3080c4) [0x76674cf080c4]
#11  /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/./libglib-2.0.so.0(+0x5bad7) [0x76674b7ebad7]
#12  /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/./libglib-2.0.so.0(+0x5eac7) [0x76674b7eeac7]
#13  /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_iteration+0x2e) [0x76674b7ef0ce]
#14  0x76674cf083d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libQt5Core.so.5+0x66
#15  /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libFreeCADGui.so(+0xa02922) [0x76674fe02922]
#16  0x76674e4f8555 in Base::ConsoleSingleton::notifyPrivate(Base::LogStyle, Base::IntendedRecipient, Base::ContentType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) from /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libFreeCADBase.so+0x75
#17  /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libFreeCADBase.so(+0x108a39) [0x76674e508a39]
#18  /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libFreeCADBase.so(+0xf433a) [0x76674e4f433a]
#19  0x76674e4f498a in Base::ConsoleSingleton::sPyLog(_object*, _object*) from /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libFreeCADBase.so+0x4a
#20  /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libpython3.11.so.1.0(+0x205a58) [0x76674f005a58]
#21  /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libpython3.11.so.1.0(_PyObject_MakeTpCall+0x25c) [0x76674efe559c]
#22  /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libpython3.11.so.1.0(_PyEval_EvalFrameDefault+0x6f2) [0x76674eff0f52]
#23  /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libpython3.11.so.1.0(+0x2aa9ad) [0x76674f0aa9ad]
#24  /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libpython3.11.so.1.0(PyEval_EvalCode+0xa4) [0x76674f0aa424]
#25  /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libpython3.11.so.1.0(+0x2c9893) [0x76674f0c9893]
#26  /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libpython3.11.so.1.0(+0x2c532a) [0x76674f0c532a]
#27  /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libpython3.11.so.1.0(PyRun_StringFlags+0x69) [0x76674f0b9669]
#28  0x76674e53ba1c in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libFreeCADBase.so+0x6c
#29  0x76674f86a193 in Gui::Application::runInitGuiScript() from /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libFreeCADGui.so+0x43
#30  0x76674f9554f1 in Gui::StartupPostProcess::showMainWindow() from /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libFreeCADGui.so+0xe1
#31  0x76674f9572a4 in Gui::StartupPostProcess::execute() from /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libFreeCADGui.so+0x64
#32  0x76674f88a756 in Gui::Application::runApplication() from /tmp/.mount_FreeCArwlwSN/usr/bin/../lib/libFreeCADGui.so+0x4d6
#33  /tmp/.mount_FreeCArwlwSN/usr/bin/freecad(+0x7620) [0x58197c169620]
#34  /lib/x86_64-linux-gnu/libc.so.6(+0x28150) [0x76674c828150]
#35  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x76674c828209]
#36  /tmp/.mount_FreeCArwlwSN/usr/bin/freecad(+0x7981) [0x58197c169981]

@leoheck
Copy link
Author

leoheck commented Mar 19, 2024

If I unpack the case-v0.2.4.FCStd I can find Freecad version 0.22R36277 (Git)

/tmp/case-v0.2.4.FCStd …
➜ grep -i version *
Document.xml:<?xml version='1.0' encoding='utf-8'?>
Document.xml:<Document SchemaVersion="4" ProgramVersion="0.22R36277 (Git)" FileVersion="1" StringHasher="1">
Document.xml:                <Property name="a2p_Version" type="App::PropertyString" group="importPart" doc="" attr="0" ro="0" hide="0" status="2097152">
Document.xml:                <Property name="a2p_Version" type="App::PropertyString" group="importPart" doc="" attr="0" ro="0" hide="0" status="2097152">
Document.xml:                <Property name="_Version" type="App::PropertyInteger" status="83886080">
Document.xml:                <Property name="_Version" type="App::PropertyInteger" status="83886080">
Document.xml:                <Property name="_Version" type="App::PropertyInteger" status="83886080">
Document.xml:                <Property name="_Version" type="App::PropertyInteger" status="83886080">
GuiDocument.xml:<?xml version='1.0' encoding='utf-8'?>
GuiDocument.xml:<Document SchemaVersion="1" HasExpansion="1">
grep: thumbnails: Is a directory

If I do the same for my file version case-v0.2.3.FCStd, I see a different Freecad version 0.22R36228 (Git)

/tmp/case-v0.2.3.FCStd …
➜ grep -i version *
Document.xml:<?xml version='1.0' encoding='utf-8'?>
Document.xml:<Document SchemaVersion="4" ProgramVersion="0.22R36228 (Git)" FileVersion="1" StringHasher="1">
Document.xml:                <Property name="a2p_Version" type="App::PropertyString" group="importPart" doc="" attr="0" ro="0" hide="0" status="2097152">
Document.xml:                <Property name="a2p_Version" type="App::PropertyString" group="importPart" doc="" attr="0" ro="0" hide="0" status="2097152">
Document.xml:                <Property name="_Version" type="App::PropertyInteger" status="83886080">
Document.xml:                <Property name="_Version" type="App::PropertyInteger" status="83886080">
Document.xml:                <Property name="_Version" type="App::PropertyInteger" status="83886080">
Document.xml:                <Property name="_Version" type="App::PropertyInteger" status="83886080">
GuiDocument.xml:<?xml version='1.0' encoding='utf-8'?>
GuiDocument.xml:<Document SchemaVersion="1" HasExpansion="1">
grep: thumbnails: Is a directory

@leoheck
Copy link
Author

leoheck commented Mar 19, 2024

So, my question is if there is something that I could manually do to the file, to make it work again... lets say, remove something from inside of the .FCStd or edit something manually inside that could allow me to open the file again to at least try to recover something of my work from there.

@leoheck
Copy link
Author

leoheck commented Mar 19, 2024

I remember changing these item of an objects on those files.
image

I am wondering if this may be the culprit.

@leoheck
Copy link
Author

leoheck commented Mar 19, 2024

I am also wondering if I can get one part (Part Design object from inside of those files)

@wwmayer
Copy link
Contributor

wwmayer commented Mar 19, 2024

FreeCAD_weekly-builds-36438-2024-03-15-conda-Linux-x86_64-py310.AppImage

For more details see: #12861 and https://forum.freecad.org/viewtopic.php?t=85902
EDIT: This crash is supposed to be fixed with #12885

FreeCAD_weekly-builds-36480-2024-03-18-conda-Linux-x86_64-py311.AppImage

For more details see: #12035 (comment)
This crash is already fixed with #13033

@leoheck
Copy link
Author

leoheck commented Mar 20, 2024

Thanks @wwmayer, for confirming that this FreeCAD_weekly-builds-36487-2024-03-19-conda-Linux-x86_64-py311.AppImage new release fixed my issue. Files are opening now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD Missing: confirmation Missing confirmation from other testers Packaging: AppImage AppImage related
Projects
None yet
Development

No branches or pull requests

3 participants