• Home
  • Blog
  • Add-ons
  • Forum
  • Wiki
  • Developers
Nightingale - The tune of life, the tune of yours
  • Portal
  • Search
  • Member List
  • Calendar
  • Help
  • Portal
  • Search
  • Member List
  • Calendar
  • Help
Guest Hi, Guest
  • Login
  • Register
Login
Username:
Password: Lost Password?
 
Nightingale Forums Nightingale Helpdesk Add-ons Ratingfile Crash

Pages (3): « Previous 1 2 3 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Ratingfile Crash
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#11
09-06-2015, 02:10 AM
(09-05-2015, 05:23 PM)Steveharry Wrote: Using Windows 10, I did not see any error messages, came to 99% crashes, and to exit from Nightingale I have to close the process through Task Manager. Ratingfile creates a file, but is 0 kb ....

If you need to close Nightingale through the Task Manager, it did not crash (but hang). You should see messages in the error console for each file processed (you have to open the error console before starting RatingFile, and place it somewhere on the screen where you can actually read it). If you do not see any messages at all, you probably did not enable the debug mode correctly. Open about:config and verify that the value of extensions.ratingfile.debug is still true.
Songbird/Nightingale Community Developer and German Translator
Find
Reply
Steveharry Offline
Junior Member
**
Posts: 7
Threads: 1
Joined: Aug 2015
Reputation: 0
#12
09-07-2015, 02:03 AM
(09-06-2015, 02:10 AM)rsjtdrjgfuzkfg Wrote:
(09-05-2015, 05:23 PM)Steveharry Wrote: Using Windows 10, I did not see any error messages, came to 99% crashes, and to exit from Nightingale I have to close the process through Task Manager. Ratingfile creates a file, but is 0 kb ....

If you need to close Nightingale through the Task Manager, it did not crash (but hang). You should see messages in the error console for each file processed (you have to open the error console before starting RatingFile, and place it somewhere on the screen where you can actually read it). If you do not see any messages at all, you probably did not enable the debug mode correctly. Open about:config and verify that the value of extensions.ratingfile.debug is still true.

ratingfile up to 99% and then no further more, there are no error messages in the error console and the last message is RatingFile: Append mediaitem node to main node.

The value of extensions.ratingfile.debug is true.
Find
Reply
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#13
09-10-2015, 01:21 AM
(09-07-2015, 02:03 AM)Steveharry Wrote: the last message is RatingFile: Append mediaitem node to main node.
Strange. There is not much going on between this message and the next one...

Just to eliminate that issue: do you have a large (>10k tracks) library? Maybe the XML document is becoming too large for Nightingale to handle...

I'll try to remember this thread for when I have a tiny bit more time, maybe some exception is thrown but not displayed in the error console; I'd need to update RatingFile to explicitly handle exceptions. Feel free to bump me again in roughly a month, if I fail to do so.
Songbird/Nightingale Community Developer and German Translator
Find
Reply
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#14
10-07-2015, 12:29 AM
(09-10-2015, 01:21 AM)rsjtdrjgfuzkfg Wrote: I'd need to update RatingFile to explicitly handle exceptions.

Can you try again with the attached version? Again, open the error console to see debug output. In theory, this version should not hang and display some message starting with "FATAL:" in the error console. I'd need the message after the "FATAL:" in order to fix the issue.


Attached Files
.xpi   ratingfile_1.3.2.6_debug.xpi (Size: 37.23 KB / Downloads: 114)
Songbird/Nightingale Community Developer and German Translator
Find
Reply
jwindman Offline
Junior Member
**
Posts: 4
Threads: 0
Joined: Sep 2016
Reputation: 0
#15
09-29-2016, 07:47 AM (This post was last modified: 09-29-2016, 07:48 AM by jwindman.)
(10-07-2015, 12:29 AM)rsjtdrjgfuzkfg Wrote:
(09-10-2015, 01:21 AM)rsjtdrjgfuzkfg Wrote: I'd need to update RatingFile to explicitly handle exceptions.

Can you try again with the attached version? Again, open the error console to see debug output. In theory, this version should not hang and display some message starting with "FATAL:" in the error console. I'd need the message after the "FATAL:" in order to fix the issue.

Are you still on this? Because I got the same error and can't resolve it. I followed the steps you described and used the debug-version of you add-on, the FATAL-line I get is this:

"RatingFile: FATAL: InternalError: script stack space quota is exhausted"

This always happens at 99% of the export.

Thanks
Find
Reply
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#16
09-30-2016, 12:29 AM
(09-29-2016, 07:47 AM)jwindman Wrote: "RatingFile: FATAL: InternalError: script stack space quota is exhausted"

This always happens at 99% of the export.
Hm. Seems like your library is very big and some XULrunner limits are too low, or you found a bug. What's the line immediately before the FATAL output?
Songbird/Nightingale Community Developer and German Translator
Find
Reply
jwindman Offline
Junior Member
**
Posts: 4
Threads: 0
Joined: Sep 2016
Reputation: 0
#17
09-30-2016, 05:56 AM (This post was last modified: 09-30-2016, 05:56 AM by jwindman.)
Thanks for your reply. It seems that the error occurs shortly before the file should be written, judging from the log all ratings have been collected, but the last step cannot be finished.

Here are the last entries of the log:
- RatingFile: Create and append standard nodes
artist: (...)
- RatingFile: Append mediaitem node to main node
- RatingFile: Append main node to DOM tree
- RatingFile: Opening file to write: D:\ratings_20160929.xml
- RatingFile: Generate XML String
- RatingFile: FATAL: InternalError: script stack space quota is exhausted

My library holds about 43k of files, D:\ has enough space (>150GB).
Find
Reply
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#18
09-30-2016, 08:49 AM
(09-30-2016, 05:56 AM)jwindman Wrote: - RatingFile: Generate XML String
- RatingFile: FATAL: InternalError: script stack space quota is exhausted

My library holds about 43k of files, D:\ has enough space (>150GB).
Could you try the attached version?


Attached Files
.xpi   RatingFile_1.3.2.7.xpi (Size: 37.12 KB / Downloads: 120)
Songbird/Nightingale Community Developer and German Translator
Find
Reply
jwindman Offline
Junior Member
**
Posts: 4
Threads: 0
Joined: Sep 2016
Reputation: 0
#19
10-02-2016, 10:44 PM
Export works now, thanks very much!!
Find
Reply
rsjtdrjgfuzkfg Offline
Developer
*******
Posts: 664
Threads: 15
Joined: Oct 2011
Reputation: 15
#20
10-04-2016, 02:06 AM
(10-02-2016, 10:44 PM)jwindman Wrote: Export works now, thanks very much!!

You should – just in case – verify that importing works as well before relying on this version; in my tests it worked without issues, but the XML generation code has been altered and I only tested about 2 ex- and imports with my main configuration.
Songbird/Nightingale Community Developer and German Translator
Find
Reply
« Next Oldest | Next Newest »
Pages (3): « Previous 1 2 3 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)
  • Return to Top
  • Lite (Archive) Mode
  • RSS Syndication
Current time: 01-19-2021, 06:18 AM Powered By MyBB, © 2002-2021 MyBB Group.
Design By AliReza_Tofighi In WhiteCrow Software Group.
white outlined nightingale project logo

Nightingale is free!
It is an Open Source project released under the terms of the GNU General Public License v2 (GPL v2).
For more details, please read the license information.

Follow us!
f  g  t

Support
  • Community Forum
  • Official Blog
  • Add-ons
  • Wiki
  • Help Forum
Contribute
  • Developer's Center
  • Translate Nightingale
  • Source Code
  • Report a Bug
Ressources
  • Download Nightingale
Linear Mode
Threaded Mode