xrexis / procurement

Automatically exported from code.google.com/p/procurement
0 stars 0 forks source link

Failure loading image #292

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Procurement 1.6.1, Windows 7

After logging in the loading output displays
"Loading XXXXX inventory..."
"Loading Image For XXXX"
for a bunch of items, then:
"Loading Image For Small Mana Flask 
[Error] The specified path, file name, or both are too long. The fully 
qualified file name must be less than 260 characters, and the directory name 
must be less than 248 characters."

Original issue reported on code.google.com by thatnz...@gmail.com on 21 Jul 2014 at 5:47

Attachments:

GoogleCodeExporter commented 9 years ago
It looks like the path to where you installed Procurement is too long, try run 
it from a folder such as c:\Procurement or d:\Procurement

Original comment by stickymaddness on 24 Jul 2014 at 3:36

GoogleCodeExporter commented 9 years ago
I have moved the program to that location but it hasn't changed the problem. I 
might add that this is with a character that is more than 650 days old, I 
wonder if the item is old or something.

Original comment by thatnz...@gmail.com on 26 Jul 2014 at 7:55

GoogleCodeExporter commented 9 years ago
The error is basically as follows, when Procurement first logs in, it gets all 
the images for your gear. It does this by getting the url to the image on the 
GGG cdn, which will be something like:

http://webcdn.pathofexile.com/image/Art/2DItems/Weapons/OneHandWeapons/OneHandMa
ces/OneHandMace3.png?scale=1&w=1&h=3&v=0da211513b53dc8acc1a040ee18b63473

It then does an md5 on that url, eg: 7fe6df44b8c503d7dccff8764ebdb93c and saves 
it as a .png in the \Common folder. So for example if you own a mace like the 
link below, Procurement will save the image to:

<Your ProcurementFolder>\7fe6df44b8c503d7dccff8764ebdb93c.png

If that path+filename is longer than 260 characters, Windows will not allow you 
to save the image there.

I doubt the character is older than 650 days (That would be 15 October 2012, 3 
months before the open beta wipe), but is there something specific that this 
old character has that you think might be causing the problem?

Original comment by stickymaddness on 27 Jul 2014 at 4:41

GoogleCodeExporter commented 9 years ago
I appreciate the help here! 

I moved the program to this folder and an example file is:
C:\Procurement\Common\0b04b7b394aa5492ce3d89a2ca0ac030.png

When running the program and logging in, the first time the error occurs it 
logs this:

Loading Image For Atziri's Promise

[Error] The specified path, file name, or both are too long. The fully 
qualified file name must be less than 260 characters, and the directory name 
must be less than 248 characters.

Then every time after that it fails on:
Loading Image For Small Mana Flask 

Maybe the log could show the string it's failing on?

Thanks!

P.S. I swear, my /age is 653 days. It's possible /age is wonky, I wonder if I 
reused a character name from closed beta and the age carried over.

Original comment by thatnz...@gmail.com on 28 Jul 2014 at 8:55

GoogleCodeExporter commented 9 years ago
I just tested with Atziri's Promise, while the url is pretty long (290 
characters), it still gets converted into a hash such as the one you linked, 
and I'm able to login without any issues. 

Could you test and see if you exclude the tab that contains Atziri's Promise, 
if you are able to login properly?

Original comment by stickymaddness on 31 Jul 2014 at 4:20

GoogleCodeExporter commented 9 years ago
Verson 1.7.2 (just updated)
Character is playing in Rampage.
Loading images successfully, says Done!
Then crash window displayed.
Windows 7 64 bit.
Debug info file attached.

Original comment by Lyall.Pe...@gmail.com on 23 Aug 2014 at 4:41

Attachments:

GoogleCodeExporter commented 9 years ago
Procurement 1.8.0 has been released, if you still experience issues with 1.8.0, 
log a new ticket.

https://github.com/Stickymaddness/Procurement/releases/tag/1.8.0

Original comment by stickymaddness on 24 Aug 2014 at 12:06