Page 9 of 13

Re: Email System (Release)

Posted: Wed Nov 11, 2015 7:04 pm
by pagroove
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]
 

Re: Email System (Release)

Posted: Wed Nov 11, 2015 7:22 pm
by phkb
pagroove, what font are you using?

Re: Email System (Release)

Posted: Wed Nov 11, 2015 9:14 pm
by pagroove
Font Dangerous 1.1.

Re: Email System (Release)

Posted: Wed Nov 11, 2015 9:31 pm
by phkb
OK, I've just uploaded version 1.6.3. Can you test to see if I've managed to fix the issue?

Re: Email System (Release)

Posted: Wed Nov 11, 2015 9:47 pm
by pagroove
phkb wrote:
OK, I've just uploaded version 1.6.3. Can you test to see if I've managed to fix the issue?
:D
That was fast. Ok I'm starting up Oolite now to download and test.

Re: Email System (Release)

Posted: Wed Nov 11, 2015 9:55 pm
by pagroove
:(

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]
 

Re: Email System (Release)

Posted: Wed Nov 11, 2015 10:27 pm
by phkb
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.

Re: Email System (Release)

Posted: Thu Nov 12, 2015 4:56 pm
by pagroove
can you extract the OXZ to an OXP,
:roll:
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?

Re: Email System (Release)

Posted: Thu Nov 12, 2015 5:51 pm
by Disembodied
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.

Re: Email System (Release)

Posted: Thu Nov 12, 2015 6:00 pm
by pagroove
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?

Re: Email System (Release)

Posted: Thu Nov 12, 2015 6:09 pm
by Disembodied
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

Re: Email System (Release)

Posted: Thu Nov 12, 2015 6:16 pm
by pagroove
Ah. Thanks gonna take a look :D

Re: Email System (Release)

Posted: Thu Nov 12, 2015 7:07 pm
by pagroove
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.

Re: Email System (Release)

Posted: Thu Nov 12, 2015 8:22 pm
by phkb
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

Re: Email System (Release)

Posted: Thu Nov 12, 2015 8:22 pm
by pagroove
@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.