Error parameter "-m" | Error in CTRL+C | and other error
I believe there is a some new bug with the lasted release (13 hours ago) ...
1.- ... the -m parameter it is not working, because always run only 5 threads despite you put any number. It's funny because at first it open "-m" threads as queues, but later only uses 5 threads at maximum
2.- ... CTRL+C not shutdown a running process ... If I want to finalize some PoweShell running script I should close the window PowerShell.
3.- ... I get this error:
11/14 06:52:05 [Queuer 4][DEBUG]: Grabbing folder socrates 11/14 06:52:05 [Queuer 4][INFO]: LeBonjorn\02.- CAL ROTÉS\Web www.calrotes.cat\05. WEB SOBRE LA QUAL TREBALLO\socrates 11/14 06:52:05 [Queuer 4][DEBUG]: C:\BitcasaTMP\00.- Users\LeBonjorn\02.- CAL ROTÉS\Web www.calrotes.cat\05. WEB SOBRE A QUAL TREBALLO\socrates Exception in thread Queuer 4: Traceback (most recent call last): File "C:\Python27\lib\threading.py", line 810, in __bootstrap_inner self.run() File "C:\Python27\lib\threading.py", line 763, in run self.__target(_self.__args, *_self.__kwargs) File "BitcasaFileFetcher\threads\folder_traverse.py", line 27, in folder_traverse folder_list(folder, folder_queue, download_queue, results, args, should_exit) File "BitcasaFileFetcher\threads\folder_traverse.py", line 194, in folder_list folderitems = get_folder_items(fold, should_exit) File "BitcasaFileFetcher\threads\folder_traverse.py", line 50, in get_folder_items folderitems = fold.items File "C:\Python27\BitcasaFileLister-master\includes\lib\bitcasa\filesystem.py", line 59, in items self._refresh_items() File "C:\Python27\BitcasaFileLister-master\includes\lib\bitcasa\filesystem.py", line 63, in _refresh_items folder = self.client.get_folder(self.path, self.name) File "C:\Python27\BitcasaFileLister-master\includes\lib\bitcasa\client.py", line 82, in get_folder response = requests.get(url, params=params) File "C:\Python27\lib\site-packages\requests\api.py", line 60, in get return request('get', url, *_kwargs) File "C:\Python27\lib\site-packages\requests\api.py", line 49, in request return session.request(method=method, url=url, *_kwargs) File "C:\Python27\lib\site-packages\requests\sessions.py", line 457, in request resp = self.send(prep, *_send_kwargs) File "C:\Python27\lib\site-packages\requests\sessions.py", line 569, in send r = adapter.send(request, *_kwargs) File "C:\Python27\lib\site-packages\requests\adapters.py", line 407, in send raise ConnectionError(err, request=request) ConnectionError: ('Connection aborted.', gaierror(11001, 'getaddrinfo failed'))
1.- Im more than more than sure the -m is working properly. As stated in my previous comment, you probably only see 5 Queuers which is reminiscent of the new syntax:
-m THREADS, --threads THREADS
Number of simultaneous downloads. (5)
-f FOLDERTHREADS, --folderthreads FOLDERTHREADS
Number of simultaneous folder lookups. (5)
2.- When downloads hang, weird things happen. You can also try quitting the program by typing one of the following and hitting enter: "y", "yes", "q", "quit"