Page 1 of 2

Questions about Pictures and Prices

PostPosted: 05 Nov 2010, 17:09
by Jaedayr
Whenever I run Forge via Eclipse and download HQ pictures, I never get all of the pictures. For example, this morning it said there were 144 pictures to download, but probably two thirds or more of the pictures were not found with the following message.

Code: Select all
03:03 ERROR: [HQ Pictures] Error downloading pictures
java.io.IOException: Server returned HTTP response code: 500 for URL: http://mtgpics.chutography.com/UD/Fledgling%20Osprey.full.jpg
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
   at forge.Gui_DownloadPictures.run(Gui_DownloadPictures.java:268)
   at java.lang.Thread.run(Unknown Source)
Is this because the picture does not exist? Is it because the request to download is incorrect? Or is something else going on and what can be done to address it?

Second question, I updated prices and then when I go into Card Shop I see several eclipse messages regarding prices.

Code: Select all
Card Tel-Jilad Fallen is not in the price list.
Card Vulshok Heartstoker is not in the price list.
Card Kemba's Skyguard is not in the price list.
Card Tempered Steel is not in the price list.
Card Tumble Magnet is not in the price list.
Where is the problem and how can it be addressed?

Re: Questions about Pictures and Prices

PostPosted: 05 Nov 2010, 17:28
by friarsol
Well the answer to your first question is right in the error "Server returned HTTP response code: 500 for URL"

The Server that holds the pictures sent back an error when you tried to download them. This doesn't mean it doesn't exist (that would be a 404 Client Error), it just means the Server sent an error when trying to return the picture. This can be for many different, unspecific meanings. And the only person that could address it is the server host.

A lot of times a server under heavy load will spit out a 500 error to lower priority traffic to allow the higher priority traffic to make it through.

The second problem seems similar to the first. The source we grab Prices from hasn't updated those cards yet, so they don't have any prices to get. The only way we could address this is by finding a different source.

Re: Questions about Pictures and Prices

PostPosted: 05 Nov 2010, 17:35
by Jaedayr
Thank you for the info!

Re: Questions about Pictures and Prices

PostPosted: 05 Nov 2010, 18:31
by Rob Cashwalker
yes, for some reason the price server (magictraders.com) doesn't have a few cards... I double checked. Their last news update was from April... which was that Rise of the Eldrazi was added to the database. Don't know what happened to Scars of Mirrodin. Prices for cards they do have data for, were last updated today.

Re: Questions about Pictures and Prices

PostPosted: 26 Dec 2010, 21:21
by Jaedayr
OK time for followup questions on pics. I just finished wiping out my Forge project in Eclipse and rebuilding it (trying to figure out how to fix the repository info, but that is another story) and then copied all of my pics over that I had previously downloaded in batch.

I started Forge and downloaded HQ pictures and when it was finished (with several "500" errors) I started it again to see how many were left. It says there are 174 missing. Then I went to the LQ download and it says there are 342 missing. Should these be the same number? I do not think I have any LQ pictures at all, except those that are in the SVN.

Also related to this and maybe confusing to me, a few weeks ago I downloaded the LQ pics for the first time and then when I checked HQ afterward it said there were none left to download. So it seems that if you download the LQ pic you will never be offered the opportunity to download the HQ version. Is this working as intended?

Re: Questions about Pictures and Prices

PostPosted: 26 Dec 2010, 22:00
by Chris H.
The HQ download code uses the links found in the files located in the forge/res/pics_link/ folder. The maintainer of the server containing the HQ pic has not added the HQ pics from recent sets and he has not been very active over the last year.

The LQ and HQ pics use the same /pics/ folder and file names. I would advise people to use the LQ pics at this time and to avoid the HQ pics. Some people have noticed that forge will slow to a crawl with recent builds if you use the HQ pics. The LQ pics do not cause this problem.

Re: Questions about Pictures and Prices

PostPosted: 27 Dec 2010, 04:04
by Rob Cashwalker
At this point you might as well grab the full picture archives from the Pictures forum here. The current set information allows for more pictures than we ever had links to in the first place.

I'm working towards fixing the picture downloaders to support all the different pictures we will be able to support.

Re: Questions about Pictures and Prices

PostPosted: 12 Jan 2011, 14:53
by noracegres
Hi all, first of all thanks for the good work.

My question goes the same way, when I update the HQ and LQ pictures it says that I've got them all but when I double check some are missing in the pics folder BUT they are in the pic_links folder.

I'm talking about card has old has Alpha edition.

Re: Questions about Pictures and Prices

PostPosted: 12 Jan 2011, 15:14
by Chris H.
The person responsible for the server that contains the HQ pics has not been active in the forge project for a number of months. I do not think that he has added any of the HQ pics for the new sets released in the last year.

Some people have also noticed that the HQ pics can cause the game to become too slow. Using the LQ pics instead can alleviate this problem.

Re: Questions about Pictures and Prices

PostPosted: 12 Jan 2011, 15:23
by noracegres
Tanks Chris for your anwser, but when I do the download LQ cards
I'm still missing picture like
chaos_orb.jpg ( an old card )
It's url in the file :
http://[server]/OV/Chaos%20Orb.full.jpg

And when I double check manually the pics link it his up :
http://mtgpics.chutography.com/OV/Chaos%20Orb.full.jpg

Do we need to download an external LQ picture zip ?

Thanks again

Re: Questions about Pictures and Prices

PostPosted: 12 Jan 2011, 15:41
by Sloth
noracegres wrote:Tanks Chris for your anwser, but when I do the download LQ cards
I'm still missing picture like
chaos_orb.jpg ( an old card )
It's url in the file :
http://[server]/OV/Chaos%20Orb.full.jpg

And when I double check manually the pics link it his up :
http://mtgpics.chutography.com/OV/Chaos%20Orb.full.jpg

Do we need to download an external LQ picture zip ?

Thanks again
The card Chaos Orb is not implemented yet. There is no need for its picture.

Re: Questions about Pictures and Prices

PostPosted: 12 Jan 2011, 15:58
by noracegres
Thanks Sloth for your quick answer.

Any way I can force him to download all the picture in the pics_link ?

Thanks again

Re: Questions about Pictures and Prices

PostPosted: 12 Jan 2011, 16:01
by friarsol
noracegres wrote:Tanks Chris for your anwser, but when I do the download LQ cards
I'm still missing picture like
chaos_orb.jpg ( an old card )
It's url in the file :
http://[server]/OV/Chaos%20Orb.full.jpg

And when I double check manually the pics link it his up :
http://mtgpics.chutography.com/OV/Chaos%20Orb.full.jpg

Do we need to download an external LQ picture zip ?

Thanks again
I think the confusion here is there are two different types of pictures.

HQ which just have all of what are available of that type of picture.

And LQ which only download cards that have been implemented in forge. Any card that hasn't been implemented, doesn't have the picture defined so no LQ would ever be downloaded for it.

Re: Questions about Pictures and Prices

PostPosted: 12 Jan 2011, 16:08
by noracegres
Thanks friarsol,

But The HQ and LQ pictures goes in the same folder right ?

And if I get right what you just said, HQ pictures his all the picture in the pics_link ?

Thanks again

Re: Questions about Pictures and Prices

PostPosted: 12 Jan 2011, 16:18
by Chris H.
noracegres wrote:But The HQ and LQ pictures goes in the same folder right?
`
Yes, you are correct. This can be confusing. At some point the devs might decide to change the code so that forge will use two different pic folders. A "pics-lq" and a "pics-hq" folder? It might make things easier for the user base to understand the difference.

And if I get right what you just said, HQ pictures his all the picture in the pics_link ?
`
The files in the "pics_link" folder contain the url links for all of the HQ card pictures that can be found on the server. Forge can download a HQ pic from this server if the card is implemented in forge and if forge can find the url link to the server pic.