Recent

Author Topic: Fatal Error Beyond my Comprehension: Cannot find xquery__regex  (Read 6158 times)

Bazzao

  • Full Member
  • ***
  • Posts: 178
  • Pies are squared.
Fatal Error Beyond my Comprehension: Cannot find xquery__regex
« on: October 07, 2018, 12:05:29 am »
For the past year I have been successfully modifying and compiling an application.

This morning I get a fatal error:

xquery.pas(2948,24) Fatal: Cannot find xquery__regex used by xquery, incompatible ppu=C:\Lazarus\units\internettools\lib\x86_64-win64\xquery__regex.ppu, package internettools

A search of forums does not help. The following topics found:

1) is an install of Internettools - I had previously done this successfully.
Ref: https://forum.lazarus.freepascal.org/index.php/topic,39082.msg267149.html#msg267149

2) is an old message, which may be outdated:
https://forum.lazarus.freepascal.org/index.php/topic,32171.msg207048.html#msg207048

The last successful compile was last night.

The only major change since the last compile is overnight we started daylight saving, and the milk is souring  :D

TIA,
Bazza
« Last Edit: October 07, 2018, 12:07:37 am by Bazzao »
Bazza

Lazarus 2.0.10; FPC 3.2.0; SVN Revision 63526; x86_64-win64-win32/win64
Windows 10.

jamie

  • Hero Member
  • *****
  • Posts: 7705
Re: Fatal Error Beyond my Comprehension: Cannot find xquery__regex
« Reply #1 on: October 07, 2018, 12:14:37 am »
That looks to be like a missing DLL file (library)…

 Has windows done an update on you and removed that file?

 Are you having compiling linking issues are this happens at runtime ?
The only true wisdom is knowing you know nothing

Bazzao

  • Full Member
  • ***
  • Posts: 178
  • Pies are squared.
Re: Fatal Error Beyond my Comprehension: Cannot find xquery__regex
« Reply #2 on: October 07, 2018, 01:18:53 am »
> Has windows done an update on you and removed that file?

No update since last compile. All previous updates has not caused this error to occur, and this application is being actively developed.

> Are you having compiling linking issues are this happens at runtime ?

Last successful compile was last night.

These are all the shown messages (I believe I did not hide any) ...

Compile Project, Mode: Development, Target: QuickNotes1.exe: Exit code 1, Errors: 1, Warnings: 1

Warning: Recompiling xquery__regex, checksum changed for xquery

xquery.pas(2948,24) Fatal: Cannot find xquery__regex used by xquery, incompatible ppu=C:\Lazarus\units\internettools\lib\x86_64-win64\xquery__regex.ppu, package internettools

Should I re-install Internet tools?.

Bazza
Bazza

Lazarus 2.0.10; FPC 3.2.0; SVN Revision 63526; x86_64-win64-win32/win64
Windows 10.

Jurassic Pork

  • Hero Member
  • *****
  • Posts: 1290
Re: Fatal Error Beyond my Comprehension: Cannot find xquery__regex
« Reply #3 on: October 07, 2018, 01:44:52 am »
hello,
have you tried  a clean up before compiling :
menu Run / Clean up and rebuild
Friendly, J.P
Jurassic computer : Sinclair ZX81 - Zilog Z80A à 3,25 MHz - RAM 1 Ko - ROM 8 Ko

Bazzao

  • Full Member
  • ***
  • Posts: 178
  • Pies are squared.
Re: Fatal Error Beyond my Comprehension: Cannot find xquery__regex
« Reply #4 on: October 07, 2018, 02:12:25 am »
Hi Jurassic Pork,

Cleanup and Build results in heaps of warnings, but the same error messages for the Application compilation.

Compile Project, Mode: Development, Target: QuickNotes1.exe: Exit code 1, Errors: 1, Warnings: 1
Warning: Recompiling xquery__regex, checksum changed for xquery
xquery.pas(2948,24) Fatal: Cannot find xquery__regex used by xquery, incompatible ppu=C:\Lazarus\units\internettools\lib\x86_64-win64\xquery__regex.ppu, package internettools

Bazza
Bazza

Lazarus 2.0.10; FPC 3.2.0; SVN Revision 63526; x86_64-win64-win32/win64
Windows 10.

Bazzao

  • Full Member
  • ***
  • Posts: 178
  • Pies are squared.
Re: Fatal Error Beyond my Comprehension: Cannot find xquery__regex
« Reply #5 on: October 07, 2018, 02:25:34 am »
Is there a way to stop the offending external unit from recompiling? I can copy the unit from another PC. If so what files to look for?
Bazza

