File: BUGS

package info (click to toggle)
go2 1.20121210-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 224 kB
  • ctags: 296
  • sloc: python: 1,222; makefile: 34; sh: 9
file content (118 lines) | stat: -rw-r--r-- 4,487 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118

Desde un directorio que ya no existe:

sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
lsh: 0: getcwd() failed: No such file or directory
sTraceback (most recent call last):
  File "/usr/lib/go2/go2.py", line 756, in <module>
    sys.exit(chdir_decorator())
  File "/usr/lib/go2/go2.py", line 684, in chdir_decorator
    target = os.path.abspath(params)
  File "/usr/lib/python2.7/posixpath.py", line 347, in abspath
    cwd = os.getcwd()
OSError: [Errno 2] No such file or directory


At press ENTER without matches:

Searching.   Traceback (most recent call last):
  File "/usr/lib/go2/go2.py", line 1090, in <module>
    sys.exit(Go2().main())
  File "/usr/lib/go2/go2.py", line 908, in main
    self.reactor.run()
  File "/usr/lib/go2/go2.py", line 742, in run
    raise self.exception
IndexError: list index out of range

-------------------------------------------------------

$ cd repos  # repos existe
Traceback (most recent call last):
  File "/usr/lib/go2/go2.py", line 942, in <module>
    sys.exit(chdir_decorator())
  File "/usr/lib/go2/go2.py", line 872, in chdir_decorator
    save_in_history(target)
  File "/usr/lib/go2/go2.py", line 284, in save_in_history
    PathFileStore(GO2HISTORY).insert_and_save(path)
  File "/usr/lib/go2/go2.py", line 217, in init_
    self.load()
  File "/usr/lib/go2/go2.py", line 223, in load
    self._load_file_lines(fd)
  File "/usr/lib/go2/go2.py", line 242, in _load_file_lines
    self.data[decode(path)] = int(visits)
  File "/usr/lib/go2/go2.py", line 230, in decode
    return path.strip().decode('utf8')
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf1 in position 64:

-------------------------------------------------------

$ cd not/existing/path


-------------------------------------------------------

$ go2 c++

-------------------------------------------------------

not/existing/path$ cd ..
Traceback (most recent call last):
  File "/usr/lib/go2/go2.py", line 1075, in <module>
    sys.exit(chdir_decorator())
  File "/usr/lib/go2/go2.py", line 988, in chdir_decorator
    target = os.path.abspath(params)
  File "/usr/lib/python2.7/posixpath.py", line 345, in abspath
    cwd = os.getcwdu()
OSError: [Errno 2] No such file or directory

-------------------------------------------------------

$ cd /usr/share/texmf-texlive/tex/latex/arco/arco-listings.sty
Traceback (most recent call last):
  File "/usr/lib/go2/go2.py", line 1058, in <module>
      sys.exit(create_directory_wizzard(target.args[0]))
        File "/usr/lib/go2/go2.py", line 934, in
create_directory_wizzard
    print "go2: '%s' does not exist.\n(c)ancel, (s)earch or (m)ake?
(C/s/m):" % target,
UnboundLocalError: local variable 'target' referenced before assignment

$ cd ../...
Traceback (most recent call last):
  File "/usr/lib/go2/go2.py", line 1058, in <module>
    sys.exit(create_directory_wizzard(target.args[0]))
  File "/usr/lib/go2/go2.py", line 934, in create_directory_wizzard
    print "go2: '%s' does not exist.\n(c)ancel, (s)earch or (m)ake? (C/s/m):" % target,
UnboundLocalError: local variable 'target' referenced before assignment

$ cd /usr/share/texmf-texlive/tex/latex/arco/arco-listings.sty
Traceback (most recent call last):
  File "/usr/lib/go2/go2.py", line 1058, in <module>
      sys.exit(create_directory_wizzard(target.args[0]))
        File "/usr/lib/go2/go2.py", line 934, in
create_directory_wizzard
    print "go2: '%s' does not exist.\n(c)ancel, (s)earch or (m)ake?
(C/s/m):" % target,
UnboundLocalError: local variable 'target' referenced before assignment

$ cd ../...
Traceback (most recent call last):
  File "/usr/lib/go2/go2.py", line 1058, in <module>
    sys.exit(create_directory_wizzard(target.args[0]))
  File "/usr/lib/go2/go2.py", line 934, in create_directory_wizzard
    print "go2: '%s' does not exist.\n(c)ancel, (s)earch or (m)ake? (C/s/m):" % target,
UnboundLocalError: local variable 'target' referenced before assignment


--

$ cd ../some
Traceback (most recent call last):
  File "/usr/lib/go2/go2.py", line 1100, in <module>
    sys.exit(create_directory_wizzard(target.args[0]))
  File "/usr/lib/go2/go2.py", line 972, in create_directory_wizzard
    print "go2: '%s' does not exist.\n(c)ancel, (s)earch or (m)ake? (C/s/m):" % target,
UnboundLocalError: local variable 'target' referenced before assignment