GemTalk / Jadeite

IDE for GemStone Smalltalk application development using Rowan code management
MIT License
6 stars 2 forks source link

[3.2.10] Allow loading a non-git project, such as one just created (rowan 836) #935

Closed LisaAlmarode closed 2 years ago

LisaAlmarode commented 2 years ago

This is the same use case as Rowan 836, but since I can load the projects using vanilla rowan, but it does not work in Jadeite, filing this on Jadeite hoping that might result in fixage.

Creating a brand new project without a remote origin repository should work, and does for a while, but removing and reloading it does not work.

(1) create a project in Jadeite. (2) add a package, class, and some methods. (3) commit to git. Repository on disk looks reasonable. (4) unload. (5) try to load this project back in using Jadeite. Get walkback, with error:

'performOnServer: ''set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/Isfahan; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/Isfahan/.git --work-tree /benton1/users/gsadmin/ROWAN37/myrowan/Isfahan fetch origin'' stdout: ''fatal: ''''origin'''' does not appear to be a git repository?fatal: Could not read from remote repository.??Please make sure you have the correct access rights?and the repository exists.?'' failed with status: 32768 errno: 0 errStr: nil'

But there is no remote for this repository, which was just created from Jadeite out of the blue.

LisaAlmarode commented 2 years ago
a UserDefinedError occurred (error 2318), reason:halt, performOnServer: 'set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject/.git --work-tree /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject fetch origin' stdout: 'fatal: ''origin'' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
' failed with status: 32768 errno: 0 errStr: nil

[1] UserDefinedError (AbstractException) >> _signalToDebugger @11 line 8
[2] UserDefinedError (AbstractException) >> defaultAction @2 line 18
[3] UserDefinedError (AbstractException) >> _defaultAction @4 line 4
[4] UserDefinedError (AbstractException) >> _signal @2 line 20
[5] UserDefinedError (AbstractException) >> signal @2 line 47
[6] RwGitTool (Object) >> error: @6 line 7
[7] [] in RwGitTool >> performOnServer:logging: @35 line 21
[8] RwGitTool >> performOnServer:status: @4 line 4
[9] RwGitTool >> performOnServer:logging: @2 line 4
[10] RwGitTool >> performGitCommand:in:worktree:with:logging: @13 line 9
[11] RwGitTool >> performGitCommand:in:with: @3 line 4
[12] RwGitTool >> gitfetchIn:with: @3 line 2
[13] RwGitRepositoryDefinitionV2 >> fetch @5 line 2
[14] RwGitRepositoryDefinitionV2 >> checkAndUpdateRepositoryRevision: @12 line 11
[15] RwResolvedProjectV2 >> _basicResolve @6 line 9
[16] RwResolvedProjectV2 >> resolveProject @2 line 5
[17] RwResolvedProjectV2 class >> loadSpecification: @3 line 8
[18] RwLoadSpecificationV2 >> resolveProject @2 line 7
[19] [] in RwLoadSpecificationV2 >> resolveStrict @13 line 11
[20] ExecBlock0 (ExecBlock) >> ensure: @2 line 12
[21] RwLoadSpecificationV2 >> resolveStrict @8 line 12
[22] RowanProjectService >> installProjectFromFile:projectsHome:componentNames:attributes:resolveStrict: @9 line 9
[23] RowanProjectService (Object) >> perform:withArguments: @1 line 12
[24] RowanProjectService (RowanService) >> servicePerform:withArguments:shouldUpdate: @3 line 6
[25] RowanProjectService (RowanService) >> servicePerform:withArguments: @2 line 4
[26] RowanProjectService >> servicePerform:withArguments: @6 line 4
[27] [] in JadeServer >> updateFromSton: @39 line 14
[28] OrderedCollection (Collection) >> do: @5 line 10
[29] [] in JadeServer >> updateFromSton: @28 line 10
[30] ExecBlock0 (ExecBlock) >> on:do: @3 line 44
[31] [] in JadeServer >> updateFromSton: @16 line 15
[32] ExecBlock0 (ExecBlock) >> on:do: @3 line 44
[33] JadeServer64bit35 (JadeServer) >> updateFromSton: @2 line 24
[34] GsNMethod class >> _gsReturnToC @1 line 11
===============================================
[1] UserDefinedError (AbstractException) >> _signalToDebugger @11 line 8
    receiver oop(107952129) == a UserDefinedError occurred (error 2318), reason:halt, performOnServer: 'set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestPro...

