Hi
Nick,
I’m
using Ubuntu Linux 8.04, but I would use this kind of bash prompt on any Linux
distribution.
Thanks,
Konrad
>
On Thu, Jun 05, 2008 at 05:57 AM, Nick Drummond wrote:
>
>
hi Konrad,
>
>
What linux distribution are you using?
>
>
Nick
>
>
On Thu, May 22, 2008 at 4:51 PM, Rokicki, Konrad (NIH/NCI) [C] <rokickik at
mail.nih.gov> wrote:
>
>>
While installing Protégé on Linux and ran into the following issue
>>
(apologies if this is a dup):
>>
>>
>>
>>
Preparing to install...
>>
>>
Extracting the installation resources from the installer archive...
>>
>>
Configuring the installer for this system's environment...
>>
>>
Launching installer...
>>
>>
An internal LaunchAnywhere application error has occured and this
>>
application cannot proceed. (LAX)
>>
>>
Stack Trace:
>>
>>
java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
>>
>>
at java.util.Properties.loadConvert(Properties.java:492)
>>
>>
at java.util.Properties.load(Properties.java:331)
>>
>>
at
>>
com.zerog.common.java.util.PropertiesUtil.loadProperties(DashoA10*..)
>>
>>
at com.zerog.lax.LAX.<init>(DashoA10*..)
>>
>>
at com.zerog.lax.LAX.main(DashoA10*..)
>>
>>
>>
>>
It turns out that this is caused by the prompt definition in my .bashrc
>>
file:
>>
>>
>>
>>
export PS1='\u@\h \$ '
>>
>>
>>
>>
Since all the shell env variables are used to build the Java properties
>>
file, these characters are interpreted as unicode which results in the
>>
error. I was able to install after redefining this to a static prompt, but
>>
the error persists when I try to run the application. As a workaround, I
>>
have modified the Protege script on line 255 as follows:
>>
>>
>>
>>
# convert one backslash to four (changed from two)
>>
>>
gsub(/\\/, "\\\\\\\\", value)
>>
>>
>>
>>
Please let me know if this would have any unintended consequences.
>>
>>
>>
>>
Thanks!
>>
>>
>>
>>
--
>>
>>
Konrad Rokicki
>>
>>
SAIC / NCICB
>>
>>
_______________________________________________
>>
p4-feedback mailing list
>>
p4-feedback
at lists.stanford.edu
>>
https://mailman.stanford.edu/mailman/listinfo/p4-feedback
>>
>>