Jump to content

photo and designer 2.2.0 will not load any existing affinity file (split)


Recommended Posts

I have just updated both affinity photo and affinity designer to version 2.2. Now neither programme will load any existing affinity file. I always get the message that someone else seems to be using the programme as the file is locked. How can I unlock the programme? I have one file which , if I load an existing affinity photo by double clicking the file, it loads with A/P v1 and asks me if I want to update to affinity v2.2. If I say "NO" then I get a small message in the upper right corner saying "loading 1 photo". I wait a while and then it loads the document which is actually an Affinity Designer document.

It appears that I seem to have a ghost document behind the required document and Affinity thinks that it is another user causing a lock on the file! How do I unlock this system? A/P and A/D worked fine until the update to V2.2 and now I am in a great mess and cannot edit any Affinity documents.

Can you help  me?

David Haythornthwaite 

Link to comment
Share on other sites

1 hour ago, DavidSilverSteel said:

if I load an existing affinity photo by double clicking the file, it loads with A/P v1 and asks me if I want to update to affinity v2.2

That seems very odd, as V1 would not update to V2. 

Can you provide a screenshot showing the V1 application window and the prompt?

When in that scenario do you get the message about the file being locked?

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

Yes very strange. I attach an affinityDesigner file (.afdesign) extension. Mainly a photo to which I have added a panel using A/D. If I double click on it, the system loads affinity Designer 2 with a blank A/D screen and the message that the file is in use - there is a lock on this file, with just one option on the message [Close]. If I press Close I eventually just get a tiny message above the minimise icon saying "Loading 1 Photograph" . The locked file warning comes up immediately the app loads. It seems very unstable and I cannot replicate my previous  problem with the question regarding updating to V2.

I have both V1 and V2 on the same machine of the three programmes AP AD and APub. Will this be causing the problem do you think? I was reluctant to remove V1 and in fact do not know for sure just how to do that. I am considering whether to uninstall AfDesign 2 using "programmes and Features" in Windows 11. Do you think that this would be a good idea?

Thanks for your help Walt

Screenshot 2023-09-21 173539.png

2019 August Zoe & Leonie.afphoto

Link to comment
Share on other sites

48 minutes ago, DavidSilverSteel said:

Mainly a photo to which I have added a panel using A/D. If I double click on it, the system loads affinity Designer 2 with a blank A/D screen and the message that the file is in use - there is a lock on this file

Sorry, but I'm unclear on exactly what scenario you've performed. I'm also confused that the message is about a .afdesign file, but you included a .afphoto file as an attachment to your post.

Do you have that file open in another Affinity V2 application before you tried to open it in Designer? Or, perhaps, was it open in an Affinity V2 application, and that application crashed or was terminated without closing properly?

Either of those could explain the message about the file being locked.

If the .afdesign file is truly locked, then if you open its directory with File Explorer, you should find a file with the same name as the .afdesign file but with ~lock~ appended to the end of the file name.

 

 

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

A reboot of the PC might help in this specific case.

If not, Antivirus software maybe blocking the file - check those apps / logs.

Sysinternal suite has a tool to show which process is locking a file - if nothing else helps.

https://learn.microsoft.com/en-us/sysinternals/downloads/handle

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Link to comment
Share on other sites

Hi David and Walt

I am a quite new user of Affinity Publisher but ran into a similar error message after an upate to version 2.2.0 while trying to open an existing .afpub file:

The file may be in use by another user. There is a lock on the file.

With prevous versions I never encountered this.

Initially I suspected the Publisher app but since the Photo app showed an identical message Windows settings got suspected. I found Windows Defender messages on Ransomware protection blocking access for Publisher. Specifically: "Controlled Folder Access" (which was switched ON) blocked the Publisher app. Switching off the Ransomware protection solved my problem.

You may also allow specific acces for an app within Defender's Ransomware protection as an alternative.

 

Hope this is of some help to you!

Regards,   Pim

Link to comment
Share on other sites

Thank you - Thank you Pim. Yes you have solved my problem. since I recently updated both A/Designer and A/Photo to version 2 this problem has appeared in the folder that I use for storing A/Designer and A/Photo files. As you suggested I went into Windows Defender and looked in the ransomware protection settings. Sure enough there were Designer and Photo programmes listed with a + sign there ready to be ticked to add them to the white list. I ticked these in the ransomware settings and the problem has simply gone away. 

It is early days yet but I think that you have cracked it. I shall inform you if I am mistaken.

Kind Regards

David

Link to comment
Share on other sites

  • Staff

@DavidSilverSteel

Thanks for confirming that you have resolved this problem, sorry that the new file locking caused this temporary issue.

@Pim

Welcome to the Serif Affinity Forums :)  and what a helpful first post, thanks for the suggestion that turns out to have been something Serif were not aware of, much appreciated.

Patrick Connor
Serif Europe Ltd

"There is nothing noble in being superior to your fellow man. True nobility lies in being superior to your previous self."  W. L. Sheldon

 

Link to comment
Share on other sites

22 hours ago, Patrick Connor said:

that turns out to have been something Serif were not aware of

As Serif is now aware of it and this seems to happen more often to people, it would be good to have a general FAQ entry about that problem and how to fix it!

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

  • 7 months later...

Have the same problem today... it sucks...

and the Ransom protection is already off. Only a duplication of my file with copy and paste within the folder solved the problem.

//EDIT:

I found out that a *affinity-filename*.loc* file was in the folder, maybe cause of a crash of the app the day before...
Simply delete the loc file solved the problem.

I found the solution to delete the locked file here under step 3:
https://support.microsoft.com/en-us/topic/-the-document-is-locked-for-editing-by-another-user-error-message-when-you-try-to-open-a-document-in-word-10b92aeb-2e23-25e0-9110-370af6edb638

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.