You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Script is not able to parse the output of history command properly.
Also script seems to lack support for handling of whitespaces properly.
I am using 2014.1.0 Build 17.
The text was updated successfully, but these errors were encountered:
Unfortunately, I haven't tested anything newer than 2013 (see also #42). From the code:
# Last tested using:
# * Python 2.7.6
# * GNU bash, version 4.3.11(1)-release (i686-pc-linux-gnu)
# * sscm command-line client version: 2013.0.0 Build 23 (Linux)
# * Git version 1.9.1
# * Ubuntu 14.04.1 LTS
# * Linux 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:01 UTC 2014 i686 i686 i686 GNU/Linux
There have been a number of forks, so maybe some of those folks have had luck. On my end, and with others that I know, most of us have abandoned hope due to deficiencies in Surround's API and/or CLI. Further, we've learned that some of the issues are technically intractible, like #34.
An example of the API deficiency is the whitespace issue you're citing. If the API were suitable, then there would be no need to parse output from the inconsistent CLI.
Personally, I don't have access to 2014. If you do, I'm more than willing to review your pull requests. Otherwise, I recommend trying your hand with 2013 and the environment cited in the code.
Thanks for reply.
I am able to update parsing logic to parse the output of history command(sccm history ...)
But then I got stuck at :
`
print("data %d" % os.path.getsize(localPath))
with open(localPath, "rb") as f:
print(f.read())
return mark
`
Script is opening a file (localPath) and in my case file is .doc file ( & xls too). I guess python can't open doc or xls files, so do you know any alternative to above approach?
Script is not able to parse the output of history command properly.
Also script seems to lack support for handling of whitespaces properly.
I am using 2014.1.0 Build 17.
The text was updated successfully, but these errors were encountered: