Ticket #95 (closed defect: invalid)

Opened 5 years ago

Last modified 5 years ago

Configuration file settings lost.

Reported by: ncunningham@… Owned by:
Priority: blocker Milestone:
Component: Shepherd Version: 0.3
Keywords: Cc:

Description

As the source indicates, the region is sometimes being 'forgotten' in the configuration file. I have a backtrace that might help solve this issue. I augmented the write_config_file function so that it gives a backtrace, and got the following result:

nigel@mythbuntu:~/.shepherd$ ./shepherd --configure shepherd v1.3.3 (linux)

Reading configuration file: /home/nigel/.shepherd/shepherd.conf Defining default source. Reading channels file: /home/nigel/.shepherd/channels.conf

Checking for updates: Source #1: http://www.whuffy.com/shepherd/

* Application shepherd v1.3.3... TAINTED

WARNING: Component 'shepherd' (application) has been modified/tainted

  • expected checksum: 772c8d83d139926e0f91ff950737e3eb3fd4a96e
  • actual checksum: defbff0d058dffba4a71a44d7fceae691ed702cf

Modifying Shepherd or its components is not recommended. If you have added functionality in some way, why not contribute it back? See the wiki at http://svn.whuffy.com/wiki for details.

If you wish to revert shepherd back to the standard module, run Shepherd with --update manually.

You may wish to CTRL-C and fix this.

Continuing anyway in: 10 9 8 7 6 5 4 3 2 1

* Reference Shepherd/Common.pm... NEW Downloading Shepherd/Common.pm v0.35. * Reference channel_list... NEW Downloading channel_list v18. Skipping channel check. * Reference Shepherd/MythTV.pm... NEW Downloading Shepherd/MythTV.pm v0.7. * Grabber southerncross_website... NEW Downloading southerncross_website v0.19. Testing southerncross_website ... OK. * Grabber yahoo7widget... NEW Downloading yahoo7widget v1.105. Testing yahoo7widget ... OK. * Grabber yahoo7web... NEW Downloading yahoo7web v0.33-r1. Testing yahoo7web ... OK. * Grabber channelnsw_gov... NEW Downloading channelnsw_gov v0.8. Testing channelnsw_gov ... OK. * Grabber foxtel_swf... NEW Downloading foxtel_swf v0.26. Testing foxtel_swf ... OK. * Grabber abc_website... NEW Downloading abc_website v3.21. Testing abc_website ... OK. * Grabber oztivo... NEW Downloading oztivo v2.14. Testing oztivo ... OK. * Grabber rex... NEW Downloading rex v3.6.7. Testing rex ... OK. * Grabber citysearch... NEW Downloading citysearch v3.0.0-r1. Testing citysearch ... OK. * Grabber ten_website... NEW Downloading ten_website v1.06. Testing ten_website ... OK. * Grabber sbsnews_website... NEW Downloading sbsnews_website v0.21. Testing sbsnews_website ... OK. * Grabber acctv_website... NEW Downloading acctv_website v0.08. Testing acctv_website ... OK. * Reconciler reconciler_mk2... NEW Downloading reconciler_mk2 v0.39. Testing reconciler_mk2 ... OK. * Postprocessor imdb_augment_data... NEW Downloading imdb_augment_data v0.42. Testing imdb_augment_data ... OK. * Postprocessor flag_aus_hdtv... NEW Downloading flag_aus_hdtv v0.40. Testing flag_aus_hdtv ... OK. * Postprocessor tvdb_augment_data... NEW Downloading tvdb_augment_data v0.11. Testing tvdb_augment_data ... OK. * Postprocessor augment_timezone... NEW Downloading augment_timezone v0.21. Testing augment_timezone ... OK. Use of uninitialized value in concatenation (.) or string at ./shepherd line 1737. Writing region in configuration fileTrace begun at ./shepherd line 1738 main::write_config_file at ./shepherd line 209

HTH

Nigel

Change History

Changed 5 years ago by max

Hi there,

That would certainly be a major bug, but I can't reproduce it. Can you provide more information about how/when/why the region changes? Your output shows Shepherd writing to its .conf file in a completely normal way following an update, with no evidence that the region has altered.

Changed 5 years ago by anonymous

  • status changed from new to closed
  • resolution set to invalid

Argh :(

I could reproduce it quite reliably this morning, but can't now. Let's close the bug and I'll reopen it only if I can reproduce it and get you some helpful output.

Nigel

Note: See TracTickets for help on using tickets.