carpentry-org / gt4carp

Carp inside Glamorous Toolkit
10 stars 0 forks source link

Installation seems to be failing #11

Closed ahribellah closed 1 year ago

ahribellah commented 2 years ago

I downloaded the latest version of GT as of this post and attempted to run the command in the Playground (I assume that works? I haven't used GT before and have very little experience with Smalltalk), which threw the following error:

image

Here's the Transcript:

Returning an object but pool is fullFetched -> BaselineOfCarp-CompatibleUserName.1667023701 --- https://github.com/carpentry-org/gt4carp.git[master] --- https://github.com/carpentry-org/gt4carp.git[master]
Loading -> BaselineOfCarp-CompatibleUserName.1667023701 --- https://github.com/carpentry-org/gt4carp.git[master] --- https://github.com/carpentry-org/gt4carp.git[master]
Loaded -> BaselineOfCarp-CompatibleUserName.1667023701 --- https://github.com/carpentry-org/gt4carp.git[master] --- https://github.com/carpentry-org/gt4carp.git[master]
Loading baseline of BaselineOfCarp...
Fetched -> BaselineOfGToolkitFormatters-CompatibleUserName.1667026732 --- https://github.com/carpentry-org/gtoolkit-formatters.git[main] --- https://github.com/carpentry-org/gtoolkit-formatters.git[main]
Loading -> BaselineOfGToolkitFormatters-CompatibleUserName.1667026732 --- https://github.com/carpentry-org/gtoolkit-formatters.git[main] --- https://github.com/carpentry-org/gtoolkit-formatters.git[main]
Loaded -> BaselineOfGToolkitFormatters-CompatibleUserName.1667026732 --- https://github.com/carpentry-org/gtoolkit-formatters.git[main] --- https://github.com/carpentry-org/gtoolkit-formatters.git[main]
Project: GToolkit4SmaCC baseline
Project: SmaCC baseline
Project: GToolkitFormatters baseline
Fetched -> GToolkitFormatter-CompatibleUserName.1667026732 --- https://github.com/carpentry-org/gtoolkit-formatters.git[main] --- https://github.com/carpentry-org/gtoolkit-formatters.git[main]
Fetched -> GToolkitFormatter-Formatting-CompatibleUserName.1667026732 --- https://github.com/carpentry-org/gtoolkit-formatters.git[main] --- https://github.com/carpentry-org/gtoolkit-formatters.git[main]
Fetched -> Carp-CompatibleUserName.1667023701 --- https://github.com/carpentry-org/gt4carp.git[master] --- https://github.com/carpentry-org/gt4carp.git[master]
Fetched -> Carp-AST-CompatibleUserName.1667023701 --- https://github.com/carpentry-org/gt4carp.git[master] --- https://github.com/carpentry-org/gt4carp.git[master]
Fetched -> Carp-Parser-CompatibleUserName.1667023701 --- https://github.com/carpentry-org/gt4carp.git[master] --- https://github.com/carpentry-org/gt4carp.git[master]
Loading -> GToolkitFormatter-CompatibleUserName.1667026732 --- https://github.com/carpentry-org/gtoolkit-formatters.git[main] --- cache
Loaded -> GToolkitFormatter-CompatibleUserName.1667026732 --- https://github.com/carpentry-org/gtoolkit-formatters.git[main] --- cache
Loading -> GToolkitFormatter-Formatting-CompatibleUserName.1667026732 --- https://github.com/carpentry-org/gtoolkit-formatters.git[main] --- cache
Loaded -> GToolkitFormatter-Formatting-CompatibleUserName.1667026732 --- https://github.com/carpentry-org/gtoolkit-formatters.git[main] --- cache
Loading -> Carp-CompatibleUserName.1667023701 --- https://github.com/carpentry-org/gt4carp.git[master] --- cache
UndefinedObject>>DoIt (TCarpExpressionNodeVisitor is Undeclared)
UndefinedObject>>DoIt (TCarpExpressionNodeVisitor is Undeclared)
CarpEsugSlideShow>>parserFor: (CarpParser is Undeclared)
GtCarpCoderModel>>bindAndExecute: (CarpParser is Undeclared)
GtCarpCoderModel>>computeAst: (CarpParser is Undeclared)
GtCarpCoderModel>>initializeAddOns: (CarpParser is Undeclared)
GtCarpCoderModel>>initializeAddOns: (GtCarpFormatter is Undeclared)
GtCarpCoderModel>>initializeAddOns: (CarpParser is Undeclared)
GtCarpCoderModel>>inspectTypeSpawningOn: (CarpParser is Undeclared)
GtCarpIDECoderModel>>save (CarpParser is Undeclared)
GtCarpNewFunctionCoderModel>>initializeAddOns: (CarpParser is Undeclared)
GtCarpNewFunctionCoderModel>>save (CarpParser is Undeclared)
LanguageLinkSettings class>>carpDefaultSettings (CarpParser is Undeclared)
GtSmaCCParserStyler class>>carpStyler: (CarpVariableNode is Undeclared)
GtSmaCCParserStyler class>>carpStyler: (CarpModuleOrTypeNode is Undeclared)
CarpExecutionResult>>parse (CarpParser is Undeclared)
CarpFile class>>coreLoadStatements (CarpParser is Undeclared)
CarpFile class>>coreLoadStatements (CarpListNode is Undeclared)
CarpFile class>>coreLoadStatements (CarpVariableNode is Undeclared)
CarpFile>>for: (CarpParser is Undeclared)
CarpPostMortemDebugger>>sourceStyler (CarpParser is Undeclared)
UndefinedObject>>DoIt (TCarpExpressionNodeVisitor is Undeclared)
UndefinedObject>>DoIt (TCarpExpressionNodeVisitor is Undeclared)
hellerve commented 2 years ago

Thanks, I’ll take a look. I most likely am missing a constraint between packages! In the meantime, loading from the Git tool and then loading the individual packages should work, but is likely order-dependent.

I’ll get to it soon!

hellerve commented 1 year ago

Executing the metacello installer seems to work fine for me now. Would you be able to confirm whether this works for you now?

Metacello new
    baseline: 'Carp';
    repository: 'github://carpentry-org/gt4carp:master/src';
    load.

For future reference, the issue was the formatter depending on a trait from the parser package.

ahribellah commented 1 year ago

I had to download a fresh copy of Glamorous Toolkit, but it's working now.

image