Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3843

Mysterious "barcode" error during compilation

$
0
0

Probably nothing to do with “barcode” per se but here it goes:
(macOS 10.14.6, full MBS plugin suite)

Using Xojo 2024r1.1:

  • I have a large Desktop project, it builds fine
  • I have a console project, it builds fine

Using Xojo 2024r2:

  • large Desktop project, builds fine
  • console project, builds fine
  • repeat Desktop project build, I get this error out of the blue:

My project has no calls to any barcode methods, and the string “barcode” does not even exist in my project. From then on in, neither desktop nor console projects will build because of this error, and even a new blank desktop project gives the same error. So I’m stuck and cannot build anything. Clearing caches, quit-relaunch, rebooting my Mac, trying on a new account, does not fix the issue.

Going back to 2024r1.1, all projects build without issue (even without clearing caches).

And the “Clear caches” function in Prefs>Building does not seem to clear everything, because clearly something persists across launches to throw the same error.

The curious part: if I remove all my MBS plugins, clear caches, relaunch, now I can build my Desktop project with 2024r2 (this forces a re-build of all plugin cached files it seems). I can build my console project as well, but xojo re-prepares all the plugins (takes long with MBS which is why you know it’s occurring) which is curious, why? I thought the plugins were the same for desktop vs console? And i think this is where the problem lies: when i go back to rebuilding my desktop project, now it fails again.

So I think there may be a flaw in the plugin prep phase in 2024r2 that somehow messes things up throwing errors on methods that are not even used in the project. The large prep required when MBS suite is installed may trigger this, but has nothing to do with the MBS plugins themselves because they are all the same for all above steps.

Any one else seen this? This is serious because once this sets in, none of your projects will build. So for now 2024r2 is a non-starter for me.

10 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 3843

Trending Articles