diff options
6 files changed, 96 insertions, 0 deletions
diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/03d07e61-f10b-4dc9-9bd8-3e4c14d6b47b/comments/cfea9568-a52d-4587-b803-823877dba0de/body b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/03d07e61-f10b-4dc9-9bd8-3e4c14d6b47b/comments/cfea9568-a52d-4587-b803-823877dba0de/body new file mode 100644 index 0000000..1487e6b --- /dev/null +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/03d07e61-f10b-4dc9-9bd8-3e4c14d6b47b/comments/cfea9568-a52d-4587-b803-823877dba0de/body @@ -0,0 +1,31 @@ +Ugly "exception" crash when permissions are not properly set. + +$ sudo chown -R root:root .be +$ be new "Unauthorized" +Traceback (most recent call last): + File "/usr/local/bin/be", line 26, in <module> + sys.exit(libbe.ui.command_line.main()) + File "/usr/local/lib/python2.7/dist-packages/libbe/ui/command_line.py", line 332, in main + ret = dispatch(ui, command, args) + File "/usr/local/lib/python2.7/dist-packages/libbe/ui/command_line.py", line 264, in dispatch + ret = ui.run(command, options, args) + File "/usr/local/lib/python2.7/dist-packages/libbe/command/base.py", line 534, in run + return command.run(options, args) + File "/usr/local/lib/python2.7/dist-packages/libbe/command/base.py", line 262, in run + self.status = self._run(**params) + File "/usr/local/lib/python2.7/dist-packages/libbe/command/new.py", line 92, in _run + bug = bugdir.new_bug(summary=summary.strip()) + File "/usr/local/lib/python2.7/dist-packages/libbe/bugdir.py", line 247, in new_bug + from_storage=False) + File "/usr/local/lib/python2.7/dist-packages/libbe/bug.py", line 257, in __init__ + self.save() + File "/usr/local/lib/python2.7/dist-packages/libbe/bug.py", line 663, in save + self.storage.add(self.id.storage(), parent=parent, directory=True) + File "/usr/local/lib/python2.7/dist-packages/libbe/storage/base.py", line 249, in add + self._add(id, *args, **kwargs) + File "/usr/local/lib/python2.7/dist-packages/libbe/storage/vcs/base.py", line 654, in _add + self._add_path(path, **kwargs) + File "/usr/local/lib/python2.7/dist-packages/libbe/storage/vcs/base.py", line 643, in _add_path + os.mkdir(dir) +OSError: [Errno 13] Permission denied: '/home/tanguy/tmp/test/.be/7c416fb1-ab04-4144-97f4-6fded55524bc/bugs' + diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/03d07e61-f10b-4dc9-9bd8-3e4c14d6b47b/comments/cfea9568-a52d-4587-b803-823877dba0de/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/03d07e61-f10b-4dc9-9bd8-3e4c14d6b47b/comments/cfea9568-a52d-4587-b803-823877dba0de/values new file mode 100644 index 0000000..27b2027 --- /dev/null +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/03d07e61-f10b-4dc9-9bd8-3e4c14d6b47b/comments/cfea9568-a52d-4587-b803-823877dba0de/values @@ -0,0 +1,8 @@ +Author: Tanguy LE CARROUR <tanguy.lecarrour@gmail.com> + + +Content-type: text/plain + + +Date: Mon, 06 Jun 2011 18:48:16 +0000 + diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/03d07e61-f10b-4dc9-9bd8-3e4c14d6b47b/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/03d07e61-f10b-4dc9-9bd8-3e4c14d6b47b/values new file mode 100644 index 0000000..fb86d19 --- /dev/null +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/03d07e61-f10b-4dc9-9bd8-3e4c14d6b47b/values @@ -0,0 +1,17 @@ +creator: Tanguy LE CARROUR <tanguy.lecarrour@gmail.com> + + +reporter: Tanguy LE CARROUR <tanguy.lecarrour@gmail.com> + + +severity: minor + + +status: open + + +summary: Crash on permission problems + + +time: Mon, 06 Jun 2011 18:45:39 +0000 + diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/comments/a3c3bae1-12fe-4282-bc14-26f09ced8f89/body b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/comments/a3c3bae1-12fe-4282-bc14-26f09ced8f89/body new file mode 100644 index 0000000..94f5afb --- /dev/null +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/comments/a3c3bae1-12fe-4282-bc14-26f09ced8f89/body @@ -0,0 +1,15 @@ +BE crashes when too many arguments are provided. + +Ex: be list extra_arg +WARNING:root:unable to import libbe._version: No module named _version +Traceback (most recent call last): + File "/usr/local/bin/be", line 26, in <module> + sys.exit(libbe.ui.command_line.main()) + File "/home/tanguy/Documents/Repositories/Bugs-Everywhere/tlecarrours-be-reports/libbe/ui/command_line.py", line 331, in main + ret = dispatch(ui, command, args) + File "/home/tanguy/Documents/Repositories/Bugs-Everywhere/tlecarrours-be-reports/libbe/ui/command_line.py", line 262, in dispatch + options,args = parser.parse_args(args) + File "/home/tanguy/Documents/Repositories/Bugs-Everywhere/tlecarrours-be-reports/libbe/ui/command_line.py", line 128, in parse_args + and self.command.args[-1].repeatable == False: +IndexError: list index out of range + diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/comments/a3c3bae1-12fe-4282-bc14-26f09ced8f89/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/comments/a3c3bae1-12fe-4282-bc14-26f09ced8f89/values new file mode 100644 index 0000000..6154e2e --- /dev/null +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/comments/a3c3bae1-12fe-4282-bc14-26f09ced8f89/values @@ -0,0 +1,8 @@ +Author: Tanguy LE CARROUR <tanguy.lecarrour@gmail.com> + + +Content-type: text/plain + + +Date: Mon, 06 Jun 2011 18:06:47 +0000 + diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/values new file mode 100644 index 0000000..71ed832 --- /dev/null +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/values @@ -0,0 +1,17 @@ +creator: Tanguy LE CARROUR <tanguy.lecarrour@gmail.com> + + +reporter: Tanguy LE CARROUR <tanguy.lecarrour@gmail.com> + + +severity: minor + + +status: open + + +summary: Crashes when too many arguments are provided + + +time: Mon, 06 Jun 2011 18:04:41 +0000 + |