Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Parser Error: Error Opening torrent.
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2022-07-01 18:40:54
when i try to upload local torrent i get this

Parser Error: Error Opening torrent.


when i upload external everything is ok . Thanks
2022-07-01 19:36:38
compare your parse with the one on github, or maybe you recently added some code that is causing it https://github.com/MicrosoulV3/TorrentTrader-v3
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2022-07-01 19:54:35
ok the problem looks like to be qbit . With utorrent i can create and it works. Any sugestions?
Last edited by djlive on 2022-07-01 20:29:07
2022-07-02 06:22:10
go to create torrent on qibittorrent is it set to v2 torrents, it must be v1 for torrent trader
2022-07-02 07:49:55
thank you M-Jay it works
2022-07-02 20:13:31
v2 not supported? I personally use v1 because my seedbox does not support it, but all 3 are supported on site.

It’s a bit of a useless “too late” approach from libtorrent it feels like. IMHO this should of came out in 2007. Why so late?
2022-07-03 04:15:54
I just think admins will get loads of members asking about this parsing error because it only throws that general error, I only know from experience of updating to v2.
This should of been done early like you say when torrinting was more popular- but now qbit is not plug and download you have to check setting, next utorrent which seems simple but you will have to explain to users many times
and for what the only benefit I notice is the hash, a bit more secure and won't duplicate as much but I've never had duplicate hash error unless it's the same torrent of course
2022-07-03 20:35:01
uTorrent is Cpp/Python, if not mostly python, Cpp being the executable wrapper. They can easily do it. Something has them not implementing, or simply hiding the option for the meantime. They sure are hard at work on “Application not responding” advertising.

So we ignore that and use Qbt.

No one will catch up with it if mainline clients don’t play along.

Today, we have cloud streamed downloads, new technologies to improve bandwidth and we are coming closer and closer to CDN quality. The implementation needs to reach all clients for v2 to really push off in the wild.

Just feels like we are too late, and polishing a old classic vehicle in hopes it can pair up with today’s Tesla.
2022-07-04 03:48:31
There alot of improvements in the v2 spec.

The .torrent file can be alot smaller than a std v1 one.

In v1 pieces are all 20 bytes long.

In v2 pieces are 32 bytes long, if a given piece is smaller than the given piece length then it will not have a entry in the piece layers field.

In theory if torrent clients stopped using sha1 and started using sha256 when creating .torrents then you could easily convert v1 torrents to v2.

The only time v2 would become mainstream is if big open trackers enforced it.
2022-07-04 04:20:13
I added  error to the parse.php because i don't allow hybrid but this will show error to user on upload might be worth adding to v3

$info = $array["info"];
       if (isset($info["file tree"])) {
           autolink('upload.php', 'We do not allow hybrid or v2 torrents check your clients create torrent settings');
       }


Last edited by M-jay warn on 2022-07-04 04:34:16
2022-07-04 07:12:39
thanx m-jay

but should be torrents-upload

$info = $array["info"];
      if (isset($info["file tree"])) {
          autolink('torrents-upload.php', 'We do not allow hybrid or v2 torrents check your clients create torrent settings');
      }
2022-07-04 13:01:59
filetree => v2
Hybrid => filetree && files
2022-07-06 06:20:27
it's probably better to use

pieces & piece layers like


           $v1 = isset($buffer['pieces']);
           $v2 = isset($buffer['piece layers']);
           if ($v1 && $v2) {
               $type = 'hybrid';
           } elseif ($v1) {
               $type = 'v1';
           } elseif ($v2) {
               $type = 'v2';
           } else {
               $type = 'neither';
           }
Last edited by mostvotedplayer on 2022-07-06 17:18:52
2022-07-06 18:16:05
Another good way to do it!
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728