Adrien42 Posted February 19, 2016 Report Share Posted February 19, 2016 Hi everybody, On the last available MacPlastic version 5.4.16.729, i can't finish the merge of a cherry pick. I have always the message in attachment. In the macplasticlog.txt, i have this : 2016-02-19 15:50:10,780 (null) adrien at (null) ERROR Merge - ApplicationName='/Applications/macplastic.app/Contents/MonoBundle/mergetool', CommandLine='-b="/var/folders/xm/8m4kqv9x00qcsx6_lfs79_dm0000gn/T/57ea5904-deee-471a-aad3-94eb9bea93ed.php" -bn="toto.php@cs:9234@/main/Dev/TOTO" -bh="6SVMz3IqiG6WIyr3e/+2SA==" -s="/var/folders/xm/8m4kqv9x00qcsx6_lfs79_dm0000gn/T/090f9cdd-c33b-4b8f-a013-ebdc3d73acaa.php" -sn="toto.php@cs:9236@/main/Dev/TOTO" -sh="MAP4fB6YGNMXdS+sU4m97Q==" -d="/Users/TOTO/Documents/toto.php" -dh="Ava4jIhpieX92O1/x5Gf9w==" -a -r="/var/folders/xm/8m4kqv9x00qcsx6_lfs79_dm0000gn/T/21e29b0b-1b43-487a-9811-8ab4e712c832.php" -t="text" -i="IgnoreEolWhiteSpaces" -e="NONE" -m="onlyone" --silent', CurrentDirectory='', Native error= Cannot find the specified file 2016-02-19 15:50:10,826 (null) adrien at (null) ERROR PlasticThread - Error when performing background operation: Error in merge tool "mergetool -b="@basefile" -bn="@basesymbolic" -bh="@basehash" -s="@sourcefile" -sn="@sourcesymbolic" -sh="@sourcehash" -d="@destinationfile" -dh="@destinationhash" -a -r="@output" -t="@filetype" -i="@comparationmethod" -e="@fileencoding" -m="@mergetype" --silent" execution. Merge tools in client.conf are incorrectly defined. And in my terminal, i try to search the temporary file /var/folders/xm/8m4kqv9x00qcsx6_lfs79_dm0000gn/T/21e29b0b-1b43-487a-9811-8ab4e712c832.php but it doesn't exist : cat: /var/folders/xm/8m4kqv9x00qcsx6_lfs79_dm0000gn/T/21e29b0b-1b43-487a-9811-8ab4e712c832.php: No such file or directory Thanks for your help Adrien Link to comment Share on other sites More sharing options...
manu Posted February 19, 2016 Report Share Posted February 19, 2016 This is my config, working fine with the same release. You can see my mergetool configuration. You can see yours from "/Users/Codice/.plastic4/client.conf" <?xml version="1.0" encoding="utf-8"?> <ClientConfigData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Language>en</Language> <WorkspaceServer>localhost:8087</WorkspaceServer> <WorkingMode>NameWorkingMode</WorkingMode> <SecurityConfig /> <MergeTools> <MergeToolData> <FileType>enTextFile</FileType> <FileExtensions>*</FileExtensions> <Tools> <string>/Applications/macplastic.app/Contents/Applications/macmergetool.app/Contents/MacOS/macmergetool -b="@basefile" -bn="@basesymbolic" -bh="@basehash" -s="@sourcefile" -sn="@sourcesymbolic" -sh="@sourcehash" -d="@destinationfile" -dn="@destinationsymbolic" -dh="@destinationhash" -a -r="@output" -t="@filetype" -i="@comparationmethod" -e="@fileencoding" -m="@mergetype" -re="@resultencoding" --progress="@progress" --extrainfofile="@extrainfofile"</string> </Tools> </MergeToolData> <MergeToolData> <FileType>enTextFile</FileType> <FileExtensions>*</FileExtensions> <Tools> <string>/Users/Codice/Desktop/kdiff3.app/Contents/MacOS/kdiff3 --L1 "BASE" "@basefile" --L2 "SOURCE" "@sourcefile" --L3 "DESTINATION" "@destinationfile" -o "@output" -m</string> </Tools> </MergeToolData> </MergeTools> <DiffTools> <DiffToolData> <FileType>enTextFile</FileType> <FileExtensions>*</FileExtensions> <Tools> <string>/Applications/macplastic.app/Contents/Applications/macmergetool.app/Contents/MacOS/macmergetool -b="@basefile" -bn="@basesymbolic" -bh="@basehash" -s="@sourcefile" -sn="@sourcesymbolic" -sh="@sourcehash" -t="@filetype" -i="@comparationmethod" -e="@fileencoding"</string> </Tools> </DiffToolData> </DiffTools> <SetFilesAsReadOnly>no</SetFilesAsReadOnly> <SetRevisionFileDate>no</SetRevisionFileDate> <SupportSmbWorkspaces>no</SupportSmbWorkspaces> <PerformAddPlusCi>no</PerformAddPlusCi> <CheckFileContentForChanged>no</CheckFileContentForChanged> <CaseSensitiveFsOnMac>no</CaseSensitiveFsOnMac> <SameItemDifferentCaseError>no</SameItemDifferentCaseError> <CheckinQueuesSize>50</CheckinQueuesSize> <DownloadPoolSize>1</DownloadPoolSize> <UploadCompressionSize>1</UploadCompressionSize> <PendingChangesOnSwitchAction>Fail</PendingChangesOnSwitchAction> Link to comment Share on other sites More sharing options...
Adrien42 Posted February 22, 2016 Author Report Share Posted February 22, 2016 Hi Manu, Thanks you so much for the support, it's better ! But sometimes, after 5 secondes, i have a new error message (in attachment) Below the logs of macmergetool.log : 2016-02-22 10:16:54,908 (null) adrien at (null) ERROR ExceptionHandler - [MonoMac] Unexpected error: Argument is out of range.Parameter name: index2016-02-22 10:17:43,164 (null) adrien at (null) ERROR ExceptionHandler - [MonoMac] Unexpected error: Argument is out of range.Parameter name: index2016-02-22 10:21:23,331 (null) adrien at (null) ERROR ExceptionHandler - [MonoMac] Unexpected error: Argument is out of range.Parameter name: index One idea ? Thanks Best regards Link to comment Share on other sites More sharing options...
manu Posted February 23, 2016 Report Share Posted February 23, 2016 Is "5.4.16.729" still your macplastic version? Can you edit the "macmergetool.log.conf" file by setting the root to DEBUG? Next time we'll get more info about the issue. <root> <level value="DEBUG" /> <appender-ref ref="RollingFileAppender" /> </root> Link to comment Share on other sites More sharing options...
Adrien42 Posted February 26, 2016 Author Report Share Posted February 26, 2016 Yes the 5.4.16.729 is styll my macplastic version. I created the file macmergetool.log.conf because it didn't existed. And now when i triyed a cherry pick on another branch, i have this message : "Exception of type 'System.Text.DecoderFallbackException' was thrown." But the merge is OK Thanks for your return Adrien Link to comment Share on other sites More sharing options...
manu Posted February 26, 2016 Report Share Posted February 26, 2016 Can you send me the log file generated? I would like to know the "Exception of type 'System.Text.DecoderFallbackException" error stacktrace. Link to comment Share on other sites More sharing options...
Adrien42 Posted February 29, 2016 Author Report Share Posted February 29, 2016 Yes of course, but in wich file ? I see nothing in macmergetool.log.txt and in macplastic.log.txt And i created the file macmergetool.log.conf because it didn't existed Link to comment Share on other sites More sharing options...
manu Posted February 29, 2016 Report Share Posted February 29, 2016 Can you use the following /Applications/macplastic.app/Contents/MonoBundle/macmergetool.log.conf file? The result should be generated here: ${HOME}/.plastic4/macmergetool.log.txt" And I think it has to write the full stacktrace. <log4net> <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date %thread %property{UserID} %property{TransactionID} %property{ClientMachine} %-5level %logger - %message%newline" /> </layout> </appender> <appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender"> <file value="${HOME}/.plastic4/macmergetool.log.txt" /> <appendToFile value="true" /> <rollingStyle value="Size" /> <maxSizeRollBackups value="10" /> <maximumFileSize value="100MB" /> <staticLogFileName value="true" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date %property{TransactionID} %username at %property{ClientMachine} %-5level %logger - %message%newline" /> </layout> </appender> <root> <level value="DEBUG" /> <appender-ref ref="RollingFileAppender" /> </root> </log4net> Link to comment Share on other sites More sharing options...
Adrien42 Posted March 2, 2016 Author Report Share Posted March 2, 2016 Thanks Manu. I used your following file and i have just this in ${HOME}/.plastic4/macmergetool.log.txt: 2016-03-02 10:48:25,363 (null) adrien at (null) DEBUG ClientConfig - Time loading client.conf (/Users/sfi/.plastic4/client.conf) 87 ms And always the same error when i tryed a cherry pick : Exception of type 'System.Text.DecoderFallbackException' was thrown. With merge, no problem. I think it can be about the project encoding, it's in ISO-8859-1 Link to comment Share on other sites More sharing options...
manu Posted March 2, 2016 Report Share Posted March 2, 2016 Hi Adrien, can you provide us with a couple of revisions you use to reproduce the issue? If you don't want to share your code you can directly email me with them, mlucio at codicesofware dot com. Link to comment Share on other sites More sharing options...
Adrien42 Posted March 29, 2016 Author Report Share Posted March 29, 2016 Hi Manu, Symply do some code in ISO-8859-1 on Mac Os X and the problem will appear. And when i go in "Preference > Diff And Merge " and when i set the default encoding on "iso-8859-1 28591", i have this error : "Encoding name 'iso-8859-1 - 28591' not supportedParameter name: name" Thanks you Adrien Link to comment Share on other sites More sharing options...
Adrien42 Posted April 18, 2016 Author Report Share Posted April 18, 2016 Any solutions ? ... Link to comment Share on other sites More sharing options...
manu Posted April 18, 2016 Report Share Posted April 18, 2016 Hello Adrien, we have a pending task to fix it. I'll keep you posted as soon as we start working on it. Link to comment Share on other sites More sharing options...
Adrien42 Posted May 2, 2016 Author Report Share Posted May 2, 2016 Hello Manu, Any idea when you start to fix it ? Adrien Link to comment Share on other sites More sharing options...
manu Posted May 3, 2016 Report Share Posted May 3, 2016 Hi Adrien, I can't give you an ETA but I'll push it to get it done ASAP. Link to comment Share on other sites More sharing options...
Adrien42 Posted May 19, 2016 Author Report Share Posted May 19, 2016 Hi manu, another problem is that the cherry pick on Mac Os X (when it's work on not ISO file) doesn't take all the files. Only the file on the last changeset on the branch. Example : - i create a branch to solve a bug with two changesets who includes 5 files - when i merge with my Main branche, i have 5 files in the result - when i cherry pick it with my Main Branche, i have ony 4 files in the result. I lost the file who was modified on the firt cherry pick On WIndows client, no problem. Thanks for your return Adrien Link to comment Share on other sites More sharing options...
manu Posted May 20, 2016 Report Share Posted May 20, 2016 Hi Adrien, thank for reporting the issue, the "Cherry pick from branch" in macplastic is not working at all, it only performs the cherry pick of the Head changeset instead of the complete branch. We'll fix it asap. Link to comment Share on other sites More sharing options...
calbzam Posted June 20, 2016 Report Share Posted June 20, 2016 Hi Adrien, It's fixed at 5.4.16.756. Regards, Carlos. Link to comment Share on other sites More sharing options...
Adrien42 Posted June 29, 2016 Author Report Share Posted June 29, 2016 Hi Carlos, Thank you for support. But there is always a problem with merge/cherry pick on ISO-8859-1 files sometimes. I have this message : Exception of type 'System.Text.DecoderFallbackException' was thrown. Adrien Link to comment Share on other sites More sharing options...
manu Posted June 29, 2016 Report Share Posted June 29, 2016 Yes, that one is still pending to be fixed. The ISO-8859-1 encoding is not supported right now. you are able to configure another mergetool and proceed with the merge if you're in a hurry. Sorry for the inconveniences. Link to comment Share on other sites More sharing options...
Adrien42 Posted October 19, 2016 Author Report Share Posted October 19, 2016 Hi manu, When will we be able to use ISO-8859-1 on the mergetool ? Thanks Adrien Link to comment Share on other sites More sharing options...
manu Posted October 19, 2016 Report Share Posted October 19, 2016 I'm sorry Adrien, the issue is not scheduled yet. Don't think we are ignoring it, it's actually in our top priority list. I'll update this thread once we start with it. Thank you for your understanding. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.