Giter Site home page Giter Site logo

cursedownloader's People

Contributors

codewarrior0 avatar foxahead avatar holi0317 avatar hugopoi avatar iarspider avatar inverse avatar p4plus2 avatar portablejim avatar robert-nix avatar roteminecraftil avatar srakitnican avatar wassname avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cursedownloader's Issues

Information about running program in README.md wrong

Information about running program in README.md wrong or outdated.

python3.4 /path/to/downloader.py /path/to/manifest.json

By using this example program runs, but no manifest is selected. By looking at source programs uses flags, for example --manifest <manifest.json file>.

AttributeError: 'Response' object has no attribute 'is_redirect'

Hello I got an AttributeError: 'Response' object has no attribute 'is_redirect' while trying to download the Horizon: Daybreaker Modpack 1.0.3 with you downloading script.

The console output with and without gui portable option:

user@user-pc ~ $ python3.4 /home/user/Downloads/curseupdater/downloader.py
96 files to download
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/usr/lib/python3.4/threading.py", line 868, in run
self._target(_self._args, *_self._kwargs)
File "/home/user/Downloads/curseupdater/downloader.py", line 67, in goDownloadBackground
doDownload(self.manifestPath.get())
File "/home/user/Downloads/curseupdater/downloader.py", line 146, in doDownload
while fileResponse.is_redirect:
AttributeError: 'Response' object has no attribute 'is_redirect'

user@user-pc ~ $ python3.4 /home/user/Downloads/curseupdater/downloader.py --nogui --portable --manifest /home/user/Downloads/HDB/manifest.json
96 files to download
Traceback (most recent call last):
File "/home/user/Downloads/curseupdater/downloader.py", line 206, in
doDownload(args.manifest)
File "/home/user/Downloads/curseupdater/downloader.py", line 146, in doDownload
while fileResponse.is_redirect:
AttributeError: 'Response' object has no attribute 'is_redirect'

user@user-pc ~ $ python3.4 /home/user/Downloads/curseupdater/downloader.py --nogui --manifest /home/user/Downloads/HDB/manifest.json 96 files to download
Traceback (most recent call last):
File "/home/user/Downloads/curseupdater/downloader.py", line 206, in
doDownload(args.manifest)
File "/home/user/Downloads/curseupdater/downloader.py", line 146, in doDownload
while fileResponse.is_redirect:
AttributeError: 'Response' object has no attribute 'is_redirect'

mods folder not created automatically

I used the version from #6 to avoid the issue described in #5. The download failed, because the mods folder didn't exist yet and the downloaded mod could therefore not be saved there. Manually adding the folder at the correct location solved the issue.

./downloader.py --manifest ./NFINIT/manifest.json --nogui
137 files to download
[1/137] ActuallyAdditions-1.8.9-r26.jar
Traceback (most recent call last):
File "./downloader.py", line 192, in
doDownload(args.manifest)
File "./downloader.py", line 148, in doDownload
with open(mod_filename, "wb") as mod:
FileNotFoundError: [Errno 2] No such file or directory: 'NFINIT/minecraft/mods/ActuallyAdditions-1.8.9-r26.jar'

Not working anymore

Tried with: https://mods.curse.com/modpacks/minecraft/239132-meatypack/2307869

But this just outputs

[19/135] minecraft.curseforge.com
[20/135] minecraft.curseforge.com
[21/135] minecraft.curseforge.com
[22/135] minecraft.curseforge.com
[23/135] minecraft.curseforge.com
[24/135] minecraft.curseforge.com
[25/135] minecraft.curseforge.com
[26/135] minecraft.curseforge.com
[27/135] minecraft.curseforge.com
[28/135] minecraft.curseforge.com
[29/135] minecraft.curseforge.com

and am unable to see any files downloaded. I guess curse changed something ๐Ÿ˜ข

2 years since last version (0.2)

It's pass a long time before previous release and there were a numerous fixes in the meantime, some of which are fixing basic functionality. Please tag a next stable version. Thank you.

SSL and 'Not a directory' error

Trying to run the 64-bit binary. Running this on Debian Stable 3.16.0-4-amd64 with Python 3.4 installed. I'm trying to use it to process the manifest.json that's in the Project Ozone 2-2.1.8 that i've downloaded from cursecdn. CPD states '152 files to download' and does not proceed.

Launching via the terminal shows this output:

โ”Œโ”€(david@eaglefeather)(18:39:09)(โ€ข)โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€(~/Program/cursePackDownloader-0.2-linux-64bit)โ”€โ”
โ””โ”€(:))โ”€> $ ./cursePackDownloader
Fontconfig error: "local.conf", line 1: XML or text declaration not at start of entity
152 files to download
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/opt/python3.4.3/lib/python3.4/site-packages/requests/packages/urllib3/util/ssl_.py", line 253, in ssl_wrap_socket
NotADirectoryError: [Errno 20] Not a directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/python3.4.3/lib/python3.4/site-packages/requests/adapters.py", line 370, in send
  File "/opt/python3.4.3/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 544, in urlopen
  File "/opt/python3.4.3/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 341, in _make_request
  File "/opt/python3.4.3/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 762, in _validate_conn
  File "/opt/python3.4.3/lib/python3.4/site-packages/requests/packages/urllib3/connection.py", line 238, in connect
  File "/opt/python3.4.3/lib/python3.4/site-packages/requests/packages/urllib3/util/ssl_.py", line 255, in ssl_wrap_socket
requests.packages.urllib3.exceptions.SSLError: [Errno 20] Not a directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/python3.4.3/lib/python3.4/threading.py", line 920, in _bootstrap_inner
  File "/opt/python3.4.3/lib/python3.4/threading.py", line 868, in run
  File "downloader.py", line 65, in goDownloadBackground
  File "downloader.py", line 134, in doDownload
  File "/opt/python3.4.3/lib/python3.4/site-packages/requests/sessions.py", line 476, in get
  File "/opt/python3.4.3/lib/python3.4/site-packages/requests/sessions.py", line 464, in request
  File "/opt/python3.4.3/lib/python3.4/site-packages/requests/sessions.py", line 602, in send
  File "/opt/python3.4.3/lib/python3.4/site-packages/requests/sessions.py", line 602, in <listcomp>
  File "/opt/python3.4.3/lib/python3.4/site-packages/requests/sessions.py", line 195, in resolve_redirects
  File "/opt/python3.4.3/lib/python3.4/site-packages/requests/sessions.py", line 576, in send
  File "/opt/python3.4.3/lib/python3.4/site-packages/requests/adapters.py", line 431, in send
requests.exceptions.SSLError: [Errno 20] Not a directory

The fontconfig error/notice is common on my machine and should not affect the problem.

Icons not showing correctly in inventory menu

Hey guys
I've got a fresh install of Minecraft with Forge loaded for 1.7.10 I loaded Buildcraft version below and when create a new world the icons for items are all garbled up. I only have Buildcraft loaded with no other mods. Any thoughts as what could be causing this?

computer: MAC

files loaded:
forge-1.7.10-10.13.4.1558-1.7.10-installer.jar
build craft-7.1.16.jar

I've attached a screen shot of the problem i'm having as well.

Thanks
Kanly
screen shot 2016-05-27 at 1 49 56 pm

Support for using proxies?

The downloader is very nice, saves me from installing CurseVoice. But it seems to bypass the system proxy settings.
I can have a much better connection speed/stability with an existing proxy on my network.

[Bug] Can not download new packs

when I tried to download an update for a pack i was playing, I got this:
Traceback (most recent call last): File "c:\Python34\lib\site-packages\requests\adapters.py", line 370, in send File "c:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 544, in urlopen File "c:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 341, in _make_request File "c:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 762, in _validate_conn File "c:\Python34\lib\site-packages\requests\packages\urllib3\connection.py", line 238, in connect File "c:\Python34\lib\site-packages\requests\packages\urllib3\util\ssl_.py", line 255, in ssl_wrap_socket requests.packages.urllib3.exceptions.SSLError: [Errno 2] No such file or directory11

