Issung / GChan

Scrape boards & threads from 4chan. Download images, videos and HTML if desired.
GNU General Public License v3.0
60 stars 9 forks source link

Windows Portable crashes #3

Closed Dante-7 closed 4 years ago

Dante-7 commented 4 years ago

I tested it with out of the box settings (+ Download html) and the https://boards.4channel.org/v/ It doenst give out a error message, just programm crashed. I cant change any settings, because it crashes asap after starting.

Screenshot_3
Issung commented 4 years ago

Hi there, thanks for reporting your issue! This is probably a problem with scraping a board, which is a mostly untested feature at the moment. I will look into testing it more when I get the time and hopefully fix the issue, and will let you know. Just for now I would really appreciate it if you could upload your crash logs to somewhere like pastebin and link it here, your crash logs can be found in a file called crash.logs at C:\ProgramData\GChan\GChan\3.3.0. After you have uploaded those and shared them here, delete all files in the directory (there should be crash.logs, boards.dat, and threads.dat, delete them all) and restart the program, it should then work, but be careful with adding boards again, maybe just stick to threads for the time being.

Dante-7 commented 4 years ago

Hey, thanks for your fast reply! :) I tested the installer Version, but still havent a folder. I found it under C:\User\AppData\Local\Apps\2.0\ with the help of the task manager

Anyway, I tryd the same board url again, this time without html, and it crashes again. But no crash logs. Same with the portable.

Screenshot_1
Issung commented 4 years ago

Hi again, what you've found is the install directory, it is a different directory to where it stores the data and crash logs. For the portable version it should be at "C:\ProgramData\GChan\GChan\3.3.0" or somewhere similar, try accessing the path directly because Windows hides the ProgramData folder by default. This is what it should look like in the folder: image"

If you use the installer version it gets stored somewhere stupid, in my case it gets stored here "C:\Users\username\AppData\Local\Apps\2.0\Data\G9Q5N6L8.T90\T00CKN0M.PGZ\gcha..tion_2cfeb7be995d8803_0002.0007_6d1fe2d8e26d6fe8\Data".

Maybe you can find it by going to your local AppData folder and searching for "crash.logs" or something.

If you manage to open GChan you can actually open the folder with the "Open ProgramData Folder" button. image

Issung commented 4 years ago

About the crashing: I think it is probably crashing because /v/ is a very popular board and its probably freaking out about all the movement... But I will need your crash.logs and some testing once I have time to find the true cause. I only scrape individual threads of my choosing so I haven't had this issue, but I will try and fix it once I get a chance.

Dante-7 commented 4 years ago

So, sorry for my stupid mistake, you was right, it was hidden.

https://pastebin.com/raw/UFhukfbB (crash.logs)

Issung commented 4 years ago

Hi friend, I've made a quick patch that should hopefully fix this issue for you, please download it from the releases here: https://github.com/Issung/GChan/releases/tag/3.3.2

And let me know if it works out for you :)

Dante-7 commented 4 years ago

Hey again, thanks for the very fast patch. I tested the portabl eagain, this time with html too, and it works like a charm, thank you! :)

Screenshot_3