Error when placing "random" zip file in mods directory

This subforum contains all the issues which we already resolved.
User avatar
mexmer
Filter Inserter
Filter Inserter
Posts: 870
Joined: Wed Aug 03, 2016 2:00 pm
Contact:

Error when placing "random" zip file in mods directory

Post by mexmer »

Ok, this hapened to me, because i downloaded some beta mod manualy, then later i downloaded another with work things and didn't check download location, and it also ended in mod directory.

I'm aware it's mistake and such, there is no arguing about it, problem is, that game is quite unclear with Error and doesn't want to load.

You get only dialog stating "bad conversion", and that is all.

also logfile is rather "unclear" about cause of error

i would expect at least error, while parsing mod or something "more informative", i just spent over 10 minutes searching for cause of issue, since i was playing quite happilly yesterday, and there was not update (neither to game or mods)
log
STR:
1) drop random zip file into mods directory
2) launch game


btw. if i place same file into "saves" i get following error when clicking load
File C:/Users/Josef Micka/AppData/Roaming/Factorio/saves/CommunicationLog.zip/info.json not found
quite obvious where is the problem
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: Error when placing "random" zip file in mods directory

Post by Oxyd »

Post the .zip file you're having problems with.
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: Error when placing "random" zip file in mods directory

Post by Nexela »

mexmer wrote:Ok, this hapened to me, because i downloaded some beta mod manualy, then later i downloaded another with work things and didn't check download location, and it also ended in mod directory.

OP downloaded a non mod zip file into the factorio mod folder. It seems that non mod zips create ambiguous errors

This post could probably be merged with viewtopic.php?f=34&t=33760&p=212426#p212426

not exactly a prototype but mod related :)
User avatar
mexmer
Filter Inserter
Filter Inserter
Posts: 870
Joined: Wed Aug 03, 2016 2:00 pm
Contact:

Re: Error when placing "random" zip file in mods directory

Post by mexmer »

problem is not that it causes error (because it's obvious it will), but that it blocks game loading, and neither ERROR message, or logfile is of any help to resolve issue

edit: internesting, some zip files, produce error with missing info.json and full path, attached one does produce error bad conversion
Attachments
Logs.zip
(16.24 KiB) Downloaded 151 times
User avatar
mexmer
Filter Inserter
Filter Inserter
Posts: 870
Joined: Wed Aug 03, 2016 2:00 pm
Contact:

Re: Error when placing "random" zip file in mods directory

Post by mexmer »

this file produces error, that includes path ... after some tests, it seems it does only if zip archive contains subfolders ? have not done intensive tests, but that's biggest difference between two zips.
Attachments
ZipPathError.zip
(847 Bytes) Downloaded 171 times
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: Error when placing "random" zip file in mods directory

Post by kovarex »

Fixed for the next version. (The error message contains full path of the file).
User avatar
mexmer
Filter Inserter
Filter Inserter
Posts: 870
Joined: Wed Aug 03, 2016 2:00 pm
Contact:

Re: Error when placing "random" zip file in mods directory

Post by mexmer »

kovarex wrote:Fixed for the next version. (The error message contains full path of the file).
thanks, i will probly not make same mistake again, but who knows :D
Post Reply

Return to “Resolved Problems and Bugs”