Jump to content

Linux: Error Message on "Pending changes" dialogue


mengl

Recommended Posts

I installed the plastic client according to the instructions at https://www.plasticscm.com/plastic-for-linux/index.html on my Ubuntu x64 machine.

 

After that I created a new workspace in my home directory (/home/username/work).

 

After adding some file to the workspace folder I opened plastic to see the pending changes. On entering the "Pending changes" dialogue I get the enclosed error message.

 

The weird thing is that if I use e.g. /tmp/work as my workspace everything works without the enclosed error message. But as soon as I use a folder inside my home directory I get this error message.

I already tried to change the permissions to the highest available but that isn't working as well.

 

Can anybody help me?

post-27929-0-23840700-1395839648_thumb.png

Link to comment
Share on other sites

Hi!

 

It's a pity, the error message is not giving us any clue... can you try the following?

 

1) Close the GUI.

2) Open a command line to your workspace path,.

3) Run "cm status --all --stack"

 

tell me if it works.

 

Also, please enable the cm and plastic log files (http://www.plasticscm.com/infocenter/technical-articles/kb-enabling-logging-for-plastic-scm-part-i.aspx) and reproduce the issue, hopefully we'll get more info about the issue.

 

Note: Specify a path for the result log file (inside the cm.log.conf and plastic.log.conf) otherwise you won't have write access to /opt/plasticscm/client and the txt log file won't be created.

Link to comment
Share on other sites

Hi,

 

thx for the answer. I tried "cm status --all --stack" and I get the same error message.

 

cm.log.conf:

 

2014-04-02 11:32:41,672 INFO  420857728 cm - STARTING CLIENT
2014-04-02 11:32:41,722 DEBUG 420857728 ClientConfig - Time loading client.conf (/home/user/.plastic4/client.conf) 28 ms
2014-04-02 11:32:41,923 DEBUG 420857728 WorkspaceTree - Initialize - Going to load tree
2014-04-02 11:32:41,924 DEBUG 420857728 WorkspaceTree - BuildTree for workspace 7e358654-fddc-45b3-b2ef-6049cc7ae386
2014-04-02 11:32:41,935 DEBUG 420857728 WorkspaceDataStore - GetWorkspaceContent 9 ms
2014-04-02 11:32:41,937 DEBUG 420857728 WorkspaceTree - BuildTree 13 ms. WkId 7e358654-fddc-45b3-b2ef-6049cc7ae386
2014-04-02 11:32:41,937 DEBUG 420857728 WorkspaceTree - Initialize - tree timestamp is 635320284530000000/208
2014-04-02 11:32:42,004 DEBUG 420857728 WorkspaceStatus: DiskChangesSearcher - GetFSNodeFromPath: 56
2014-04-02 11:32:42,006 DEBUG 420857728 WorkspaceStatus: DiskChangesSearcher - GetWorkspaceTree: 2
2014-04-02 11:32:42,009 DEBUG 420857728 WorkspaceStatus: DiskChangesSearcher - GetTreeChangedNode: 3
2014-04-02 11:55:55,486 ERROR 420857728 cm - Plastic client version: 5.0.44.551

2014-04-02 11:55:55,511 ERROR 420857728 cm - Permission denied
2014-04-02 11:55:55,512 DEBUG 420857728 cm - Permission denied  at Mono.Unix.UnixMarshal.ThrowExceptionForLastError () [0x00000] in <filename unknown>:0
  at Mono.Unix.UnixDirectoryInfo.GetEntries () [0x00000] in <filename unknown>:0
  at Mono.Unix.UnixDirectoryInfo.GetFileSystemEntries () [0x00000] in <filename unknown>:0
  at e5.a (System.String A_0) [0x00000] in <filename unknown>:0
  at ao4.f (System.String A_0) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, Codice.Client.Commands.MountPoint A_4, IList`1 A_5, Int32 A_6, a A_7, b A_8) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, Codice.Client.Commands.MountPoint A_1, IList`1 A_2, Int32 A_3, a A_4, IList`1 A_5, b A_6) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, Codice.Client.Commands.MountPoint A_4, IList`1 A_5, Int32 A_6, a A_7, b A_8) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, Codice.Client.Commands.MountPoint A_1, IList`1 A_2, Int32 A_3, a A_4, IList`1 A_5, b A_6) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, Codice.Client.Commands.MountPoint A_4, IList`1 A_5, Int32 A_6, a A_7, b A_8) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, Codice.Client.Commands.MountPoint A_1, IList`1 A_2, Int32 A_3, a A_4, IList`1 A_5, b A_6) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, Codice.Client.Commands.MountPoint A_4, IList`1 A_5, Int32 A_6, a A_7, b A_8) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, Codice.Client.Commands.MountPoint A_1, IList`1 A_2, Int32 A_3, a A_4, IList`1 A_5, b A_6) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, Codice.Client.Commands.MountPoint A_4, IList`1 A_5, Int32 A_6, a A_7, b A_8) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, Codice.Client.Commands.MountPoint A_1, IList`1 A_2, Int32 A_3, a A_4, IList`1 A_5, b A_6) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, Codice.Client.Commands.MountPoint A_4, IList`1 A_5, Int32 A_6, a A_7, b A_8) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, IList`1 A_4, b A_5) [0x00000] in <filename unknown>:0
  at wl.b (System.String A_0, b A_1) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, b A_1) [0x00000] in <filename unknown>:0
  at wl.a () [0x00000] in <filename unknown>:0
  at f6.b (Codice.CM.Common.WorkspaceInfo A_0, WorkspaceStatusOptions A_1, Codice.Client.Commands.MovedMatchingOptions A_2) [0x00000] in <filename unknown>:0
  at adv.c (b A_0) [0x00000] in <filename unknown>:0
  at w1.c (System.String[] A_0) [0x00000] in <filename unknown>:0

 

cmd output:

user@ubuntu:~/work$ cm status --all --stack
cs:0@rep:SoftwareEvaluation@repserver:plastictools:8087

Unknown errno: Too many levels of symbolic links

Unknown errno: Too many levels of symbolic links

Unknown errno: Too many levels of symbolic links

Unknown errno: Too many levels of symbolic links

Unknown errno: Too many levels of symbolic links

Unknown errno: Too many levels of symbolic links

Unknown errno: Too many levels of symbolic links

Unknown errno: Too many levels of symbolic links

Error: Permission denied
  at Mono.Unix.UnixMarshal.ThrowExceptionForLastError () [0x00000] in <filename unknown>:0
  at Mono.Unix.UnixDirectoryInfo.GetEntries () [0x00000] in <filename unknown>:0
  at Mono.Unix.UnixDirectoryInfo.GetFileSystemEntries () [0x00000] in <filename unknown>:0
  at e5.a (System.String A_0) [0x00000] in <filename unknown>:0
  at ao4.f (System.String A_0) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, Codice.Client.Commands.MountPoint A_4, IList`1 A_5, Int32 A_6, a A_7, b A_8) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, Codice.Client.Commands.MountPoint A_1, IList`1 A_2, Int32 A_3, a A_4, IList`1 A_5, b A_6) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, Codice.Client.Commands.MountPoint A_4, IList`1 A_5, Int32 A_6, a A_7, b A_8) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, Codice.Client.Commands.MountPoint A_1, IList`1 A_2, Int32 A_3, a A_4, IList`1 A_5, b A_6) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, Codice.Client.Commands.MountPoint A_4, IList`1 A_5, Int32 A_6, a A_7, b A_8) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, Codice.Client.Commands.MountPoint A_1, IList`1 A_2, Int32 A_3, a A_4, IList`1 A_5, b A_6) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, Codice.Client.Commands.MountPoint A_4, IList`1 A_5, Int32 A_6, a A_7, b A_8) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, Codice.Client.Commands.MountPoint A_1, IList`1 A_2, Int32 A_3, a A_4, IList`1 A_5, b A_6) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, Codice.Client.Commands.MountPoint A_4, IList`1 A_5, Int32 A_6, a A_7, b A_8) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, Codice.Client.Commands.MountPoint A_1, IList`1 A_2, Int32 A_3, a A_4, IList`1 A_5, b A_6) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, Codice.Client.Commands.MountPoint A_4, IList`1 A_5, Int32 A_6, a A_7, b A_8) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, IList`1 A_4, b A_5) [0x00000] in <filename unknown>:0
  at wl.b (System.String A_0, b A_1) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, b A_1) [0x00000] in <filename unknown>:0
  at wl.a () [0x00000] in <filename unknown>:0
  at f6.b (Codice.CM.Common.WorkspaceInfo A_0, WorkspaceStatusOptions A_1, Codice.Client.Commands.MovedMatchingOptions A_2) [0x00000] in <filename unknown>:0
  at adv.c (b A_0) [0x00000] in <filename unknown>:0
  at w1.c (System.String[] A_0) [0x00000] in <filename unknown>:0

 

 