Some thing similar on Linux as well, I even download python 3.4 to my windows os and guess what, it still happens it worked fine with older version of the pack, witch was only released last Firday (15th).

I am guessing the cruse have changed something in the pack manifest files work.

Update to OpenSSL 1.1.0

This does not work on Debian Stretch because of the use of OpenSSL 1.0.0, please update it to use OpenSSL 1.1.0.

Path Not Found?

When I tried downloading Agrarian Skies 2 Modpack, I attach the JSON file and it returns me an error:

FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\Python34\lib\site-packages\requests\adapters.py", line 370, in send
  File "c:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 544, in urlopen
  File "c:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 341, in _make_request
  File "c:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 762, in _validate_conn
  File "c:\Python34\lib\site-packages\requests\packages\urllib3\connection.py", line 238, in connect
  File "c:\Python34\lib\site-packages\requests\packages\urllib3\util\ssl_.py", line 255, in ssl_wrap_socket
requests.packages.urllib3.exceptions.SSLError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\python\32-bit\3.4\lib\threading.py", line 921, in _bootstrap_inner
  File "c:\python\32-bit\3.4\lib\threading.py", line 869, in run
  File "downloader.py", line 65, in goDownloadBackground
  File "downloader.py", line 106, in doDownload
  File "c:\Python34\lib\site-packages\requests\sessions.py", line 476, in get
  File "c:\Python34\lib\site-packages\requests\sessions.py", line 464, in request
  File "c:\Python34\lib\site-packages\requests\sessions.py", line 602, in send
  File "c:\Python34\lib\site-packages\requests\sessions.py", line 602, in <listcomp>
  File "c:\Python34\lib\site-packages\requests\sessions.py", line 195, in resolve_redirects
  File "c:\Python34\lib\site-packages\requests\sessions.py", line 576, in send
  File "c:\Python34\lib\site-packages\requests\adapters.py", line 431, in send
requests.exceptions.SSLError: [Errno 2] No such file or directory

I think it's saying that I do not have Minecraft since I'm using a cracked version from TeamExteme to do this. If that's not the case, then allow me to state some things that I did before executing this.

  1. I downloaded Minecraft Agrarian Skies 2 in the following link: mods.curse.com/modpacks/minecraft/225550-agrarian-skies-2

  2. I also downloaded forge, it's version is 10.13.3.1387 - this version is for Minecraft 1.7.10 as follows:
    files.minecraftforge.net/maven/net/minecraftforge/forge/index_1.7.10.html

  3. I tried copying the file directly into Minecraft as the picture shows:
    install
    The left tab contains the modpack that inside the "override" folder (as path is shown). Whilst the right side is the Minecraft Forge Profile that has been set up and pre-runned. I copied everything from the left and dragged it to the right, replacing 2 files. After running it gave me this error:
    error

I can't locate the log folder either

Fails to download new packs because curse url moved

The app fails to download new packs because curse url moved. I've created a fix, but I can't make a PR.

Just open downloader.py and change the sess.get() cal to look like this:

    # File is not cached and needs to be downloaded
    projectResponse = sess.get("https://minecraft.curseforge.com/projects/%s" % (dependency['projectID']), stream=True)
    fileResponse = sess.get("%s/files/%s/download" % (projectResponse.url, dependency['fileID']), stream=True)

Doesn't create dirs automatically.

From @luckcolors on April 25, 2015 14:59

Hello.
I've got an suggestion and a bug to report :).

  1. Please add the info about installing dependency "appdirs" and "requests" need to run this python script
  2. Make the python script able to create a folder if needed like: The program needs to download a file in C:\modpack\mods\file..... if the folder mods is missing the program will return error.
    3 Also could you make the cache portable? I mean stored in the folder of the python script?

Copied from original issue: portablejim/Jims-Mod-Manager#1

Curse Import

This might be out of scope for this project, but it would be cool if we could figure out what we needed in minecraftinstance.json to be able to import a modpack into curse launcher. I was looking for a good way to distribute a custom modpack to my friends for my server, and thought curse launcher would be great when I saw the export feature... until I realized there is no import one.

Windows distutils didn't like '/' at end of target_images_path

diff --git a/setup.py b/setup.py
index 5705130..67bda90 100755
--- a/setup.py
+++ b/setup.py
@@ -125,7 +125,7 @@ if not prefix or not len(prefix):
if sys.argv[1] in("install", "uninstall") and len(prefix):
sys.argv += ["--prefix", prefix]

-target_images_path = "share/pronterface/images/"
+target_images_path = "share/pronterface/images"
data_files = [('share/pixmaps', ['pronterface.png', 'plater.png', 'pronsole.png']),
('share/applications', ['pronterface.desktop', 'pronsole.desktop', 'plater.desktop']),
('share/metainfo', ['pronterface.appdata.xml', 'pronsole.appdata.xml', 'plater.appdata.xml'])]

Unable to download packs

I did a test to try downloading both FTB Infinity and Magic Farm 3.

I unzipped them to the desktop and pointed the program at the json, but all I got was
image from MF3 and
image from FTB Infinity.

Any ideas?

32bit version

It would be much simpler if we just made this in 32 bit so that everyone could run it. Is it possible to create a 32 bit port of it from 64 bit?

Downloads now just an error file that contains one file called 'download' with html in it from curseforge.

I'm guessing curseforge changed stuff again and invalidated this project. It worked before for me, but now all the files say they are downloading but instead I just get this one file named 'download' instead of the actual files. I am guessing this is because they are going to completely new thing soon, and have already changed how things work under the hood. Hate when they do that, they can't stand not breaking things that work well.

fileResponse not populating properly

Line from the downloader.py file that I believe is causing the issue:
fileResponse = sess.get("%s/files/%s/download" % (projectResponse.url, dependency['fileID']), stream=True)

It doesn't appear to be appending anything after download, so it's just placing a file called download (which is basically the curse 404 error page) in the mods folder, then the remainder of the entries says it's cached and skips them.

Attempted with modpack FTBPresentsDirewolf20110-1.2.2-1.10.2

How do i do this on mac?

i don't know how to do this, I've read the readme, I've tried opening the downloader but all it does is ope a python box where I can edit.

File Not Found Error

So, first off, this REALLY needs more documentation. It says that it's just 'download and run', but clearly that's not the case.

I'm getting a File Not Found error, repeatedly. I've downloaded Python, set it running, and done everything I can think of to figure this out-I wish I knew more about Python.

Here's the error:

106 files to download
Exception in thread Thread-1:
Traceback (most recent call last):
  File "c:\Python34\lib\site-packages\requests\packages\urllib3\util\ssl_.py", l
ine 253, in ssl_wrap_socket
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\Python34\lib\site-packages\requests\adapters.py", line 370, in send
  File "c:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.p
y", line 544, in urlopen
  File "c:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.p
y", line 341, in _make_request
  File "c:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.p
y", line 762, in _validate_conn
  File "c:\Python34\lib\site-packages\requests\packages\urllib3\connection.py",
line 238, in connect
  File "c:\Python34\lib\site-packages\requests\packages\urllib3\util\ssl_.py", l
ine 255, in ssl_wrap_socket
requests.packages.urllib3.exceptions.SSLError: [Errno 2] No such file or directo
ry

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\python\32-bit\3.4\lib\threading.py", line 921, in _bootstrap_inner
  File "c:\python\32-bit\3.4\lib\threading.py", line 869, in run
  File "downloader.py", line 65, in goDownloadBackground
  File "downloader.py", line 134, in doDownload
  File "c:\Python34\lib\site-packages\requests\sessions.py", line 476, in get
  File "c:\Python34\lib\site-packages\requests\sessions.py", line 464, in reques
t
  File "c:\Python34\lib\site-packages\requests\sessions.py", line 602, in send
  File "c:\Python34\lib\site-packages\requests\sessions.py", line 602, in <listc
omp>
  File "c:\Python34\lib\site-packages\requests\sessions.py", line 195, in resolv
