Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #10692: The New Format Of config.xml Is Converted To The Old Format

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


noreply at mythtv

May 4, 2012, 10:47 PM

Post #1 of 3 (96 views)
Permalink
Ticket #10692: The New Format Of config.xml Is Converted To The Old Format

#10692: The New Format Of config.xml Is Converted To The Old Format
--------------------------------------+-------------------------
Reporter: keemllib@… | Owner: wagnerrp
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: Bindings - Python | Version: Master Head
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+-------------------------
My ~/.mythtv/config.xml gets converted from the new format to the old,
with no new lines (the whole file is one line.) Good and bad files
are attached.

This happens whenever I execute my python 'upcoming' script.
{{{
To duplicate:
Verify that ~/.mythtv/config.xml is in the 'new' format
Execute the script below (the fragment is enough to convert it)
cat ~/.mythtv/config.xml, it will be one line in the 'old' format
}}}

{{{
#!/usr/bin/env python

from MythTV import MythBE

be = MythBE()
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10692>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

May 6, 2012, 5:30 PM

Post #2 of 3 (84 views)
Permalink
Re: Ticket #10692: The New Format Of config.xml Is Converted To The Old Format [In reply to]

#10692: The New Format Of config.xml Is Converted To The Old Format
----------------------------------+-----------------------------
Reporter: keemllib@… | Owner: wagnerrp
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: unknown
Component: Bindings - Python | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Changes (by Raymond Wagner <rwagner@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:a2f0333714242dbd8fb0f24c84f0d5dccbf3c4b4/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="a2f0333714242dbd8fb0f24c84f0d5dccbf3c4b4"
Update Python bindings to use the new config.xml format.

This creates a new DatabaseConfig class to manage access credentials for
the database, moving it out of DBCache. DBCache (and MythDB) will still
continue to take the same arguments it did previously. Both the old and
new format are supported, and old format files will be rewritten upon
successful connection to the database. Files are now properly
pretty-printed when created.

This also converts everything over to absolute importing.

Fixes #10692.
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10692#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

May 28, 2012, 9:13 AM

Post #3 of 3 (72 views)
Permalink
Re: Ticket #10692: The New Format Of config.xml Is Converted To The Old Format [In reply to]

#10692: The New Format Of config.xml Is Converted To The Old Format
----------------------------------+-----------------------------
Reporter: keemllib@… | Owner: wagnerrp
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: 0.26
Component: Bindings - Python | Version: Master Head
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Changes (by wagnerrp):

* milestone: unknown => 0.26


--
Ticket URL: <http://code.mythtv.org/trac/ticket/10692#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.