Error running SCM cli command - Gdk-CRITICAL and Pango-CRITICAL messages
I'm unable to run any SCM CLI command (starting with the "SCM login" command) on my Linux box. These commands stopped working earlier in the day today when I cancelled an "SCM load" command that had just started executing. Since then any attempt to run an SCM command dumps the below mentioned errors on the screen.
Command:
scm login -r https://projectclm:9443/ccm/ -n local -u pmn
Output:
(Scm:3673): GLib-GObject-WARNING **: invalid (NULL) pointer instance Host details:
OS: RHEL
RTC version: 4.3
SCM tools version: 3.1
What might be the issue and how do I fix this?
|
2 answers
Shashikant Padur (4.3k●2●7)
| answered Feb 12 '14, 4:43 a.m.
JAZZ DEVELOPER edited Feb 12 '14, 4:46 a.m.
Did you change the DISPLAY value? This happens usually if the DISPLAY is not set correctly.
By the way, are you running as root? If so, can you try to login as another user and see if it works?
Comments
p m n
commented Feb 12 '14, 6:21 p.m.
Hi Shashikant,
The display value was not changed. Its value is localhost:10.0. And no, I'm not running as root (I've logged in using a generic non-root UNIX account).
|
I came to realize that whenever I executed 'scm' from the UNIX shell, I was actually executing a file called 'scm' with malformed options instead of the actual scm utility. This 'scm' file was created, by mistake, when a malformed SCM command was piped to it. As luck would have it, this file was stored in a folder in PATH, ahead of the folder that contained the SCM utility. The malformed file has since been deleted and I'm glad to announce that the scm command has started working again. :)
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.