Recent

Author Topic: Impossible to open a project  (Read 533 times)

BeanzMaster

  • Sr. Member
  • ****
  • Posts: 266
Impossible to open a project
« on: August 03, 2020, 11:11:41 am »
Hi to all, a friend have installed Lazarus on his Mac (MacOS Big) but he can't open any project. (Lazarus say "file not found")

Have you some clues ?

Thanks in advance

process_1

  • Guest
Re: Impossible to open a project
« Reply #1 on: August 03, 2020, 11:17:07 am »
I would first check file permission. Then is it corrupted.

Is this helps?

BeanzMaster

  • Sr. Member
  • ****
  • Posts: 266
Re: Impossible to open a project
« Reply #2 on: August 03, 2020, 11:24:59 am »
I would first check file permission. Then is it corrupted.

Is this helps?

I don't think, he already checked the permissions. The above project come from me, and he just decompressed it, and he can open the SQLite file in his DB Browser and any file in his text editor. I'll ask him to be sure.
« Last Edit: August 03, 2020, 11:28:49 am by BeanzMaster »

process_1

  • Guest
Re: Impossible to open a project
« Reply #3 on: August 03, 2020, 11:38:17 am »
Then I would reinstall FPC and Lazarus.

Anyway, once I have failing HDD electronic and all kind of random weirdnesses happens...
Perhaps to check it's integrity?

Nowadays, with SSDs, it is not impossible that it failing as well.

BeanzMaster

  • Sr. Member
  • ****
  • Posts: 266
Re: Impossible to open a project
« Reply #4 on: August 03, 2020, 11:46:20 am »
Then I would reinstall FPC and Lazarus.

Anyway, once I have failing HDD electronic and all kind of random weirdnesses happens...
Perhaps to check it's integrity?

Nowadays, with SSDs, it is not impossible that it failing as well.

He already try to unsinstall and reinstall twice without success. His Mac is New so i don't think is due to his HDD. I'll ask him to check the integrity as well.

process_1

  • Guest
Re: Impossible to open a project
« Reply #5 on: August 03, 2020, 11:56:21 am »
Ask him also to install other RAD, for instance NetBeans and test how it behaves.

Related problem is failing on unstable RAM. But, since the hardware is new, I have no more ideas.
« Last Edit: August 03, 2020, 01:35:07 pm by process_1 »

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 938
  • Former Delphi 1-7, 10.2 User
Re: Impossible to open a project
« Reply #6 on: August 03, 2020, 01:58:18 pm »
I would suspect this is related to the new Catalina user privacy protections.

Check Preferences > Security and Privacy > Privacy - Full Disk Access. If Lazarus is listed, check the box next to it. If Lazarus is not listed, add it to the list and check the box next to it. You may then have to logout and login again.

Alternatively, move the project directory from the Downloads directory to the user directory. The privacy protections do not extend to the user directory. The new protected areas in Catalina:
* Desktop
* Documents
* Downloads
* iCloud Drive
* Third-party cloud storage (Dropbox, OneDrive, Box, etc.)
* Removable volumes
* Network volumes.
o Lazarus v2.1.0 r63871, FPC v3.3.1 r46876, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (VMware Fusion VM)
o FPC 3.0.4, FreeBSD 12.2-STABLE r365646 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

mr-highball

  • Full Member
  • ***
  • Posts: 205
    • Highball Github
Re: Impossible to open a project
« Reply #7 on: August 03, 2020, 08:14:26 pm »
Probably not it, but a while back I had issues with other people opening projects I had made on their systems, and it turned out to be that I use trunk for most development but they had installed through the installer. Anyways, there is a project setting for "maximize compatability" (the name might be slightly different) that I had to turn on then save. Once I did that projects would open just fine.

BeanzMaster

  • Sr. Member
  • ****
  • Posts: 266
Re: Impossible to open a project
« Reply #8 on: August 03, 2020, 08:44:11 pm »
Hi, thanks

But, he uninstalled and reinstalled once again Lazarus. He give and set the security rights. Nothing to do. He can't open project. He tried by made just an app with a button and saved it.
The same project won't be opened.
It seems Lazarus have a problem with MacOS BIG

Best regards

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 938
  • Former Delphi 1-7, 10.2 User
Re: Impossible to open a project
« Reply #9 on: August 04, 2020, 02:29:25 am »
It seems Lazarus have a problem with MacOS BIG

Do you mean the macOS Big Sur Beta?

If so, then what I have already posted above are the two solutions - either add the Lazarus excecutable to Full Disk Access or move the project directory out of the user privacy protected Downloads directory.

See my attached image (from Big Sur Beta 3). Lazarus then has no problem opening projects in user privacy protected directories.

o Lazarus v2.1.0 r63871, FPC v3.3.1 r46876, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (VMware Fusion VM)
o FPC 3.0.4, FreeBSD 12.2-STABLE r365646 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

 

TinyPortal © 2005-2018