look at the stack trace and inspect the stack :) My guess is, that you have some file that is used by startup preferences with invalid syntax When you get the debugger, click on the stack item "FileReference(AbstractFileReference)>>fileIn" and inspect or print "self", this is the file that is causing the problem :) On 2012-11-13, at 13:57, "roberto.minelli@usi.ch" <roberto.minelli@usi.ch> wrote:
Hi all,
Since this morning every time I open Pharo 2.0 an error pops out. Here's the full trace:
Parser>>notify:at: Parser>>expected: Parser>>braceExpression Parser>>primaryExpression Parser>>messagePart:repeat: Parser>>expression Parser>>statements:innerBlock:blockNode: Parser>>statements:innerBlock: Parser>>method:context: Parser>>parse:class:category:noPattern:context:notifying:ifFail: in Block: [methNode := self method: noPattern context: ctxt]...etc... BlockClosure>>on:do: Parser>>parse:class:category:noPattern:context:notifying:ifFail: Compiler>>translate:noPattern:ifFail: Compiler>>evaluate:in:to:notifying:ifFail:logged: Compiler class>>evaluate:for:notifying:logged: Compiler class>>evaluate:for:logged: Compiler class>>evaluate:logged: DoItDeclaration>>import CodeImporter>>evaluateDeclarations in Block: [:decl | value := decl import] OrderedCollection>>do: CodeImporter>>evaluateDeclarations CodeImporter class>>evaluateFileStream: FileReference(AbstractFileReference)>>fileIn in Block: [:stream | CodeImporter evaluateFileStream: stream...etc... FileReference(AbstractFileReference)>>readStreamDo: in Block: [aBlock value: stream] BlockClosure>>ensure: FileReference(AbstractFileReference)>>readStreamDo: FileReference(AbstractFileReference)>>fileIn StartupLoader>>loadPreferences in Block: [:file | file fileIn] OrderedCollection>>do: StartupLoader>>loadPreferences
So, I downloaded a new one-click image, believing the error would disappear since I supposed that everything is self contained but⦠this is not the case: In every new Pharo one-click image I have this error⦠Do you have any intuition on that?
Cheers, Roberto