Recent

Author Topic: Getting "invalid file handle" when trying to access Help  (Read 538 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: 939
  • 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.
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)

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: 939
  • 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.
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