Troubleshooting
Problem
This technote explains why the error, Error: Input in flex scanner failed, occurs while attempting to open the IBM® Rational® ClearCase® xclearcase graphical interface on Linux® or running clearimport.
Symptom
This error is reported when trying to open the xclearcase graphical user interface (GUI) on Linux or when running clearimport:
Error: Input in flex scanner failed
Cause
Possible causes for the error include the following:
- It was determined that the variable ICON_PATH was incorrectly defined in the user's shell and was conflicting with xclearcase.
Example:
setenv ICON_PATH /usr/ccase_rls/icon: $ATRIAHOME/config/ui/icon
Note: In this example there is a period missing before the word icon (.icon).
- This issue has also been seen on Linux clients running ClearCase 7.0.x if there is another .icon file present in either /opt/rational/clearcase/config/ui/icon/ or ~/.icon/.
This issue has been reported as a product defect under APAR PK69581.
- Your are running clearimport and have unicode (extended ASCII) characters in your magic file.
Resolving The Problem
For Cause 1
- The correct syntax is as follows:
home-directory/.icon:$CLEARCASEHOME/config/ui/icon
Review the ClearCase Command Reference Guide on the topic of env_ccase (cleartool man env_ccase) for more information about the ICON_PATH variable.
WORKAROUND
Comment out the variable in your shell for xclearcase to work as expected.
For Cause 2
- Defect APAR PK69581 has been closed and the decision was made by Product Management to exclude the resolution of this feature enhancement from future upgrades. The following workaround below should be used.
WORKAROUND
Any entry in .icon file must be concatenated into default.icon
For Cause 3
- Check your magic file for the presence of unicode characters.
[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"GUI: xclearcase","Platform":[{"code":"PF016","label":"Linux"}],"Version":"2003.06.00;7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21254823