Skip to content
New issue

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

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

Already on GitHub? # to your account

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

Closed
ghost opened this issue Feb 5, 2014 · 5 comments
Closed

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

ghost opened this issue Feb 5, 2014 · 5 comments

Comments

@ghost
Copy link

ghost 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 as completed in 69894ec Feb 5, 2014
@tony
Copy link
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?

@ghost
Copy link
Author

ghost 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.

@ghost
Copy link
Author

ghost 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
Copy link
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

@ghost
Copy link
Author

ghost commented Feb 6, 2014

Yeah ... Thanks Tony...

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

No branches or pull requests

1 participant