Results 1 to 6 of 6

Thread: error: bad character read (octal): 0

  1. #1
    Login to Give a bone
    0

    Default error: bad character read (octal): 0

    please i dont know why i receive an error message evry time i open my AutoCAD so it's nt working proprely, i will copy and paste the message that am receiving and i will be glad to receive ur help as soon as possible
    the message is :

    Customization file loaded successfully. Customization Group: ACAD
    Customization file loaded successfully. Customization Group: CUSTOM
    Customization file loaded successfully. Customization Group: IMPRESSION
    Customization file loaded successfully. Customization Group: AUTODESKSEEK
    Customization file loaded successfully. Customization Group: EXPRESS
    Regenerating model.
    ; error: bad character read (octal): 0
    AutoCAD menu utilities loaded.; error: bad character read (octal): 0
    ; error: bad character read (octal): 0
    Command: COMMANDLINE

  2. #2
    Certifiable AUGI Addict
    Join Date
    2015-11
    Location
    Jo'burg SA
    Posts
    4,512
    Login to Give a bone
    0

    Default Re: error: bad character read (octal): 0

    Welcome to AUGI & congrats on your 1st post.

    Sorry, that I couldn't help you on the PM's you sent me. From the error code you show, all I can see is that some addon which loads automatically is reading a character which acad doesn't understand. I figure it's coming from something I made (otherwise why would you have PM'd me), but after 4000+ posts I can't be sure. It might help if you can indicate from which place you got the code which causes this error. Otherwise you could also include the original lisp (or other) addon which has started causing this error.

    All I can think of is that something happened to the file's codebase. You might have a file stored in UTF8 with a BOM header - causing acad to try and figure out what that header is meaning. Otherwise I'm totally in the dark

  3. #3
    Login to Give a bone
    0

    Default Re: error: bad character read (octal): 0

    man i cant figure exactly from which place i got this code, i tried to delete all the files that i've downloaded recently and i also searched for all the files in UTF8 and deleted them, and i still get this error :S
    Note that i Uninstalled and thn Installed the AuotCAD and am still facing the same error.

  4. #4
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,658
    Login to Give a bone
    0

    Default Re: error: bad character read (octal): 0

    Many years ago I had the same problem when Windows replaced the DOS Edit with Wordpad. It wasn't ACSII compatibly and it added an end of file character to the lisp files I'd edited with it. It wasn't visible in Wordpad, but the lisp would not load and if memory serves gave me the same error you are getting.

  5. #5
    Login to Give a bone
    0

    Default Re: error: bad character read (octal): 0

    sooo what am i supposed to do ????

  6. #6
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,658
    Login to Give a bone
    0

    Default Re: error: bad character read (octal): 0

    The error would not happen until AutoCAD tried to load the offending lisp. Rather than deleting any lisp stop it from being loaded.
    1. Make sure you use an ASCII editor like Vlide or notepad, not Word or Wordpad.
    2. Comment out portions of acad.lsp and acaddoc.lsp that load code. Use a semicolin (;) at the start of each line or to comment a number of lines start with a semicolin followed by the pipe symbol (;|) and end with the same reversed (|;) as in the example:
    Code:
     ;|(if (/= (getvar "wscurrent") "My Workspace")
      (progn
        (command "wscurrent" "My Workspace")
        (princ "\n\"My Workspace\" set as the current Workspace. ")
       )
    )|;
    3. Add lines of code like (princ "\n\"Acaddoc.lsp\" loading.") and (princ "\n\"Acaddoc.lsp\" loaded.") at the start and end so you can see when the files start to load and if they finish.
    4. Once you find the code that's causing the problem fix it or post it here if you still need help.
    Last edited by Opie; 2012-09-11 at 03:42 PM. Reason: disabled smilies

Similar Threads

  1. View Title: Label Read first character of Detail Number Only?
    By BSaunders in forum Revit Architecture - General
    Replies: 2
    Last Post: 2010-10-20, 11:24 PM
  2. Error bad character read
    By Techdon1 in forum AutoLISP
    Replies: 7
    Last Post: 2009-06-17, 07:55 PM
  3. ; error: bad character read (octal): 21
    By guyogordo in forum AutoLISP
    Replies: 11
    Last Post: 2004-12-21, 03:31 PM
  4. error: bad character read (octal): 0
    By eegcdc in forum AutoLISP
    Replies: 1
    Last Post: 2004-09-30, 08:13 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •