Bug #152

Exception: TypeError, reply.firstChild.getAttribute is not a function

Added by trac-user - 1048 days ago. Updated 146 days ago.

Status:Closed Start:
Priority:High Due date:
Assigned to:Andrew Dolgov % Done:

0%

Category:backend
Target version:-
Resolution:

worksforme


Description

When my feeds update (either due to the periodic timer or when I tell them to update), my browser (Firefox) pops up an error. I ran ttrss with debug=1 - here is the output (which includes the error):
**** [13:11:20] KP=67
**** [13:11:20] KP=17
**** [13:10:54] not in CDM mode or watchdog disabled
**** [13:10:54] parse_runtime_info: null
**** [13:10:54] parsing runtime info: [object Element]
**** [13:10:54] Feed counters, C: 24, S:0
**** [13:10:54] hideOrShowFeeds: [object HTMLDocument], false
**** [13:10:54] parsing piggybacked counters: [object Element]
**** [13:10:53] resetting headlines scrollTop
**** [13:10:53] sAFID(-3)
**** [13:10:53] headlines_callback2 [page=0]
**** [13:10:49] EXCEPTION: Exception: TypeError, reply.firstChild.getAttribute is not a function Function: refetch_callback() Location: functions.js?1.2.14.2:740
**** [13:10:43] [gettext] not found: Loading, please wait...
**** [13:10:43] backend.php?op=viewfeed&feed=-3&query=&view_mode=adaptive&limit=30&subop=undefined&ts=1189876243
**** [13:10:43] gAFID: 0
**** [13:10:43] REFETCH query: backend.php?op=rpc&subop=updateAllFeeds&omode=T&uctr=-1&ts=1189876243
**** [13:10:43] [gettext] not found: Updating feeds...
**** [13:10:43] in scheduleFeedUpdate
**** [13:10:43] gAFID: 0
**** [13:10:43] removed splash!
**** [13:10:43] about to remove splash, OMG!
**** [13:10:43] hideOrShowFeeds: [object HTMLDocument], false
**** [13:10:43] in feedlist init
**** [13:10:43] feedlist_callback2
**** [13:10:39] updateFeedList Q=backend.php?op=feeds&ts=1189876240
**** [13:10:39] gAFID: 0
**** [13:10:39] updateFeedList
**** [13:10:39] second stage ok
**** [13:10:39] resize_headlines
**** [13:10:39] icons_location => icons
**** [13:10:39] infobox_disable_overlay =>
**** [13:10:39] prefs_active_tab => userConfig
**** [13:10:39] default_view_limit => 30
**** [13:10:39] default_view_mode => adaptive
**** [13:10:39] cookie_lifetime => 0
**** [13:10:39] icons_url => icons
**** [13:10:39] cdm_auto_catchup => 0
**** [13:10:39] confirm_feed_catchup => 1
**** [13:10:39] feeds_sort_by_unread => 0
**** [13:10:39] hide_read_feeds => 0
**** [13:10:39] on_catchup_show_next_feed =>
**** [13:10:39] daemon_refresh_only =>
**** [13:10:39] feeds_frame_refresh => 600
**** [13:10:39] daemon_enabled =>
**** [13:10:39] reading init-params...
**** [13:10:39] sanity check ok
**** [13:10:38] debug mode activated

I am using darcs head from today.

My config is very unexciting. I just ran a diff of my config.php versus config.php-dist, and the only differences are that I'm using mysql, then the mysql authentication info, and I run it in multiple user mode (even though I am presently the only user).

Thank you,
~Craig

History

Updated by Andrew Dolgov 1048 days ago

What update method are you using? Please read this document:

http://tt-rss.spb.ru/trac/wiki/UpdatingFeeds

Synchronous updates (which are the default) are a common cause of this error.

Updated by trac-user - 1045 days ago

I was using the synchronous method, and just switched to the cron-powered asynchronous method. I must say, I like the synchronous way more - it feels kind of mean to bang on the RSS feeds even when I'm not using the feed reader as cron does (I can set it to only update during certain hours, but my use isn't that predictable).

Switching did resolve the problem.

~Craig

Updated by Andrew Dolgov 146 days ago

  • Status changed from New to Closed
  • Resolution set to worksforme

Also available in: Atom PDF