Ticket #692 (closed bug: fixed)
PBC to PIR fallback fails.
Reported by: | coke | Owned by: | jkeenan |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | testing | Version: | 1.2.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
$ which parrot /usr/local/bin/parrot $ parrot --version This is Parrot version 1.2.0 built for i386-linux. Copyright (C) 2001-2009, Parrot Foundation. This code is distributed under the terms of the Artistic License 2.0. For more details, see the full text of the license in the LICENSE file included in the Parrot source tree. $ cat foo.pir .sub main :main load_bytecode 'Tcl/Glob.pbc' .end $ parrot foo.pir PackFile_unpack: This is not a valid Parrot bytecode file Parrot VM: Can't unpack packfile /usr/local/lib/parrot/1.2.0/library/Tcl/Glob.pir. Unable to append PBC to the current directory current instr.: 'main' pc 0 (foo.pir:2)
NotFound++ suggests that it's falling back on the /filename/, but not the expected content type, and is then trying to load the .pir file as if it were a .pbc.
Change History
Note: See
TracTickets for help on using
tickets.