masak / proto

A a hyper-lightweight dependency tracking and project installation system
http://modules.perl6.org
Artistic License 2.0
72 stars 35 forks source link

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

Open mfollett opened 14 years ago

mfollett commented 14 years ago

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 commented 14 years ago

This was done in revision b103cc18532b15e3e384f761d70c0588758ed625 .