Lazarus 2.0.10; FPC 3.2.0; SVN Revision 63526; x86_64-win64-win32/win64
Windows 10.

lucamar

  • Hero Member
  • *****
  • Posts: 4217
Re: Fatal Error Beyond my Comprehension: Cannot find xquery__regex
« Reply #6 on: October 07, 2018, 02:49:59 am »
Is there a way to stop the offending external unit from recompiling? I can copy the unit from another PC. If so what files to look for?

The files should be xquery_regex.ppu and xquery_regex.o but if I were you I would rather uninstall the package internettools, delete all the compiled units (which are probably in C:\Lazarus\units\internettools\lib\x86_64-win64\; just delete the directory) and reinstall the package.
« Last Edit: October 07, 2018, 02:52:44 am by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

Bazzao

  • Full Member
  • ***
  • Posts: 178
  • Pies are squared.
Re: Fatal Error Beyond my Comprehension: Cannot find xquery__regex
« Reply #7 on: October 07, 2018, 02:53:25 am »
Thanks lucamar,

I will uninstall & reinstall as you suggest.

A link to or notes of an uninstall procedure would be good. I can file it away for future problems.

Bazza


Bazza

Lazarus 2.0.10; FPC 3.2.0; SVN Revision 63526; x86_64-win64-win32/win64
Windows 10.

lucamar

  • Hero Member
  • *****
  • Posts: 4217
Re: Fatal Error Beyond my Comprehension: Cannot find xquery__regex
« Reply #8 on: October 07, 2018, 03:02:02 am »
A link to or notes of an uninstall procedure would be good. I can file it away for future problems.

Like this: Lazarus_Packages#Removing_Packages?

BTW: That directory ... is a little strange; make sure that the compiled units are really there. If they are not, then your problem is other.
« Last Edit: October 07, 2018, 03:05:50 am by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

Bazzao

  • Full Member
  • ***
  • Posts: 178
  • Pies are squared.
Re: Fatal Error Beyond my Comprehension: Cannot find xquery__regex
« Reply #9 on: October 07, 2018, 03:26:25 am »
Ta. Working on it now.

Bazza.
Bazza

Lazarus 2.0.10; FPC 3.2.0; SVN Revision 63526; x86_64-win64-win32/win64
Windows 10.

Bazzao

  • Full Member
  • ***
  • Posts: 178
  • Pies are squared.
Re: Fatal Error Beyond my Comprehension: Cannot find xquery__regex
« Reply #10 on: October 07, 2018, 03:33:59 am »
I cannot find internettools in either list of Install/Uninstall.

Did the fatal error void the installation?

Should I just remove the files and replace?

B
Bazza

Lazarus 2.0.10; FPC 3.2.0; SVN Revision 63526; x86_64-win64-win32/win64
Windows 10.

lucamar

  • Hero Member
  • *****
  • Posts: 4217
Re: Fatal Error Beyond my Comprehension: Cannot find xquery__regex
« Reply #11 on: October 07, 2018, 03:53:51 am »
I cannot find internettools in either list of Install/Uninstall.

Did the fatal error void the installation?

Should I just remove the files and replace?

B

Hmm... How did you install it the first time? The process is well--if somewhat tersely--explained in Internet Tools docs, did you follow it?

ETA: It's 4:00 AM here so I won't follow up till tomorrow later :)
« Last Edit: October 07, 2018, 03:57:01 am by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

Bazzao

  • Full Member
  • ***
  • Posts: 178
  • Pies are squared.
Re: Fatal Error Beyond my Comprehension: Cannot find xquery__regex
« Reply #12 on: October 07, 2018, 06:35:07 am »
I actually cannot remember. I do scraping of websites in Pascal, so it must have been installed or otherwise working.

Anyway I'll remove the files and try to install.

B
Bazza

Lazarus 2.0.10; FPC 3.2.0; SVN Revision 63526; x86_64-win64-win32/win64
Windows 10.

Bazzao

  • Full Member
  • ***
  • Posts: 178
  • Pies are squared.
Re: Fatal Error Beyond my Comprehension: Cannot find xquery__regex
« Reply #13 on: October 07, 2018, 07:20:08 am »
All done & fixed. Thanks everybody.

B

Bazza

Lazarus 2.0.10; FPC 3.2.0; SVN Revision 63526; x86_64-win64-win32/win64
Windows 10.

jamie

  • Hero Member
  • *****
  • Posts: 7705
Re: Fatal Error Beyond my Comprehension: Cannot find xquery__regex
« Reply #14 on: October 07, 2018, 05:13:08 pm »
is it possible you included one of the source files of that package in your project? If so
it could be recompiling it each time and changing the signature
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018