What do I do when a component "is not shared"?
On more occasions than I would like, a component in my workspace pops up as "not shared". For example, I am currently getting this:
[tomcat@pzxdcc0131 arfgenpoc]$ lscm checkin master Problem running 'checkin':
"/home/tomcat/.jenkins/workspace/ARFGENPOC/arfgenpoc/master" is not shared.
[tomcat@pzxdcc0131 arfgenpoc]$ lscm workspace unload master
Problem running 'workspace unload':
There are 3 items that are not checked in. Check in the changes or rerun with --overwrite-uncommitted.
On the one hand, it won't let me check changes into the "master" component because it's not shared, but if I try to unload it, it seems to think it's shared.
Am I misunderstanding this output?
- Andy
3 answers
Hi Andy,
sometime it can happen that your sandbox does not remember a shared component. This can happen if your sandbox gets corrupt by some things you did faulty.
At this point it helps to "reshare" the component - this means to reconnect the component as it is.
But be aware of loosing non saved changes.
Hope this helps,
Simon
sometime it can happen that your sandbox does not remember a shared component. This can happen if your sandbox gets corrupt by some things you did faulty.
At this point it helps to "reshare" the component - this means to reconnect the component as it is.
But be aware of loosing non saved changes.
Hope this helps,
Simon
Comments
Have you run "lscm share" command ?
https://jazz.net/help-dev/clm/topic/com.ibm.team.scm.doc/topics/share.html
https://jazz.net/help-dev/clm/topic/com.ibm.team.scm.doc/topics/share.html
Comments
Is there any update regarding this issue? I hit it all the time and it's frustrating to say the least. Add to that errors like the following:
"Local file system is corrupt. Run repair command to make the workspace consistent.
Unexpected exception
com.ibm.team.rtc.cli.infrastructure.internal.core.CLIClientException: Inverse metadata missing for item [UUID _Dru_MMDgEeS0u4elrr1AGQ]"
and the subsequent inability of the 'repair' command to live up to its name. Then you have errors like:
Problem running 'checkin':
Server error
producing huge core dumps, which suggests that version 5.0.2 is actually version 5.0.2 Alpha.
"Local file system is corrupt. Run repair command to make the workspace consistent.
Unexpected exception
com.ibm.team.rtc.cli.infrastructure.internal.core.CLIClientException: Inverse metadata missing for item [UUID _Dru_MMDgEeS0u4elrr1AGQ]"
and the subsequent inability of the 'repair' command to live up to its name. Then you have errors like:
Problem running 'checkin':
Server error
producing huge core dumps, which suggests that version 5.0.2 is actually version 5.0.2 Alpha.