datawizard1337 / ARGUS

ARGUS is an easy-to-use web scraping tool. The program is based on the Scrapy Python framework and is able to crawl a broad range of different websites. On the websites, ARGUS is able to perform tasks like scraping texts or collecting hyperlinks between websites. See: https://link.springer.com/article/10.1007/s11192-020-03726-9
GNU General Public License v3.0
88 stars 25 forks source link

Tkinter: [WinError2] System cant find the specified file #39

Closed lalo3392 closed 4 years ago

lalo3392 commented 4 years ago

Hi I'm really new to Argus. Once the scraping ends I get an exception in Tinter callback and can't save the results. I ttach a screenshot of the issue. Thanks

Error Argus

datawizard1337 commented 4 years ago

Hey lalo, Are you sure that you have taken into account this warning:

Warning: Please make sure that ARGUS and your URL file are not located in directories with paths containing ".", e.g. "C:\my.folder\data.txt"!

lalo3392 commented 4 years ago

Hey, thanks for your reply

I double checked and there are no "." in the paths. A collague of mine suggested another cause: " There can be an issue with Windows because it does not conform to POSIX by default.

I'm really a begginer and I'm not sure what this is, bu I hope its useful.

datawizard1337 commented 4 years ago

When exactly does this error occure? Immediately after you clicked "start scraping"?

Please also check whether you are able to run "scrapyd" manually. Start your command line (e.g. by pressing windows button and R and then enter "cmd") and then enter "scrapyd".

lalo3392 commented 4 years ago

It's immediately after I press "Postprocessing". I found the cvs output files in the argus directory, so the scrapping is working. But just postprocessing is not.

datawizard1337 commented 4 years ago

Could you please send a complete screenshot of the error message?

cordoba27 commented 4 years ago

Does the error still occur for you? If so, I hope that it'll disappear with the next update, as we are working on restructuring the postprocessing function of ARGUS.

FrancoMMV commented 11 months ago

Hello everyone! Just started with ARGUS and I am experiencing this same problem. Just followed the instructions to get the ARGUS running. Here is the screenshot: Screenshot 2023-12-05 184411

datawizard1337 commented 11 months ago

@cordoba27 do you remember the fix for this?

FrancoMMV commented 11 months ago

Hi, I checked all installations again and added ...Anaconda3\Script to the path and the code line subprocess.run(r"TSKILL scrapyd", shell=True) and it worked. However, it was searching for a \chunks\chunks folder instead of just chunks creating a new error easily solved by creating the path it was looking for.