Jump to content

karmakat

Members
  • Content count

    32
  • Joined

  • Last visited

  • Days Won

    1

karmakat last won the day on January 16

karmakat had the most liked content!

Community Reputation

1 Neutral

About karmakat

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. karmakat

    Illegal Characters in Path

    Yes. Have seen this a number of times in various commands, at least with using python subprocess cmd, though the error output is from cm.exe itself. I will try to recreate this and post on here the stack trace.
  2. Oh wow....embarrassed I missed that somehow in the "cm showcommands --all" Yeesh. Thanks Manu!
  3. Hiya! Is there a way to get the root of a workspace or it's selector given an arbitrary filepath from within in the workspace itself? I have several workspaces, but I want to find the root of path programmatically, so I can work with that particular workspace in my python code. So for instance, I have the path: "C:\users\admin\wkspaces\workspace1\Assets\thing.txt". If I use: I get a print out of the selector file itself, something like: Which is not that helpful for my purposes.... Why is the path "/" ??? Its the same for every workspace afaik so this seems to be useless. What is this meant to represent? I have also considered using "cm lwk" and then comparing the start of the given file path with these, BUT what if there is more than one workspace for a branch? I would have to make a dictionary that compares the selector output from each of these workspaces, and filter through those. However this doesn't solve my problem since the workspace path I need is a network mounted drive and the "cm lwk" only shows workspaces with local paths, even though workspace was created on the local machine. I actually wrote a method that walks up paths until it finds the .plastic folder and parses the selector, and then obviously I have the root of the workspace/repo at this point, but this is obviously a bit expensive... Seems to me that this would be a very helpful method to simply tell what the root of the workspace for a given path when working with pipeline development. May I suggest that we get a parameter for the "showselector" method to get the root of the workspace on the local file system? Thanks for reading! - Aleks
  4. karmakat

    Illegal Characters in Path

    Just wanted to add that double-quotes can cause this error, at least with the "cm update" command.
  5. Hiya, I am looking for a way to query a revision in a changeset for a file that had the operation "Moved" at checkin time. Basically, I want to know the path it was moved from and the path it was moved to. This is different from the "cm status --moved" which will only report what is going on in the current workspace before a checkin. Is this possible? Thank you in advance!
  6. Hiya, Is there any way to see the operation applied to a revision in a changeset? Ie, can I format my cm -ls command response to show whether a file has been Added, Deleted, or Moved? Thanks in advance!
  7. Hi @calbzam, I have tried as you suggested, putting the log file on the desktop, and I also tried the appender type you have here which is different from what @manu suggested. And, the "plasticapi.log.conf" has been in the client folder throughout my testing. Unfortunately I am still not getting any logs when I run "plasticapi" from an elevated command prompt.
  8. Hi @manu, I am trying to run the plasticapi from the same computer the server is running. There really shouldn't be any issues with permissions especially considering the server and the control panel is working within our domain already and can be accessed from other systems in the domain. The netsh commands I have tried: netsh http add urlacl url=http://X.X.X.X:9090/ user=Everyone netsh http add urlacl url=http://+:9090/ user=Everyone netsh http add urlacl url=http://X.X.X.X:9090/ user=specificUserExample Another thing is that you seem to be only able to run this once for a URL or you will get an error like so: Url reservation add failed, Error: 183 Cannot create a file when that file already exists. I have tried as you suggested to create the "plasticapi.log.conf" file where the "plasticapi.exe" file is located. However the destination log file does not seem to get any data. I have tried several configs for the the file itself. Permissions seem fine on the log file. My command for the running the api process is simply to run the plasticapi.exe from the command window. I have also tried with just about every combination of flags and ports but always get the same result: Unable to start the REST API listener. Please make sure that you have HTTP permissions for the current port and user. I am totally stumped here as to why this is not working. The user is an administrator. The cmd.exe is run as administrator. Windows Firewall is off. I have tried disabling antivirus. Without any log information, we have no ability to troubleshoot this issue..... only this Unable to start the REST API listener message. Any help at all would be much appreciated since this is a complete blocker for our pipeline development.
  9. Hiya, I'm pretty sure this is more of a general networking issue, but I am hoping to get any tips on how to troubleshoot this issue. The problem is that I am unable to start the plasticapi.exe rest api on our server, running Windows Server 2012 R2. It is a most basic installation. I get the following message: "Unable to start the REST API listener. Please make sure that you have HTTP permissions for the current port and user." I am running this in a command prompt with elevated privileges The server is already accessible in our network using the client The server control panel is accessible in the browser using port 7178 The hosts file has 127.0.0.1 line un-commented Ran the command: netsh http add urlacl url=http://+:9090/ user=myusername Windows Firewall is disabled. Not sure what other steps could be taken to troubleshoot. Event logs in windows show nothing out of the ordinary. What could we be missing? Thanks in advance!
  10. As the topic says: Branch explorer renders an incorrect placement of a "home icon" signifying local changes in an uncommitted changeset. Developers here at our studio have flagged an issue in the windows PlasticSCM client application wherein the grayed out home changeset icon can appear incorrectly in the past in the UI. Sometimes it goes so far to the left it is no longer clear which branch you are currently on without leaving the Branch Explorer view to visit the Branches list. This issue has been a thorn in the side for around 6 months, before which time it was not an issue in the client. It has caused a good deal of confusion here in house, especially when on-boarding contractors who are new to PlasticSCM. I have attached some images for reference: This last screenshot shows how far back this problem can occur, being an entire "page" to the left.
  11. Hiya, Following up on our chat and add some clarity to my post above and the workarounds... There is a workflow issue wherein if you have a file nested within a cloaked directory, and the parent folders do not already exist in a local workspace, you cannot run an update using the command line tool and the "--cloaked" flag for a specific item path . It will result in a message like: "Could not find a part of the path to ...." . Since Plastic is currently looking for the parent folders to exist upstream of the file location in the workspace, you would have to drill down folder by folder from the root, pulling down the entire contents of each of those folders. The workaround is to use only a local workspace "cloaked.conf" and not a global one, and edit this cloaked.conf to remove all the folders that may be cloaked temporarily before running the update command. After running the update, you may add these folders back into the "cloaked.conf". Ideally, PlasticSCM would implement a feature that out-of-box, you are able to update / getfile for any valid repo path, whether it is cloaked or not. It still makes sense that the "--cloaked" flag would be required for any file that is cloaked or is nested within cloaked directories.
  12. Sure! Let me know if I can prepare anything to help.
  13. Hey Manu, Sure! I am in Toronto, EST. Let me know over PM I guess some times that work for you and let's chat! Thanks! - Aleks
×