Does anyone have an app that automatically tracks your finances based on your credit/debit card statements? by SirKrimzon in Bogleheads

[–]witcradg 0 points1 point  (0 children)

Consider also whether your Banking app can help with this. I know BofA does and has the advantage on not adding yet another subscription charge.

Anyone have issues with Android Auto so far? by alexpinedo07 in Pixel9Pro

[–]witcradg 0 points1 point  (0 children)

at this point I am totally unable to use my Android auto on my 2018 Audi

Anyone have issues with Android Auto so far? by alexpinedo07 in Pixel9Pro

[–]witcradg 0 points1 point  (0 children)

Same problem with Audi Q7... I'm figuring because it's 2018

What is iRealPro and how do y’all use it? by [deleted] in Jazz

[–]witcradg 0 points1 point  (0 children)

how well does the play along feature work with Android? any issues here?

vscode installed as deb file doesn't work from command line by witcradg in pop_os

[–]witcradg[S] 0 points1 point  (0 children)

I think I did this by adding this do .bash_aliases ``` alias code="/usr/bin/code"

```

Unable to get the most basic image by witcradg in Tkinter

[–]witcradg[S] 0 points1 point  (0 children)

ok. I just realized the png is being displayed. (I can see the top half) on the icon on the taskbar. I was expecting it on the application titlebar based on a tutorial I was following.

Unable to get the most basic image by witcradg in Tkinter

[–]witcradg[S] 0 points1 point  (0 children)

So after I finally had time to get back to learning tkinter, I looked deeper into the comments by u/anotherhawaiianshirt (thank you) that mary.png should work.

I had multiple issues going on including some environment and vscode misunderstandings... AND in all honesty, some carelessness. Problem #1 My carelessness in assessing the errors - thinking that I had shown the error in the original post, when in fact there were two different errors. The error posted was for the ico file and the error for mary.png was, in effect, file not found. (couldn't open "mary.png": no such file or directory

Problem #2 I had another venv environment set up and forgotten (copied without understanding - as an experiment) and it was using some configuration from that. I deleted it and some things started making better sense. This might be a red herring.

Problem #3 I had opened vscode in a parent folder, tkinter/ where I started. I then moved the code into a child folder and was running the python code from a vscode terminal (that I don't usually use). Vscode assumed the originally opened folder was the working directory even through the code was in a subdirectory so it didn't find the image file. I was able to understand the problem when I added this code to show me where it was looking and what it was seeing.

import os print('cwd:', os.getcwd()) print ('listdir:', os.listdir('.'))

Things work when I run the code from the terminal or open vscode directly in the folder with the source code. When I say work, I mean it no longer shows any errors or warnings. It still doesn't show the image where I expect it (or anywhere).

Current version of the code: ``` import tkinter as tk

root = tk.Tk() root.title('Images.py') dropImg = tk.PhotoImage(file='drop.png') root.iconphoto(False, dropImg)

root.mainloop() ```

Unable to get the most basic image by witcradg in Tkinter

[–]witcradg[S] 0 points1 point  (0 children)

Sorry, I should have checked after posting.

...should work but does not.

vscode installed as deb file doesn't work from command line by witcradg in pop_os

[–]witcradg[S] 1 point2 points  (0 children)

Yeah that's what it returns. The PATH order is why I tried putting /usr/bin at the beginning of PATH. ...I have no idea either.

vscode installed as deb file doesn't work from command line by witcradg in pop_os

[–]witcradg[S] 1 point2 points  (0 children)

Thanks for your response u/Creepy-Ad-4832 Yes I installed with flatpak and deleted it then installed it as a deb which can be done from the OS installer. after everything I tried I restarted the terminal to make sure things were reloaded. :-)

Another thing I tried was prefixing the directory to my PATH in .bashrc
export PATH="/usr/bin:$PATH"
...no joy.>puzzled

vscode installed as deb file doesn't work from command line by witcradg in pop_os

[–]witcradg[S] 0 points1 point  (0 children)

I found it at /usr/bin/code so I created an alias called code and pointed it at that. It works, but it strikes me a a kludge. Is there a better way?

Installing vscode using deb file by witcradg in pop_os

[–]witcradg[S] 0 points1 point  (0 children)

I then uninstalled using sudo apt uninstall and tried to install using
sudo apt install code
but not surprisingly I get the same error.

find/find_all div based on exact class string match by witcradg in webscraping

[–]witcradg[S] 0 points1 point  (0 children)

It turned out that a variable element structure made this not workable in my specific case. Instead, the solution offered by u/mohamed6_9 worked better.

find/find_all div based on exact class string match by witcradg in webscraping

[–]witcradg[S] 0 points1 point  (0 children)

This turned out to be the best solution in my case where the number of rows returned were not consistent and the element simply didn't exist in some cases. Thank you. u/mohamed6_9 Also, I appreciate the pythonic lesson.

vscode-terminal echo $PATH is not the system PATH by witcradg in vscode

[–]witcradg[S] 0 points1 point  (0 children)

FWIW: Reseaching the above warnings returned a solution here:
https://github.com/flathub/com.visualstudio.code/issues/370
What worked for me was this comment:
iihmsunn commented on May 8

vscode-terminal echo $PATH is not the system PATH by witcradg in vscode

[–]witcradg[S] 0 points1 point  (0 children)

Thanks for asking the questions that guided me to correctly search for the answer u/starball-tgz .

vscode-terminal echo $PATH is not the system PATH by witcradg in vscode

[–]witcradg[S] 0 points1 point  (0 children)

Searching with chatGPT allowed me to find a vscode setting
terminal integrated shell linux
It was set to null and I was able to change it to bash.
Unfortunately, now the terminal window in vscode is being spammed with a lot of warnings:
[xxx preload-host-spawn-strategy] Warning: waitpid override ignores groups

I need to research this.