[Glass] Early access update: PR #13
Dale Henrichs via Glass
glass at lists.gemtalksystems.com
Wed Nov 4 09:48:14 PST 2015
Sorry for taking so long to get back, but I've been buried in getting
ready for my presentation next week ....
The stack you have supplied is indeed the stack that I would expect if a
BaselineOf was "corrupted" --- i.e. a missing method ...
Now the real problem occurred before this point .... so I will ask my
original set of questions again:
How do you think that BaselineOfRouteEvent ended up with no methods ...
the `project new` command should have created the needed methods in the
class ... if you used `project new` ...
If you did use `project new` you may find that the BaselineOfRouteEvent
is dirty (there is an initial commit to the repo when you use `project new`.
Either an error occurred earlier, or you had already started creating a
BaselineOfRouteEvent, or ????
In the future when you get an error doing something with tODE, I really
need to see that first stack ... I understand that your instincts as a
developer say that you might have done something wrong or that it will
work if you try again, but in this case (and very likely future cases)
the stack from the original error will be critical to have ...
So the best thing moving forward would be copy the stack and put it
somewhere in case it is needed to diagnose the problem ...
I know that tODE isn't perfect and I appreciate your efforts to help
work out some of these issues...
Dale
On 10/28/2015 04:07 PM, Jon Paynter wrote:
>
> On Wed, Oct 28, 2015 at 3:15 PM, Dale Henrichs
> <dale.henrichs at gemtalksystems.com
> <mailto:dale.henrichs at gemtalksystems.com>> wrote:
>
>
>
> On 10/28/2015 02:30 PM, Jon Paynter wrote:
>> Yes the project was created with 'project new' cmd.
>>
>> "mc list Route" gave me 2 packages: BaselineOfRouteEvent and
>> RouteEvent-Core. both prefixed with an * -- which I assume means
>> they were modified
>>
>> The RouteEvent project is brand new, so there is nothing worth
>> saving in it, so I removed the 2 packages, and removed the
>> BaselineOfRouteEvent class. I also removed the folder
>> ~/GsDevKit_home/shared/repos/RouteEvent from the server
>> filesystem. Lastly I removed
>> ~/GsDevKit_home/sys/local/server/projects/RouteEvent.ston
>>
>> Then when I re-run "project new --class RouteEvent" it still
>> fails with 'No #baseline pragma found'
>>
>> So it seems there is some other part of the project hanging
>> around thats causing problems. What else do I need to
>> remove/delete so all traces of this project are gone?
>>
>>
>> I did some poking around in the debugger -- it seems the error in
>> question comes AFTER I should be prompted for class information.
>> so something is preventing the class creation dialog from opening.
>>
>
> without a stack I can't answer the question.... the questions in
> my previous email still apply ...
>
> Here is the stack from "project new --class RouteEvent"
>
> 1. UserDefinedError(AbstractException)>>_signalWith: @6 line 25
> 2. UserDefinedError(AbstractException)>>signal @2 line 47
> 3. MetacelloBaselineConstructor(Object)>>error: @6 line 7
> 4. MetacelloBaselineConstructor>>extractBaselinePragmaFor: @6 line 5
> 5. MetacelloBaselineConstructor>>calculate:project: @4 line 4
> 6. MetacelloBaselineConstructor>>on:project: @2 line 2
> 7. MetacelloBaselineConstructor class>>on:project: @3 line 3
> 8. BaselineOfRouteEvent(ConfigurationOf)>>project @14 line 8
> 9. BaselineOfRouteEvent class(ConfigurationOf class)>>project @3 line 3
> 10. MetacelloToolBox>>baselineNamed: @14 line 18
> 11. MetacelloToolBox class>>baselineNamed: @3 line 3
> 12. TDMetacelloTool>>createBaselineOf:withPackageNamed: @2 line 3
> 13.
> TDMetacelloTool>>projectNew:projectEntryPath:packageName:gitRootPath:applicationClassCreationBlock:
> @36 line 23
> 14. TDMetacelloTool>>projectnew @10 line 48
> 15. TDMetacelloTool class(TDAbstractDevTool
> class)>>performSubCommand:objIn:commandOptions:todeCommand: @23 line 22
> 16. [] in TDMetacelloTool class>>project @2 line 5
> 17. TDMetacelloTool class(ExecBlock)>>cull:cull:cull:cull: @7 line 4
> 18. TDTopezServer>>evaluateCommand:objIn: @18 line 22
> 19. TDTopezServer>>evaluateSTONCommand: @9 line 6
> 20. Executed Code
> 21. GsNMethod class>>_gsReturnToC @1 line 1
>
>
> contents of stack frame 13 (since it seems to do the most)
> . ->
> TDMetacelloTool>>projectNew:projectEntryPath:packageName:gitRootPath:applicationClassCreationBlock:
> @36 line 23
> (context) -> aGsNMethod
> (self) -> aTDMetacelloTool
> projectName -> 'RouteEvent'
> projectEntryPath -> '/sys/local/server/projects/'
> packageName -> 'RouteEvent-Core'
> gitRootPath -> '$GS_HOME/shared/repos'
> applicationClassCreationBlock -> anExecBlock
> registration -> nil
> wc -> * RouteEvent-Core ()
> mcTool -> aTDMonticelloTool
> projectEntry -> ^ TDProjectSpecEntryDefinition new
> baseline: 'RouteEvent' repository:
> 'filetree://$GS_HOME/shared/repos/RouteEvent/repository' ...
> projectRepoPath ->
> '$GS_HOME/shared/repos/RouteEvent/repository'
> gitTool -> aTDGitTool
> gitRepoDir -> aServerFileDirectory
> .t1 -> aTDMetacelloTool
> .t2 -> 'RouteEvent'
> .t3 -> 'RouteEvent-Core'
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20151104/3fcc94d2/attachment.html>
More information about the Glass
mailing list