Results 1 to 7 of 7
  1. #1
    problem with terminal

    Member Since
    Aug 16, 2011
    Posts
    1
    problem with terminal
    i pasted this sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts in terminal to install a app.But i made some mistake due to which instead of showing the localhost and broadcasthost page it shows

    2011-08-16 18:21:17.554 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.567 TextEdit[1063:707] Error loading /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder: dlopen(/Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.567 TextEdit[1063:707] Error loading /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder: dlopen(/Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.569 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.570 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper

    2011-08-16 18:21:17.573 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.574 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.575 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.577 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.578 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.579 TextEdit[1063:707] Error loading /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder: dlopen(/Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.580 TextEdit[1063:707] Error loading /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder: dlopen(/Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.581 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.591 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper

    2011-08-16 18:21:17.610 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.612 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.613 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.615 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper

    2011-08-16 18:21:17.623 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper


    2011-08-16 18:21:17.627 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.628 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.630 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.632 TextEdit[1063:707] Error loading /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder: dlopen(/Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.633 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:17.635 TextEdit[1063:707] Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): no suitable image found. Did find:
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: no matching architecture in universal wrapper
    2011-08-16 18:21:37.675 TextEdit[1063:590b] PersistentUI: LSSharedFileListInsertItemURL() failed at inserting URL file://localhost/etc/hosts

    now please suggest how to solve the issue..

  2. #2
    problem with terminal
    EvenStranger's Avatar
    Member Since
    Dec 09, 2010
    Location
    Virginia
    Posts
    844
    Specs:
    Currently 13" Late 2010 MBA, 4GB/128GB; Early 2011 13" MBP, dual core i7 2.7ghz, 4gb ram, 500gb hd
    Open Terminal, and instead of using TextEdit, try using "sudo pico /etc/hosts" to edit the file. Enter your password when prompted. You should see the text of your /etc/hosts file. Use the arrow keys to navigate, change what you need to change, and Control-X to close, Y to save, Return when prompted to change the filename.

    I'm running Lion, but I think the host file should be the same for Snow Leopard, if I recall.

    127.0.0.1 localhost
    255.255.255.255 broadcasthost
    ::1 localhost
    fe80::1%lo0 localhost

  3. #3
    problem with terminal
    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,821
    Specs:
    Way... way too many specs to list.
    Yep, it should be exactly that, probably in Lion as well since we're simply declaring the localhost IP's (both IPV4 and IPV6)
    mike
    This machine kills fascists
    Got # ? phear the command line!

  4. #4
    problem with terminal
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,398
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Quote Originally Posted by EvenStranger View Post
    Use the arrow keys to navigate, change what you need to change, and Control-X to close, Ctrl-O to save, Return when prompted to change the filename.
    Fixed that for you.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  5. #5
    problem with terminal
    cradom's Avatar
    Member Since
    Feb 14, 2004
    Location
    Nederland, Texas
    Posts
    4,081
    Specs:
    13in macbook - 10.10.4
    Do we still have pico in Lion? I've been using nano since Tiger.

  6. #6
    problem with terminal
    EvenStranger's Avatar
    Member Since
    Dec 09, 2010
    Location
    Virginia
    Posts
    844
    Specs:
    Currently 13" Late 2010 MBA, 4GB/128GB; Early 2011 13" MBP, dual core i7 2.7ghz, 4gb ram, 500gb hd
    Looks like they've created a symbolic link between pico and nano. I hadn't noticed that before.

  7. #7
    problem with terminal
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,398
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    You can use the readlink tool to see what a symbolic link points to from the CLI:
    Code:
    ~ :: readlink /usr/bin/pico
    nano
    So pico sure does point to nano which makes sense given the licensing issues with pico.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Terminal Problem (10.6.8)
    By ultimamax in forum Switcher Hangout
    Replies: 3
    Last Post: 07-09-2012, 02:46 PM
  2. Problem with Terminal
    By mori22 in forum OS X - Operating System
    Replies: 1
    Last Post: 01-15-2012, 04:02 PM
  3. Terminal Problem
    By russwbeck in forum OS X - Operating System
    Replies: 1
    Last Post: 01-05-2008, 11:46 AM
  4. Terminal Problem
    By WROC in forum OS X - Apps and Games
    Replies: 5
    Last Post: 01-09-2007, 04:01 PM
  5. Terminal Problem
    By jacobonline in forum OS X - Operating System
    Replies: 3
    Last Post: 05-18-2005, 12:27 PM

Posting Permissions

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