Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Stata 11 crashing


From   Eric Booth <ebooth@ppri.tamu.edu>
To   "<statalist@hsphsun2.harvard.edu>" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Stata 11 crashing
Date   Sat, 2 Jul 2011 02:21:03 +0000

<>

Hi Daniel:  
Again, tech support maybe the best bet here (or there's always re-installing Stata?).  
It appears that the 2 characters you mention are ascii chars 130 and 204.    What font do you have your data editor set to (right-click or ctrl+click and select 'preferences' in the Stata data editor window to see the font used)? 
The reason I ask is that I wonder if there are certain OSX fonts that don't include certain high-ascii chars for some reason?  Particularly if you have specialty fonts installed.  With Safari open:  press Command+Option+t it will open the Character palette.  In that application, change the view at the top right to "Roman" and drag either of the 2 misbehaving characters into the "character" box.  In the bottom box, you will see that it now identifies that font "collections" (e.g., arial, lucinda)  that contain the character as well as the name of the character and other information.    If it's not in the font you're using for the Stata results/editor/do-file windows, then try changing it to a font with that character in its "collection."

What happens when you add the chars to a cell with the generate/replace command?  e.g., 
**
clear
set obs 1
g var1 = "Ç, Ã" 
g var2 = "`=char(130)' / `=char(204)'" 
**

If it works, take a look at the chars via -charlist- (from SSC) and see if sees var1 and var2 as the same:
 charlist var1
 di "`r(ascii)'"
 charlist var2
 di "`r(ascii)'"

If this doesnt work, try changing fonts as described above and see if your outcome changes.

- Eric
__
Eric A. Booth
Public Policy Research Institute
Texas A&M University
ebooth@ppri.tamu.edu



On Jul 1, 2011, at 5:18 PM, Daniel Marcelino wrote:

> Eric, maybe something strange happens to my Mac or even Stata, I'm
> using 11 IC under english language system, so we've the same
> contextual system structure. When I -insheet- a file with some strange
> chars it works properly. The problem arises when I try to type or
> paste in a given cell those non-english characters.
> 
> Daniel
> 
>> <>
>> 
>> I'm using Stata 11 MP for Mac OSX 10.6 and when I paste those characters into a cell in Stata's data editor I do not have any problem.
>> You should probably contact tech support.
>> I wonder if it could be some kind of language or font support issues (for instance, if you are using a non-english language as your primary language in "System Preferences" > "Language & Text" in Mac OSX --  does changing the language to english and pasting again cause the same crash?)  What happens when you -insheet- a file with those characters into Stata ?
>> 
>> - Eric
>> __
>> Eric A. Booth
>> Public Policy Research Institute
>> Texas A&M University
>> ebooth@ppri.tamu.edu
>> 
>> 
>> On Jun 30, 2011, at 8:47 PM, Daniel Marcelino wrote:
>> 
>>> I got some problems under the lat Stata version and before. I'm using
>>> Stata under Mac and this package have a bug. For example, every time I
>>> tried to paste multi byte character (Ç, Ã etc) into Stata's cell it
>>> crashed.
>>> 
>>> Daniel
>>> 
>>> On Thu, Jun 30, 2011 at 3:45 PM, Austin Nichols <austinnichols@gmail.com> wrote:
>>>> Richard Palmer-Jones <rpjstatalist@googlemail.com>:
>>>> Probably a virus, but maybe corrupt tempfiles?
>>>> Check your hard disk, and delete everything in temp folders?
>>>> Let us know once you figure it out.
>>>> 
>>>> On Thu, Jun 30, 2011 at 9:23 AM, Richard Palmer-Jones
>>>> <rpjstatalist@googlemail.com> wrote:
>>>>> Dear Readers
>>>>> 
>>>>> in the last couple of days Stata MP 11.2 322 but born 30 Mar 2011 has
>>>>> started crashing on both a Windows XP (SP3 +++)  and a Windows 7
>>>>> machine, both with 4Gb ram and plenty of hard disk space, on both of
>>>>> which Stata has been extremely stable for years.  for not particular
>>>>> reason that I can see.
>>>>> 
>>>>> I have not installed any new software, of hardware. I am not making
>>>>> any particularly large demands or doing anything very unusual within
>>>>> Stata that I can see
>>>>> 
>>>>> Any advice much appreciated.
>>>> 
>>>> *
>>>> *   For searches and help try:
>>>> *   http://www.stata.com/help.cgi?search
>>>> *   http://www.stata.com/support/statalist/faq
>>>> *   http://www.ats.ucla.edu/stat/stata/
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> About me: http://danielmarcelino.zip.net/
>>> 
>>> *
>>> *   For searches and help try:
>>> *   http://www.stata.com/help.cgi?search
>>> *   http://www.stata.com/support/statalist/faq
>>> *   http://www.ats.ucla.edu/stat/stata/
>> 
>> 
>> 
>> 
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/statalist/faq
>> *   http://www.ats.ucla.edu/stat/stata/
>> 
> 
> 
> 
> -- 
> About me: http://danielmarcelino.zip.net/
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/




*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index