Email System (Release)

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Re: Email System (Release)

Post 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]
 
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Email System (Release)

Post by phkb »

pagroove, what font are you using?
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Re: Email System (Release)

Post by pagroove »

Font Dangerous 1.1.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Email System (Release)

Post by phkb »

OK, I've just uploaded version 1.6.3. Can you test to see if I've managed to fix the issue?
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Re: Email System (Release)

Post 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.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Re: Email System (Release)

Post 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]
 
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Email System (Release)

Post 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.
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Re: Email System (Release)

Post 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?
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: Email System (Release)

Post 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.
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Re: Email System (Release)

Post 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?
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: Email System (Release)

Post 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
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Re: Email System (Release)

Post by pagroove »

Ah. Thanks gonna take a look :D
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Re: Email System (Release)

Post 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.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Email System (Release)

Post 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
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Re: Email System (Release)

Post 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.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
Post Reply