bottlesdevs / Bottles

Run Windows software and games on Linux
https://usebottles.com
GNU General Public License v3.0
6.2k stars 258 forks source link

[Bug]: bottles with new application creation. #3370

Open tower2469 opened 3 months ago

tower2469 commented 3 months ago

Describe the bug

trying to create bottles application and it crashed.

To Reproduce

  1. load bottles flatpack
  2. create application with defaults
  3. crashed while creating

Package

Flatpak from Flathub

Distribution

linux mint 21.3 64bit cinamon

Debugging Information

Official Package: true
Version: '51.11'
DE/WM: cinnamon
Display:
    X.org: true
    X.org (port): :99.0
    Wayland: false
Graphics:
    vendors:
        intel:
            vendor: intel
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.x86_64.json:/usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_hasvk_icd.i686.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 5.15.0-107-generic
Disk:
    Total: 1009037312
    Free: 1008869376
RAM:
    MemTotal: 1.9GiB
    MemAvailable: 822.7MiB
Bottles_envs: null

Troubleshooting Logs

[('/home/USER/.var/app/com.usebottles.bottles/data/bottles/bottles/Itunes/reg72b0000.tmp', '/home/USER/.var/app/com.usebottles.bottles/data/bottles/templates/9bd49718-8116-4460-9f33-f9f0e4448b06/reg72b0000.tmp', "[Errno 2] No such file or directory: '/home/USER/.var/app/com.usebottles.bottles/data/bottles/bottles/Itunes/reg72b0000.tmp'")]  File "/app/share/bottles/bottles/backend/utils/threading.py", line 62, in __target
    result = self.task_func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/share/bottles/bottles/backend/managers/manager.py", line 1487, in create_bottle
    TemplateManager.new(environment, config)

  File "/app/share/bottles/bottles/backend/managers/template.py", line 63, in new
    shutil.copytree(

  File "/usr/lib/python3.11/shutil.py", line 573, in copytree
    return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/lib/python3.11/shutil.py", line 527, in _copytree
    raise Error(errors)

Additional context

No response

JohnTheCoolingFan commented 3 months ago

Does changing the bottle template (selecting Games template, for example) make the problem go away, or is it crashing with the same error?

dangduomg commented 3 months ago

i have the same error too