This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SVN 547988] download / upload not updating

Tags: None
(comma "," separated)
Moshroum
Registered Member
Posts
63
Karma
0

Thu Jun 08, 2006 11:37 am
lengau wrote:is there a way for me to download older commits from SVN?

Try
Code: Select all
svn co --revision 549000 svn://anonsvn.kde.org/home/kde/trunk/extragear/network/ktorrent
(549000 just an example revision) or date based
Code: Select all
svn co --revision {2006-06-06} svn://anonsvn.kde.org/home/kde/trunk/extragear/network/ktorrent


PS: I had the same problem some days ago and after recompiling everything today, it has gone (I hadn't time to test it, so i dont know if it was a random error or it was really fixed by recompiling from scratch).
cyrylas
Registered Member
Posts
59
Karma
0

Thu Jun 08, 2006 12:04 pm
I'm trying this whole day today, and so far discodered, that it get broken somewhere between revision 547000 and 547200 (with last change in 547141).


Code: Select all
vn log -r 547000:547200
------------------------------------------------------------------------
r547042 | guisson | 2006-05-31 19:40:55 +0200 (śro, 31 maj 2006) | 1 line

Added a check for missing files and allow the user to recreate or dnd missing files
------------------------------------------------------------------------
r547058 | guisson | 2006-05-31 20:28:37 +0200 (śro, 31 maj 2006) | 1 line

Greatly simplified packet sending code, should get rid of uploads being corrupted when there is a limit
------------------------------------------------------------------------
r547074 | ivasic | 2006-05-31 21:31:46 +0200 (śro, 31 maj 2006) | 1 line

FileSelectDialog now applies changes on dialog::accept() making selecting/deselecting files quicker
------------------------------------------------------------------------
r547078 | ivasic | 2006-05-31 21:36:03 +0200 (śro, 31 maj 2006) | 1 line

SVN_SILENT small fix to my previous commit
------------------------------------------------------------------------
r547090 | ivasic | 2006-05-31 22:08:02 +0200 (śro, 31 maj 2006) | 1 line

SVN_SILENT another fix to my previous commit
------------------------------------------------------------------------
r547141 | markusb | 2006-06-01 00:48:40 +0200 (czw, 01 cze 2006) | 2 lines

FreeBSD needs netinet/in_systm.h for n_long

------------------------------------------------------------------------
George
Moderator
Posts
5421
Karma
1

Thu Jun 08, 2006 5:05 pm
I have done a diff to get all the changes between 547000 and 547200, and I don't see anything which could be causing this.

The only thing related to the upload stats is the changes in the packet sending code. We keep track of the number of bytes sent there, but this is correct, because it works here.
George
Moderator
Posts
5421
Karma
1

Thu Jun 08, 2006 7:25 pm
lengau wrote:Here you go

My reasons for choosing the dvd torrent there were that I'm seeding and that it has the most leechers compared to seeders (should give a better example here)

http://torrent.ubuntu.com/releases/dapp ... so.torrent

separately, is there a way for me to download older commits from SVN?


The stats get updated without any problem. I haven't tried seeding alone though, downloading 3.14 GB takes a while.
stoeptegel
Registered Member
Posts
1075
Karma
0

Thu Jun 08, 2006 7:44 pm
George wrote:The stats get updated without any problem. I haven't tried seeding alone though, downloading 3.14 GB takes a while.


Stats in the announce while seeding is no problem either here.
But it's weird that it's not just one person that experiences this issue though.
lengau
Registered Member
Posts
36
Karma
0

Sun Jun 11, 2006 1:29 am
This is weird. I've been trying specific versions (starting at 548000) and increasing until I find the revision that breaks the code, but so far (549800) no problems. just trying with the latest version now.

__UPDATE__

Well apparently it works. I made it in a new directory, though.

What I would suggest for anyone else having that problem is to download the latest svn (and all the other necessary stuff) into another folder and recompile, because that's what worked for me.

No, I have no explanation, and no, I didn't upgrade anything that I think could affect it (GIMP and CUPS, along with a few fonts, if I remember correctly).
lengau
Registered Member
Posts
36
Karma
0

Wed Jun 14, 2006 7:24 am
I think I *MIGHT* have figured it out.
Today I was going through some possibilities, and on a whim decided to just get the newest version in a new folder.
Well, that stopped it from working. So I went and grabbed an old revision (547000) and compiled/installed it. It seemed to work fine, so I then checked out the latest version and compiled/ran it.
It worked.
Now I've had little experience with SVN (or programming, although I'm learning), but my feeling is that perhaps the problem is that a file existed in the old KTorrent revisions and was correct, but then somehow got removed from the newer revisions. It hasn't been updated, so nothing's broken because of that, but it doesn't get downloaded when someone requests a newer revision. For some reason, however, that file doesn't seem to be deleted when updating.
Could someone who hasn't had this problem perhaps try getting the latest revision in a new folder and compiling/running it?
cyrylas
Registered Member
Posts
59
Karma
0

Wed Jun 14, 2006 11:25 am
OK, this is really weird now.

Code: Select all
rm -rf ktorrent
svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/network/ktorrent
cd ktorrent/
svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin/
svn cat svn://anonsvn.kde.org/home/kde/trunk/extragear/network/Makefile.cvs > Makefile.cvs 
make -f Makefile.cvs && ./configure && make
./apps/ktorrent/ktorrent

And it still doesn't work for me...
imported4-Ivan
Registered Member
Posts
819
Karma
0

Wed Jun 14, 2006 1:25 pm
You have to run make install (unsermake install) after compilation. Simply running ./apps/ktorrent/ktorrent will load your new compiled ktorrent but it will load old plugins and libraries (if any).
cyrylas
Registered Member
Posts
59
Karma
0

Wed Jun 14, 2006 1:37 pm
Ivan wrote:You have to run make install (unsermake install) after compilation. Simply running ./apps/ktorrent/ktorrent will load your new compiled ktorrent but it will load old plugins and libraries (if any).

Still no success :/

Even tried make uninstall and make install.
George
Moderator
Posts
5421
Karma
1

Wed Jun 14, 2006 5:51 pm
We need to add a version check to eliminate potential problems like this. Maybe use the SVN revision number somehow.
lengau
Registered Member
Posts
36
Karma
0

Wed Jun 14, 2006 11:08 pm
cyrylas: Try this:
Code: Select all
svn co -r 547000 svn://anonsvn.kde.org/home/kde/trunk/extragear/network/ktorrent
cd ktorrent
make -f Makefile.cvs
./configure
make
sudo make install
svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/network/ktorrent
cd ktorrent
make -f Makefile.cvs
./configure
make
sudo make install
ktorrent

That should take care of it. Please tell me if that works (it worked for me)
cyrylas
Registered Member
Posts
59
Karma
0

Thu Jun 15, 2006 12:53 pm
Didn't work either :/ You must be very lucky, or me very unlucky.
djpearman
Registered Member
Posts
54
Karma
0

Fri Jun 16, 2006 7:29 am
I tried the approach of removing the entire ktorrent directory and redownloading everything from SVN and rebuilding - no luck, the upload amount still doesn't get counted. While the client works fine other than that (I can down- and upload stuff fine), it does mean that the seeding limit is now useless and I use that quite frequently.
George
Moderator
Posts
5421
Karma
1

Fri Jun 16, 2006 6:09 pm
This doesn't make sense at all, is there anything abnormal in the log files ?


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]