Commit 533682f
committed
Removed fallback request call using Chrome and Firefox cookies
no point in requests using cookies from a cron job - we need krb authentication anyway.
While running in openshift contaier the error was:
File "/opt/app-root/lib64/python3.12/site-packages/browser_cookie3/init.py", line 205, in enter
self.__connection = open_dbus_connection()
^^^^^^^^^^^^^^^^^^^^^^
File "/opt/app-root/lib64/python3.12/site-packages/jeepney/io/blocking.py", line 328, in open_dbus_connection
bus_addr = get_bus(bus)
^^^^^^^^^^^^
File "/opt/app-root/lib64/python3.12/site-packages/jeepney/bus.py", line 53, in get_bus
return find_session_bus()
^^^^^^^^^^^^^^^^^^
File "/opt/app-root/lib64/python3.12/site-packages/jeepney/bus.py", line 42, in find_session_bus
addr = os.environ['DBUS_SESSION_BUS_ADDRESS']
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen os>", line 714, in getitem
KeyError: 'DBUS_SESSION_BUS_ADDRESS'1 parent 4536ab3 commit 533682f
1 file changed
Lines changed: 1 addition & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 98 | + | |
130 | 99 | | |
131 | 100 | | |
132 | 101 | | |
| |||
0 commit comments