Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when try to publish post #9

Open
jsalinas opened this issue Apr 11, 2012 · 1 comment
Open

Error when try to publish post #9

jsalinas opened this issue Apr 11, 2012 · 1 comment

Comments

@jsalinas
Copy link

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

@nudelfabrik
Copy link

Same problem here, using Mac OS X 10.7. with python 2.7.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants