Problem with saving using "SaveAs"

Hi there,

I'm having a problem when I try to save my drawings.

Just for context, I'm using Win 11, BricsCAD Pro, Powerful Computer, and I store all my data on another computer, so I use the network share to access it. As long as I can remember, all network computer access possibilities have been active. Let's look at the situation.

My network colleagues and I use and save files on this computer on the network, for now I will call it S18. There is no problem with it, but sometimes when we try to use "Save As", the following message appears:



Sometimes I need to try using "Save As" two or three times to be successful. The strange thing is that this doesn't happen when I only use QSave, only in "Save As" on my S18, If I try to save to my local computer it never happens. Besides it's not just me, but as I mentioned, my colleagues also have the same problem from time to time.

Any ideas about how to solve it?

Kind Regards,
Eamon

Comments

  • Hi @Eamon
    Are you using mapped network drives to connect to S18?
  • Eamon
    edited February 27
    Billie said:

    Hi @Eamon
    Are you using mapped network drives to connect to S18?

    Yes Billie



  • Hi @Eamon

    Is it possible that the file is in use by someone else, or maybe a different process, such as an antivirus, or a cloud manager?

    All the best,
    Billie
  • Billie said:

    Hi @Eamon

    Is it possible that the file is in use by someone else, or maybe a different process, such as an antivirus, or a cloud manager?

    All the best,
    Billie

    Hi Billie,

    No, that's no possible to being use for someone else, because sometimes I open a drawing and I will update the date of the drawing, example:
    From: (01) 24-000 Template - TOPO svy - (Edited 010124 - Emc)
    To: (02) 24-000 Template - TOPO svy - (Edited 040324 - Emc)

    And that message pop up sometimes. Also the same happen with at least 3 of my colleagues on the same Network (in different CAD files). So, no Antivirus, Cloud Manager or another process happening on the background, just BricsCAD.


    Any ideas?
  • Can you set the QAFLAGS system variable to 256 and let us know what is being printed in the commandline when you get the issues?
  • Additionally, please note that in some scenarios and environments BricsCAD cannot close properly on quit (or after an error) and a background BricsCAD process can remain stuck in the Task Manager. Can you please check the next time you experience the issue if there isn't a BricsCAD process stuck somewhere in the background?
  • Billie said:

    Can you set the QAFLAGS system variable to 256 and let us know what is being printed in the commandline when you get the issues?

    Hi Billie

    I just opened the BricsCAD this morning, so one was using the BricsCAD before me. I tried to save the drawing with a different name. Look the prompt history:
    _saveas8:15:45.837 Entering fileopen dialog
    8:15:45.838 Start displaying fileopen dialog
    8:15:45.839 showModal
    8:15:45.839 setBcadIconForDrawings
    8:15:45.840 setBcadIconForDrawings, end
    8:15:45.840 File dialog to be opened in custom mode
    8:15:45.840 setBcadPlaceBar
    8:15:45.840 setBcadPlaceBar, end
    8:15:45.840 setBcadFolderSettings
    8:15:45.840 Drawing path: C:\Users\ncwsu\OneDrive - Ncwsurveys Ltd\Documents\
    8:15:45.840 bcadGetSetFolderCustomSettings
    8:15:45.840 bcadGetSetFolderCustomSettings, end
    8:15:45.840 bcadGetSetFolderCustomSettings
    8:15:45.841 bcadGetSetFolderCustomSettings, end
    8:15:45.841 setBcadFolderSettings, end
    8:15:45.919 Hook procedure: INITDONE
    8:15:45.979 Hook procedure: SELCHANGE; file: 21-079-002 - CONTIG ELEV SURVEY - OSGM15 datum.dwg
    8:15:45.985 Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Drawing21.dwg
    8:16:2.960 Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: (01) 24-067 St Josephs Hospital - TOPO svy - (010324 svy data) - (Edited 070324 - Rb) - ITM95 & OSGM15 datum.dwg
    8:16:18.151 Hook procedure: SELCHANGE; file: showModal, end

    And the message pop up to me:
    The destination directory is not writable. Please save under a different name.


    After 2 times trying to save at the same location with the same filename, prompt history as follows...
    _saveas8:19:39.253 Entering fileopen dialog
    8:19:39.258 Start displaying fileopen dialog
    8:19:39.263 showModal
    8:19:39.263 setBcadIconForDrawings
    8:19:39.263 setBcadIconForDrawings, end
    8:19:39.263 File dialog to be opened in custom mode
    8:19:39.263 setBcadPlaceBar
    8:19:39.264 setBcadPlaceBar, end
    8:19:39.264 setBcadFolderSettings
    8:19:39.264 Drawing path: C:\Users\ncwsu\OneDrive - Ncwsurveys Ltd\Documents\
    8:19:39.264 bcadGetSetFolderCustomSettings
    8:19:39.264 bcadGetSetFolderCustomSettings, end
    8:19:39.264 bcadGetSetFolderCustomSettings
    8:19:39.267 bcadGetSetFolderCustomSettings, end
    8:19:39.267 setBcadFolderSettings, end
    8:19:39.354 Hook procedure: INITDONE
    8:19:39.483 Hook procedure: SELCHANGE; file: 21-079-002 - CONTIG ELEV SURVEY - OSGM15 datum.dwg
    8:19:39.499 Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: Hook procedure: SELCHANGE; file: showModal, end
    8:20:6.574 Root dir: 'K:\' GetDriveType = 4 (DRIVE_REMOTE)
    8:20:6.589 wx root dir: 'K:\2024 Jobs\' GetDriveType = 4 (DRIVE_REMOTE)
    8:20:6.630 GetFileAttributes = 0x20 (ARCHIVE (0x20))
    8:20:6.636 wxFileName::FileExists() = 1
    8:20:6.642 subfolders:
    8:20:6.642 'K:\2024 Jobs\Bldg surveys\Hse\24-067 St Josephs Hospital\Dwgs\Working dwgs\(05) MBS': Exists = 1 GetFileAttributes = 0x10 (DIRECTORY (0x10))
    8:20:6.644 'K:\2024 Jobs\Bldg surveys\Hse\24-067 St Josephs Hospital\Dwgs\Working dwgs': Exists = 1 GetFileAttributes = 0x10 (DIRECTORY (0x10))
    8:20:6.646 'K:\2024 Jobs\Bldg surveys\Hse\24-067 St Josephs Hospital\Dwgs': Exists = 1 GetFileAttributes = 0x10 (DIRECTORY (0x10))
    8:20:6.649 'K:\2024 Jobs\Bldg surveys\Hse\24-067 St Josephs Hospital': Exists = 1 GetFileAttributes = 0x10 (DIRECTORY (0x10))
    8:20:6.652 'K:\2024 Jobs\Bldg surveys\Hse': Exists = 1 GetFileAttributes = 0x10 (DIRECTORY (0x10))
    8:20:6.656 'K:\2024 Jobs\Bldg surveys': Exists = 1 GetFileAttributes = 0x10 (DIRECTORY (0x10))
    8:20:6.661 'K:\2024 Jobs': Exists = 1 GetFileAttributes = 0x10 (DIRECTORY (0x10))
    8:20:6.665 'K:\': Exists = 1 GetFileAttributes = 0x11 (READONLY (0x1), DIRECTORY (0x10))
    8:20:6.667 FileName::fileExists() = true
    8:20:6.672 FileLocker::lock() = 1
    If you want to see a usual saving is:
    _qsave8:23:54.848 Root dir: 'K:\' GetDriveType = 4 (DRIVE_REMOTE)
    8:23:54.855 wx root dir: 'K:\2024 Jobs\' GetDriveType = 4 (DRIVE_REMOTE)
    8:23:54.861 GetFileAttributes = 0x20 (ARCHIVE (0x20))
    8:23:54.861 wxFileName::FileExists() = 1
    8:23:54.861 subfolders:
    8:23:54.861 'K:\2024 Jobs\Bldg surveys\Hse\24-067 St Josephs Hospital\Dwgs\Working dwgs\(05) MBS': Exists = 1 GetFileAttributes = 0x10 (DIRECTORY (0x10))
    8:23:54.863 'K:\2024 Jobs\Bldg surveys\Hse\24-067 St Josephs Hospital\Dwgs\Working dwgs': Exists = 1 GetFileAttributes = 0x10 (DIRECTORY (0x10))
    8:23:54.864 'K:\2024 Jobs\Bldg surveys\Hse\24-067 St Josephs Hospital\Dwgs': Exists = 1 GetFileAttributes = 0x10 (DIRECTORY (0x10))
    8:23:54.866 'K:\2024 Jobs\Bldg surveys\Hse\24-067 St Josephs Hospital': Exists = 1 GetFileAttributes = 0x10 (DIRECTORY (0x10))
    8:23:54.867 'K:\2024 Jobs\Bldg surveys\Hse': Exists = 1 GetFileAttributes = 0x10 (DIRECTORY (0x10))
    8:23:54.869 'K:\2024 Jobs\Bldg surveys': Exists = 1 GetFileAttributes = 0x10 (DIRECTORY (0x10))
    8:23:54.871 'K:\2024 Jobs': Exists = 1 GetFileAttributes = 0x10 (DIRECTORY (0x10))
    8:23:54.874 'K:\': Exists = 1 GetFileAttributes = 0x11 (READONLY (0x1), DIRECTORY (0x10))
    8:23:54.875 FileName::fileExists() = true
    8:23:54.880 FileLocker::lock() = 1
  • Any ideas? @Billie
  • Was the issue for this ever figured out? We are running into the same thing on our VDI' with BricsCAD only.

  • Windows and/or OndeDrive may temprary lock a folder during some operations causing BricsCAD not being able to save as into that folder or to save that file. If it succeeds after a 2nd or 3rd attempt this means Windows/OneDrive finished what it was doing and released the lock on that folder or file.

    At my work it is policy to never ever work on files stored on cloud storage or network drives unless the software is/was designed to be able to handle this. Most desktop CAD software including BricsCAD isn't.

    e.g. Onshape and Ares Kudo (browser based) are designed to work on files on a network/online location so these should not have issues with online stored documents but e.g. Ares Commander (the desktop version of their CAD software) isn't and would run into the same issue as BricsCAD.