Issue 46787 - localize_sl crash
Summary: localize_sl crash
Status: CONFIRMED
Alias: None
Product: Internationalization
Classification: Code
Component: code (show other issues)
Version: 680m79
Hardware: All Windows XP
: P5 (lowest) Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-06 10:14 UTC by rimga
Modified: 2013-08-07 15:00 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
screenshots (96.18 KB, application/vnd.sun.xml.draw)
2005-04-06 10:16 UTC, rimga
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description rimga 2005-04-06 10:14:40 UTC
Hello,
i try to extract resource strings but localize crashes. Look at the assigned 
screenshots. 
I tried to use different versions m90, m75 but result was the same.
Comment 1 rimga 2005-04-06 10:16:39 UTC
Created attachment 24726 [details]
screenshots
Comment 2 pavel 2005-04-06 16:50:11 UTC
rimga: you should use localize, not localize_sl.
Comment 3 rimga 2005-04-06 17:09:32 UTC
But i use localize (it is visible from screenshots also). localize_sl is 
called by localize script.
Comment 4 gregor.hartmann 2005-04-08 10:39:31 UTC
after looking at the sources it might be that you do not have a valid file at
%STAR_STANDLST

The linenumbers in the callstack would also help a lot to find the problem.
Comment 5 jeongkyu.kim 2005-04-08 11:21:58 UTC
rimga,

You might run 'gwu.pl localize ...' instead of 'gwu.pl -env localize ...'. I
experienced same issue when I missed '-env'. The localize.exe (actaully
underlying filesystem handling layer) does not like unix paths in environment
variables.
Comment 6 rimga 2005-04-11 15:18:35 UTC
Thanks jeongkyu, 
your comment helped. I think this issue can be closed.
Comment 7 ivo.hinkelmann 2005-04-11 16:38:39 UTC
.
Comment 8 ivo.hinkelmann 2005-04-11 16:39:13 UTC
closed
Comment 9 jeongkyu.kim 2005-04-13 16:32:15 UTC
jeongkyu->ihi:

Please forgive me to reopen this issue. I believe that localize_sl could handle
the situation better than crash. For instance, it could display error message
such as mentioning '-env' in tcsh.

How do you think?
Comment 10 ivo.hinkelmann 2005-04-14 14:44:25 UTC
jeongkyu, do you want from every tool within the OOo buildssystem ( there are a
lot! ) to test if your environment is proper set ????
Comment 11 ivo.hinkelmann 2005-04-14 14:47:20 UTC
.
Comment 12 jeongkyu.kim 2005-04-14 15:38:35 UTC
jeongkyu->ihi:

I didn't meant it. :-)

I used it for getting sdf file and putting it back to test localization issue. I
thought localize_sl is utility for localization. Also, I agree we don't need to
check if environment is set correctly. However, it would be better if we could
avoid crash (by checking 'null object'). 

Does it make sense to you?
Comment 13 ivo.hinkelmann 2005-04-14 17:58:22 UTC
I'll build in such a check
Comment 14 ivo.hinkelmann 2011-01-31 16:18:42 UTC
.