Cleartool Error Cannot Attach View To Stream
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies unable to cancel delivery because another operation is trying to complete of this site About Us Learn more about Stack Overflow the company Business unable to cancel rebase because another operation is trying to complete Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask cleartool deliver Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up cleartool error: “cannot command from stream for non-UCM view” or “view is not attached to a UCM stream” up vote 1 down vote favorite 1 I have this view restored from back up and it is re-registered and retagged. I can set to the view but there is not stream attached to it. when I do catcs, it contains the stream name and OID. when I describe the view it says UCM view. Is there any way to make this view attach to the stream? Thanks !! clearcase clearcase-ucm share|improve this question asked Oct 30 '13 at 13:44 user2370590 379416 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote Not possible, as illustrated by that identical question on IBM forums: There's currently no mechanism to reattach views to streams. UCM views are connected to streams via a particular kind of internal PVOB object; perhaps your view and PVOB have become out of sync as a result of inconsistent backup restoration. One concern was about old UMC activities, but: As long as you can checkin any checkouts in the view and copy out any view-private files you wish to keep, it's safe to remove the view and create a new one on the stream. You won't lose any activities since activities are attached to the stream, not the view. The only thing you may need to watch out for is if CC thinks the activity is still set in the view, but you
is removed cleartool: Error: Unable to find view by uuid; cleartool: Error: Unable to get view handle; unknown; deliver; uuid; removed view; cancel; resume; continue; stop; kill; failed; target; integration; 1194392 Technote (troubleshooting) Problem(Abstract) This technote details a deliver error that can occur if the target view becomes unavailable (or removed) while a deliver is still in progress when using IBM Rational ClearCase UCM. Symptom Attempts to complete or resume a http://stackoverflow.com/questions/19683980/cleartool-error-cannot-command-from-stream-for-non-ucm-view-or-view-is-not-a deliver, result in the following error: C:\ClearCase_storage\project_snapshot_devint>cleartool deliver -complete cleartool: Error: Unable to find view by uuid:4bb6c357.3e794e15.8c29.d4:9e:2f:19:6e:2e, last known at "unknown:unknown". cleartool: Error: Unable to get view handle. cleartool: Error: Unable to recreate target view context. cleartool: Error: Unable to restore operation. cleartool: Error: Unable to restore from pvar. cleartool: Error: Unable to deliver stream "project5235_devint". http://www-01.ibm.com/support/docview.wss?uid=swg21194392 Cause The target view that was associated with the deliver when it was started is no longer available, which left the deliver operation in an unresolved state that it cannot process or terminate. If you need to know more details about the deliver operation that is in-progress, such as who initiated it, then use the command "cleartool deliver -status" Diagnosing the problem To determine which view is unavailable, review the error to see which stream has the issue. Resolving the problem Try to recover the target view Try using a new target view If the above are unsuccessful, contact IBM Rational Client Support Try to recover the target view If you are able to determine why the view is no longer available, attempt to resolve the problem with the view and proceed with the deliver. For example, if the view was mistakenly unregistered or untagged in the region: Register and or tag the view in the region: cleartool mktag -view -tag
stream-selector ... DESCRIPTION The rmstream command deletes one or more UCM streams. The following restrictions apply: The stream cannot contain activities. The stream can have no baselines other than the set of initial baselines associated with it. No http://paperlined.org/dev/reference/clearcase_v4.0/rmstream.html views can be attached to the stream. In addition, a project's integration stream cannot be removed while other project streams exist. PERMISSIONS AND LOCKS Permissions Checking: You must be the stream owner, http://wiki.hudson-ci.org/display/HUDSON/ClearCase+Plugin the VOB owner, or a member of the ClearCase group. Locks: An error occurs if there are locks on any of the following objects: the stream. Mastership: The stream must be locally unable to mastered. OPTIONS AND ARGUMENTS EVENT RECORDS AND COMMENTS.Default: Creates one or more event records, with commenting controlled by your .clearcase_profile file (default: -nc). See CUSTOMIZING COMMENT HANDLING in the comments reference page. Comments can be edited with chevent. -c·omment comment | -cfi·le comment-file-pname |-cq·uery | -cqe·ach | -nc·omment Overrides the default with the option you specify. See the comments reference page. -f·orceBy default, unable to cancel the rmstream command prompts for confirmation before deleting a component. The -force option suppresses the confirmation step. SPECIFY THE STREAM TO BE REMOVED. stream-selector ..Specifies one or more streams to delete. stream-selector is of the form: [stream:]stream-name[@vob-selector] and vob is the stream's UCM project VOB. EXAMPLES Examples including wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately. In cleartool single-command mode, cmd-contextrepresents the command interpreter prompt. In cleartool interactive mode, cmd-contextrepresents the interactive cleartool prompt. In Attache, cmd-contextrepresents the workspace prompt. Remove a stream that has a view attached to it. Issue the rmstream command. You are told that the stream cannot be removed because a view is still attached to it: cmd-contextrmstream -f html_parser_int cleartool: Error: Cannot remove stream that has a view ("html_parser_int_view") attached to it. cleartool: Error: Unable to remove stream "html_parser_int". Display a description of the stream to see what views are associated with it: cmd-contextdescribe stream:html_parser_int stream "html_parser_int" created 11-Sep-99.11:27:01 by JFMuggs owner: jfm group: user project: html_par
last edited by Winston Prakash on May 03, 2013 (view change) Comment: Hudson Home Downloads Dev Mailing List User Forum IRC Browse Sources Report Bug Documents Getting Started Using Hudson Developing Plugin Plugins SCMs Triggers Build Tools Build Wrappers Notifiers Reporters Slave Launchers and Controllers Uploaders Other Post-build Actions Ext. Site Integration UI Plugins Page Decorators Authentication and User Management Cluster Management and Distributed Build CLI Extensions Maven Misc Others Container-specific Notes Site Map Integrates Hudson with ClearCase. Plugin Information Plugin ID clearcase Latest Release 1.3.5 Latest Release Date Jan 05, 2011 Plugin Central Plugin Central 3.2 Sources Github Support Eclipse Hudson Forum Issue Tracking Eclipse Bugzilla Hudson Core (latest) 3.3.3 1.0 and Later Configuration Incompatible With Earlier VersionsPlease note that version 1.0 and later of the ClearCase plugin is not configuration-compatible with earlier versions. Projects using base ClearCase will need to be reconfigured, with load rules removed from the config spec and specified separately in the new Load Rules field. This needs to be done for all base ClearCase projects, including those using dynamic views. With this plugin you can use either base ClearCase and UCM ClearCase as the SCM for Hudson projects. The plugin uses the cleartool executable to work with a ClearCase server - this requires that the cleartool command (and therefore the full ClearCase client) be installed on master and all slaves on which you wish to run ClearCase jobs. The SCM also supports polling, so it can start a build when changes are detected on the branch or stream specified in the job configuration. Usage Global configuration Set up the cleartool executable in the Hudson configuration. To verify that the executable can be used by Hudson press the "Check cleartool version" Base ClearCase Basic configuration Set the name of the view that will be used by ClearCase. The view name has to be unique in the ClearCase region the master/slaves are using. Set the config spec that should be used. This should not contain any load rules. Specify one or more load rules - this is required, even with a dynamic view. The load rules are used both for determining the