Skip to content

Buildozer attempts to download kivy from invalid url #1320

Closed

Description

@nusli

Versions

  • Python: 3.7
  • OS: MacOS 11.2.1
  • Buildozer: 1.2.0

Description

I tried to run buildozer to package my app. However i noticed that inside the osx.py file it tries to download kivy if there is no Kivy.app present. For me the url from line 49 evaluated to "https://kivy.org/downloads/2.0.0/Kivy-2.0.0-osx-python3.dmg". Pasted into the browser i got a 404 error.

buildozer.spec

Command:

buildozer osx debug

Spec file:

[app]

# (str) Title of your application
title = Parcoursplaner

# (str) Package name
package.name = Parcoursplaner

# (str) Package domain (needed for android/ios packaging)
package.domain = parcoursplaner

# (str) Source code where the main.py live
source.dir = ./parcoursplaner

# (list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas

# (str) Application versioning (method 1)
version = 0.0.1

# (list) Application requirements
# comma separated e.g. requirements = sqlite3,kivy
requirements = python3,kivy

# (str) Supported orientation (one of landscape, sensorLandscape, portrait or all)
orientation = landscape

#
# OSX Specific

# change the major version of python used by the app
osx.python_version = 3

# Kivy version to use
osx.kivy_version = 2.0.0

[buildozer]

# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
log_level = 2

# (int) Display warning if buildozer is run as root (0 = False, 1 = True)
warn_on_root = 1


Activity

  1. tshirtman commented on May 2, 2021

    @tshirtman
    Member

    indeed, seems like it is https://kivy.org/downloads/2.0.0/Kivy.dmg instead

  2. drernie commented on Jan 12, 2023

    @drernie

    A possibly related issue, where it seems to be downloading an invalid Kivy.app disk image

    % poetry run buildozer --version
    # Check configuration tokens
    Buildozer 1.4.0
    
    # check if Kivy.app exists in local dir
    # Extracting and installing Kivy...
    hdiutil: attach failed - image not recognized
    

    I can reproduce it with % hdiutil attach ./.buildozer/osx/platform/kivy-sdk-packager-master/osx/Kivy3.dmg

    This is on macOS 13.1 (22C65
    Darwin redemption.lan 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:08:47 PST 2022; root:xnu-8792.61.2~4/RELEASE_X86_64 x86_64

  3. AndreMiras commented on Oct 23, 2026

    @AndreMiras
    Member

    Thanks for the report, this was likely fixed via 6f86e38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions