• Home
  • What's Tribler
  • Download
  • FAQ
  • Forum
Tribler

Forum Overview > Tribler Forum > Cannot properly run SVN-based Tribler sources

Cannot properly run SVN-based Tribler sources

Hi!

I am trying to run the current SVN-based Tribler implementation [1]. I am using a Linux system. I downloaded the current snapshot:

$ svn co http://svn.tribler.org/abc/branches/mainbranch tribler

and then tried to run Tribler.

$ cd Tribler/Main $ python tribler.py

Unfortunately the directory structure is messed up. The Python interpretor complains about not finding the proper modules. I managed to fix some of those errors by moving the tribler.py file to the Tribler sources root directory.

Afterwards, the GUI started but some other errors appeared. Some required the moving of certain subdirectories. Others required editing some Python files. For example, in the vwxGUI/profileOverviewPanel.py and some other files, the include path for MugshotManager? is wrong. It is

from Tribler.Main.Dialogs.MugshotManager? import MugshotManager?

but it should be

from Tribler.Core.CacheDB.MugshotManager? import MugshotManager?

These sort of errors just keep coming up. At this point I am wondering if I am missing something. Is this normal? I expected the 'mainbranch' to work "out-of-the-box". Am I doing something wrong?

Thanks, Răzvan

[1] http://svn.tribler.org/abc/branches/mainbranch

Reply Quote
Răzvan Deaconescu
02/21/08 12:46:43
  • Message #45

    Hi Razvan,

    Very adventurous of you to do a checkout of our svn. Because we are currently improving the stability of some of the parts of tribler (the download core) and are working on our new product (the Swarm Player for VOD bittorrent) there are now different branches for different tribler flavors. The svn you should check out for the last release is:

    http://svn.tribler.org/abc/tags/tribler-4.1.8rc2/

    The branch in which we do the development of the latest tribler client is in (more/less the same code as the tag, with some minor bugfixes):

    http://svn.tribler.org/abc/branches/jelle/d080117-filter-from-tag-tribler-4.1.7/

    I have to admin that this has to be cleaned up a little to make it more clear. In the near future we will merge these branches together for more clarity.

    The import problems that you had can be solved not by moving the tribler.py file around, but by defining your PYTHONPATH and starting tribler from the root dir, as in:

    export PYTHONPATH=`pwd`
    python Tribler/Main/tribler.py
    

    In both svn links that i put above, you DON'T need this, because they still use the 'older' directory structure.

    Good luck. If you have anymore problems, feel free to post again.

    Jelle

    Reply Quote
    Jelle
    02/21/08 22:29:11

Search the Forum


Latest news

29 April 2008

Tribler Team organized a successful course on Advanced P2P Technology
Read More

17 February 2008

19 Million Euro for P2P research
Read More

Please contact us if you have found a news item that's not listed here.


  • News
  • Developers
  • Business
  • Research
  • Jobs
  • About Us
  • Press
  • Contact
Login