Results 1 to 7 of 7

Thread: bluesmash 2.0 problem

  1. #1
    Just burned his ISO
    Join Date
    Jan 2008
    Posts
    5

    Default bluesmash 2.0 problem

    I have a linksys usb bluetooth adapter. When i plug it in and launch it, it will be recognized as hci0. So this should be ok. If i launch Bluesmash i got the following error:

    Hardware Check Complete.
    Traceback (most recent call last):
    File "./blue-smash-v2.0a.py", line 1589, in <module>
    menu_main()
    File "./blue-smash-v2.0a.py", line 915, in menu_main
    hardware_check()
    File "./blue-smash-v2.0a.py", line 59, in hardware_check
    play_sucsess()
    File "./blue-smash-v2.0a.py", line 72, in play_sucsess
    pygame.init()
    NameError: global name 'pygame' is not defined

    Thanks Sabi

  2. #2
    Just burned his ISO
    Join Date
    Jul 2008
    Posts
    2

    Default

    I also have this problem. I have upgraded from BT3B which had (and still has) no problem with bluesmash. The error is identical. All other bluetooth aps seem to be working fine, so not a major issue, but it is a shame to not have it.

  3. #3
    Junior Member
    Join Date
    Jan 2010
    Posts
    84

    Default

    I Had this Problem Too

    what I did Is Go to -> http://sourceforge.net/projects/bluesmash/

    and Download it Then

    untar it

    Then Install It by this command

    bash install.sh

    Then

    Run It With

    python bluetrack-*.py (* = version)

    And It's Worked For Me

    hope It's clear

    read The [ ReadMe ] File For More Info

  4. #4
    Just burned his ISO borntobehacker's Avatar
    Join Date
    Jul 2008
    Posts
    11

    Default

    The link hxxp://sourceforge.net/projects/bluesmash/

    It's bluesmash v.1.0e.... & already on BT3 final....

    can u run the bluesmash v.2.0 ?

  5. #5
    Just burned his ISO
    Join Date
    Jul 2008
    Posts
    7

    Lightbulb

    Theres a simple solution: Edit the .py-File, search the section

    Code:
    # Play Sucsess
    
    def play_sucsess():
      pygame.init()
      try:
        sound = pygame.mixer.Sound("sounds/homer.wav")
        sound.play()
      except:
        pass
    
    # Play error
    
    def play_error():
      pygame.init()
      try:
        sound = pygame.mixer.Sound("sounds/wrong.wav")
        sound.play()
      except:
        pass
    (lines 69 ff) and change it to something like

    Code:
    # Play Sucsess
    
    def play_sucsess():
      try:
        pygame.init()
        sound = pygame.mixer.Sound("sounds/homer.wav")
        sound.play()
      except:
        print '\noups1\n'
    
    # Play error
    
    def play_error():
      try:
        pygame.init()
        sound = pygame.mixer.Sound("sounds/wrong.wav")
        sound.play()
      except:
        print '\noups2\n'
    save, run, and everything should work fine.

  6. #6
    Just burned his ISO borntobehacker's Avatar
    Join Date
    Jul 2008
    Posts
    11

    Default

    ok blackwinged...
    I'll try ur advice...
    thanks !!! :-D

  7. #7
    Junior Member johnnyca's Avatar
    Join Date
    Sep 2008
    Posts
    34

    Default

    I've got BlueSmash errors all over the place. I gave up on it, and have been using btpincrack with hcidump and frontline.

Posting Permissions

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