MG-RAST/AWE

Status Monitor never finishes updating / TypeError: tdata[0] is undefined

MrCreosote opened this issue · 4 comments

Both on my locally installed AWE server and the server at http://140.221.84.148:8080, the 'updating' popup on the Status Monitor never completes, and I see this in the JS console:

TypeError: tdata[0] is undefined
if (typeof(tdata[0][header[i]].replace) != 'function') {

I see the same error at https://kbase.us/services/api-api/ but the 'updating' popup does close.

Hi Tobi

Could you help to take a look on this issue?

thanks
Wei

On Mon, Jun 2, 2014 at 6:05 PM, MrCreosote notifications@github.com wrote:

Both on my locally installed AWE server and the server at
http://140.221.84.148:8080, the 'updating' popup on the Status Monitor
never completes, and I see this in the JS console:

TypeError: tdata[0] is undefined
if (typeof(tdata[0][header[i]].replace) != 'function') {

I see the same error at https://kbase.us/services/api-api/ but the
'updating' popup does close.


Reply to this email directly or view it on GitHub
#227.

I'll check it out.

On 02 Jun 2014, at 21:34, Wei Tang wtang222@gmail.com wrote:

Hi Tobi

Could you help to take a look on this issue?

thanks
Wei

On Mon, Jun 2, 2014 at 6:05 PM, MrCreosote notifications@github.com wrote:
Both on my locally installed AWE server and the server at http://140.221.84.148:8080, the 'updating' popup on the Status Monitor never completes, and I see this in the JS console:

TypeError: tdata[0] is undefined
if (typeof(tdata[0][header[i]].replace) != 'function') {
I see the same error at https://kbase.us/services/api-api/ but the 'updating' popup does close.


Reply to this email directly or view it on GitHub.

There was a bug in the logic when the table is empty. The server had no registered client which caused the error to appear.

I have sent out a pull request with the fix. I confirmed the error to occur locally and not occur after the fix. However, if there should be any more problems let me know.

Cheers
Tobi

On 03 Jun 2014, at 01:20, Tobias Paczian tobias.paczian@googlemail.com wrote:

I'll check it out.

On 02 Jun 2014, at 21:34, Wei Tang wtang222@gmail.com wrote:

Hi Tobi

Could you help to take a look on this issue?

thanks
Wei

On Mon, Jun 2, 2014 at 6:05 PM, MrCreosote notifications@github.com wrote:
Both on my locally installed AWE server and the server at http://140.221.84.148:8080, the 'updating' popup on the Status Monitor never completes, and I see this in the JS console:

TypeError: tdata[0] is undefined
if (typeof(tdata[0][header[i]].replace) != 'function') {
I see the same error at https://kbase.us/services/api-api/ but the 'updating' popup does close.


Reply to this email directly or view it on GitHub.

Thanks Tobi, I've merged the code.
Wei

On Tue, Jun 3, 2014 at 3:51 AM, Tobias Paczian <tobiaspaczian@googlemail.com

wrote:

There was a bug in the logic when the table is empty. The server had no
registered client which caused the error to appear.

I have sent out a pull request with the fix. I confirmed the error to
occur locally and not occur after the fix. However, if there should be any
more problems let me know.

Cheers
Tobi

On 03 Jun 2014, at 01:20, Tobias Paczian tobias.paczian@googlemail.com
wrote:

I'll check it out.

On 02 Jun 2014, at 21:34, Wei Tang wtang222@gmail.com wrote:

Hi Tobi

Could you help to take a look on this issue?

thanks
Wei

On Mon, Jun 2, 2014 at 6:05 PM, MrCreosote notifications@github.com
wrote:

Both on my locally installed AWE server and the server at
http://140.221.84.148:8080, the 'updating' popup on the Status Monitor
never completes, and I see this in the JS console:

TypeError: tdata[0] is undefined
if (typeof(tdata[0][header[i]].replace) != 'function') {

I see the same error at https://kbase.us/services/api-api/ but the
'updating' popup does close.


Reply to this email directly or view it on GitHub
#227.