Gcenx / WineskinServer

Wineskin
GNU Lesser General Public License v2.1
2.4k stars 167 forks source link

"error while listing folder contents: dosdevices doesn't exist" #558

Closed SnailPerson closed 3 months ago

SnailPerson commented 3 months ago

Environment (please complete the following information):

Describe the bug

After installing wineskin winery via homebrew, i download the latest engine version and updated/installed wineskin 3.0 wrapper. When creating a new blank wrapper, an error pops up (twice) that says: "error while listing folder contents: dosdevices doesn't exist". Pressing OK finishes the wrapper creation. Setting up winetricks is pretty smooth until i try to run my selected winetricks (steam, dxvk, d3dcompiler_47). After hitting "run", the log returns: `warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "" ` and another "error while listing folder contents: dosdevices doesn't exist" pops up. Nothing is downloaded. **To Reproduce** 1. Install Wineskin Winery 2. Select and install WS12WineCX64Bit23.7.1-1 engine 3. Update Wrapper to Wineskin 3.0 4. Create a new blank wrapper 5. get error, press OK, let wrapper creation finish 6. open wrapper 7. go to advanced>winetricks 8. select "steam", "dxvk", "d3dcompiler_47" in winetricks 9. hit run 10. get second error **Expected behavior** error-free wrapper and winetricks creation. And some not-missing "dosdevices"... **Screenshots**

LastRunWine.log

There is no log because nothing can be run because nothing can be installed properly because "dosdevices" doesn't exist. Pressing "Test Run" after the failed Winetricks-installation attempts returns no log. **Additional context**

Incorrectly filled out issues will be close without notice!

Gcenx commented 3 months ago

That error occurs when wineboot fails.

Your also running a min older macOS Monterey patch, I’d recommend firstly upgrading and don’t have any other wine based things running when creating a new wrapper.

SnailPerson commented 3 months ago

The odd thing here is that wineskin used to work perfectly fine on my machine up until yesterday. I tried to run my bootleg steam via wineskin but the program wouldn't open. I did a test run and got: '/usr/lib/libinotify.0.dylib' (no such file) & userdef.reg:4: Mismatched architecture '#arch=win64' in the test run logs. I assumed that build was corrupted so i opted to go with a fresh install. Since then, i have the issue i described in this bug report.

Gcenx commented 3 months ago

Sounds like your master wrapper is corrupted somehow as I've just cleanly downloaded it again on my system and Wineskin-3.0 does indeed include libinotify.0.dylib

SnailPerson commented 3 months ago

Well that build is gone anyways, so my current issue is the missing dosdevices thing...

Gcenx commented 3 months ago

I mean trash ~/Application Support/Wineskin/Wrapper as the downloaded master wrapper seems to be corrupted on your end as the file it claims is missing isn’t when I’d freshen downloaded the wrapper a few minutes ago.

SnailPerson commented 3 months ago

im going to do a fresh install again, here's how it went.

  1. running command brew uninstall --force --zap wineskin

  2. checking ~/Library/Application Support/Wineskin and dragging the folder into trash

  3. checking applications for wineskin winery and trashing it

  4. selecting all related files and perma-deleting them within trash

  5. running brew install --cask --no-quarantine gcenx/wine/wineskin

  6. opening wineskin winery

  7. install/update wrapper 3.0

  8. install WS12WineCX64Bit23.7.1-1 engine

  9. Creating a new blank wrapper

  10. waited 2 minutes, got the same error again

Bildschirmfoto 2024-03-25 um 21 23 21
  1. Wrapper now exists, but i cannot install any winetricks. If i do, installation cancels with warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "" in log
Gcenx commented 3 months ago

Might need to also check or stray wine processes just to be sure there all gone so they won’t interfere with the newly launch ones.

If that still doesn’t work try brew install gcenx/wine/libinotify-kqueue though that shouldn’t be required as the wrapper includes that dylib.

SnailPerson commented 3 months ago

Activity-monitor doesn't detect anything related to wine... i pasted the command, then tried to create a wrapper. Same issue. I completely deleted wineskin again, should i input that command after or before installing?

Gcenx commented 3 months ago

It came be before or after, the only thing that matters is it’s installed before trying to generate a wrapper again.

Just make sure there’s no stray wine processes like before.

SnailPerson commented 3 months ago

okay

  1. reinstalled wineskin
  2. reinstalled / ran brew install gcenx/wine/libinotify-kqueue
  3. opened wineskin winery
  4. installed wrapper 3.0
  5. intalled 23.7.1.1-1
  6. started creating a new blank wrapper
  7. 5-6 min later nope, the only programs that are running post wrapper Bildschirmfoto 2024-03-25 um 22 20 02
Bildschirmfoto 2024-03-25 um 22 22 19

ill quit navy and crate another wrapper

SnailPerson commented 3 months ago

programs during wrapper creation

Bildschirmfoto 2024-03-25 um 22 28 21

And right before finishing, navy returns. After that another dosdevices error

idk if it helps but i always get the error twice

emendelson commented 3 months ago

Works perfectly here - M2 Mac, Sonoma 14.4.1.

SnailPerson commented 3 months ago

when configuring winetricks, it still screams dosdevices at me. Ive already restarted the device before so that's a dead end also... i have also already reinstalled homebrew

SnailPerson commented 3 months ago

Works perfectly here - M2 Mac, Sonoma 14.4.1.

2017 intel mac, Monterey 12.2.1

SnailPerson commented 3 months ago

oh hey when building winetricks i get a different error this time.

warning: Your version of wine  is no longer supported upstream. You should upgrade to 8.x
warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message 
"/Users/USERNAME/Applications/Wineskin/BootlegSteam.app/Contents/Wineskin.app/Contents/Resources/wine: line 45: /Users/USERNAME/Applications/Wineskin/BootlegSteam.app/Contents/Wineskin.app/Contents/Resources/../../../SharedSupport/wine/bin/wine64: cannot execute binary file
/Users/USERNAME/Applications/Wineskin/BootlegSteam.app/Contents/Wineskin.app/Contents/Resources/wine: line 45: /Users/USERNAME/Applications/Wineskin/BootlegSteam.app/Contents/Wineskin.app/Contents/Resources/../../../SharedSupport/wine/bin/wine64: Undefined error: 0" 
emendelson commented 3 months ago

Tested on a 2015 Intel MacBook Pro running Monterey 12.7.2; worked perfectly. Performed exactly the same steps you performed, created a new wrapper, ran Winetricks to add some apps and fonts. All worked perfectly.

Maybe you should update Monterey from 12.2.1 to 12.7.2??

EDIT: After running this test, I saw that 12.7.3 is available. Will update now. Certainly worth trying on your machine.

EDIT AGAIN: Works perfectly under 12.7.3. Exact same procedure that you described.

SnailPerson commented 3 months ago

So i updated my software to MacOS Ventura 13.6.6 and now stuff seems to be working again. Just took two days of it pain and one corrupted harddrive later, but now i can enjoy bootleg steam again. Thanks for the support!