Failed to subscribe http://joone.net #40

Closed
Kjwon15 opened this Issue Jan 5, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@Kjwon15
Member

Kjwon15 commented Jan 5, 2014

Traceback:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
    return self.wsgi_app(environ, start_response)
  File "/Users/kjwon15/Desktop/git/web/earthreader/web/wsgi.py", line 59, in __call__
    return self.app(environ, start_response)
  File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/Users/kjwon15/Desktop/git/web/earthreader/web/app.py", line 283, in add_feed
    feed_links = autodiscovery(document, url)
  File "/Users/kjwon15/Desktop/git/libearth/libearth/parser/autodiscovery.py", line 64, in autodiscovery
    feed_links = parser.find_feed_url(document)
  File "/Users/kjwon15/Desktop/git/libearth/libearth/parser/autodiscovery.py", line 100, in find_feed_url
    self.find_feed_url_with_regex(chunk)
  File "/Users/kjwon15/Desktop/git/libearth/libearth/parser/autodiscovery.py", line 108, in find_feed_url_with_regex
    chunk).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

RSS:

<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'>
    <id>tag:blogger.com,1999:blog-8856633801708500033</id>
    <updated>2014-01-04T06:44:16.322-08:00</updated>
    <category term="Alan Cox"/>
    <category term="GIMP"/>
    <category term="GNOME"/>
    <category term="Linus"/>
    <category term="Mozilla"/>
    <category term="Tejun"/>
    <title type='text'>만화로 나누는 오픈소스 이야기</title>
    <subtitle type='html'></subtitle>
    <link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.joone.net/feeds/posts/default'/>
    <link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8856633801708500033/posts/default'/>
    <link rel='alternate' type='text/html' href='http://www.joone.net/'/>
    <link rel='hub' href='http://pubsubhubbub.appspot.com/'/>
    <author>
        <name>Joone Hur</name>
        <email>noreply@blogger.com</email>
        <gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4PiFLItwrAs/AAAAAAAAAAI/AAAAAAAAAk0/S_0bL7u_jQs/s512-c/photo.jpg'/>
    </author>
    <generator version='7.00' uri='http://www.blogger.com'>Blogger</generator>
    <openSearch:totalResults>3</openSearch:totalResults>
    <openSearch:startIndex>1</openSearch:startIndex>
    <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
    <entry>
        <id>tag:blogger.com,1999:blog-8856633801708500033.post-5251267188990519286</id>
        <published>2013-12-30T08:33:00.001-08:00</published>
        <updated>2013-12-30T09:17:40.841-08:00</updated>
        <category scheme="http://www.blogger.com/atom/ns#" term="GIMP"/>
        <category scheme="http://www.blogger.com/atom/ns#" term="Linus"/>
        <category scheme="http://www.blogger.com/atom/ns#" term="Tejun"/>
        <title type='text'>오픈소스 개발자는 어떻게 돈을 버나요? </title>
        <content type='html'>&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-BXENzPy4kF8/UsGeNTHbPEI/AAAAAAAAJbE/c6Zbx_Or3Wk/s1600/foss2_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-BXENzPy4kF8/UsGeNTHbPEI/AAAAAAAAJbE/c6Zbx_Or3Wk/s1600/foss2_1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-Pzt5kEA-XhU/UsGeN3p5F6I/AAAAAAAAJbU/FdsFdU56WVQ/s1600/foss2_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-Pzt5kEA-XhU/UsGeN3p5F6I/AAAAAAAAJbU/FdsFdU56WVQ/s1600/foss2_2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;[&lt;a href=&quot;http://foss-story.blogspot.com/2013/12/13.html&quot;&gt;이전&lt;/a&gt;]&lt;/div&gt;&lt;/div&gt;</content>
        <link rel='replies' type='application/atom+xml' href='http://www.joone.net/feeds/5251267188990519286/comments/default' title='댓글'/>
        <link rel='replies' type='text/html' href='http://www.joone.net/2013/12/23.html#comment-form' title='0개의 덧글'/>
        <link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8856633801708500033/posts/default/5251267188990519286'/>
        <link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8856633801708500033/posts/default/5251267188990519286'/>
        <link rel='alternate' type='text/html' href='http://www.joone.net/2013/12/23.html' title='오픈소스 개발자는 어떻게 돈을 버나요?'/>
        <author>
            <name>Joone Hur</name>
            <uri>https://plus.google.com/100356581615270901122</uri>
            <email>noreply@blogger.com</email>
            <gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4PiFLItwrAs/AAAAAAAAAAI/AAAAAAAAAk0/S_0bL7u_jQs/s512-c/photo.jpg'/>
        </author>
        <media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-BXENzPy4kF8/UsGeNTHbPEI/AAAAAAAAJbE/c6Zbx_Or3Wk/s72-c/foss2_1.png" height="72" width="72"/>
        <thr:total>0</thr:total>
    </entry>
    <entry>
        <id>tag:blogger.com,1999:blog-8856633801708500033.post-6572346035377789546</id>
        <published>2013-12-30T08:22:00.001-08:00</published>
        <updated>2014-01-03T14:42:37.005-08:00</updated>
        <category scheme="http://www.blogger.com/atom/ns#" term="Alan Cox"/>
        <category scheme="http://www.blogger.com/atom/ns#" term="GNOME"/>
        <category scheme="http://www.blogger.com/atom/ns#" term="Mozilla"/>
        <title type='text'>오픈소스 개발에 참여하는 방법</title>
        <content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-5U8q_E-j_c0/UsGdkiAJjgI/AAAAAAAAJa0/AOwkD0rKZSA/s1600/foss1_join_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-5U8q_E-j_c0/UsGdkiAJjgI/AAAAAAAAJa0/AOwkD0rKZSA/s1600/foss1_join_1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-8FhxrCbZxWw/Usc8vsOnG3I/AAAAAAAAJbo/vQODXSEEDUk/s1600/foss1_join_2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-8FhxrCbZxWw/Usc8vsOnG3I/AAAAAAAAJbo/vQODXSEEDUk/s1600/foss1_join_2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-B2AkBfGK1Dc/UsGeNkMA78I/AAAAAAAAJbI/O3Bmt0RfHyY/s1600/foss1_join_3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-B2AkBfGK1Dc/UsGeNkMA78I/AAAAAAAAJbI/O3Bmt0RfHyY/s1600/foss1_join_3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;참고&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.opensoftware.kr/2013/11/blog-post.html&quot;&gt;오픈소스 프로젝트에 참여하는 효과적인 방법&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;[&lt;a href=&quot;http://foss-story.blogspot.com/2013/12/23.html&quot;&gt;다음&lt;/a&gt;]&lt;/div&gt;</content>
        <link rel='replies' type='application/atom+xml' href='http://www.joone.net/feeds/6572346035377789546/comments/default' title='댓글'/>
        <link rel='replies' type='text/html' href='http://www.joone.net/2013/12/13.html#comment-form' title='3개의 덧글'/>
        <link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8856633801708500033/posts/default/6572346035377789546'/>
        <link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8856633801708500033/posts/default/6572346035377789546'/>
        <link rel='alternate' type='text/html' href='http://www.joone.net/2013/12/13.html' title='오픈소스 개발에 참여하는 방법'/>
        <author>
            <name>Joone Hur</name>
            <uri>https://plus.google.com/100356581615270901122</uri>
            <email>noreply@blogger.com</email>
            <gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4PiFLItwrAs/AAAAAAAAAAI/AAAAAAAAAk0/S_0bL7u_jQs/s512-c/photo.jpg'/>
        </author>
        <media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-5U8q_E-j_c0/UsGdkiAJjgI/AAAAAAAAJa0/AOwkD0rKZSA/s72-c/foss1_join_1.png" height="72" width="72"/>
        <thr:total>3</thr:total>
    </entry>
    <entry>
        <id>tag:blogger.com,1999:blog-8856633801708500033.post-7082029701090176900</id>
        <published>2013-12-30T06:39:00.000-08:00</published>
        <updated>2013-12-30T20:26:37.623-08:00</updated>
        <title type='text'>이 만화에 관하여</title>
        <content type='html'>본 블로그는 오픈소스에 대한 개인적인 경험을 만화로 이야기하려고 만들어봤습니다. 오픈소스에 관심이 많거나 관련 업계에 참여하는 분들이면 가볍게 즐길 수 있을 것입니다.&lt;br /&gt;&lt;br /&gt;많은 오픈소스 프로젝트 가운데, 제가 관심있는 프로젝트를 주로 다루고 있어서 이해가 어려울 수도 있습니다. 만화라는 특징을 잘 살려서 가능한 쉽게 설명하려고 하지만, 그림으로 어려운 부분은 참고 URL을 추가해서 더 많은 정보를 제공하고려 합니다.&lt;br /&gt;&lt;br /&gt;개인적인 시간을 쪼개서 만화를 그리고 있으므로 업데이트가 다소 늦어질 수 있습니다. :-)&lt;br /&gt;&lt;br /&gt;고맙습니다. </content>
        <link rel='replies' type='application/atom+xml' href='http://www.joone.net/feeds/7082029701090176900/comments/default' title='댓글'/>
        <link rel='replies' type='text/html' href='http://www.joone.net/2013/12/blog-post.html#comment-form' title='0개의 덧글'/>
        <link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8856633801708500033/posts/default/7082029701090176900'/>
        <link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8856633801708500033/posts/default/7082029701090176900'/>
        <link rel='alternate' type='text/html' href='http://www.joone.net/2013/12/blog-post.html' title='이 만화에 관하여'/>
        <author>
            <name>Joone Hur</name>
            <uri>https://plus.google.com/100356581615270901122</uri>
            <email>noreply@blogger.com</email>
            <gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-4PiFLItwrAs/AAAAAAAAAAI/AAAAAAAAAk0/S_0bL7u_jQs/s512-c/photo.jpg'/>
        </author>
        <thr:total>0</thr:total>
    </entry>
</feed>

@Kjwon15 Kjwon15 closed this in 11d4e12 Jan 5, 2014

dahlia added a commit that referenced this issue Jan 9, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment