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

Relative paths cause file open bug #244

Open
kelleyl opened this issue Oct 16, 2024 · 0 comments
Open

Relative paths cause file open bug #244

kelleyl opened this issue Oct 16, 2024 · 0 comments
Labels
🐛B Something isn't working

Comments

@kelleyl
Copy link
Contributor

kelleyl commented Oct 16, 2024

Bug Description

When running a clams app using the cli.py script, if the script is not run from the same directory as the app, any relative file paths will not work correctly.

Reproduction steps

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

No response

Log output

No response

Screenshots

No response

Additional context

analyzer_version=[l.strip().rsplit('==')[-1] for l in open('requirements.txt').readlines() if re.match(r'^ANALYZER_NAME==', l)][0],

This reference to requirements.txt will need to change.

@kelleyl kelleyl added the 🐛B Something isn't working label Oct 16, 2024
@clams-bot clams-bot added this to infra Oct 16, 2024
@github-project-automation github-project-automation bot moved this to Todo in infra Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛B Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant