sudo python3 WeatherDesk.py --city chisinau
[City checking] No error.
mostly clear
Chisinau Chisinau
/home/myname/.weatherdesk_walls/normal.jpg
Traceback (most recent call last):
File "WeatherDesk.py", line 379, in
os.path.join(walls_dir, get_file_name(weather, time=use_time)))
File "/home/myname/Desktop/WeatherDesk-master/Desktop.py", line 104, in set_wallpaper
desktop_env = get_desktop_environment()
File "/home/myname/Desktop/WeatherDesk-master/Desktop.py", line 79, in get_desktop_environment
elif is_running('xfce-mcs-manage'): return 'xfce4'
File "/home/myname/Desktop/WeatherDesk-master/Desktop.py", line 96, in is_running
if re.search(process, x):
File "/usr/lib/python3.5/re.py", line 173, in search
return _compile(pattern, flags).search(string)
TypeError: cannot use a string pattern on a bytes-like object
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "WeatherDesk.py", line 399, in
print(trace_main_loop)
NameError: name 'trace_main_loop' is not defined
sudo python3 WeatherDesk.py --city chisinau [City checking] No error. mostly clear Chisinau Chisinau /home/myname/.weatherdesk_walls/normal.jpg Traceback (most recent call last): File "WeatherDesk.py", line 379, in
os.path.join(walls_dir, get_file_name(weather, time=use_time)))
File "/home/myname/Desktop/WeatherDesk-master/Desktop.py", line 104, in set_wallpaper
desktop_env = get_desktop_environment()
File "/home/myname/Desktop/WeatherDesk-master/Desktop.py", line 79, in get_desktop_environment
elif is_running('xfce-mcs-manage'): return 'xfce4'
File "/home/myname/Desktop/WeatherDesk-master/Desktop.py", line 96, in is_running
if re.search(process, x):
File "/usr/lib/python3.5/re.py", line 173, in search
return _compile(pattern, flags).search(string)
TypeError: cannot use a string pattern on a bytes-like object
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "WeatherDesk.py", line 399, in
print(trace_main_loop)
NameError: name 'trace_main_loop' is not defined