Closed askiiart closed 1 year ago
Try searching for something and you should see movement.
We also have importers to grab the latest torrents from each site. I forgot to turn them on though! I'll push up a fix for that this afternoon.
For now you can just search.
Try searching for something and you should see movement.
Nope, I've just got this. Wouldn't the search depend on the imports being on?
from s0 in Magnetissimo.Torrents.Source,
where: s0.name == ^"TorrentDownloads"
(ecto 3.9.5) lib/ecto/repo/queryable.ex:161: Ecto.Repo.Queryable.one!/3
(magnetissimo 2.0.0) lib/magnetissimo/crawlers/torrent_downloads.ex:10: Magnetissimo.Crawlers.TorrentDownloads.fast_search/1
(elixir 1.14.4) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2
(elixir 1.14.4) lib/task/supervised.ex:34: Task.Supervised.reply/4
(stdlib 4.1.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
Function: &:erlang.apply/2
Args: [#Function<0.57527154/1 in Magnetissimo.Torrents.search_torrents/1>, [Magnetissimo.Crawlers.TorrentDownloads]]
Also, I'm not sure if I should file a separate issue for this, but while the search is loading, I get the "We can't find the internet" error. It goes away once the search loads (though it returns nothing).
Try searching for something and you should see movement.
Nope, I've just got this. Wouldn't the search depend on the imports being on?
from s0 in Magnetissimo.Torrents.Source, where: s0.name == ^"TorrentDownloads" (ecto 3.9.5) lib/ecto/repo/queryable.ex:161: Ecto.Repo.Queryable.one!/3 (magnetissimo 2.0.0) lib/magnetissimo/crawlers/torrent_downloads.ex:10: Magnetissimo.Crawlers.TorrentDownloads.fast_search/1 (elixir 1.14.4) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2 (elixir 1.14.4) lib/task/supervised.ex:34: Task.Supervised.reply/4 (stdlib 4.1.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3 Function: &:erlang.apply/2 Args: [#Function<0.57527154/1 in Magnetissimo.Torrents.search_torrents/1>, [Magnetissimo.Crawlers.TorrentDownloads]]
That error seems related to the TorrentDownloads
record not being found in the sources
database table. Did you run mix ecto.reset
to properly seed the database?
The can't find the internet error is related to #149 - I'm still trying to figure that one out.
That error seems related to the TorrentDownloads record not being found in the sources database table. Did you run mix ecto.reset to properly seed the database?
No, how do I do that?
@askiiart If you pull down latest and create a fresh docker compose this should be fixed by 2b89d42508e323eec2d4f79798ff8eaa1fc2dc9b - this will create the initial data necessary for the app to run. The sources
and categories
table we need.
@sergiotapia Thanks, that worked, though I did also have to delete the database data and re-run that too.
Yeah that is unfortunate sorry for the elbow-grease necessary here. Moving forward new crawlers I add will run in the database migration itself, there will be no need to reset the database. That's crazy. :D
Sorry if this ends up just being my impatience, but I've got nothing showing in Magnetissimo after about 10 minutes.
I don't see anything strange in the logs, just this, with the stuff starting with
Transport: websoket
repeating for each time I visit it in the browser.