Any ideas?

Link to comment
Share on other sites

Unknown errno: Too many levels of symbolic links

 

I saw this error before when my file system, in your case the workspace, was having a symbolic link loop.

 

Unfortunately the log is not giving us the first path, do you have a lot of symbolic links? Is it possible to review if you have symbolic links loops?

Link to comment
Share on other sites

I don't think that's the issue. I created another workspace with other content. And I get the same error message "permission denied", without the symbolic links error:

 

2014-04-04 09:59:40,691 INFO  1219495808 cm - STARTING CLIENT
2014-04-04 09:59:40,730 DEBUG 1219495808 ClientConfig - Time loading client.conf (/home/user/.plastic4/client.conf) 30 ms
2014-04-04 09:59:40,782 DEBUG 1219495808 WorkspaceTree - Initialize - Going to load tree
2014-04-04 09:59:40,783 DEBUG 1219495808 WorkspaceTree - BuildTree for workspace a5818f47-5f9f-4578-8f99-ed2cf4d7ed27
2014-04-04 09:59:40,788 DEBUG 1219495808 WorkspaceDataStore - GetWorkspaceContent 3 ms
2014-04-04 09:59:40,790 DEBUG 1219495808 WorkspaceTree - BuildTree 7 ms. WkId a5818f47-5f9f-4578-8f99-ed2cf4d7ed27
2014-04-04 09:59:40,790 DEBUG 1219495808 WorkspaceTree - Initialize - tree timestamp is 635322023540000000/208
2014-04-04 09:59:40,807 DEBUG 1219495808 WorkspaceStatus: DiskChangesSearcher - GetFSNodeFromPath: 6
2014-04-04 09:59:40,808 DEBUG 1219495808 WorkspaceStatus: DiskChangesSearcher - GetWorkspaceTree: 0
2014-04-04 09:59:40,809 DEBUG 1219495808 WorkspaceStatus: DiskChangesSearcher - GetTreeChangedNode: 1
2014-04-04 09:59:40,887 ERROR 1219495808 cm - Plastic client version: 5.0.44.551

