Opened 12 years ago

Closed 12 years ago

Last modified 7 years ago

#10364 closed Bug Report - General (fixed)

mythfilldatabase no longer working with http proxies

Reported by: brian@… Owned by: beirdo
Priority: minor Milestone: 0.25
Component: MythTV - Mythfilldatabase Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Since upgrading to v0.25pre-4525-gdcfe7b0 mythfilldatabase no longer seems to be using the http_proxy environment variable and insists on connecting to schedulesdirect directly.

# su - mythtv -c "export http_proxy=http://proxy:3128/; mythfilldatabase --dd-grab-all"
2012-02-19 08:35:49.474522 C  mythfilldatabase version: master [v0.25pre-4525-gdcfe7b0] www.mythtv.org
2012-02-19 08:35:49.474784 N  Enabled verbose msgs:  general
2012-02-19 08:35:49.475105 N  Setting Log Level to LOG_INFO
2012-02-19 08:35:49.475443 I  Added logging to the console
2012-02-19 08:35:49.475498 I  Added database logging to table logging
2012-02-19 08:35:49.476058 N  Setting up SIGHUP handler
2012-02-19 08:35:49.476797 N  Using runtime prefix = /usr
2012-02-19 08:35:49.476891 N  Using configuration directory = /home/mythtv/.mythtv
2012-02-19 08:35:49.478142 W  This application expects to be running a locale that specifies a UTF-8 codeset, and many features may behave improperly with your current language settings. Please set the LC_ALL or LC_CTYPE, and LANG variable(s) in the environment in which this program is executed to include a UTF-8 codeset (such as 'en_US.UTF-8').
2012-02-19 08:35:49.483551 I  Using localhost value of pvr
2012-02-19 08:35:49.523518 I  Database connection created: DBManager0
2012-02-19 08:35:49.523752 I  New DB connection, total: 1
2012-02-19 08:35:49.529857 I  Connected to database 'mythconverg' at host: localhost
2012-02-19 08:35:49.537684 I  Closing DB connection named 'DBManager0'
2012-02-19 08:35:49.538333 I  Database connection created: DBManager1
2012-02-19 08:35:49.538421 I  New DB connection, total: 1
2012-02-19 08:35:49.539572 I  Connected to database 'mythconverg' at host: localhost
2012-02-19 08:35:49.545805 I  Current locale EN_US
2012-02-19 08:35:49.546125 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2012-02-19 08:35:49.580750 I  Database connection created: DBManager2
2012-02-19 08:35:49.580834 I  New DB connection, total: 2
2012-02-19 08:35:49.583576 I  Connected to database 'mythconverg' at host: localhost
2012-02-19 08:35:49.619566 I  Loading en_us translation for module mythfrontend
2012-02-19 08:35:49.631322 I  Current MythTV Schema Version (DBSchemaVer): 1296
2012-02-19 08:35:49.634596 I  Updating source #1 (Schedules Direct) with grabber schedulesdirect1
2012-02-19 08:35:49.635770 I  Found 58 channels for source 1 which use grabber
2012-02-19 08:35:49.635966 I  This DataDirect listings source is shared by 2 MythTV lineups
2012-02-19 08:35:49.635989 N  We should keep data around after this one
2012-02-19 08:35:49.636113 I  Database connection created: DataDirectCon
2012-02-19 08:35:49.636195 I  New static DB connectionDataDirectCon
2012-02-19 08:35:49.637340 I  Connected to database 'mythconverg' at host: localhost
2012-02-19 08:35:49.640183 I  Retrieving datadirect data.
2012-02-19 08:35:49.640213 I  Grabbing ALL available data.
2012-02-19 08:35:49.640555 I  DataDirect: Grabbing listing data
2012-02-19 08:35:49.641231 I  Downloading DataDirect feed
2012-02-19 08:35:50.541980 E  DataDirect: Failed to get data: Download error
2012-02-19 08:35:50.542016 E  Encountered error in grabbing data.
2012-02-19 08:35:50.544860 I  Updating source #2 (Schedules Direct Digital) with grabber schedulesdirect1
2012-02-19 08:35:50.545953 I  Found 161 channels for source 2 which use grabber
2012-02-19 08:35:50.546033 I  This DataDirect listings source is shared by 2 MythTV lineups
2012-02-19 08:35:50.546050 N  We should use cached data for this one
2012-02-19 08:35:50.547911 I  Retrieving datadirect data.
2012-02-19 08:35:50.547938 I  Grabbing ALL available data.
2012-02-19 08:35:50.548052 I  DataDirect: Grabbing listing data
2012-02-19 08:35:50.548328 I  Downloading DataDirect feed
2012-02-19 08:35:51.151990 E  DataDirect: Failed to get data: Download error
2012-02-19 08:35:51.152027 E  Encountered error in grabbing data.
2012-02-19 08:35:51.153721 E  Failed to fetch some program info
2012-02-19 08:35:51.153861 I  Adjusting program database end times.
2012-02-19 08:35:52.006676 I      0 replacements made
2012-02-19 08:35:52.006704 I  Marking generic episodes.

Change History (4)

comment:1 Changed 12 years ago by beirdo

Owner: changed from stuartm to beirdo
Status: newassigned

comment:2 Changed 12 years ago by Github

Milestone: unknown0.25
Resolution: fixed
Status: assignedclosed

Make the MythDownloadManager? use the defined http proxy

This requires setHttpProxy() to be run in the startup.

Fixes #10364

Branch: master Changeset: 0e98fa2b5d5077c749d4f400ee209ca2c238c5ac

comment:3 Changed 7 years ago by Stuart Auchterlonie <stuarta@…>

In 65d90d894c418fb6493a1b1fca40cad2955e70a2/mythtv:

Fixes #10364. Don't call normalized() as the result is ignored and it causes issues with theme display

comment:4 Changed 7 years ago by Stuart Auchterlonie

Bah wrong ticket!

Note: See TracTickets for help on using tickets.