Comments (10)
Unfortunately, I have no Windows machines to try this on and figure out what's going on. On my (Ubuntu) machine, it just works. It should detect a lack of psyco, so that seems like a problem I can work on. I can see about stripping psyco out entirely when I next look at BitTornado. If you do figure out how to get it up and running on Windows, by all means submit a pull request. Whether it's an updated README or some code tweaks, that's awesome.
Also, I appreciate that you tried the Python 3 branch! I have no idea how good of shape it's in, so hopefully it wasn't a bug I put in there that kept it from working.
from bittornado.
Actually, I apparently already purged psyco in 882265d. Now I'm confused as to why you'd be seeing psyco errors. Are you trying to use the v0.3.18 tag?
from bittornado.
I've retried with Python 2.7.8 and the latest pywin, pycrypto, py2exe available for it. I used wxPython 2.8 for my tests.
I managed to grab psyco from chromiums git (They have psyco in Python 2.7.x).
This is how it ends:
C:\opt\Python\lib\site-packages\py2exe\build_exe.py:1365: UserWarning: Duplicate name: 'BitTornado/init.pyc'
z.write(os.path.join(base_dir, f), f)
copying C:\opt\Python\lib\site-packages\py2exe\run_w.exe -> D:\Entwicklung\BitTornado-master\dist\btdownloadgui.exe
The following modules appear to be missing
['_scproxy', '_sysconfigdata', 'resource', 'win32com.gen_py']
The first warning "Duplicate name" should be non-fatal, unzipping the library.zip reveals the problem, the file is inside twice but it's identical (Compared content).
These appear to be the real problems:
The following modules appear to be missing
['_scproxy', '_sysconfigdata', 'resource', 'win32com.gen_py']
'win32com.gen_py' exists, but py2exe is too stupid to find it, I can manually add it to library.zip
However '_scproxy', '_sysconfigdata', 'resource' puzzle me.
from bittornado.
I've used the "master" branch.
Actually I've tried with different branches so the lack of psyco might originate from a non-master attempt.
from bittornado.
This is the error I get when running the btdownloader_gui.exe :
Traceback (most recent call last):
File "btdownloadgui.py", line 19, in
File "BitTornado\download_bt1.pyc", line 9, in
File "BitTornado\BT1\Choker.pyc", line 2, in
ImportError: cannot import name clock
But clock exists ...
from bittornado.
However '_scproxy', '_sysconfigdata', 'resource' puzzle me.
Yeah, some googling has shown other people having problems like this on other programs/libraries, but I have not seen a solution.
But clock exists ...
Ah, that was my fault. Check out master and see if that fixes your issue. (I also had issues with ConfigDir running btdownloadgui, but we shouldn't change too many things at once. Maybe it works as is for you.)
from bittornado.
Hey, just checking in: Did that commit (149a12e) help, or have you made any headway in figuring out the py2exe issues?
from bittornado.
Didn't have the time to try it yet ...
from bittornado.
Just checking to see if you ever figured out your problem.
from bittornado.
Closing. Please reopen if you're still having trouble.
from bittornado.
Related Issues (20)
- allow anonymous connections via i2p HOT 2
- Create torrents from a list of files HOT 9
- can not share data with the same btdownloadheadless.py client each other. HOT 12
- Unknown type for bencode HOT 10
- AttributeError: 'NatCheck' object has no attribute 'bufferlen' HOT 5
- OSError: [Errno 107] Transport endpoint is not connected HOT 8
- ImportError: cannot import name HTTPSConnection HOT 4
- Error creating announcers HOT 7
- KeyError: b'-UT2210-\xd6b\xd8\xbf\xe0\xcf\xc1\xe9E\x94\x1d\xc6' HOT 4
- KeyError: 0 HOT 3
- how can the btmakemetafile.py support filename include Chinese ? HOT 5
- if the leecher sudden disconnection.how to give hint or exit the download script? HOT 2
- timeout exceeded HOT 3
- Invalid key: path.utf-8 HOT 3
- codec can't decode byte 0xa0 in position 13 HOT 6
- Python3.6 can't work HOT 1
- Please implement --allow-insecure-filename HOT 6
- btmakemetafile fills screen HOT 2
- Downloader doesn't work out of the box?
- KeyError: 'Invalid key: attr' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bittornado.