Error when showing session list with no sessions #31

Closed
opened 2023-01-15 16:58:04 +00:00 by lukas · 0 comments
Owner
NoReverseMatch at /tracker/list-sessions/

Reverse for 'start_session' with arguments '('',)' not found. 1 pattern(s) tried: ['tracker/start\\-session/(?P<purchase_id>[0-9]+)\\Z']

Request Method: 	GET
Request URL: 	http://localhost:8000/tracker/list-sessions/
Django Version: 	4.1.5
Exception Type: 	NoReverseMatch
Exception Value: 	

Reverse for 'start_session' with arguments '('',)' not found. 1 pattern(s) tried: ['tracker/start\\-session/(?P<purchase_id>[0-9]+)\\Z']

Exception Location: 	/home/lukas/.cache/pypoetry/virtualenvs/timetracker-_F7pH8R2-py3.10/lib/python3.10/site-packages/django/urls/resolvers.py, line 828, in _reverse_with_prefix
Raised during: 	tracker.views.list_sessions
Python Executable: 	/home/lukas/.cache/pypoetry/virtualenvs/timetracker-_F7pH8R2-py3.10/bin/python
Python Version: 	3.10.6
Python Path: 	

['/mnt/c/Users/lukas/Documents/git/timetracker/src/web',
 '/usr/lib/python310.zip',
 '/usr/lib/python3.10',
 '/usr/lib/python3.10/lib-dynload',
 '/home/lukas/.cache/pypoetry/virtualenvs/timetracker-_F7pH8R2-py3.10/lib/python3.10/site-packages']

Server time: 	Sun, 15 Jan 2023 17:56:11 +0100

This should be fixed properly later: #30

``` NoReverseMatch at /tracker/list-sessions/ Reverse for 'start_session' with arguments '('',)' not found. 1 pattern(s) tried: ['tracker/start\\-session/(?P<purchase_id>[0-9]+)\\Z'] Request Method: GET Request URL: http://localhost:8000/tracker/list-sessions/ Django Version: 4.1.5 Exception Type: NoReverseMatch Exception Value: Reverse for 'start_session' with arguments '('',)' not found. 1 pattern(s) tried: ['tracker/start\\-session/(?P<purchase_id>[0-9]+)\\Z'] Exception Location: /home/lukas/.cache/pypoetry/virtualenvs/timetracker-_F7pH8R2-py3.10/lib/python3.10/site-packages/django/urls/resolvers.py, line 828, in _reverse_with_prefix Raised during: tracker.views.list_sessions Python Executable: /home/lukas/.cache/pypoetry/virtualenvs/timetracker-_F7pH8R2-py3.10/bin/python Python Version: 3.10.6 Python Path: ['/mnt/c/Users/lukas/Documents/git/timetracker/src/web', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/home/lukas/.cache/pypoetry/virtualenvs/timetracker-_F7pH8R2-py3.10/lib/python3.10/site-packages'] Server time: Sun, 15 Jan 2023 17:56:11 +0100 ``` This should be fixed properly later: https://git.kucharczyk.xyz/lukas/timetracker/issues/30
lukas closed this issue 2023-01-15 17:04:24 +00:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lukas/timetracker#31
No description provided.