2014-04-04 09:59:40,887 ERROR 1219495808 cm - Permission denied
2014-04-04 09:59:40,887 DEBUG 1219495808 cm - Permission denied  at Mono.Unix.UnixMarshal.ThrowExceptionForLastError () [0x00000] in <filename unknown>:0
  at Mono.Unix.UnixDirectoryInfo.GetEntries () [0x00000] in <filename unknown>:0
  at Mono.Unix.UnixDirectoryInfo.GetFileSystemEntries () [0x00000] in <filename unknown>:0
  at e5.a (System.String A_0) [0x00000] in <filename unknown>:0
  at ao4.f (System.String A_0) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, Codice.Client.Commands.MountPoint A_4, IList`1 A_5, Int32 A_6, a A_7, b A_8) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, Codice.Client.Commands.MountPoint A_1, IList`1 A_2, Int32 A_3, a A_4, IList`1 A_5, b A_6) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, Codice.Client.Commands.MountPoint A_4, IList`1 A_5, Int32 A_6, a A_7, b A_8) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, Codice.Client.Commands.MountPoint A_1, IList`1 A_2, Int32 A_3, a A_4, IList`1 A_5, b A_6) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, Codice.Client.Commands.MountPoint A_4, IList`1 A_5, Int32 A_6, a A_7, b A_8) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, Codice.Client.Commands.MountPoint A_1, IList`1 A_2, Int32 A_3, a A_4, IList`1 A_5, b A_6) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, Codice.Client.Commands.MountPoint A_4, IList`1 A_5, Int32 A_6, a A_7, b A_8) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, Codice.Client.Commands.MountPoint A_1, IList`1 A_2, Int32 A_3, a A_4, IList`1 A_5, b A_6) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, Codice.Client.Commands.MountPoint A_4, IList`1 A_5, Int32 A_6, a A_7, b A_8) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, d1 A_1, Codice.CM.Common.WorkspaceTreeNode A_2, Codice.Client.Commands.Tree.TreeChangedNode A_3, IList`1 A_4, b A_5) [0x00000] in <filename unknown>:0
  at wl.b (System.String A_0, b A_1) [0x00000] in <filename unknown>:0
  at wl.a (System.String A_0, b A_1) [0x00000] in <filename unknown>:0
  at wl.a () [0x00000] in <filename unknown>:0
  at f6.b (Codice.CM.Common.WorkspaceInfo A_0, WorkspaceStatusOptions A_1, Codice.Client.Commands.MovedMatchingOptions A_2) [0x00000] in <filename unknown>:0
  at adv.c (b A_0) [0x00000] in <filename unknown>:0
  at w1.c (System.String[] A_0) [0x00000] in <filename unknown>:0

 

 

Workspace path is:

/home/user/work/workspace

 

with:

 

drwxr-xr-x  5 user user 4096 Apr  4 09:59 workspace/
 

Link to comment
Share on other sites

Hi,

 

I think I found the issue! Inside my workspace I had one empty folder with root permissions. That stopped PlasticSCM for showing the pending changes.

 

I changed the permissions for that folder and the error message is gone.

 

It would be great if there is any folder/file inside the workplace with root permissions that the user gets a warning but will see all other files in the "pending changes" dialogue.

Instead of aborting - error message - and an empty window.

 

What do you think?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...