Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on compile after local import with 2022.1 #432

Open
jasonalun opened this issue Nov 13, 2023 · 7 comments
Open

Error on compile after local import with 2022.1 #432

jasonalun opened this issue Nov 13, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@jasonalun
Copy link

ERROR #5002: ObjectScript error: zGetInstallerProperties+11^%ZPM.PackageManager.Developer.Utils.1 *%GetData,%SQL.StatementResult

ERROR #5574: Error reported while running generator for parameter '%ZPM.PackageManager.Developer.Processor.CSPApplication:ATTRIBUTES'
> ERROR #5030: An error occurred while compiling class '%ZPM.PackageManager.Developer.Processor.CSPApplication'
> ERROR #5090: An error has occurred while creating projection %ZPM.Installer:Reference.

@evshvarov
Copy link
Collaborator

evshvarov commented Nov 14, 2023 via email

@isc-tleavitt
Copy link
Contributor

This is an issue compiling IPM itself

@isc-tleavitt
Copy link
Contributor

The "dynamic SQL with host variables" thing in https://github.com/intersystems/ipm/blob/master/src/%25ZPM/PackageManager/Developer/Utils.cls#L1743 is pretty gross regardless of the extent to which it might lead to this issue.

@isc-tleavitt
Copy link
Contributor

This works fine for me on 2022.1.1, but was failing for Jason on some other 2022.1.x version. Looking at https://docs.intersystems.com/upgrade/results?product=iris&versionFrom=2022.1.1&versionTo=2022.1.4&categories=Core,SQL it seemed that DP-407729 could be related. Looking at things internally, this introduced another issue (internal reference: DP-425447) that is fixed in 2022.1.4 and which could possibly explain this symptom.

@jasonalun are you on 2022.1.3 specifically? If so, the fix would be update to 2022.1.4.

@isc-tleavitt
Copy link
Contributor

Assuming the upgrade fixes the issue, I'd vote leave this open to fix the gross code obscuring the real issue.

@jasonalun
Copy link
Author

jasonalun commented Nov 14, 2023 via email

@jasonalun
Copy link
Author

jasonalun commented Nov 14, 2023 via email

@isc-tleavitt isc-tleavitt added the bug Something isn't working label Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants