Menu

#32 Mac OS X: sed issue

v1.0_(example)
closed-fixed
None
5
2017-06-07
2015-01-18
No
  • Podget isn't work on Mac OS X (Yosemite 10.10.1) because options for sed aren't supported. The initial problem is with --silent. Replacing that with -n works, but further problems arise. For debugging :

  • rm -r ~/.podget

  • The output of podget with -n replacing --silent on the sed lines (545, 858, 872, 1046, 1059):
./podget.mod 
podget
  Configuration directory not found.  Creating "/Users/dbeck/.podget"
  Installing default user configuration file in /Users/dbeck/.podget/podgetrc
  Installing default server list configuration.
  Downloading a single item from each default server to test configuration.

Library Directory:      /Users/dbeck/POD
Session Directory:      /var/folders/v3/qrr70vkx0pv2rk8_30hssy440000gn/T//podget
Log Directory:          /Users/dbeck/POD/.LOG
WGet options:           -c -nH --progress=dot:mega
Filename Bad Characters:    `~!#$^&=+{}*[]:;"'<>?|\
Filename Replace Character: _

Session file not found.  Creating podget.4559 .

Main loop.
SERVER LIST FILE: serverlist
WGET OPTIONS: -c -nH --progress=dot:mega
Playlist Creation Enabled.
Playlist name: New-2015-01-18.m3u

UTF-8 Loop running.
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> #
Serverlist Line --> http://thelinuxlink.net/tllts/tllts.rss

-------------------------------------------------
Category: LINUX                Name: The Linux Link                              

Downloading feed index from http://thelinuxlink.net/tllts/tllts.rss
sed: 1: "s/.*<enclosure.*url\s*= ...": bad flag in substitute command: 'I'
--2015-01-18 10:06:15--  http://thelinuxlink.net/tllts/tllts.rss
Resolving thelinuxlink.net... 70.169.159.60
Connecting to thelinuxlink.net|70.169.159.60|:80... connected.
HTTP request sent, awaiting response... Read error (Operation timed out) in headers.
Retrying.

--2015-01-18 10:08:33--  (try: 2)  http://thelinuxlink.net/tllts/tllts.rss
Connecting to thelinuxlink.net|70.169.159.60|:80... connected.
HTTP request sent, awaiting response... Read error (Operation timed out) in headers.
Retrying.

Discussion

  • Dave Vehrs

    Dave Vehrs - 2017-06-07

    OK, let me start by apologizing that this took a couple years to address but I do believe we've fixed it in the new 0.8.5 version. Basically it requires the user on Mac OS to use homebrew to install GNU Sed but from there it appears to work.

     
  • Dave Vehrs

    Dave Vehrs - 2017-06-07
    • status: open --> closed-fixed
    • assigned_to: Dave Vehrs
     

Log in to post a comment.