fekriomar / pyrit

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

svn: '.' is not a working copy, Backtrack 4 R1 #182

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.python setup.py build
2.
3.

What is the expected output? What do you see instead?
# python setup.py build
svn: '.' is not a working copy
running build
running build_ext
Skipping rebuild of Nvidia CUDA kernel ...
Building modules...

What version of the product are you using? On what operating system?
Backtrack 4 R1
CudaToolkit 3.1
cpyrit-cuda 0.3
Geforce GTX465

Please provide any additional information below.

After that I try 

# sudo python setup.py install
svn: '.' is not a working copy
running install
running build
running build_ext
Skipping rebuild of Nvidia CUDA kernel ...
Building modules...
running install_lib
copying build/lib.linux-i686-2.5/cpyrit/_cpyrit_cuda.so -> 
/usr/lib/python2.5/site-packages/cpyrit
running install_egg_info
Writing /usr/lib/python2.5/site-packages/cpyrit_cuda-0.3.0.egg-info

And then 

# pyrit list_cores
/usr/lib/python2.5/site-packages/cpyrit/cpyrit.py:62: UserWarning: WARNING: 
Version mismatch between <module 'cpyrit._cpyrit_cpu' from 
'/usr/lib/python2.5/site-packages/cpyrit/_cpyrit_cpu.so'> ('0.3.1-dev (svn 
r265)') and <module 'cpyrit._cpyrit_cuda' from 
'/usr/lib/python2.5/site-packages/cpyrit/_cpyrit_cuda.so'> ('0.3.0')

  "('%s')\n" % (_cpyrit_cpu, _cpyrit_cpu.VERSION, mod, ver))
Pyrit 0.3.1-dev (svn r265) (C) 2008-2010 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

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 110, in initFromArgv
    func(self, **options)
  File "/usr/lib/python2.5/site-packages/pyrit_cli.py", line 255, in list_cores
    with cpyrit.cpyrit.CPyrit() as cp:
  File "/usr/lib/python2.5/site-packages/cpyrit/cpyrit.py", line 450, in __init__
    self.cores.append(CUDACore(queue=self, dev_idx=dev_idx))
  File "/usr/lib/python2.5/site-packages/cpyrit/cpyrit.py", line 243, in __init__
    _cpyrit_cuda.CUDADevice.__init__(self, dev_idx)
SystemError: CUDA_ERROR_INVALID SOURCE

Original issue reported on code.google.com by mannydia...@gmail.com on 15 Sep 2010 at 2:00

GoogleCodeExporter commented 9 years ago
the svn-line is not an error. setup.py tries to get the revision-number if we 
are building from an svn-tree. if we are not, svn tells so...

the cuda_error_invalid_source was fixed in 0.3.1-dev r277. Please update you 
cpyrit_cuda to the latest development version.

Original comment by lukas.l...@gmail.com on 15 Sep 2010 at 6:29

GoogleCodeExporter commented 9 years ago
Im sorry but how can i update to the latest cpyrit_cuda?? i go to the r77 but 
the only version that i see is the cpyrit_cuda 0.3.0

Original comment by mannydia...@gmail.com on 16 Sep 2010 at 4:46

GoogleCodeExporter commented 9 years ago
Can Someone please tell me how to upgrade to the latest cpyrit_cuda??? apt-get 
doesnt work for cpyrit

Original comment by mannydia...@gmail.com on 19 Sep 2010 at 6:01

GoogleCodeExporter commented 9 years ago
To have the latest cpyrit_XXXX you have to take it form here 
http://code.google.com/p/pyrit/source/checkout : be carefull that BackTrack, 
Debian and other distros NEVER are updated as SVN version from pyrit web page 
is.
To be sure to have latest version, always rebere to pyrit web page I wrote.

Original comment by pyrit.lo...@gmail.com on 20 Sep 2010 at 11:58