Macaulay2 / Macaulay2/M2

changeDirectory breaks path

Open
#4,389 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Core
Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

```m2
$ M2
Macaulay2, version 1.26.05
Type "help" to see useful commands

i1 : changeDirectory "Downloads"

o1 = /home/mahrud/Downloads/

i2 : needsPackage "NormalToricVarieties"
stdio:2:12:(3):[1]: error: file not found on path: "NormalToricVarieties.m2"
```

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Reproduce the session in Macaulay2 using changeDirectory "Downloads" followed by needsPackage "NormalToricVarieties". Start by locating the changeDirectory and needsPackage entry points and trace how the package search path is resolved after changing directories. Done means the package can be found and loaded from the shown Downloads directory.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.