Or, so what’s been going on with Anomos development?
Well, we’ve switched out the old handshake protocol and replaced all the connections with TLS for speed and security purposes. It makes things a lot easier and faster for our project and should make things much easier for integrating with existing clients. This should speed up our release schedule, so you’ll see a proper release quite soon! However, if you’d like to experiment on your own before then, the source is available in the git as always.
Rich!




Hi
when we will get first release version of Anomos?
and there is puplic tracker avaible for Anomos?
or will be Trackerless feature in feature avaible too?
Where can Download the binarys of Anomos?
i have build on Windows Anomos but not realy correct…
only i have trouble with M2Crypto, which version of M2Crypto
is used?
i have put on my Anomos folder the M2Crypto folder
import of M2Crypto works but import of __m2crypto
Traceback (most recent call last):
File “btdownloadgui.py”, line 40, in ?
File “Anomos\TorrentQueue.pyc”, line 20, in ?
File “Anomos\download.pyc”, line 29, in ?
File “Anomos\NeighborManager.pyc”, line 7, in ?
File “Anomos\Connecter.pyc”, line 17, in ?
File “Anomos\crypto.pyc”, line 17, in ?
File “M2Crypto\__init__.pyc”, line 14, in ?
ImportError: No module named __m2crypto
and i need for Windows a binary of M2Crypto?
i used M2Crypto-0.19.1.tar.gz
i think i must install a Windows build…
i use this packages under Windows Xp on my System:
Python 2.4.2
Python 2.4 pywin32
Python 2.4 pygtk-2.6.3
dynspython-1.6.0
M2Crypto-0.18.win32-py2.4.exe
i get this error:
Traceback (most recent call last):
File “btdownloadgui.py”, line 3044, in ?
File “Anomos\controlsocket.pyc”, line 105, in create_socket_inet
AttributeError: type object ‘RawServer’ has no attribute ‘create_serversocket’
i used latest snapshot:
http://git.anomos.info/?p=anomos.git;a=commit;h=03384a87eed1f7112e06360ad82f950405296bee
git sources is not clean? it has errors?
Hello, Pheonix!
We’ve never built on Windows yet but there is no reason why it wouldn’t work. We use the latest version of M2Crypto.
The reason that you had the error on the last error is that the GUI is still making calls to create_serversocket, which has been replaced by SSL sockets. If you want to test, use btdownloadheadless.py instead, although I hope to have the GUI fixed up properly in the next day or two for 25C3.
Thanks for showing interest in our project! I’m really eager to see if you can get it going on Windows (we’re both on linux)
Actually, I just got it to work with the GUI without any modifications, so I’m not sure what’s going on there. Will investigate further when time allows!
i have do not start from source, i maked with py2exe a binary
when i cal btdownloadgui.exe
i get the error message, you using from source or you created a binary under Windows?
which version of Python you using?
now i switched to Python 2.5.2 there i doesnt get this socket problem but now i get other troubel with cairo:
Traceback (most recent call last):
File “btdownloadgui.py”, line 28, in
File “gtk\__init__.pyc”, line 48, in
File “gtk\_gtk.pyc”, line 12, in
File “gtk\_gtk.pyc”, line 10, in __load
ImportError: No module named cairo
my equipment:
python-2.5.2.msi
dnspython-1.6.0.win32.exe
M2Crypto-0.19.1.win32-py2.5.exe
pycairo-1.2.6-1.win32-py2.5.exe
pygobject-2.14.1-1.win32-py2.5.exe
pygtk-2.12.1-2.win32-py2.5.exe
pywin32-212.win32-py2.5.exe
py2exe-0.6.9.win32-py2.5.exe
gtk+-2.10.13-setup.exe
Perhaps you do not have GTK+/Cairo libraries installed, only the bindings?
http://www.gtk.org/download-windows.html
i installed gtk+ runtime
and tested other packages:
gtk+-bundle_2.14.6-20081216_win32
and unpacked into qtk folder cairo_1.8.0-1_win32.zip
but doesnt get a effect.
get same error
i have installed gtk2-runtime-2.14.6-2008-12-17-ash.exe
GTK2 Runtime installer, based on gtk+-2.14.6, glib-2.18.3, atk-1.24.0, pango-1.22.2, cairo-1.8.0.
Contains all the needed dependencies.
but again it says ImortError with cairo.
only problem Anomos does not have a own Network ,
its needs a Secure Bittorrent Tracker to can use it ?
Without has no change to can test Anomos.
phoenix
i have add some things in setup.py
opts = {
“py2exe”: {
“includes”:”cairo,pango,pangocairo,atk,gobject”
“,encodings,encodings.*”
mean put there cairo , pango, pangocairo
now its gtk cairo stuff solved
Oh, awesome work! So you’re saying it’s working?
Are you free on wednesday nights? We’ll be doing some testing if you want to participate.
It does not work, mean its fixed the problem with cairo,pango,pangocairo
i get same error which other person get,here uses latest git:
Traceback (most recent call last):
File “btdownloadgui.py”, line 3055, in
File “Anomos\controlsocket.pyc”, line 106, in create_socket_inet
TypeError: unbound method create_ssl_serversocket() must be called with RawServer instance as first argument (got int instance instead)
here is my modifyd build.bat:
mean dont know i set it to latest gtk runtime.
old build.bat on svn its not more up to date
rem The contents of this file are subject to the BitTorrent Open Source Licenserem Version 1.0 (the License). You may not copy or use this file, in either
rem source code or executable form, except in compliance with the License. You
rem may obtain a copy of the License at http://www.bittorrent.com/license/.
rem
rem Software distributed under the License is distributed on an AS IS basis,
rem WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
rem for the specific language governing rights and limitations under the
rem License.
del /F /S /Q build dist
c:\python25\python.exe winsetup.py py2exe
copy %GTK_BASEPATH%\bin\libpng12.dll dist\
copy %GTK_BASEPATH%\bin\zlib1.dll dist\
copy %GTK_BASEPATH%\bin\libpangoft2-1.0-0.dll dist\
rem I don’t think this is needed:
rem copy %GTK_BASEPATH%\bin\libxml2.dll dist\
mkdir dist\etc\pango
copy %GTK_BASEPATH%\etc\pango dist\etc\pango
mkdir dist\etc\gtk-2.0\
copy %GTK_BASEPATH%\etc\gtk-2.0\gdk-pixbuf.loaders dist\etc\gtk-2.0
mkdir dist\lib\gtk-2.0\2.10.0\loaders
copy %GTK_BASEPATH%\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-png.dll dist\lib\gtk-2.0\2.10.0\loaders
copy %GTK_BASEPATH%\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-xpm.dll dist\lib\gtk-2.0\2.10.0\loaders
copy %GTK_BASEPATH%\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-ico.dll dist\lib\gtk-2.0\2.10.0\loaders
mkdir dist\lib\pango\1.4.0\modules
copy %GTK_BASEPATH%\lib\pango\1.4.0\modules\pango-basic-win32.dll dist\lib\pango\1.4.0\modules\
copy %GTK_BASEPATH%\lib\pango\1.4.0\modules\pango-basic-fc.dll dist\lib\pango\1.4.0\modules\
copy %GTK_BASEPATH%\lib\locale dist\lib\
copy %GTK_BASEPATH%\etc\gtk-2.0\gtkrc dist\etc\gtk-2.0
mkdir dist\lib\gtk-2.0\2.10.0\engines
copy %GTK_BASEPATH%\lib\gtk-2.0\2.10.0\engines\libwimp.dll dist\lib\gtk-2.0\2.10.0\engines
mkdir dist\share\themes\MS-Windows\gtk-2.0
copy %GTK_BASEPATH%\share\themes\MS-Windows\gtk-2.0\gtkrc dist\share\themes\MS-Windows\gtk-2.0
“C:\Program Files\NSIS\makensis.exe” bittorrent.nsi
and winsetup.py:
#!/usr/bin/env python
# The contents of this file are subject to the BitTorrent Open Source License
# Version 1.0 (the License). You may not copy or use this file, in either
# source code or executable form, except in compliance with the License. You
# may obtain a copy of the License at http://www.bittorrent.com/license/.
#
# Software distributed under the License is distributed on an AS IS basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
# Written by Bram Cohen and Matt Chisholm
from distutils.core import setup
import py2exe
import glob
opts = {
“py2exe”: {
“includes”:”cairo,pango,pangocairo,atk,gobject”
“,encodings,encodings.*”
# “,cjkcodecs,cjkcodecs.*”
“,dns,dns.rdtypes.ANY.*,dns.rdtypes.IN.*”
,
# Uncomment the following lines if you want a dist\ directory build by
# py2exe that works under Win32 with a GTK runtime installed
# separately:
## “dll_excludes”:["iconv.dll", "intl.dll", "libatk-1-1.0-0.dll",
## "libgdk_pixbuf-2.0-0.dll", "libgdk-win32-2.0-0.dll",
## "libglib-2.0-0.dll", "libgmodule-2.0-0.dll",
## "libgobject-2.0-0.dll", "libgthread-2.0-0.dll",
## "libgtk-win32-2.0-0.dll", "libpango-1.0-0.dll",
## "libpangowin32-1.0-0.dll",
## ],
}
}
setup(windows=[{'script': 'btdownloadgui.py',
"icon_resources": [(1, "images\\bittorrent.ico")]},
{‘script’: ‘btmaketorrentgui.py’,
“icon_resources”: [(1, "images\\bittorrent.ico")]}],
options=opts,
data_files=[('',["credits.txt", "LICENSE.txt",
"README.txt", "redirdonate.html"]),
(“images”, glob.glob(“images\\*png”)+["images\\bittorrent.ico"]),
(“images\\logo”, glob.glob(“images\\logo\\*png”)) ],
)