e_redirects
  File "c:\Python34\lib\site-packages\requests\sessions.py", line 576, in send
  File "c:\Python34\lib\site-packages\requests\adapters.py", line 431, in send
requests.exceptions.SSLError: [Errno 2] No such file or directory

would be nice to have a list of requirements

spent an hour today getting this to work on my system, im running linux mint 17

my solution was to install python3.4 and i ran
sudo apt-get install python3-tk python3-appdirs python3-requests
to get the program to work, also had to run from the github sources using
python3 download.py

"No module called 'appdirs'"

Currently using Python 3.5.0 and attempting to download the Anti-Material Energy pack.

C:\Users\kids>C:\Users\kids\Desktop\Python\python.exe C:\Users\kids\Desktop\Games\Minecraft\curseDownloader-master\downloader.py C:\Users\kids\Desktop\manifest.json Traceback (most recent call last): File "C:\Users\kids\Desktop\Games\Minecraft\curseDownloader-master\downloader.py", line 4, in <module> import appdirs ImportError: No module named 'appdirs'

Arch Linux `Exception in thread Thread-1:`

Maybe two issues, but maybe just one issue like "arch support please"; your project, your call, my thanks if you can accomodate, and my thanks anyway for in-general support for non-proprietary game clients.

Arch Linux (if it matters, default python is python3, but I have both installed) crash.
I can't correctly browse to anything (KDE Plasma) because the folders don't have names next to them.

This is what happens when I type the path of a manifest.json file, note that ctrl-c did nothing, I had to ctrl-z and kill it:

[tim@arch temp]$ ./cursePackDownloader-0.3-linux64
Cache path : /home/tim/.cache/cursePackDownloader/curseCache
111 files to download
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 914, in _bootstrap_inner
File "threading.py", line 862, in run
File "downloader.py", line 72, in goDownloadBackground
File "downloader.py", line 132, in doDownload
AttributeError: 'NoneType' object has no attribute 'setOutput'

^C

^Z
[2]+ Stopped ./cursePackDownloader-0.3-linux64
[tim@arch temp]$ kill %2

Problem with illegal characters

Tried to use to get Material Energy^Ex 1.10.2.
Reports back....
~ Starting magical modpack download sequence ~
Error: Illegal character in path at index 59: http://addons.cursecdn.com/files/2315/281/Material%20Energy^Ex%201.10.2-7.2.zip
java.net.URI$Parser.fail(Unknown Source)
java.net.URI$Parser.checkChars(Unknown Source)
java.net.URI$Parser.parseHierarchical(Unknown Source)
java.net.URI$Parser.parse(Unknown Source)
java.net.URI.(Unknown Source)
vazkii.cmpdl.CMPDL.getLocationHeader(CMPDL.java:286)
vazkii.cmpdl.CMPDL.downloadFromURL(CMPDL.java:58)
vazkii.cmpdl.OperatorThread.run(OperatorThread.java:17)

New Curse doesn't have manifests

When you download their new "Modpack file", you get a .cipp file, that contains the following
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <project id="256183" file="2481283" /> </package>

^ this is for a Sky factory 3

So, how do I get manifest from this?

Not working

Gives this error when I try to download All The Mods modpack
146 files to download
Exception in thread Thread-1:
Traceback (most recent call last):
File "c:\Python34\lib\site-packages\requests\packages\urllib3\util\ssl_.py", line 253, in ssl_wrap_socket
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\Python34\lib\site-packages\requests\adapters.py", line 370, in send
File "c:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 544, in urlopen
File "c:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 341, in _make_request
File "c:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 762, in validate_conn
File "c:\Python34\lib\site-packages\requests\packages\urllib3\connection.py", line 238, in connect
File "c:\Python34\lib\site-packages\requests\packages\urllib3\util\ssl
.py", line 255, in ssl_wrap_socket
requests.packages.urllib3.exceptions.SSLError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\python\32-bit\3.4\lib\threading.py", line 921, in _bootstrap_inner
File "c:\python\32-bit\3.4\lib\threading.py", line 869, in run
File "downloader.py", line 65, in goDownloadBackground
File "downloader.py", line 106, in doDownload
File "c:\Python34\lib\site-packages\requests\sessions.py", line 476, in get
File "c:\Python34\lib\site-packages\requests\sessions.py", line 464, in request
File "c:\Python34\lib\site-packages\requests\sessions.py", line 602, in send
File "c:\Python34\lib\site-packages\requests\sessions.py", line 602, in
File "c:\Python34\lib\site-packages\requests\sessions.py", line 195, in resolve_redirects
File "c:\Python34\lib\site-packages\requests\sessions.py", line 576, in send
File "c:\Python34\lib\site-packages\requests\adapters.py", line 431, in send
requests.exceptions.SSLError: [Errno 2] No such file or directory

