Jump to content

Please read the Forum Rules before posting.

Photo

Bad Modules


  • Please log in to reply
14 replies to this topic

#1 Vaughn

Vaughn

    e-Sword Addict

  • Veterans
  • PipPipPipPip
  • 74 posts
  • LocationKaufman, Texas
Offline

Posted 07 February 2012 - 11:05 AM

I am having trouble with about 6 modules when e-Sword opens them. I however can not see what they are. I hate to have to reinstall every modules but if I don't figure this out soon then I will have to. Maybe someone could build a module tester to see if they will be compatible with e-Sword. I think it might be one of the arabic modules as those are the ones I have had problems with in the past but am unsure now. What do you do when you find a bad module and how do you deal with it?
Grace and Peace,
Your fellow Swordsman,
Vaughn R. Jacobs

#2 jonathon

jonathon

    e-Sword Fanatic

  • Contributors
  • PipPipPipPipPip
  • 753 posts
Offline

Posted 07 February 2012 - 11:16 AM

I am having trouble with about 6 modules when e-Sword opens them.


When you say "trouble", what precisely is occuring, or not occuring.

Maybe someone could build a module tester to see if they will be compatible with e-Sword.


I'm testing a python script that checks resources for valid content, and general conformance to Best Practices.

I think it might be one of the arabic modules


e-Sword doesn't like filenames that do not use the Latin writing system.

What do you do when you find a bad module and how do you deal with it?


I throw them into a directory called "bad_e-Sword". One of these days I'll examine them, to fix whatever triggered the error condition.

jonathon

#3 Vaughn

Vaughn

    e-Sword Addict

  • Veterans
  • PipPipPipPip
  • 74 posts
  • LocationKaufman, Texas
Offline

Posted 07 February 2012 - 11:23 AM

To answer the one question, e-Sword flashes a little note with a red x and a zero in the middle of the splash screen while it is loading. I have to click ok and then it will continue to load
Grace and Peace,
Your fellow Swordsman,
Vaughn R. Jacobs

#4 Josh Bond

Josh Bond

    Administrator

  • Administrators
  • PipPipPipPipPip
  • 2,890 posts
  • LocationGallatin, TN
Offline

Posted 07 February 2012 - 12:04 PM

I'd look for the obvious problems, like a very small file size, which would mean the module is empty or was corrupted during the download process originally. You can also open the module in a database editor like SQLITe database browser to see what's going on inside the database.

#5 Vaughn

Vaughn

    e-Sword Addict

  • Veterans
  • PipPipPipPip
  • 74 posts
  • LocationKaufman, Texas
Offline

Posted 07 February 2012 - 12:15 PM

Well the problem is I don't know what the module is, and with over 5000 modules it is like shooting black balloons at night.
Grace and Peace,
Your fellow Swordsman,
Vaughn R. Jacobs

#6 Josh Bond

Josh Bond

    Administrator

  • Administrators
  • PipPipPipPipPip
  • 2,890 posts
  • LocationGallatin, TN
Offline

Posted 07 February 2012 - 01:27 PM

Locate your e-Sword Resource Folder, sort by file size. Remove anything that has a 0 file size, along with anything that's unrealistically small (less than 20kb maybe). If that solves the issue, then you can re-add the smaller ones in. A small or 0 file size would indicate a corrupt module that would cause e-Sword to throw that error, I believe.

#7 Vaughn

Vaughn

    e-Sword Addict

  • Veterans
  • PipPipPipPip
  • 74 posts
  • LocationKaufman, Texas
Offline

Posted 07 February 2012 - 02:26 PM

Ok, thanks! You would think I would know this. But I am more of the find it kind of guy than the programmer.
Grace and Peace,
Your fellow Swordsman,
Vaughn R. Jacobs

#8 jonathon

jonathon

    e-Sword Fanatic

  • Contributors
  • PipPipPipPipPip
  • 753 posts
Offline

Posted 07 February 2012 - 04:36 PM

To answer the one question, e-Sword flashes a little note with a red x and a zero in the middle of the splash screen while it is loading.


That note should contain the file name of the resource. Before clicking on "OK", open the directory the resources are in, and move it to another directory.

jonathon

#9 jonathon

jonathon

    e-Sword Fanatic

  • Contributors
  • PipPipPipPipPip
  • 753 posts
Offline

Posted 07 February 2012 - 04:43 PM

I'd look for the obvious problems, like a very small file size,


Large file size can also be an issue. I'd dump everything over 200 MB into a folder. I'd examine them with SQLite Database Browser, or something similar. Anything over 1GB in size is probably the result of system corruption.

jonathon

#10 Vaughn

Vaughn

    e-Sword Addict

  • Veterans
  • PipPipPipPip
  • 74 posts
  • LocationKaufman, Texas
Offline

Posted 09 February 2012 - 11:05 AM

Well, I'm still fighting this problem but hopefully I can overcome it soon.
Grace and Peace,
Your fellow Swordsman,
Vaughn R. Jacobs




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users




Similar Topics



Latest Blogs