GithubHelp home page GithubHelp logo

Doesn't build ... about bittornado HOT 10 CLOSED

effigies avatar effigies commented on June 1, 2024
Doesn't build ...

from bittornado.

Comments (10)

effigies avatar effigies commented on June 1, 2024

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.

effigies avatar effigies commented on June 1, 2024

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.

Schimmelreiter avatar Schimmelreiter commented on June 1, 2024

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.

Schimmelreiter avatar Schimmelreiter commented on June 1, 2024

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.

Schimmelreiter avatar Schimmelreiter commented on June 1, 2024

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.

effigies avatar effigies commented on June 1, 2024

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.

effigies avatar effigies commented on June 1, 2024

Hey, just checking in: Did that commit (149a12e) help, or have you made any headway in figuring out the py2exe issues?

from bittornado.

Schimmelreiter avatar Schimmelreiter commented on June 1, 2024

Didn't have the time to try it yet ...

from bittornado.

effigies avatar effigies commented on June 1, 2024

Just checking to see if you ever figured out your problem.

from bittornado.

effigies avatar effigies commented on June 1, 2024

Closing. Please reopen if you're still having trouble.

from bittornado.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.