cc to rtc import full history error
So, on running the importer with full history the stream gets created but when it does the actual 'build/syhchronise' we get the error below. Any ideas?
problem running 'synchronizeStream':
javax.wvcm.WvcmException: Output from cleartool command could not be processed because it contains a byte sequence not legal for the given character set. Ensure that any filenames being processed by cleartool contain only characters legal for the specified locale. |
2 answers
To diagnose this kind of problem do the following:
. Run the failing command at the command line redirecting the output to a file
. Look for problematic characters in the line after the last line reported in the sync/build log.
|
Hi Lucy, this is a problem with the Lang environment variable. In your stack trace I can see this is set to UTF- 8. This should be set to en_US.ISO-8859-1. This needs to be done for the JBE process which is running the synchronization operation. To do this you can use the following process.
Stop the sync engine if it is running ( you can find the process by something like 'ps -ef | grep buildengine' ) Close RTC eclipse client Set LANG environment variable in your terminal, export it. ( 'setenv LANG en_US.ISO-8859-1' or 'export LANG=en_US.ISO-8859-1' etc.) Start RTC eclipse client from the terminal Verify the LANG env. variable is set as expected, by 'cat /proc/<RTC eclipse client process>/environ' and find LANG var. Go to ClearCase Sync. view, select your sync. stream and start sync. engine Again, verify the LANG env. variable is set as expected for the sync engine process Run sync Comments Hi Thanks for this. We've tried it, made the changes and re-tried the import and it still errors. Are there any other work rounds for this error or do you think it could be a bug?? Thanks Lucy
Geoffrey Clemm
commented Aug 01 '13, 6:37 p.m.
| edited Aug 01 '13, 6:38 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
It might be quickest to just work with support. One thing to try next is to run the command that is failing in a shell window on your sync host, and see if there is anything strange in the results. I.e. the command:
Lucy Kirk
commented Aug 05 '13, 6:45 a.m.
thank you, i believe we have now raised a call. |
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.