[MacPorts] #36783: mythtv-core.25 00.25.2-Fixes-20120918 Python paths wrong for site-packages/MythTV

MacPorts noreply at macports.org
Thu Nov 1 19:38:05 PDT 2012


#36783: mythtv-core.25 00.25.2-Fixes-20120918 Python paths wrong for site-
packages/MythTV
-----------------------------+--------------------------
  Reporter:  ted.rippert@…   |      Owner:  ctreleaven@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.1.2
Resolution:                  |   Keywords:
      Port:  mythtv-core.25  |
-----------------------------+--------------------------

Comment (by ted.rippert@…):

 You're right, of course. I actually modified the EnvironmentVariables key
 without noticing the PYTHONPATH key in it. The automated backend metadata
 updates seemed very flaky (only worked once for some reason), and all the
 frontend and mythweb rescans didn't work at all until I added the symbolic
 link noted in the original ticket. Given that, I would recommend that the
 port should create the symbolic link noted in the workaround as a fix. The
 PYTHONPATH definition would then be redundant, and there might be a better
 way from the python point of view. I'm no expert in python either.

 By the way, the other keys I added to the EnvironmentVariables group are:

 {{{
         <key>LC_CTYPE</key>
         <string>en_US.UTF-8</string>
         <key>LANG</key>
         <string>en_US.UTF-8</string>
 }}}

 This was to get rid of a warning about the language definition that kept
 popping up in the backend logs. I didn't notice any real problems with the
 port operation due to this warning, so I didn't think it rated a ticket.

-- 
Ticket URL: <https://trac.macports.org/ticket/36783#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list