Error Cannot Get View Info For Current View
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask 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 I can't seem to get cleartool's find to work on a simple query up vote 3 down vote favorite 2 Disclamer: I'm very new to Clear Case. I want to find out what files I've modified on a given date. I am using a Snapshot view: ClearCase version 7.1.2.0 (Tue Sep 21 12:01:15 EDT 2010) (7.1.2.D100920) @(#) MVFS version 7.1.2.0 (Tue Aug 10 00:37:25 2010) cleartool 7.1.2.0 (Wed Sep 8 12:56:06 2010) db_server 7.1.2.0 (Sat Sep 4 01:27:12 2010) VOB database schema version: 54 EDIT: FYI, my view was created via CCRC (Clear Case Remote Client). Here's what I've tried (from my Windows machine): cd c:\SnapshotViews\my_view_name cleartool cleartool> find . -element "{created_since(12-Mar-2012)}" -print cleartool: Error: Not an object in a vob: ".". cleartool: Warning: Skipping ".". cleartool> cleartool> find . -cview -version 'created_since(12-Mar-2012)' -print cleartool: Error: Not an object in a vob: ".". cleartool: Warning: Skipping ".". The IBM docs are sort of useless, the queries they provide don't work either. Can someone help me out? clearcase share|improve this question edited Mar 13 '12 at 20:56 asked Mar 13 '12 at 20:22 Jay 5824920 add a comment| 1 Answer 1 active oldest votes up vote 4 down vote accepted You must go one directory within your snapshot view in order to be in a Vob. c:\SnapshotViews\my_view_name is the root directory of
versions LearningMoreDocument; select view name; cleartool: Error: Cannot get view info for current view: not a ClearCase object.; RATLC00693203; lsactivity; activity properties; details; 1242846; View Change Sets; ClearQuest Eclipse; ClearQuest Client for Windows Technote (troubleshooting) Problem(Abstract) This technote details why the Select View Name GUI dialogue and the command line error, cleartool: Error: Cannot get view info for current view: not a ClearCase object, will appear when accessing the change set versions of an IBM Rational ClearCase UCM activity. Symptom GUI From Project Explorer > select a stream > http://stackoverflow.com/questions/9691499/i-cant-seem-to-get-cleartools-find-to-work-on-a-simple-query right-click an activity in the right-hand pane > choose Properties > select the Change Set tab, and the following appears: ------------------------------------------------ Select View Name ------------------------------------------------ The name of the view used to [OK] generate the names of versions in the [CANCEL] change set. [ http://www-01.ibm.com/support/docview.wss?uid=swg21242846 ] ------------------------------------------------ When using ClearQuest, this select view name can also appear when you click on the UCM tab of a ClearQuest record with change set information. The message occurs for the same reason - no view is running on the computer (or ClearCase as a whole is not running). This is in ClearQuest client for Windows. This error message does not appear automatically in ClearQuest Eclipse. Instead, when you click on the UCM tab, you don't receive the error message. You will see a button that says 'View Change Sets'. Only if you click that button will the 'Select View Name' dialog pop-up. The GUI functionality is user id driven; hence, the returned results are based on the logged in user account only. This dialogue indicates that the logged in user does not own the activity and or that there is no view started on the local host. By clicking OK or Cancel without entering a valid view name, the version extended pathname will be listed as
to determine VOB for pathnameThis topic has been locked. 8 replies Latest Post - 2008-02-22T15:10:00Z by SystemAdmin Display:ConversationsBy Date 1-9 of 9 Previous Next https://www.ibm.com/developerworks/community/forums/thread.jspa?threadID=194392 SystemAdmin 110000D4XK 47290 Posts Pinned topic Clearfsimport-Error: Unable to determine VOB http://www.ibm.com/support/docview.wss?uid=swg21179649 for pathname 2008-02-21T14:23:31Z | Tags: Answered question This question has been answered. Unanswered question This question has not been answered yet. Hi ClearCase Community! We have a (unfortunately urgend) Problem, we hope, maybe you can help us with it? We use error cannot the ClearCase-order "clearfsimport". And we always get back the following error: 'Unable to determine VOB for pathname'. We have no idea, why he doesn´t accept our Target-Directory (it has to be a VOB-Directory). Do you have any idea what we could try? That would be very nice! Situation: ClearCase-LT Server on error cannot get UNIX. Here we have no View-Root-Directories (you´ll find only the Streams on the Solaris-Machine). That´s why we have to get our data which we want to be imported from our Windows-Views (Source-Directory). Via Samba we have access to the Server and its VOB-Directories (Target-Directory). (mounted path on Windows is Z:\ ) WINDOWS Source-Directory (Directory with Files (e.g. MS-Word)): C:\ClearCaseStorage\reske_OPAL_2.5_int\Templates UNIX Target-Directory (vbs-Directory): Z:\ccadm\ClearCaseStorage\VOBs\train_vob1.vbs Call of clearfsimport (Windows-Commandline CMD): cd C:\ClearCaseStorage\reske_OPAL_2.5_int\Templates clearfsimport C:\ClearCaseStorage\reske_OPAL_2.5_int\Templates Z:\ccadm\ClearCaseStorage\VOBs\train_vob1.vbs clearfsimport: Error: Unable to determine VOB for pathname "Z:\ccadm\ClearCaseStorage\VOBs\train_vob1.vbs". It would be very great if you have any idea for us! Thank you very much in advance! macuse SystemAdmin 110000D4XK 47290 Posts Re: [cciug] Clearfsimport-Error: Unable to determine VOB for pathname 2008-02-21T14:42:12Z This is the accepted answer. This is the accepted answer. On 02/21/08, Rational ClearCase wrote: ... Call of clearfsimport (Windows-Commandline CMD): cd C:\ClearCaseStorage\reske_OPAL_2.5_int\Templates clearfsimport C:\ClearCaseStorage\reske_OPAL_2.5_int\Templates Z:\ccadm\ClearCaseStorage\VOBs\train_vob1.vbs clearfsimport: Error: Unable to determine VOB for pathname "Z:\ccadm\ClearCaseStorage\VOBs\train_vob1.vbs". On Window
nonexistent view Cannot get view info for current view; Unable to set activity; removed; deleted; setactivity; unset; non-existent; non-existing; 1179649; ClearCase object not found Technote (troubleshooting) Problem(Abstract) This technote explains why attempts to set to a IBM Rational ClearCase UCM activity that is set to a view that is unavailable results in the error, cleartool: Error: Cannot get view info for current view. cleartool: Error: Unable to set activity., and provides information on how to resolve the issue. Symptom Trying to set to an activity results in the following error: M:\testproj_int_del>cleartool setact UCMAC00000050 cleartool: Error: View tag "testproj_int_del": ClearCase object not found cleartool: Error: Cannot get view info for current view. cleartool: Error: Unable to set activity. Cause The UCM activity cannot be used because it is set to a view that is unavailable or no longer exists. The problem is due to the fact that the view's database in the view storage directory (normally a *.vws folder) is unavailable. For example, if this activity was set to a local snapshot view on a laptop that was not connected to the network or if a view was not properly removed, one would see the above error message. Resolving the problem This issue can be resolved by either of the following: If the view still exists, the view storage database needs to be made available. In the disconnected view issue mentioned above, the laptop should connect to the network and re-establish the connection with ClearCase. Review the ClearCase Developing Software manual on the topic of Workflow for disconnected use for more information. If the view is no longer available, the activity needs to be unset from the unavailable view. Note: If there is an element in the activities changeset list that is checked out to the inaccessible view, following the procedure below the user will notice that the entry for that particular checkedout version will no longer appear in the changeset list. This is expected since the checked out reference will be cleaned out during the "rmview -uuid" command. Since the checkedout version of the file will be inaccessible because the view will be inaccessible, this shouldn't be of too much concern. Remove the stranded checkout references left over from the non-existent view. This will have to be done using the view's uuid since the view is no longer available. Run cleartool dump on the activity to obtain the view uuid: M:\project_int\cvob>cleartool dump activity:cqcc100000087@\pvob cqcc100000087 oid=7985deaf.7cb14459.a353.97:fa:0c:fe:04:95 dbid=783 (0x30f) mtype=activ