Discussion and information relevant to creating special missions, new ships, skins etc.
Moderators: winston , another_commander
pagroove
---- E L I T E ----
Posts: 3035 Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet
Post
by pagroove » Wed Nov 11, 2015 7:04 pm
Since a few versions (can't remember how many) Emailsystem has stopped working on my Oolite version 1.83. I run it on a Macbook Pro early 2011.
I get the following errors in the log:
Code: Select all
~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.phkb.EmailSystem.oxz
EmailSystem 1.6.2
19:56:54.277 [script.javaScript.timeLimit]: ***** ERROR: Script "EmailSystem" ran for 1.99614 seconds and has been terminated.
19:56:54.277 [script.javaScript.stackTrace]: 0 (emailsystem_base.js:689) <anonymous function>
19:56:54.277 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.2]
19:56:54.278 [script.javaScript.stackTrace]: 1 (emailsystem_base.js:664) <anonymous function>
19:56:54.278 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.2]
19:56:54.278 [script.javaScript.stackTrace]: 2 (emailsystem_base.js:1318) <anonymous function>
19:56:54.278 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.2]
19:56:54.278 [script.javaScript.stackTrace]: 3 (emailsystem_base.js:883) <anonymous function>
19:56:54.278 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.2]
19:56:54.279 [script.javaScript.stackTrace]: 4 (emailsystem_base.js:843) <anonymous function>
19:56:54.279 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.2]
19:56:59.280 [script.javaScript.timeLimit]: ***** ERROR: Script "EmailSystem" ran for 1.33996 seconds and has been terminated.
19:56:59.281 [script.javaScript.stackTrace]: 0 (emailsystem_base.js:689) <anonymous function>
19:56:59.281 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.2]
19:56:59.281 [script.javaScript.stackTrace]: 1 (emailsystem_base.js:664) <anonymous function>
19:56:59.281 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.2]
19:56:59.281 [script.javaScript.stackTrace]: 2 (emailsystem_base.js:1318) <anonymous function>
19:56:59.281 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.2]
19:56:59.282 [script.javaScript.stackTrace]: 3 (emailsystem_base.js:883) <anonymous function>
19:56:59.282 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.2]
19:56:59.282 [script.javaScript.stackTrace]: 4 (emailsystem_base.js:843) <anonymous function>
19:56:59.282 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.2]
phkb
Impressively Grand Sub-Admiral
Posts: 4830 Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.
Post
by phkb » Wed Nov 11, 2015 7:22 pm
pagroove, what font are you using?
pagroove
---- E L I T E ----
Posts: 3035 Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet
Post
by pagroove » Wed Nov 11, 2015 9:14 pm
Font Dangerous 1.1.
phkb
Impressively Grand Sub-Admiral
Posts: 4830 Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.
Post
by phkb » Wed Nov 11, 2015 9:31 pm
OK, I've just uploaded version 1.6.3. Can you test to see if I've managed to fix the issue?
pagroove
---- E L I T E ----
Posts: 3035 Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet
Post
by pagroove » Wed Nov 11, 2015 9:47 pm
phkb wrote: OK, I've just uploaded version 1.6.3. Can you test to see if I've managed to fix the issue?
That was fast. Ok I'm starting up Oolite now to download and test.
pagroove
---- E L I T E ----
Posts: 3035 Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet
Post
by pagroove » Wed Nov 11, 2015 9:55 pm
Edited to add.
Error occurs as follows:
- I pres F4.
- I see 13 unread emails
- I use the cursor to navigate to interface submenu
- I press enter and then nothing happens. It won't enter the e-mail list. I stay in the F4 screen.
Not working...
Code: Select all
~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.phkb.EmailSystem.oxz
22:48:50.153 [version.debug]: oolite.oxp.phkb.EmailSystem mv:1.6.2 mav:1.6.2
22:48:50.829 [version.debug]: oolite.oxp.phkb.EmailSystem mv:1.6.2 mav:1.6.2
22:48:51.008 [version.debug]: oolite.oxp.phkb.EmailSystem mv:1.6.2 mav:1.6.2
22:48:51.159 [version.debug]: oolite.oxp.phkb.EmailSystem mv:1.6.2 mav:1.6.2
22:48:51.308 [version.debug]: oolite.oxp.phkb.EmailSystem mv:1.6.2 mav:1.6.2
22:48:51.458 [version.debug]: oolite.oxp.phkb.EmailSystem mv:1.6.2 mav:1.6.2
22:48:51.593 [version.debug]: oolite.oxp.phkb.EmailSystem mv:1.6.2 mav:1.6.2
22:48:51.813 [version.debug]: oolite.oxp.phkb.EmailSystem mv:1.6.2 mav:1.6.2
22:48:52.398 [version.debug]: oolite.oxp.phkb.EmailSystem mv:1.6.2 mav:1.6.2
22:48:52.398 [version.debug]: oolite.oxp.phkb.EmailSystem mv:1.6.2 mav:1.6.2
22:48:53.437 [version.debug]: oolite.oxp.phkb.EmailSystem mv:1.6.2 mav:1.6.2
~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.phkb.EmailSystem.oxz
EmailSystem 1.6.3
22:51:42.276 [script.javaScript.timeLimit]: ***** ERROR: Script "EmailSystem" ran for 1.6579 seconds and has been terminated.
22:51:42.276 [script.javaScript.stackTrace]: 0 (emailsystem_base.js:689) <anonymous function>
22:51:42.276 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:42.277 [script.javaScript.stackTrace]: 1 (emailsystem_base.js:664) <anonymous function>
22:51:42.277 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:42.277 [script.javaScript.stackTrace]: email: {...}
22:51:42.277 [script.javaScript.stackTrace]: 2 (emailsystem_base.js:1316) <anonymous function>
22:51:42.277 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:42.277 [script.javaScript.stackTrace]: 3 (emailsystem_base.js:881) <anonymous function>
22:51:42.277 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:42.278 [script.javaScript.stackTrace]: email: undefined
22:51:42.278 [script.javaScript.stackTrace]: 4 (emailsystem_base.js:841) <anonymous function>
22:51:42.278 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:46.279 [script.javaScript.timeLimit]: ***** ERROR: Script "EmailSystem" ran for 1.18526 seconds and has been terminated.
22:51:46.279 [script.javaScript.stackTrace]: 0 (emailsystem_base.js:689) <anonymous function>
22:51:46.279 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:46.279 [script.javaScript.stackTrace]: 1 (emailsystem_base.js:664) <anonymous function>
22:51:46.279 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:46.279 [script.javaScript.stackTrace]: email: {...}
22:51:46.279 [script.javaScript.stackTrace]: 2 (emailsystem_base.js:1316) <anonymous function>
22:51:46.279 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:46.280 [script.javaScript.stackTrace]: 3 (emailsystem_base.js:881) <anonymous function>
22:51:46.280 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:46.280 [script.javaScript.stackTrace]: email: undefined
22:51:46.281 [script.javaScript.stackTrace]: 4 (emailsystem_base.js:841) <anonymous function>
22:51:46.281 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:49.281 [script.javaScript.timeLimit]: ***** ERROR: Script "EmailSystem" ran for 1.558 seconds and has been terminated.
22:51:49.281 [script.javaScript.stackTrace]: 0 (emailsystem_base.js:691) <anonymous function>
22:51:49.281 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:49.281 [script.javaScript.stackTrace]: 1 (emailsystem_base.js:664) <anonymous function>
22:51:49.281 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:49.281 [script.javaScript.stackTrace]: email: {...}
22:51:49.281 [script.javaScript.stackTrace]: 2 (emailsystem_base.js:1316) <anonymous function>
22:51:49.281 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:49.282 [script.javaScript.stackTrace]: 3 (emailsystem_base.js:881) <anonymous function>
22:51:49.282 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:49.282 [script.javaScript.stackTrace]: email: undefined
22:51:49.283 [script.javaScript.stackTrace]: 4 (emailsystem_base.js:841) <anonymous function>
22:51:49.283 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:54.284 [script.javaScript.timeLimit]: ***** ERROR: Script "EmailSystem" ran for 1.89593 seconds and has been terminated.
22:51:54.284 [script.javaScript.stackTrace]: 0 (emailsystem_base.js:689) <anonymous function>
22:51:54.284 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:54.285 [script.javaScript.stackTrace]: 1 (emailsystem_base.js:664) <anonymous function>
22:51:54.285 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:54.285 [script.javaScript.stackTrace]: email: {...}
22:51:54.285 [script.javaScript.stackTrace]: 2 (emailsystem_base.js:1316) <anonymous function>
22:51:54.285 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:54.285 [script.javaScript.stackTrace]: 3 (emailsystem_base.js:881) <anonymous function>
22:51:54.285 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:51:54.286 [script.javaScript.stackTrace]: email: undefined
22:51:54.286 [script.javaScript.stackTrace]: 4 (emailsystem_base.js:841) <anonymous function>
22:51:54.286 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:52:02.290 [script.javaScript.timeLimit]: ***** ERROR: Script "EmailSystem" ran for 1.77213 seconds and has been terminated.
22:52:02.290 [script.javaScript.stackTrace]: 0 (emailsystem_base.js:691) <anonymous function>
22:52:02.290 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:52:02.290 [script.javaScript.stackTrace]: 1 (emailsystem_base.js:664) <anonymous function>
22:52:02.291 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:52:02.291 [script.javaScript.stackTrace]: email: {...}
22:52:02.291 [script.javaScript.stackTrace]: 2 (emailsystem_base.js:1316) <anonymous function>
22:52:02.291 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:52:02.291 [script.javaScript.stackTrace]: 3 (emailsystem_base.js:881) <anonymous function>
22:52:02.291 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:52:02.292 [script.javaScript.stackTrace]: email: undefined
22:52:02.292 [script.javaScript.stackTrace]: 4 (emailsystem_base.js:841) <anonymous function>
22:52:02.292 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:52:08.294 [script.javaScript.timeLimit]: ***** ERROR: Script "EmailSystem" ran for 1.25175 seconds and has been terminated.
22:52:08.295 [script.javaScript.stackTrace]: 0 (emailsystem_base.js:691) <anonymous function>
22:52:08.295 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:52:08.295 [script.javaScript.stackTrace]: 1 (emailsystem_base.js:664) <anonymous function>
22:52:08.295 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:52:08.295 [script.javaScript.stackTrace]: email: {...}
22:52:08.295 [script.javaScript.stackTrace]: 2 (emailsystem_base.js:1316) <anonymous function>
22:52:08.295 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:52:08.296 [script.javaScript.stackTrace]: 3 (emailsystem_base.js:881) <anonymous function>
22:52:08.296 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
22:52:08.296 [script.javaScript.stackTrace]: email: undefined
22:52:08.296 [script.javaScript.stackTrace]: 4 (emailsystem_base.js:841) <anonymous function>
22:52:08.296 [script.javaScript.stackTrace]: this: [Script "EmailSystem" version 1.6.3]
phkb
Impressively Grand Sub-Admiral
Posts: 4830 Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.
Post
by phkb » Wed Nov 11, 2015 10:27 pm
pagroove, can I get you to test something for me? Rather than keep publishing micro-updates, can you extract the OXZ to an OXP, and open the "scripts\emailsystem_base.js" file, go to line 664 and change it from this:
Code: Select all
ret += this.$padTextRight("!", 0.4);
to this
Code: Select all
ret += this.$padTextRight("!", 0.6);
Save the file, restart holding shift down (I know you probably know that, but in case someone else is reading), and see if that fixes the issue. If not, increase "0.6" to "0.8" and try again.
pagroove
---- E L I T E ----
Posts: 3035 Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet
Post
by pagroove » Thu Nov 12, 2015 4:56 pm
can you extract the OXZ to an OXP,
Problem is that I don't know in which map Oolite on a Mac stores its OXZ's.
Then I can test it. Any ideas?
Disembodied
Jedi Spam Assassin
Posts: 6885 Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort
Post
by Disembodied » Thu Nov 12, 2015 5:51 pm
pagroove wrote: Problem is that I don't know in which map Oolite on a Mac stores its OXZ's.
Then I can test it. Any ideas?
Change the extension from .oxz to .zip, then double-click to expand.
pagroove
---- E L I T E ----
Posts: 3035 Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet
Post
by pagroove » Thu Nov 12, 2015 6:00 pm
Disembodied wrote: pagroove wrote: Problem is that I don't know in which map Oolite on a Mac stores its OXZ's.
Then I can test it. Any ideas?
Change the extension from .oxz to .zip, then double-click to expand.
Hello Disembodied. The problem is that I don't know
where Oolite stores the downloaded oxz's via the manager on a Mac. So the location where the oxz's reside is unknown to me. I believe this map is a hidden map. I assume somewhere in the library folder?
Disembodied
Jedi Spam Assassin
Posts: 6885 Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort
Post
by Disembodied » Thu Nov 12, 2015 6:09 pm
pagroove wrote: I believe this map is a hidden map. I assume somewhere in the library folder?
OK, sorry – they're in
Library > Application Support > Oolite > Managed AddOns
pagroove
---- E L I T E ----
Posts: 3035 Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet
Post
by pagroove » Thu Nov 12, 2015 6:16 pm
Ah. Thanks gonna take a look
pagroove
---- E L I T E ----
Posts: 3035 Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet
Post
by pagroove » Thu Nov 12, 2015 7:07 pm
Its even not in
Library > Application Support >
I have no Oolite map there.
I also did a change via Terminal to display hidden maps and files. Still cannot find it.
phkb
Impressively Grand Sub-Admiral
Posts: 4830 Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.
Post
by phkb » Thu Nov 12, 2015 8:22 pm
I've got a possible fix that should cater for all font widths. Just on my way in to work at the moment but should have it posted in about an hour. Sorry this has been so difficult
pagroove
---- E L I T E ----
Posts: 3035 Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet
Post
by pagroove » Thu Nov 12, 2015 8:22 pm
@phkb.
Maybe you could compile a new version of the oxz for me that I can download from a filesharing site. I can deinstall my current Emailsystem.oxz via the manager and then install the OXZ in the normal OXP folder and try out your suggestions.