Recent

Author Topic: Getting "invalid file handle" when trying to access Help  (Read 755 times)

JackRG

  • Newbie
  • Posts: 4
Getting "invalid file handle" when trying to access Help
« on: June 07, 2020, 11:13:05 pm »
Running on macOS 10.14.6, new Lazarus installation, trying to access "Help" in the Lazarus IDE (either by Help menu -> Help or by clicking on a help link in the properties inspector) gives "invalid file handle" in the help program, which then crashes Lazarus. I'm thinking that the Help file might be missing. Any guidance on it's name and where it should reside, and how I can get one to put there, would be appreciated.
« Last Edit: June 07, 2020, 11:15:30 pm by JackRG »

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1374
  • Former Delphi 1-7, 10.2 User
Re: Getting "invalid file handle" when trying to access Help
« Reply #1 on: June 08, 2020, 01:58:50 am »
See this thread which may be of assistance.
Lazarus 2.1 r64861 FPC 3.3.1 r49035 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.1 r64891 3.3.1 r49100 macOS 11.2.3 aarch64 Xcode 12.4
Lazarus 2.1 r61574 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
Lazarus 2.1 r61574 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 3.2.0 Win10 Parallels VM

JackRG

  • Newbie
  • Posts: 4
Re: Getting "invalid file handle" when trying to access Help
« Reply #2 on: July 02, 2020, 02:40:52 am »
Found another thread at https://forum.lazarus.freepascal.org/index.php/topic,36799.0.html which seems to exactly match my issue. No solution there, just a third user with the same issue as OP and me.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1374
  • Former Delphi 1-7, 10.2 User
Re: Getting "invalid file handle" when trying to access Help
« Reply #3 on: July 02, 2020, 08:52:00 am »
The thread I mentioned above resolved my issue with help on Mojave, apart from the AV error on exit which appears harmless and does not crash the IDE.
Lazarus 2.1 r64861 FPC 3.3.1 r49035 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.1 r64891 3.3.1 r49100 macOS 11.2.3 aarch64 Xcode 12.4
Lazarus 2.1 r61574 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
Lazarus 2.1 r61574 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 3.2.0 Win10 Parallels VM

 

TinyPortal © 2005-2018