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

generated files contain echo "##active_lineN##" lines #1529

Open
koenhandekyn opened this issue Nov 10, 2024 · 1 comment
Open

generated files contain echo "##active_lineN##" lines #1529

koenhandekyn opened this issue Nov 10, 2024 · 1 comment

Comments

@koenhandekyn
Copy link

Describe the bug

when i'm asking to create some files, the actual files often contain these tracing support lines and i'm not able to instruct to avoid this in any way.

echo "##active_line2##"
# frozen_string_literal: true
echo "##active_line3##"

echo "##active_line4##"
class Tasks::CleanupLimitJob < ApplicationJob
echo "##active_line5##"
  queue_as :default
echo "##active_line6##"

echo "##active_line7##"
  def perform(tag: "", limit: 14)
echo "##active_line8##"
    Ops::Backup.retain_last_limit_cleanup_policy(tag: tag, limit: limit)
echo "##active_line9##"
  end
echo "##active_line10##"
end
echo "##active_line11##"

Reproduce

have it read a gem project and ask it to generate e.g. a new active job instance.

Expected behavior

files written should not contain 'echo' lines that serves debugging

Screenshots

No response

Open Interpreter version

0.4.3 Developer Preview

Python version

3.10.13

Operating System name and version

macOS (latest greatest)

Additional context

No response

@1345822
Copy link

1345822 commented Nov 29, 2024

Carefully check the configuration and logic of the scripts, tools or code generators used to create these files. Find out whether these trace support lines are automatically added anywhere, and try to modify the relevant settings or code logic to avoid this situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants