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

Proto loses the full path to projects.state in master #5

Open
mfollett opened this issue Sep 10, 2010 · 1 comment
Open

Proto loses the full path to projects.state in master #5

mfollett opened this issue Sep 10, 2010 · 1 comment

Comments

@mfollett
Copy link

In the master branch right now proto will lose the full path to projects.state and end up looking for the file in the current working directory instead of inside of ~/.perl6. The current workaround is to place a projects.state file inside of the current working directory. I have included a log of this bug and the workaround at the bottom of this correspondence.

Thanks,
Matt Follett

mfollett@gc-mattbook> rm projects.state
rm: projects.state: No such file or directory
~/Documents/Projects/proto
mfollett@gc-mattbook> perl proto.pl clean
Unable to open filehandle from path 'projects.state'
current instr.: 'open' pc 363212 (src/gen/core.pir:26451)
called from Sub 'perl6;Ecosystem;load-project-list' pc 274 (EVAL_1:131)
called from Sub 'perl6;Ecosystem;new' pc 4327 (EVAL_1:46)
called from Sub 'perl6;Installer;new' pc 2844 (EVAL_2:964)
called from Sub '_block5608' pc 29 (EVAL_3:0)
called from Sub '!YOU_ARE_HERE' pc 364903 (src/gen/core.pir:27115)
called from Sub '!UNIT_START' pc 1299 (src/glue/run.pir:24)
called from Sub 'perl6;PCT;HLLCompiler;eval' pc -1 ((unknown file):-1)
called from Sub 'perl6;PCT;HLLCompiler;command_line' pc 1504 (compilers/pct/src/PCT/HLLCompiler.pir:801)
called from Sub 'perl6;Perl6;Compiler;main' pc -1 ((unknown file):-1)
~/Documents/Projects/proto
mfollett@gc-mattbook> touch projects.state
~/Documents/Projects/proto
mfollett@gc-mattbook> perl proto.pl clean
~/Documents/Projects/proto
mfollett@gc-mattbook>

@mfollett
Copy link
Author

This was done in revision b103cc1 .

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

1 participant