Skip to content

Error when try to publish post #9

Description

@jsalinas

When I try to publish my post with this:

speechhub manage --publish-post hello-world2012-Apr-11.meta.json

I get this messages:

Traceback (most recent call last):
File "/usr/local/bin/speechhub", line 9, in
load_entry_point('SpeechHub==0.1', 'console_scripts', 'speechhub')()
File "/usr/local/lib/python2.7/dist-packages/SpeechHub-0.1-py2.7.egg/speechhub/speechhub.py", line 144, in main
manage_blog(args)
File "/usr/local/lib/python2.7/dist-packages/SpeechHub-0.1-py2.7.egg/speechhub/speechhub.py", line 125, in manage_blog
manage(vars(parsed_args))
File "/usr/local/lib/python2.7/dist-packages/SpeechHub-0.1-py2.7.egg/speechhub/functions.py", line 381, in manage
publish_post(args['publish_post'][0])
File "/usr/local/lib/python2.7/dist-packages/SpeechHub-0.1-py2.7.egg/speechhub/functions.py", line 354, in publish_post
rebuild_blog()
File "/usr/local/lib/python2.7/dist-packages/SpeechHub-0.1-py2.7.egg/speechhub/functions.py", line 274, in rebuild_blog
create_permalinks(config)
File "/usr/local/lib/python2.7/dist-packages/SpeechHub-0.1-py2.7.egg/speechhub/functions.py", line 281, in create_permalinks
page_content = create_post_page(config,post[1])
File "/usr/local/lib/python2.7/dist-packages/SpeechHub-0.1-py2.7.egg/speechhub/functions.py", line 326, in create_post_page
'old_posts':get_permalinks_list(config),
File "/usr/local/lib/python2.7/dist-packages/SpeechHub-0.1-py2.7.egg/speechhub/functions.py", line 294, in get_permalinks_list
base_url = url + '/pages/permalinks/'
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Am I missing something?

EDIT: using Ubuntu 11.10 with Python 2.7.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions