bug: file that is syntactically wrong

Open Beginner friendly
#1,338 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
tooling

Research direction

The problem is in src/cls/IPM/Utils/EmbeddedPython.cls, where Language = Python is declared at class level, which the linked InterSystems docs disallow. Read the class to find which methods use embedded Python, then move the Language keyword onto those methods. Done when the class compiles on an IRIS instance and those methods still run.

Written by the indexing model from the issue text.

Description

bug

Describe the bug

Classes cannot declare Language = Python, as this class does https://github.com/intersystems/ipm/blob/main/src/cls/IPM/Utils/EmbeddedPython.cls

This won't compile, and the documentation specifies that this isn't allowed: https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=ROBJ_class_language#ROBJ_class_language_def

To Reproduce

This won't compile, just try to load it in to an instance.

The fix is to instead make it Language = Python at the Method level.

Dominant language
ObjectScript
Stars
40
Forks
31
Avg merge
23h 20m
Merged PRs (30d)
29

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from intersystems/ipm

All issues in intersystems/ipm

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.