Problem after "export WINEPREFIX="~/.wineSSE_28_2023"

Questions about Wine on Linux
Locked
B. Dietrich
Newbie
Newbie
Posts: 4
Joined: Wed May 15, 2013 1:07 pm

Problem after "export WINEPREFIX="~/.wineSSE_28_2023"

Post by B. Dietrich »

Hi, big problem, because i am not a real linuxer.
I wanted to install german "SteuerSparErklärung", and before I carried out this tip:
export WINEPREFIX="~/.wineSSE_28_2023"
Then, nothing ran anymore. Always such reports as
~$ winecfg
wine: invalid directory ~/.wineSSE_28_2023

or
~$ winetricks -f vcrun2019 crypt32
------------------------------------------------------
warning: Your version of wine is no longer supported upstream. You should upgrade to 5.x
------------------------------------------------------
Executing mkdir -p ~
ls: Zugriff auf '~/.wineSSE_28_2023/drive_c' nicht möglich: Datei oder Verzeichnis nicht gefunden
grep: ~/.wineSSE_28_2023/*.reg: Datei oder Verzeichnis nicht gefunden
------------------------------------------------------
WINEPREFIX INFO:
Drive C:

Registry info:
~/.wineSSE_28_2023/*.reg:
------------------------------------------------------
------------------------------------------------------
warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "wine: invalid directory ~/.wineSSE_28_2023 in WINEPREFIX: not an absolute path"
I erased Wine, and installed again. But same thing.
I looked for a folder called .wineSSE_28_2023 - but I could not find a folder like this. Only .wine
I feel rather helpless :-(
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Problem after "export WINEPREFIX="~/.wineSSE_28_2023"

Post by jkfloris »

If you put the ~ in quotes, it will not be changed to your home directory:

Code: Select all

$ echo ~/.test
/home/floris/.test
$ echo "~/.test"
~/.test

# if you need quotes, use ${HOME}
echo "${HOME}/.test"
/home/floris/.test
This means that the wineprefix is now pointing to a path that does not exist.
Try:

Code: Select all

export WINEPREFIX=~/.wineSSE_28_2023
# or
export WINEPREFIX="${HOME}/.wineSSE_28_2023"
B. Dietrich
Newbie
Newbie
Posts: 4
Joined: Wed May 15, 2013 1:07 pm

Re: Problem after "export WINEPREFIX="~/.wineSSE_28_2023"

Post by B. Dietrich »

Thanks, but I am an old biologist, not a programmer.
You think that i should not have written the quotes ("...")?
That correspondents to an empty Folder with the name ~. Only this wavesign and nothing more. I erased this empty folder, without any positive result.

But how i can solve the problem?
There must be an entry ".wineSSE_28_2023" somewhere in the wineworld of my pc, but I can't find it and delete it.
The other question is, if next time I should try again to make an other prefix, or export something, or simply let the basic setting like it is (Prefix .wine).
B. Dietrich
Newbie
Newbie
Posts: 4
Joined: Wed May 15, 2013 1:07 pm

Re: Problem after "export WINEPREFIX="~/.wineSSE_28_2023"

Post by B. Dietrich »

Actualiziation: Like you proposed I did
export WINEPREFIX=~/.wineSSE_28_2023
and the wine-prefix-problem seems to be solved! Thanks!
Locked