Code Monkey home page Code Monkey logo

Comments (14)

Leseratte10 avatar Leseratte10 commented on May 24, 2024 2

Unfortunately, that didn't help. I tried both with the latest commit and no other change; and with the latest commit and LC_ALL=C in my environment; same issue.

from wine32-deploy.

Leseratte10 avatar Leseratte10 commented on May 24, 2024 1

I tried using WINEDEBUG=+all which gave me a whole bunch of logs, but unfortunately nothing that helps me fix the issue. I am already using --keep-registry.
As far as I know, the Application doesn't use DirectX.

from wine32-deploy.

sudo-give-me-coffee avatar sudo-give-me-coffee commented on May 24, 2024

Is there any additional debug logging I could activate to find the difference between testing mode and packaging mode?

If you don't minimized yet, you can export the environment variable:

WINEDEBUG=+all

Before running your application

from wine32-deploy.

sudo-give-me-coffee avatar sudo-give-me-coffee commented on May 24, 2024

However you can pass

--keep-registry

When creating AppDir, this probably will solve this issue, example of usage:

./Wine-4.21-x86_64.AppImage create-appdir MyTool --keep-registry

from wine32-deploy.

sudo-give-me-coffee avatar sudo-give-me-coffee commented on May 24, 2024

Also, did your application uses DirectX or any 3D resource?

from wine32-deploy.

sudo-give-me-coffee avatar sudo-give-me-coffee commented on May 24, 2024

Sorry for taking so long to answer, could you please run this and send me the output ?:

export HOME=$(mktemp -d)
unset XDG_CONFIG_HOME
./MyTool-x86_64.AppImage

from wine32-deploy.

Leseratte10 avatar Leseratte10 commented on May 24, 2024

Nothing changed when I do that.

However I noticed something else: When I call "create-bottle" there are the following errors:

$ ./Wine-5.7-x86_64.AppImage create-bottle MyTool
[ 1/6 ] Creating basic structure...
[ 2/6 ] Creating prefix...
Could not find Wine Gecko. HTML rendering will be disabled.
wine: configuration in L"/opt/wine32-deploy/MyTool/prefix" has been updated.
regedit: Die Datei '' wurde nicht gefunden.
regedit: Die Datei '' wurde nicht gefunden.
regedit: Die Datei '' wurde nicht gefunden.
regedit: Die Datei '' wurde nicht gefunden.
regedit: Die Datei '' wurde nicht gefunden.
regedit: Die Datei '' wurde nicht gefunden.
regedit: Die Datei '' wurde nicht gefunden.
[ 3/5 ] Creating a backup of registry...
cp: Aufruf von stat für 'MyTool/prefix/system.reg' nicht möglich: Datei oder Verzeichnis nicht gefunden
[ 4/6 ] Extracting fonts...
[ 5/6 ] Copying KupoFL theme...
[ 6/6 ] All steps is done!

("Die Datei '' wurde nicht gefunden" is german and translates to "file '' not found"). Same for the cp call - "Calling stat on MyTool/prefix/system.reg not possible: File or Directory not found".

Then during the create-appdir there's the following errors:

[ 1/8 ] Creating AppDir...
[ 2/8 ] Copying Wine...
        This will take a while...
[ 3/8 ] Copying bottle...
        This will take a while...
[ 4/8 ] Removing unecessary data...
[ 5/8 ] Getting added keys to registry...
diff: MyTool.AppDir/system.reg.orig: Datei oder Verzeichnis nicht gefunden
rm: das Entfernen von 'MyTool.AppDir/system.reg.orig' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
[ 6/8 ] Deduplicating files...
[ 7/8 ] Creating AppRun...
[ 8/8 ] All AppDir Creation steps is done

"Datei oder Verzeichnis nicht gefunden" = "File or Directory not found"
"das Entfernen von X ist nicht möglich" = "Cannot remove X".

I don't know if these errors might be the reason why the AppImage doesn't work.
When I run the AppImage with the commands you stated, this is the output:

$ ./MyTool-x86_64.AppImage 
wine: failed to update L"\\??\\Z:\\tmp\\tmp.G0X6sYbfej\\.config\\MyTool" with L"\\\\?\\Z:\\tmp\\.mount_MyTool26XYSX\\lib\\..\\bin\\..\\share\\wine\\wine.inf": No such file or directory
regedit: Die Datei '' wurde nicht gefunden.
regedit: Die Datei '' wurde nicht gefunden.
regedit: Die Datei '' wurde nicht gefunden.
regedit: Die Datei '' wurde nicht gefunden.
regedit: Die Datei '' wurde nicht gefunden.
regedit: Die Datei '' wurde nicht gefunden.
regedit: Die Datei '' wurde nicht gefunden.
001b:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
wine: failed to update L"\\??\\Z:\\tmp\\tmp.G0X6sYbfej\\.config\\MyTool" with L"\\\\?\\Z:\\tmp\\.mount_MyTool26XYSX\\lib\\..\\bin\\..\\share\\wine\\wine.inf": No such file or directory
ERROR: ld.so: object '/tmp/.mount_MyTool26XYSX/bin/libhookexecv.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/tmp/.mount_MyTool26XYSX/bin/libhookexecv.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

from wine32-deploy.

sudo-give-me-coffee avatar sudo-give-me-coffee commented on May 24, 2024

Which linux distro you is using?

from wine32-deploy.

Leseratte10 avatar Leseratte10 commented on May 24, 2024

Just tried in my home directory, same error messages, same issue.
I did set the main executable, and I am using Ubuntu 20.04.

from wine32-deploy.

probonopd avatar probonopd commented on May 24, 2024

Just a wild guess, could it make a difference if you set the language environment variables on the command line from German to English before running this tool? Maybe some script has issues with parsing non-English output?

from wine32-deploy.

sudo-give-me-coffee avatar sudo-give-me-coffee commented on May 24, 2024

Well, that's what @probonopd said, the problem is with wine, so the only thing I can do is force English as a language, on AppImage:

export LANG=en.UTF-8

from wine32-deploy.

sudo-give-me-coffee avatar sudo-give-me-coffee commented on May 24, 2024

@Leseratte10 can you test with last commit?

from wine32-deploy.

sudo-give-me-coffee avatar sudo-give-me-coffee commented on May 24, 2024

Can you send me the installer please?

from wine32-deploy.

sudo-give-me-coffee avatar sudo-give-me-coffee commented on May 24, 2024

Closing this because no response was sent

from wine32-deploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.