Exceeded 30 redirects.

Not sure how to fix this.

Modpack: Space Astronomy 2 v1.1.5.zip

python3.4 downloader.py --manifest manifest.json --nogui

Cache path : /root/.cache/cursePackDownloader/curseCache
159 files to download
Traceback (most recent call last):
File "/home/minecraft/multicraft/scripts/curse/downloader.py", line 234, in
doDownload(args.manifest)
File "/home/minecraft/multicraft/scripts/curse/downloader.py", line 165, in doDownload
for redirect in sess.resolve_redirects(projectResponse, projectResponse.request):
File "/usr/local/lib/python3.4/dist-packages/requests/sessions.py", line 111, in resolve_redirects
raise TooManyRedirects('Exceeded %s redirects.' % self.max_redirects, response=resp)
requests.exceptions.TooManyRedirects: Exceeded 30 redirects.

No Attribute 'is_redirect'

Running git 33d01f1, I run the downloader, and I get this error:

162 files to download
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)
  File "downloader.py", line 71, in goDownloadBackground
    doDownload(self.manifestPath.get())
  File "downloader.py", line 163, in doDownload
    while fileResponse.is_redirect:
AttributeError: 'Response' object has no attribute 'is_redirect'

Ubuntu 14.04, with this modpack. Any idea what's up?

Thanks!

Files download improperly if they don't exist any more

When attempting to download a file that no longer exists on the Curse website, the tool downloads the error webpage and names it 'download'.

The Twitch/Curse client is somehow able to download these files itself despite this, so there may be hope to fix it here?

Otherwise, it would be great if it could give an error message instead of downloading the web page. Better still, mention the name of the mod that it's failing to download the file of.

Not working?

I'm trying to get Project Ozone 2, but when I press download mods, this happens:

FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\Python34\lib\site-packages\requests\adapters.py", line 370, in send
File "c:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 544, in urlopen
File "c:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 341, in _make_request
File "c:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 762, in validate_conn
File "c:\Python34\lib\site-packages\requests\packages\urllib3\connection.py", line 238, in connect
File "c:\Python34\lib\site-packages\requests\packages\urllib3\util\ssl
.py", line 255, in ssl_wrap_socket
requests.packages.urllib3.exceptions.SSLError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:\python\32-bit\3.4\lib\threading.py", line 921, in _bootstrap_inner
File "c:\python\32-bit\3.4\lib\threading.py", line 869, in run
File "downloader.py", line 65, in goDownloadBackground
File "downloader.py", line 134, in doDownload
File "c:\Python34\lib\site-packages\requests\sessions.py", line 476, in get
File "c:\Python34\lib\site-packages\requests\sessions.py", line 464, in request
File "c:\Python34\lib\site-packages\requests\sessions.py", line 602, in send
File "c:\Python34\lib\site-packages\requests\sessions.py", line 602, in
File "c:\Python34\lib\site-packages\requests\sessions.py", line 195, in resolve_redirects
File "c:\Python34\lib\site-packages\requests\sessions.py", line 576, in send
File "c:\Python34\lib\site-packages\requests\adapters.py", line 431, in send
requests.exceptions.SSLError: [Errno 2] No such file or directory

Please Help! ๐Ÿ˜ฟ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.