dwaaan / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

HOW TO FIX THIS PROBLEM #272

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

root@bt:~# pyrit -e ttt create_essid
Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Connecting to storage at 'file://'...  Traceback (most recent call last):
  File "/usr/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 114, in initFromArgv
    options['storage'] = self._getStorage(storage_url)
  File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 229, in _getStorage
    storage = cpyrit.storage.getStorage(url)
  File "/usr/lib/python2.5/site-packages/cpyrit/storage.py", line 124, in getStorage
    return FSStorage(url)
  File "/usr/lib/python2.5/site-packages/cpyrit/storage.py", line 411, in __init__
    self.essids = FSEssidStore(os.path.join(path, 'essid'))
  File "/usr/lib/python2.5/site-packages/cpyrit/storage.py", line 442, in __init__
    with open(os.path.join(essidpath, 'essid'), 'rb') as f:
IOError: [Errno 2] No such file or directory: 
'/root/.pyrit/blobspace/essid/4fd9cf17/essid'

Original issue reported on code.google.com by baraka...@gmail.com on 2 Mar 2011 at 4:20

GoogleCodeExporter commented 8 years ago
Pyrit requires Python 2.6, you are using 2.5

Install Python 2.6 and your problem will likely go away.

Original comment by mrfantas...@aol.com on 3 Mar 2011 at 1:11

GoogleCodeExporter commented 8 years ago
Pyrit should work fine with Python 2.5

The file /root/.pyrit/blobspace/essid/4fd9cf17/essid holds the name of that 
essid as it may contain characters that are not allowed in a filesystem. The 
file is expected to be there but was somehow lost (e.g. your computer was 
switched of before the file reached the disk).

If you know for certain which essid that directory holds, you can put it's name 
into the file and everything should work. Otherwise, or to be sure, you'll have 
to delete the directory '/root/.pyrit/blobspace/essid/4fd9cf17'

Original comment by lukas.l...@gmail.com on 3 Mar 2011 at 7:56

GoogleCodeExporter commented 8 years ago
Pyrit should work fine with Python 2.5

The file /root/.pyrit/blobspace/essid/4fd9cf17/essid holds the name of that 
essid as it may contain characters that are not allowed in a filesystem. The 
file is expected to be there but was somehow lost (e.g. your computer was 
switched of before the file reached the disk).

If you know for certain which essid that directory holds, you can put it's name 
into the file and everything should work. Otherwise, or to be sure, you'll have 
to delete the directory '/root/.pyrit/blobspace/essid/4fd9cf17'

Original comment by lukas.l...@gmail.com on 3 Mar 2011 at 7:56

GoogleCodeExporter commented 8 years ago
thank you very much  lukas.l...@googlemail.com, ;-))))))))

Original comment by baraka...@gmail.com on 3 Mar 2011 at 9:14

GoogleCodeExporter commented 8 years ago
download, compile and install the latest version of sqlalchemy from the 
sourceforge site

Original comment by mdimo...@gmail.com on 27 Sep 2013 at 10:22