Diskstation: DataTables warning on most actions

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
capGrundy
Posts: 51
Joined: Thu Nov 09, 2017 12:25 am

Diskstation: DataTables warning on most actions

Post by capGrundy »

When I do anything to add/edit a title, I get a popup with the error "DataTables warning (table id = 'issue_table'): Cannot reinitialise DataTable"

Things seem to get added/read, but it's annoying. Is there a fix, or is it just a reinstall?

Image
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Diskstation: DataTables warning on most actions

Post by evilhero »

I've never seen this error before in my life. Are you running a current version of mylar and which branch are you on?

I'm not familiar with diskstation, did you install mylar via git or some other 3rd party plugin? Is it IE/firefox/chrome you're using when the error surfaces?

The fact that you're getting a datatables error would to me indicate that either it can't find the datatables version included with mylar, and/or its using a localized copy which is maybe out of date.

Is there anything in the log before/after the GUI error appears?
capGrundy
Posts: 51
Joined: Thu Nov 09, 2017 12:25 am

Re: Diskstation: DataTables warning on most actions

Post by capGrundy »

My version shows as 20160119-4. in config options, it shows: Mylar Version: master
-- git build a226658876af19d60d3c4291ea158644731f143b. Python Version : 2.7.13

I did the instal via their package center, but considering using docker instead. I haven't played around with plugins yet.

Below are the logs with debugging on, while adding a comic. The message popped up a few times during it. I was going to try to track down the DB and see it I can see anything there, or maybe follow some of the advice the error message is giving. It doesn't seem to interfere with anything, and it's been getting new issues.


2017-11-09 10:49:02 DEBUG [RESULT][None] ComicName:Daredevil: Yellow -- 2008 [Series years: [u'2008']]
2017-11-09 10:49:02 DEBUG [RESULT][None] ComicName:Daredevil: Father -- 2004 [Series years: [u'2004']]
2017-11-09 10:49:02 DEBUG [RESULT][None] ComicName:Daredevil: Father -- 2006 [Series years: [u'2006']]
2017-11-09 10:49:02 DEBUG [RESULT][None] ComicName:Daredevil: The Daredevil You Know -- 2015 [Series years: [u'2015']]
2017-11-09 10:49:02 DEBUG [RESULT][None] ComicName:Daredevil / Deadpool '97 -- 1997 [Series years: [u'1997']]
2017-11-09 10:49:02 DEBUG [RESULT][None] ComicName:Daredevil -- 2015 [Series years: [u'2015', '2016']]
2017-11-09 10:49:02 DEBUG [RESULT][None] ComicName:Daredevil -- 2008 [Series years: [u'2008']]
2017-11-09 10:49:02 DEBUG [RESULT][None] ComicName:Daredevil -- 2005 [Series years: [u'2005']]
2017-11-09 10:49:02 DEBUG [RESULT][None] ComicName:Daredevil -- 2014 [Series years: [u'2014']]
2017-11-09 10:49:02 DEBUG [RESULT][None] ComicName:Daredevil -- 2011 [Series years: [u'2011', '2012', '2013']]
2017-11-09 10:49:02 DEBUG [RESULT][None] ComicName:Daredevil -- 1998 [Series years: [u'1998', '1999', '2000', '2001', '2002', '2003', '2004', '2005', '2006', '2007', '2008']]
2017-11-09 10:49:02 DEBUG [RESULT][None] ComicName:Daredevil -- 2006 [Series years: [u'2006', '2007', '2008', '2009']]
2017-11-09 10:49:02 DEBUG [RESULT][None] ComicName:Daredevil -- 2001 [Series years: [u'2001']]
2017-11-09 10:49:02 DEBUG [RESULT][None] ComicName:Daredevil -- 2012 [Series years: [u'2012']]
2017-11-09 10:49:02 DEBUG [RESULT][None] ComicName:Daredevil -- 1989 [Series years: [u'1989']]
2017-11-09 10:49:02 DEBUG [RESULT][None] ComicName:Daredevil -- 1964 [Series years: [u'1964', '1965', '1966', '1967', '1968', '1969', '1970', '1971', '1972', '1973', '1974', '1975', '1976', '1977', '1978', '1979', '1980', '1981', '1982', '1983', '1984', '1985', '1986', '1987', '1988', '1989', '1990', '1991', '1992', '1993', '1994']]
2017-11-09 10:49:02 DEBUG there are 178 search results...
2017-11-09 10:48:57 DEBUG Default search mode - this will match on ALL search words
2017-11-09 10:48:39 DEBUG there are 178 search results...
2017-11-09 10:48:34 DEBUG Default search mode - this will match on ALL search words
2017-11-09 10:47:56 DEBUG If you read this message, debug logging is available
2017-11-09 10:47:56 INFO Verbose toggled, set to True
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Diskstation: DataTables warning on most actions

Post by evilhero »

Hmm, yes that's really weird - it would indicate that the backend is still functioning, but the GUI is having problems displaying the data for some reason.

Here's some questions that might help me:
- The search function is completing it's just not returning the values to the screen to display (or is it?), or how are you attempting to add the series - via the pullist, or via the search box at the top?
- Does the search results screen appear and then when you attempt to click on the 'add series' option it results in the error about the datatables and you never see the comic details screen?
- Are you using the left/right black arrows on the comic details screen during this process (after it returns you to the series detail page while it's loading), or are you opening up another tab or something while you're waiting for the data to load?
- What browser are you using?
- Have you enabled the Synology Fix option in the Web Interface tab of the configuration (and then save/restarted Mylar)?
capGrundy
Posts: 51
Joined: Thu Nov 09, 2017 12:25 am

Re: Diskstation: DataTables warning on most actions

Post by capGrundy »

- Everything displays fine. It searches, shows, and adds. It's only when I click add, and it is displaying the results, that I get that error.
- I'm not touching anything during the process
- Chrome
- Yes
capGrundy
Posts: 51
Joined: Thu Nov 09, 2017 12:25 am

Re: Diskstation: DataTables warning on most actions

Post by capGrundy »

I've gotten rid of the error by moving it to a docker install. Thanks for trying to assist.
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Diskstation: DataTables warning on most actions

Post by evilhero »

Thanks for coming back to let us know the solution.

I'm really perplexed as to why it wouldn't work on the diskstation - and I know others have gotten it working without too many problems. Albeit I do believe they don't use the pkg installer due to permissions problems, which wasn't what this was....but anyways, thanks for updating!
notmyname
Posts: 1
Joined: Wed Jan 17, 2018 1:07 am

Re: Diskstation: DataTables warning on most actions

Post by notmyname »

Hi there,

I've encountered the same error.

I'm running FreeNAS and when I'm installing Mylar from default interface it comes up with unknown version and request for an update to the latest one.

If i would to add a comics from start it adds and works fine however ass soon as I update it, I'm starting to get the error.

Mylar (9.3.2 specified as version on Plugin page) is run in Jail on FreeNAS 11

Thanks in advance.
Post Reply