instance variables:
    -currGsHandler oop(20) == nil
    -gsArgs oop(20) == nil
    -gsDetails oop(107925505) == 'performOnServer: ''set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject/.git --work-tree /benton1/users/gsadmin/ROWAN37/...
    -gsNumber oop(18546) == 2318
    -gsReason oop(107925249) == 'halt'
    -gsResumable oop(268) == true
    -gsStack oop(20) == nil
    -gsTrappable oop(268) == true
    -messageText oop(107925761) == 'a UserDefinedError occurred (error 2318), reason:halt, performOnServer: ''set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestP...
    -tag oop(20) == nil

temporary variables and parameters:
    blk oop(20) == nil
    proc oop(107947777) == GsProcess(oop=107947777, status=debug, priority=15, ?   UserDefinedError (AbstractException) >> _signalToDebugger @11 line 8?   UserDefinedError (AbstractException) >> defaultAction @2 line 18?   User...
    res oop(20) == nil
----------------------------------------------------
[2] UserDefinedError (AbstractException) >> defaultAction @2 line 18
    receiver oop(107952129) == a UserDefinedError occurred (error 2318), reason:halt, performOnServer: 'set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestPro...

instance variables:
    -currGsHandler oop(20) == nil
    -gsArgs oop(20) == nil
    -gsDetails oop(107925505) == 'performOnServer: ''set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject/.git --work-tree /benton1/users/gsadmin/ROWAN37/...
    -gsNumber oop(18546) == 2318
    -gsReason oop(107925249) == 'halt'
    -gsResumable oop(268) == true
    -gsStack oop(20) == nil
    -gsTrappable oop(268) == true
    -messageText oop(107925761) == 'a UserDefinedError occurred (error 2318), reason:halt, performOnServer: ''set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestP...
    -tag oop(20) == nil

temporary variables and parameters:
----------------------------------------------------
[3] UserDefinedError (AbstractException) >> _defaultAction @4 line 4
    receiver oop(107952129) == a UserDefinedError occurred (error 2318), reason:halt, performOnServer: 'set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestPro...

instance variables:
    -currGsHandler oop(20) == nil
    -gsArgs oop(20) == nil
    -gsDetails oop(107925505) == 'performOnServer: ''set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject/.git --work-tree /benton1/users/gsadmin/ROWAN37/...
    -gsNumber oop(18546) == 2318
    -gsReason oop(107925249) == 'halt'
    -gsResumable oop(268) == true
    -gsStack oop(20) == nil
    -gsTrappable oop(268) == true
    -messageText oop(107925761) == 'a UserDefinedError occurred (error 2318), reason:halt, performOnServer: ''set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestP...
    -tag oop(20) == nil

temporary variables and parameters:
    res oop(20) == nil
----------------------------------------------------
[4] UserDefinedError (AbstractException) >> _signal @2 line 20
    receiver oop(107952129) == a UserDefinedError occurred (error 2318), reason:halt, performOnServer: 'set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestPro...

instance variables:
    -currGsHandler oop(20) == nil
    -gsArgs oop(20) == nil
    -gsDetails oop(107925505) == 'performOnServer: ''set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject/.git --work-tree /benton1/users/gsadmin/ROWAN37/...
    -gsNumber oop(18546) == 2318
    -gsReason oop(107925249) == 'halt'
    -gsResumable oop(268) == true
    -gsStack oop(20) == nil
    -gsTrappable oop(268) == true
    -messageText oop(107925761) == 'a UserDefinedError occurred (error 2318), reason:halt, performOnServer: ''set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestP...
    -tag oop(20) == nil

temporary variables and parameters:
    res oop(20) == nil
----------------------------------------------------
[5] UserDefinedError (AbstractException) >> signal @2 line 47
    receiver oop(107952129) == a UserDefinedError occurred (error 2318), reason:halt, performOnServer: 'set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestPro...

instance variables:
    -currGsHandler oop(20) == nil
    -gsArgs oop(20) == nil
    -gsDetails oop(107925505) == 'performOnServer: ''set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject/.git --work-tree /benton1/users/gsadmin/ROWAN37/...
    -gsNumber oop(18546) == 2318
    -gsReason oop(107925249) == 'halt'
    -gsResumable oop(268) == true
    -gsStack oop(20) == nil
    -gsTrappable oop(268) == true
    -messageText oop(107925761) == 'a UserDefinedError occurred (error 2318), reason:halt, performOnServer: ''set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestP...
    -tag oop(20) == nil

temporary variables and parameters:
----------------------------------------------------
[6] RwGitTool (Object) >> error: @6 line 7
    receiver oop(107929601) == aRwGitTool

instance variables:

temporary variables and parameters:
    messageString oop(107925505) == 'performOnServer: ''set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject/.git --work-tree /benton1/users/gsadmin/ROWAN37/...
----------------------------------------------------
[7] [] in RwGitTool >> performOnServer:logging: @35 line 21
    receiver oop(107855105) == anExecBlock1

instance variables:

temporary variables and parameters:
    commandLine oop(107854593) == 'set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject/.git --work-tree /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProje...
    message oop(107925505) == 'performOnServer: ''set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject/.git --work-tree /benton1/users/gsadmin/ROWAN37/...
    performOnServerStatusArray oop(107854849) == anArray( 32768, 128, 'fatal: ''origin'' does not appear to be a git repository?fatal: Could not read from remote repository.??Please make sure you have the correct access rights?and the repository exi...
    self oop(107929601) == aRwGitTool
----------------------------------------------------
[8] RwGitTool >> performOnServer:status: @4 line 4
    receiver oop(107929601) == aRwGitTool

instance variables:

temporary variables and parameters:
    commandLine oop(107854593) == 'set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject/.git --work-tree /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProje...
    performOnServerStatusArray oop(107854849) == anArray( 32768, 128, 'fatal: ''origin'' does not appear to be a git repository?fatal: Could not read from remote repository.??Please make sure you have the correct access rights?and the repository exi...
    statusBlock oop(107855105) == anExecBlock1
----------------------------------------------------
[9] RwGitTool >> performOnServer:logging: @2 line 4
    receiver oop(107929601) == aRwGitTool

instance variables:

temporary variables and parameters:
    commandLine oop(107854593) == 'set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject/.git --work-tree /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProje...
    logging oop(12) == false
    result oop(20) == nil
----------------------------------------------------
[10] RwGitTool >> performGitCommand:in:worktree:with:logging: @13 line 9
    receiver oop(107929601) == aRwGitTool

instance variables:

temporary variables and parameters:
    command oop(107854593) == 'set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject/.git --work-tree /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProje...
    commandBase oop(107852033) == 'set -e; cd /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject; git --git-dir /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject/.git --work-tree /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProje...
    gitArgs oop(71832065) == 'origin'
    gitCommand oop(70778369) == 'fetch'
    gitRepoPath oop(107852289) == '/benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject'
    logging oop(12) == false
    workTreePath oop(107852289) == '/benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject'
----------------------------------------------------
[11] RwGitTool >> performGitCommand:in:with: @3 line 4
    receiver oop(107929601) == aRwGitTool

instance variables:

temporary variables and parameters:
    gitArgs oop(71832065) == 'origin'
    gitCommand oop(70778369) == 'fetch'
    gitRepoPath oop(107852289) == '/benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject'
----------------------------------------------------
[12] RwGitTool >> gitfetchIn:with: @3 line 2
    receiver oop(107929601) == aRwGitTool

instance variables:

temporary variables and parameters:
    args oop(71832065) == 'origin'
    gitRootReference oop(107850241) == File @ /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject
----------------------------------------------------
[13] RwGitRepositoryDefinitionV2 >> fetch @5 line 2
    receiver oop(107849985) == aRwGitRepositoryDefinitionV2 for MyTestProject

instance variables:
    -committish oop(20) == nil
    -gitRoot oop(107850241) == File @ /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject
    -gitUrl oop(20) == nil
    -projectsHome oop(107848193) == File @ /benton1/users/gsadmin/ROWAN37/myrowan
    -properties oop(107848961) == aSymbolDictionary( #'name'->'MyTestProject')
    -relativeRepositoryRoot oop(233473) == ''
    -remote oop(20) == nil
    -remoteUrl oop(233473) == ''
    -repositoryRoot oop(107847937) == File @ /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject
    -repositoryUrl oop(233473) == ''

temporary variables and parameters:
----------------------------------------------------
[14] RwGitRepositoryDefinitionV2 >> checkAndUpdateRepositoryRevision: @12 line 11
    receiver oop(107849985) == aRwGitRepositoryDefinitionV2 for MyTestProject

instance variables:
    -committish oop(20) == nil
    -gitRoot oop(107850241) == File @ /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject
    -gitUrl oop(20) == nil
    -projectsHome oop(107848193) == File @ /benton1/users/gsadmin/ROWAN37/myrowan
    -properties oop(107848961) == aSymbolDictionary( #'name'->'MyTestProject')
    -relativeRepositoryRoot oop(233473) == ''
    -remote oop(20) == nil
    -remoteUrl oop(233473) == ''
    -repositoryRoot oop(107847937) == File @ /benton1/users/gsadmin/ROWAN37/myrowan/MyTestProject
    -repositoryUrl oop(233473) == ''

temporary variables and parameters:
    aRwProjectLoadSpecificationV2 oop(107846657) == aRwResolvedProjectV2 for MyTestProject
    revision oop(20) == nil
----------------------------------------------------
[15] RwResolvedProjectV2 >> _basicResolve @6 line 9
    receiver oop(107846657) == aRwResolvedProjectV2 for MyTestProject

instance variables:
    -loadSpecification oop(107845633) == aRwLoadSpecificationV2 for MyTestProject
    -projectComponents oop(107845121) == aRwResolvedProjectComponentsV2
    -projectDefinition oop(107845377) == aRwProjectDefinition for MyTestProject
    -projectRepository oop(107849985) == aRwGitRepositoryDefinitionV2 for MyTestProject
    -projectSpecification oop(20) == nil

temporary variables and parameters:
----------------------------------------------------
[16] RwResolvedProjectV2 >> resolveProject @2 line 5
    receiver oop(107846657) == aRwResolvedProjectV2 for MyTestProject

instance variables:
    -loadSpecification oop(107845633) == aRwLoadSpecificationV2 for MyTestProject
    -projectComponents oop(107845121) == aRwResolvedProjectComponentsV2
    -projectDefinition oop(107845377) == aRwProjectDefinition for MyTestProject
    -projectRepository oop(107849985) == aRwGitRepositoryDefinitionV2 for MyTestProject
    -projectSpecification oop(20) == nil

temporary variables and parameters:
----------------------------------------------------
[17] RwResolvedProjectV2 class >> loadSpecification: @3 line 8
    receiver oop(30180097) == RwResolvedProjectV2

instance variables:

temporary variables and parameters:
    anRwLoadSpecificationV2 oop(107843329) == aRwLoadSpecificationV2 for MyTestProject
----------------------------------------------------
[18] RwLoadSpecificationV2 >> resolveProject @2 line 7
    receiver oop(107843329) == aRwLoadSpecificationV2 for MyTestProject

instance variables:
    -comment oop(107839489) == ''
    -componentNames oop(107841793) == anArray( 'Core')
    -customConditionalAttributes oop(107841537) == anArray( )
    -diskUrl oop(20) == nil
    -gitUrl oop(20) == nil
    -mercurialUrl oop(20) == nil
    -platformProperties oop(107841281) == aDictionary( 'gemstone'->aDictionary( 'allusers'->aDictionary( #'defaultSymbolDictName'->'UserGlobals')))
    -projectAlias oop(20) == nil
    -projectName oop(107842305) == 'MyTestProject'
    -projectsHome oop(107848193) == File @ /benton1/users/gsadmin/ROWAN37/myrowan
    -projectSpecFile oop(107842049) == 'rowan/project.ston'
    -readonlyDiskUrl oop(20) == nil
    -relativeRepositoryRoot oop(20) == nil
    -repositoryResolutionPolicy oop(39517953) == #'strict'
    -revision oop(20) == nil
    -specName oop(20) == nil
    -svnUrl oop(20) == nil
    -versionPrefix oop(20) == nil

temporary variables and parameters:
----------------------------------------------------
[19] [] in RwLoadSpecificationV2 >> resolveStrict @13 line 11
    receiver oop(107838721) == anExecBlock0

instance variables:

temporary variables and parameters:
    self oop(107843329) == aRwLoadSpecificationV2 for MyTestProject
----------------------------------------------------
[20] ExecBlock0 (ExecBlock) >> ensure: @2 line 12
    receiver oop(107838721) == anExecBlock0

instance variables:

temporary variables and parameters:
    b oop(20) == nil
    result oop(20) == nil
    terminationBlock oop(107837697) == anExecBlock
----------------------------------------------------
[21] RwLoadSpecificationV2 >> resolveStrict @8 line 12
    receiver oop(107843329) == aRwLoadSpecificationV2 for MyTestProject

instance variables:
    -comment oop(107839489) == ''
    -componentNames oop(107841793) == anArray( 'Core')
    -customConditionalAttributes oop(107841537) == anArray( )
    -diskUrl oop(20) == nil
    -gitUrl oop(20) == nil
    -mercurialUrl oop(20) == nil
    -platformProperties oop(107841281) == aDictionary( 'gemstone'->aDictionary( 'allusers'->aDictionary( #'defaultSymbolDictName'->'UserGlobals')))
    -projectAlias oop(20) == nil
    -projectName oop(107842305) == 'MyTestProject'
    -projectsHome oop(107848193) == File @ /benton1/users/gsadmin/ROWAN37/myrowan
    -projectSpecFile oop(107842049) == 'rowan/project.ston'
    -readonlyDiskUrl oop(20) == nil
    -relativeRepositoryRoot oop(20) == nil
    -repositoryResolutionPolicy oop(39517953) == #'strict'
    -revision oop(20) == nil
    -specName oop(20) == nil
    -svnUrl oop(20) == nil
    -versionPrefix oop(20) == nil

temporary variables and parameters:
    oldPolicy oop(20) == nil
----------------------------------------------------
[22] RowanProjectService >> installProjectFromFile:projectsHome:componentNames:attributes:resolveStrict: @9 line 9
    receiver oop(107836673) == aRowanProjectService:nil

instance variables:
    -branch oop(20) == nil
    -changes oop(20) == nil
    -command oop(49969153) == #'installProjectFromFile:projectsHome:componentNames:attributes:resolveStrict:'
    -commandArgs oop(109883393) == anArray( 'file:$ROWAN_PROJECTS_HOME/MyTestProject/rowan/specs/MyTestProject.ston', '$ROWAN_PROJECTS_HOME/', anArray( 'Core'), anArray( ), true)
    -componentServices oop(20) == nil
    -defaultSymbolDictionaryName oop(20) == nil
    -existsOnDisk oop(20) == nil
    -isDirty oop(12) == false
    -isDiskDirty oop(12) == false
    -isLoaded oop(12) == false
    -isSkew oop(12) == false
    -name oop(20) == nil
    -organizer oop(109882881) == aClassOrganizer
    -packageGroups oop(20) == nil
    -packages oop(109882113) == anArray( )
    -projectOop oop(20) == nil
    -projectUrl oop(20) == nil
    -rowanProjectsHome oop(20) == nil
    -rwProject oop(20) == nil
    -sha oop(109882369) == 'not a project'
    -shouldUpdate oop(268) == true
    -specService oop(20) == nil
    -updates oop(109882625) == anArray( )
    -updateType oop(20) == nil
    -wasUpdated oop(12) == false

temporary variables and parameters:
    attributes oop(107841537) == anArray( )
    browserService oop(20) == nil
    componentNames oop(109883137) == anArray( 'Core')
    path oop(109881857) == 'file:$ROWAN_PROJECTS_HOME/MyTestProject/rowan/specs/MyTestProject.ston'
    projectsHomePath oop(109881601) == '$ROWAN_PROJECTS_HOME/'
    spec oop(107843329) == aRwLoadSpecificationV2 for MyTestProject
    strict oop(268) == true
----------------------------------------------------
[23] RowanProjectService (Object) >> perform:withArguments: @1 line 12
    receiver oop(107836673) == aRowanProjectService:nil

instance variables:
    -branch oop(20) == nil
    -changes oop(20) == nil
    -command oop(49969153) == #'installProjectFromFile:projectsHome:componentNames:attributes:resolveStrict:'
    -commandArgs oop(109883393) == anArray( 'file:$ROWAN_PROJECTS_HOME/MyTestProject/rowan/specs/MyTestProject.ston', '$ROWAN_PROJECTS_HOME/', anArray( 'Core'), anArray( ), true)
    -componentServices oop(20) == nil
    -defaultSymbolDictionaryName oop(20) == nil
    -existsOnDisk oop(20) == nil
    -isDirty oop(12) == false
    -isDiskDirty oop(12) == false
    -isLoaded oop(12) == false
    -isSkew oop(12) == false
    -name oop(20) == nil
    -organizer oop(109882881) == aClassOrganizer
    -packageGroups oop(20) == nil
    -packages oop(109882113) == anArray( )
    -projectOop oop(20) == nil
    -projectUrl oop(20) == nil
    -rowanProjectsHome oop(20) == nil
    -rwProject oop(20) == nil
    -sha oop(109882369) == 'not a project'
    -shouldUpdate oop(268) == true
    -specService oop(20) == nil
    -updates oop(109882625) == anArray( )
    -updateType oop(20) == nil
    -wasUpdated oop(12) == false

temporary variables and parameters:
    anArray oop(109883393) == anArray( 'file:$ROWAN_PROJECTS_HOME/MyTestProject/rowan/specs/MyTestProject.ston', '$ROWAN_PROJECTS_HOME/', anArray( 'Core'), anArray( ), true)
    aSelectorSymbol oop(49969153) == #'installProjectFromFile:projectsHome:componentNames:attributes:resolveStrict:'
----------------------------------------------------
[24] RowanProjectService (RowanService) >> servicePerform:withArguments:shouldUpdate: @3 line 6
    receiver oop(107836673) == aRowanProjectService:nil

instance variables:
    -branch oop(20) == nil
    -changes oop(20) == nil
    -command oop(49969153) == #'installProjectFromFile:projectsHome:componentNames:attributes:resolveStrict:'
    -commandArgs oop(109883393) == anArray( 'file:$ROWAN_PROJECTS_HOME/MyTestProject/rowan/specs/MyTestProject.ston', '$ROWAN_PROJECTS_HOME/', anArray( 'Core'), anArray( ), true)
    -componentServices oop(20) == nil
    -defaultSymbolDictionaryName oop(20) == nil
    -existsOnDisk oop(20) == nil
    -isDirty oop(12) == false
    -isDiskDirty oop(12) == false
    -isLoaded oop(12) == false
    -isSkew oop(12) == false
    -name oop(20) == nil
    -organizer oop(109882881) == aClassOrganizer
    -packageGroups oop(20) == nil
    -packages oop(109882113) == anArray( )
    -projectOop oop(20) == nil
    -projectUrl oop(20) == nil
    -rowanProjectsHome oop(20) == nil
    -rwProject oop(20) == nil
    -sha oop(109882369) == 'not a project'
    -shouldUpdate oop(268) == true
    -specService oop(20) == nil
    -updates oop(109882625) == anArray( )
    -updateType oop(20) == nil
    -wasUpdated oop(12) == false

temporary variables and parameters:
    collection oop(109883393) == anArray( 'file:$ROWAN_PROJECTS_HOME/MyTestProject/rowan/specs/MyTestProject.ston', '$ROWAN_PROJECTS_HOME/', anArray( 'Core'), anArray( ), true)
    commandSymbol oop(49969153) == #'installProjectFromFile:projectsHome:componentNames:attributes:resolveStrict:'
    possiblyUpdate oop(268) == true
----------------------------------------------------
[25] RowanProjectService (RowanService) >> servicePerform:withArguments: @2 line 4
    receiver oop(107836673) == aRowanProjectService:nil

instance variables:
    -branch oop(20) == nil
    -changes oop(20) == nil
    -command oop(49969153) == #'installProjectFromFile:projectsHome:componentNames:attributes:resolveStrict:'
    -commandArgs oop(109883393) == anArray( 'file:$ROWAN_PROJECTS_HOME/MyTestProject/rowan/specs/MyTestProject.ston', '$ROWAN_PROJECTS_HOME/', anArray( 'Core'), anArray( ), true)
    -componentServices oop(20) == nil
    -defaultSymbolDictionaryName oop(20) == nil
    -existsOnDisk oop(20) == nil
    -isDirty oop(12) == false
    -isDiskDirty oop(12) == false
    -isLoaded oop(12) == false
    -isSkew oop(12) == false
    -name oop(20) == nil
    -organizer oop(109882881) == aClassOrganizer
    -packageGroups oop(20) == nil
    -packages oop(109882113) == anArray( )
    -projectOop oop(20) == nil
    -projectUrl oop(20) == nil
    -rowanProjectsHome oop(20) == nil
    -rwProject oop(20) == nil
    -sha oop(109882369) == 'not a project'
    -shouldUpdate oop(268) == true
    -specService oop(20) == nil
    -updates oop(109882625) == anArray( )
    -updateType oop(20) == nil
    -wasUpdated oop(12) == false

temporary variables and parameters:
    collection oop(109883393) == anArray( 'file:$ROWAN_PROJECTS_HOME/MyTestProject/rowan/specs/MyTestProject.ston', '$ROWAN_PROJECTS_HOME/', anArray( 'Core'), anArray( ), true)
    symbol oop(49969153) == #'installProjectFromFile:projectsHome:componentNames:attributes:resolveStrict:'
----------------------------------------------------
[26] RowanProjectService >> servicePerform:withArguments: @6 line 4
    receiver oop(107836673) == aRowanProjectService:nil

instance variables:
    -branch oop(20) == nil
    -changes oop(20) == nil
    -command oop(49969153) == #'installProjectFromFile:projectsHome:componentNames:attributes:resolveStrict:'
    -commandArgs oop(109883393) == anArray( 'file:$ROWAN_PROJECTS_HOME/MyTestProject/rowan/specs/MyTestProject.ston', '$ROWAN_PROJECTS_HOME/', anArray( 'Core'), anArray( ), true)
    -componentServices oop(20) == nil
    -defaultSymbolDictionaryName oop(20) == nil
    -existsOnDisk oop(20) == nil
    -isDirty oop(12) == false
    -isDiskDirty oop(12) == false
    -isLoaded oop(12) == false
    -isSkew oop(12) == false
    -name oop(20) == nil
    -organizer oop(109882881) == aClassOrganizer
    -packageGroups oop(20) == nil
    -packages oop(109882113) == anArray( )
    -projectOop oop(20) == nil
    -projectUrl oop(20) == nil
    -rowanProjectsHome oop(20) == nil
    -rwProject oop(20) == nil
    -sha oop(109882369) == 'not a project'
    -shouldUpdate oop(268) == true
    -specService oop(20) == nil
    -updates oop(109882625) == anArray( )
    -updateType oop(20) == nil
    -wasUpdated oop(12) == false

temporary variables and parameters:
    collection oop(109883393) == anArray( 'file:$ROWAN_PROJECTS_HOME/MyTestProject/rowan/specs/MyTestProject.ston', '$ROWAN_PROJECTS_HOME/', anArray( 'Core'), anArray( ), true)
    symbol oop(49969153) == #'installProjectFromFile:projectsHome:componentNames:attributes:resolveStrict:'
----------------------------------------------------
[27] [] in JadeServer >> updateFromSton: @39 line 14
    receiver oop(109880577) == anExecBlock1

instance variables:

temporary variables and parameters:
    organizer oop(109882881) == aClassOrganizer
    service oop(107836673) == aRowanProjectService:nil
----------------------------------------------------
[28] OrderedCollection (Collection) >> do: @5 line 10
    receiver oop(109880321) == anOrderedCollection( aRowanLoggingService, aRowanProjectService:nil)

instance variables:

temporary variables and parameters:
    aBlock oop(109880577) == anExecBlock1
    i oop(18) == 2
----------------------------------------------------
[29] [] in JadeServer >> updateFromSton: @28 line 10
    receiver oop(107853569) == anExecBlock0

instance variables:

temporary variables and parameters:
    services oop(109880321) == anOrderedCollection( aRowanLoggingService, aRowanProjectService:nil)
----------------------------------------------------
[30] ExecBlock0 (ExecBlock) >> on:do: @3 line 44
    receiver oop(107853569) == anExecBlock0

instance variables:

temporary variables and parameters:
    exceptionSelector oop(29481729) == GsInteractionRequest
    fastPath oop(268) == true
    handlerBlock oop(109880065) == anExecBlock
----------------------------------------------------
[31] [] in JadeServer >> updateFromSton: @16 line 15
    receiver oop(109879553) == anExecBlock0

instance variables:

temporary variables and parameters:
    organizer oop(109882881) == aClassOrganizer
    resultString oop(20) == nil
    self oop(107061761) == aJadeServer64bit35
    services oop(109880321) == anOrderedCollection( aRowanLoggingService, aRowanProjectService:nil)
    stonString oop(107924481) == 'OrderedCollection[RowanLoggingService{#command:#logReceivedServices,#commandArgs:[],#id:0,#groupId:1109,#services:OrderedCollection[RowanProjectService{#command:#''installProjectFromFile:projectsHome...
----------------------------------------------------
[32] ExecBlock0 (ExecBlock) >> on:do: @3 line 44
    receiver oop(109879553) == anExecBlock0

instance variables:

temporary variables and parameters:
    exceptionSelector oop(130817) == Error
    fastPath oop(268) == true
    handlerBlock oop(70722049) == anExecBlock1
----------------------------------------------------
[33] JadeServer64bit35 (JadeServer) >> updateFromSton: @2 line 24
    receiver oop(107061761) == aJadeServer64bit35

instance variables:
    -classList oop(20) == nil
    -classOrganizers oop(20) == nil
    -environment oop(2) == 0
    -methodCommandResult oop(20) == nil
    -methodFilters oop(20) == nil
    -methodFilterType oop(20) == nil
    -readStream oop(20) == nil
    -selectedClass oop(20) == nil
    -selections oop(20) == nil
    -writeStream oop(20) == nil

temporary variables and parameters:
    organizer oop(109882881) == aClassOrganizer
    resultString oop(20) == nil
    services oop(109880321) == anOrderedCollection( aRowanLoggingService, aRowanProjectService:nil)
    stonString oop(107924481) == 'OrderedCollection[RowanLoggingService{#command:#logReceivedServices,#commandArgs:[],#id:0,#groupId:1109,#services:OrderedCollection[RowanProjectService{#command:#''installProjectFromFile:projectsHome...
----------------------------------------------------
[34] GsNMethod class >> _gsReturnToC @1 line 11
    receiver oop(144897) == GsNMethod

instance variables:

temporary variables and parameters:
dalehenrich commented 2 years ago

@LisaAlmarode, could you include the spec file that was created for this project (rowan/specs/...ston) ... depending upon the load spec, this is either a Jadeite or Rowan issue ... can't tell by reading just stack, other than a git repository definition was created along the way ...

dalehenrich commented 2 years ago

See GemTalk/Rowan#857 for the stack that is created with using installProject.stone script and a bogus ROWAN_PROJECTS_HOME ...

ericwinger commented 2 years ago

@LisaAlmarode Could you paste a picture of the parameters entered in the Create Project dialog when you created the project?

ericwinger commented 2 years ago

I was able to reproduce the problem. @dalehenrich - Here's the .ston file I created which would not load again after unloading. (I had to append a .txt to the file to get github to accept it)

Abc.ston.txt

dalehenrich commented 2 years ago

@ericwinger remind me what I'm supposed to do with the file?

ericwinger commented 2 years ago

I'm not sure - You had asked for it here. https://github.com/GemTalk/Jadeite/issues/935#issuecomment-1232154069

dalehenrich commented 2 years ago

Okay ... the spec doesn't look corrupt. However, I do notice that the spec is being loaded using resolveStrict: and that code expects there to either be an existing git repository. Failing that it expects there to be a gitUrl present ... and there is none in the load spec, so that DOES explain the Could not read from remote repository error ...

BUT, I'm wondering why there is no existing git repository that should have been created when the project was created ...

So we have a chain of events here and some poor error messages (possibly) ...

I think this is another case where we need to huddle and debug the full chain of create/load to determine where the things start going wrong ...

@ericwinger ping me on slack when you have time ...

ericwinger commented 2 years ago

After a debugging session, Dale & I discovered that the Jadeite load project dialog needs a "resolve strict" checkbox in the gui. The problem in this reproduction case is that the revision is nil but resolve strict is true which won't load. Setting resolve strict to false would be the way to load a project that isn't attached to a remote git repository.

dalehenrich commented 2 years ago

submitting GemTalk/Rowan#860 to cover fact that the 'Could not read from remote repository' is not a good error message ...

ericwinger commented 2 years ago

Added resolve strict check box on the load project dialog. Default false. This allows the project in this example to be loaded.

LisaAlmarode commented 1 year ago

I was able to create, commit, then unload, and then reload a project! It took a couple of tries so there may be more bugs getting reported, but this general bug is fixed.