| ValueError | Python 3.6.8: /usr/local/bin/python Wed Oct 29 18:01:54 2025 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /virtual/hagane/public_html/disp2.cgi in <module>() |
| 115 dispmode = 0 |
| 116 v = dnum.split("-") |
| => 117 afrom = int(v[0]) + 1 |
| 118 ato = int(v[1]) + 0 |
| 119 # ahead = "<a href=\"disp2.cgi?book=" + book + "\">Newest 32</a>" |
| afrom undefined, builtin int = <class 'int'>, v = ['', '1'] |
ValueError: invalid literal for int() with base 10: ''
args =
("invalid literal for int() with base 10: ''",)
with_traceback =
<built-in method with_traceback of ValueError object>