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

TypeError: cannot concatenate 'str' and 'list' objects #6

Closed
dslackw opened this Issue Feb 5, 2014 · 5 comments

Comments

Projects
None yet
2 participants
@dslackw

dslackw commented Feb 5, 2014

Hi ,

I have this problem :

$ vcspull
Traceback (most recent call last):
File "/usr/lib64/python2.7/logging/init.py", line 851, in emit
msg = self.format(record)
File "/usr/lib64/python2.7/logging/init.py", line 724, in format
return fmt.format(record)
File "/usr/lib64/python2.7/site-packages/vcspull/log.py", line 76, in format
prefix = self.template(record) % record.dict
File "/usr/lib64/python2.7/site-packages/vcspull/log.py", line 115, in debug_log_template
reset + levelname + asctime + name + module_funcName + lineno + reset
TypeError: cannot concatenate 'str' and 'list' objects
Logged from file cli.py, line 115

Thanks.

@tony tony closed this in 69894ec Feb 5, 2014

@tony

This comment has been minimized.

Member

tony commented Feb 5, 2014

@dslackw : I wasn't able to recreate this error, but tried a fix. $ pip install vcspull --upgrade. Does v0.0.8.3 fix it?

@dslackw

This comment has been minimized.

dslackw commented Feb 5, 2014

Done ... Solved ...
$ vcspull
(C) [00:02:16] vcspull.cli cli.command_load():115 No config file found. Create a .vcspull.{yaml,conf} in your $HOME directory. http://vcspull.rtfd.org for a quickstart.

@dslackw

This comment has been minimized.

dslackw commented Feb 5, 2014

$ vcspull -h
usage: vcspull [-h] [-v] [config]

positional arguments:
config Pull the latest repositories from config(s)

optional arguments:
-h, --help show this help message and exit
-v, --version Prints the vcspull version

@tony

This comment has been minimized.

Member

tony commented Feb 6, 2014

Excellent. Next step is to create the ~/.vcspull.yaml or .json.

I have an example at https://github.com/tony/.dot-config/blob/master/.vcspull.yaml

@dslackw

This comment has been minimized.

dslackw commented Feb 6, 2014

Yeah ... Thanks Tony...

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