-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error trying to use 2.6.149 (Error extracting file) #9252
Comments
Do you wind up with a folder named something like "Global_40_House_Rules" in your downloaded maps folder? |
So, I tried this again and no folder showed up. I removed the zip and no folder showed up. When I choose it in DL maps, it throws the above error. It will then not show up as a DL option even though it's not in my downloaded maps folder. I close DL maps and then it'll show up as a DL option again. I have a map I'm working on that is in a folder, no zip and it shows up and works correctly. I just tried unzipping and loading the map manually and it shows up now. Idk y it didn't earlier. I must've screwed something up when I first tried it. |
Extraction from zip to folder occurs at startup. DL listing is based on the folders that are present and specifically what is listed in the 'map.yml' files in those folders. There could be an issue here where at present maps do not have a 'map.yml' file, that file is generated on startup, so you could run into an inconsistent state after downloading a map and it then not having a map.yml file. If you re-open the downloader, it might not think you have the map downloaded anymore as it can't find the corresponding map.yml file (even though you have the have the map extracted), at which point you run into the above error as it'll download a zip and then try to incorrectly overwrite the previous. To help this from a game engine perspective, we can do the following:
|
right on. Just to clarify, when I first fired up 2.6.149, I had all my existing maps from 2.5 in "downloadedMaps". The biggest issue was "root" getting maxed out. Took me a while to figure that out, so trying to save others from the same experience. |
That would be worthwhile for us to investigate as well, notably if we can ensure that folders are unzipped one at a time with the zip removed after each one and second that we can better fail if there is insufficient disk space. |
I think the main issue of the original submitter of this bug report was not the missing cleanup of partially downloaded files (fillung up root), but the inability to download a map.
Such an exception occurs after trying to download any map. The temporary directory mentioned in the stack trace contains the full content of the map's zip file after the error dialog was displayed. Thus everything was extracted properly. I am running Debian Bullseye on amd64 with the current snapshot (2.6.339). Thank you for your time! |
This could potentially be fixed now in the very latest. The map update logic was not deleting existing maps before updating. |
@DanVanAtta I'll try and check out in a bit. |
Just checked it, the behaviour reported by @sumpfralle still happens on 2.6.379 (a11fe86) on Linux. In case a workaround is needed: |
just tried this in 2.6.574 pre and it still happens |
What are the exact sequence of actions you take after launching the game to then observe this error @beelee1 ? Are you simply launching the game? What is the exact text message of the error? Could you please check the log file generated by triple for a stack trace and attach that log file to this issue? |
@DanVanAtta yea each individual map shows up as separate errors. I'll fire it up again and post a few. back in a few minutes Edit oops this is map error So it's only throwing this one and quits doing it now. I had 3 or 4 when i first fired it up and then shut it down as I'm about maxed out again on space. Anyway, I then got the Feign error which is known when I tried to DL maps This the only map that showed up by default. It threw a missing image error, which probably map related, so didn't actually get it to fire up |
@DanVanAtta I'll clear some space and try this again. Maybe it only does it the first time with the consecutive map errors and if you close it and restart then it does this. I'll try again in a bit Edit |
@DanVanAtta OK I found the triplea.log see if I can upload it |
@beelee1 , the attached log file is empty. Recommend you just move all your maps into some other folder & delete the contents of /tmp, then try again. |
@beelee1 Looks like this issue has been taken care of, closing this... |
@beelee1 mentioned that this is still not working for them on: https://forums.triplea-game.org/topic/2998/2-6-testing-report-2-6-problems-here/54?page=3 @beelee1 - seems you tried to post some screenshots on Feb 17, but it just looks like some file paths and not the actual images. Do you mind trying to post them again? If this is preventing you from trying/using 2.6, I'd like us to figure out the problem and fix it. |
Here's another attempt at the log |
Thanks! So looks like we're getting an error from
So seems it requires the source directory to be empty before moving? That seems... surprising to me. The stack trace:
|
Documentation for
|
@beelee1 Do you know if your downloadedMaps and /tmp directories are on different partitions? That could explain the error. |
I sent #10512 - I don't have a way to test, but I suspect it should resolve this problem. Please confirm once that PR is merged into a prerelease! |
@asvitkine right on. I'll give it a shot Thanks |
@asvitkine Sweet ! Works like a charm : ) Knew it had been a while but didn't realize it was a year. Be nice to use the prerelease again :) One thing I noticed, is it unzips everything now, so the first time you run it, it'll take a minute if you have a lot of maps. From then on, it'll fire right up. Some people might not be aware of that. Once again BIG Thank You !!! |
Yea so the game behavior works correctly with #10749 fix with 2.6.838 but the updated notes don't show up. The fix was in the units folder. The xml changes don't show up though. Which were Game Version/Notes only. So Idk if that means 2.6 can't see any xml changes or not. I'm gonna do some xml updates to G 40 Expansion and then try with 2.5 and latest stable to see if they work. Here's a save @asvitkine gonna reopen Also, I tested version 2.71 and confirmed the error with issue #10729 |
yea so the Notes are all jacked up on 2.6.838 Here's 2.5 Here's 2.6838 Notifications worked correctly and the xml change other than the Notes worked, but I'm going to run another test, an obvious one : ) , for that to make sure. I wonder if the Notes change has anything to do with it. Not only do you have to scroll the other way and make an additional click, it blocks your other windows. You can't click on anything, you have to close Notes first. Quite annoying. At any rate, I'll test some more. |
I'm gonna close this and open a new one on the "Notes". I still think the two are related but w/e will close for now |
Error extracting file: /tmp/triplea6560939776671296847/Global_40_House_Rules.zip, /tmp/triplea-unzip2861211619708353438/global_40_house_rules-master, {} java.nio.file.DirectoryNotEmptyException: /tmp/triplea-unzip2861211619708353438/global_40_house_rules-master If this problem happens frequently and is something you cannot fix, please report it to TripleA
Trying to replicate this error #9250 but i can't dl map. I get a bunch of errors on startup trying to unzip all the maps in dl maps. Which maxed out my "root", which i had to spend a couple hours figuring out what and how to purge so it'd work again.
So basically, for me, This is unusable
Edit
I removed the map and tried to dl it and it'd dl but not showup. I then manually unzipped the map and put the folder directly in my dl maps and that didn't work either.
The text was updated successfully, but these errors were encountered: