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

Cant start boss.py on debian stable (8.2) #14

Open
bartekj opened this issue Dec 9, 2015 · 4 comments
Open

Cant start boss.py on debian stable (8.2) #14

bartekj opened this issue Dec 9, 2015 · 4 comments

Comments

@bartekj
Copy link

bartekj commented Dec 9, 2015

Hi there,
just tried to launch boss on couple server with debian. I did installed all requirements but still I'm getting this:

Traceback (most recent call last):
  File "boss.py", line 347, in <module>
    options.logfile, options.verbosity)
  File "/usr/local/lib/python2.7/dist-packages/irckit-0.1.1-py2.7.egg/irc.py", line 51, in __init__
    self.logger = self.get_logger('ircconnection.logger', self.logfile)
  File "/usr/local/lib/python2.7/dist-packages/irckit-0.1.1-py2.7.egg/irc.py", line 58, in get_logger
    handler = RotatingFileHandler(filename, maxBytes=1024*1024, backupCount=2)
  File "/usr/lib/python2.7/logging/handlers.py", line 117, in __init__
    BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python2.7/logging/handlers.py", line 64, in __init__
    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python2.7/logging/__init__.py", line 901, in __init__
    self.baseFilename = os.path.abspath(filename)
  File "/usr/lib/python2.7/posixpath.py", line 367, in abspath
    if not isabs(path):
  File "/usr/lib/python2.7/posixpath.py", line 61, in isabs
    return s.startswith('/')
AttributeError: 'int' object has no attribute 'startswith'

@coleifer
Copy link
Owner

coleifer commented Dec 9, 2015

How are you invoking the script?

@bartekj
Copy link
Author

bartekj commented Dec 9, 2015

Same way it is in the documentation, lik this:

root@debian:~/irc/botnet# python boss.py -s krakow.irc.pl -p 6667 -n x1 -c f17 -x qwerty -f /tmp/boss.log
...

Any ideas what I'm missing?

@coleifer
Copy link
Owner

coleifer commented Dec 9, 2015

Only thing I can think is you've got a -f somewhere thats causing the logfile to be treated as a number...or its just broken which would be odd.

@honey2792
Copy link

Was this issue resolved?

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

3 participants