[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[GSoC] Reg Blends Web Sentinel



Hi,

I went through 'https://lists.debian.org/debian-blends/2015/03/msg00002.html' as well as 'https://lists.debian.org/debian-blends/2014/08/msg00050.html'. I misread the error I received earlier, but can you help me with some issues, I am facing now ?

I tried to run the command:
    $ ./bugs_udd.py webconf/debian-junior.conf
The output was:
    No handlers could be found for logger "blends"

Also, when I ran the command:
    $ ./bugs.py webconf/debian-junior.conf
The following error occured:  

Traceback (most recent call last):
  File "./bugs.py", line 91, in <module>
    tasks    = Tasks(argv[1])
  File "/home/akshita_jha/Documents/Imp/debian_sentinel/website/webtools/blendstasktoolsold.py", line 826, in __init__
    handler = logging.handlers.RotatingFileHandler(filename=LOG_FILENAME,mode='w')
  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 903, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 928, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 2] No such file or directory: '/home/akshita_jha/Documents/Imp/debian_sentinel/website/webtools/logs/webconf/debian-junior.conf.log'

The log file was missing. So, I created 'webtools/logs/webconf/debian-junior.conf.log' file. After that when I ran the commands I did not get any error on the terminal but the log file contained the following error:
    ERROR - blendstasktoolsold.py (382): Unable to open config file webconf/webconf/debian-junior.conf.conf or /etc/blends/webconf/webconf/debian-junior.conf.conf.
So, I changed the 'conffile' variable in the 'ReadConfig' function of 'blendstasktoolsold.py' to 'conffile = blendname'


After this when I ran the commands, it threw another error:
    Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 851, in emit
    msg = self.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
    return fmt.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 464, in format
    record.message = record.getMessage()
  File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Logged from file blendstasktoolsold.py, line 440
mkdir: cannot create directory ‘/srv/blends.debian.org’: Permission denied

So, I changed the 'tasksdir' varibale in the 'FetchTasksFile' function of 'blendstasktoolsold.py' to 'tasksdir = '.' + data['datadir'] + '/' + dir'


After this I get the following error on the running the command './bugs.py webconf/debian-junior.conf':

svn: E000111: Unable to connect to a repository at URL 'svn://svn.debian.org/git:/git.debian.org/git/debianjr/debian-junior.git/tasks'
svn: E000111: Can't connect to host 'svn.debian.org': Connection refused

The URL does not seem to be working.


Also, should I be getting these errors ? What am I doing wrong ? I had cloned the git repo: git://git.debian.org/git/blends/website.git.
Can you guide me on how to recreate the encoding error ?
Thanks alot.

--
Regards,
Akshita Jha



Reply to: