Button texts are not showing up

67 views
Skip to first unread message

Electronic Part

unread,
Nov 25, 2019, 3:31:54 AM11/25/19
to Kivy users support
Hello
I know this is a wierd question .. I did not understand how to solve it. Here is my question . I would thanksful if you you help me.
My Button texts are not showing

class PersianLoginWindow(Screen):
user1 = ObjectProperty(None)
password1 = ObjectProperty(None)
password1_label = ObjectProperty(None)
user1_label = ObjectProperty(None)
login_button1 = ObjectProperty(None)

def __init__(self, **kwargs):
super(PersianLoginWindow, self).__init__(**kwargs)
and .kv file

<PersianLoginWindow>:
name: "PersianLogin"
font_name: 'data/fonts/DejaVuSans.ttf'
user1:user1
password1:password1
password1_label:password1_label
user1_label:user1_label
login_button1:login_button1

FloatLayout:

canvas.before:
Color:
rgba: 1, 1, 1, 1
Rectangle:
# self here refers to the widget i.e BoxLayout
pos: self.pos
size: self.size
FloatLayout:
pos_hint: {"x":0.225, "y":0.225}
size_hint: 0.55, 0.55
canvas.before:
Color:
rgba: .9, .9, .9, 1
RoundedRectangle:
pos: self.pos
size: self.size
radius: [10,]
#Rectangle:
# self here refers to the widget i.e BoxLayout
#pos: self.pos
#size: self.size
FloatLayout:
pos_hint: {"x":0.25, "y":0.25}
size_hint: 0.5, 0.5
canvas.before:
Color:
rgba: .7, .7, .7, 1
#Rectangle:
# self here refers to the widget i.e BoxLayout
#pos: self.pos
#size: self.size
RoundedRectangle:
pos: self.pos
size: self.size
radius: [10,]

TextInput:
keyboard_suggestions: True
suggestion_text: "admin"
#background_color:0.6,0.4,0.5,1
#cursor_blink:True,
#background_color:1,1,1,1
#background_color: 0, 0, 0, 0
text:''
#cursor_color: 1, 1, 1, 1
#foreground_color: 1, 1, 1, 1
id: user1
#font_size: (root.width**2 + root.height**2) / 13**4.3
font_size: 10
multiline: False
pos_hint: {"x": 0.425 , "y":0.625}
size_hint: 0.3, 0.075

Label:
#text:get_display("User: ")
text: get_display(arabic_reshaper.reshape('نام کاربری'))
color: 0,0,0,1 # <-----------
canvas.before:
Color:
rgba: .7, .7, .7, 1
Rectangle:
pos: self.pos
size: self.size
font_name: 'fonts/DejaVuSans.ttf'
#font_name: 'fonts/DejaVuSans.ttf'

#time.sleep( .5 )
text: get_display(arabic_reshaper.reshape('نام کاربری'))
#text:"نام کاربری "
#text: get_display(arabic_reshaper.reshape(u'نام'))

id:user1_label
#importlib.reload(user1_label)
#self.user1_label.pos_hint= {"x":0.725, "y":0.525}
#font_size: (root.width**2 + root.height**2) / 13**4.3
font_size: 14
pos_hint: {"x":0.725, "y":0.625}
size_hint: 0.25, 0.1
Label:
#text:"Password: "
color: 0,0,0,1 # <-----------
canvas.before:
Color:
rgba: .7, .7, .7, 1
Rectangle:
pos: self.pos
size: self.size
font_name: 'fonts/DejaVuSans.ttf'
text: get_display(arabic_reshaper.reshape('رمز عبور'))

#text:"رمز عبور "
#font_name: 'data/fonts/DejaVuSans.ttf'
#font_name: "font/arial"
id:password1_label
#sys.stdout.buffer.write(text.encode("utf-8"))
#font_size: (root.width**2 + root.height**2) / 13**4.3
font_size: 14
#self.password1_label.pos_hint= {"x":0.725, "y":0.425}
pos_hint: {"x":0.725, "y":0.525}
size_hint: 0.25, 0.1


TextInput:
id: password1
#background_color: 0.6,0.4,0.5,1
cursor_blink:True
# background_color:1,1,1,1
#background_color: 0, 0, 0, 0
foreground_color: (1, 0, 0, 1)
#hint_text:'Placeholder'
#color: 1, 1, 1, 1
#cursor_color: 1, 0, 0, 1
font_size: 10
multiline: False
pos_hint: {"x": 0.425 , "y":0.525}
size_hint: 0.3, 0.075
password: True

SmoothButton:


#background_color: 1, 1, 0, 1
color: 1,0,1,1 # <-----------
canvas.before:
Color:
rgba: .7, .7, .7, 1
Rectangle:
pos: self.pos
size: self.size
Color:
rgba: .7, .7, .7, 1
font_color: 1,0,1,1
id:login_button1
#self.login_button1.pos_hint= {"x":0.11, "y":0.6}
pos_hint:{"x":0.55, "y":0.4}
size_hint: 0.2, 0.1
#font_size: (root.width**2 + root.height**2) / 13**4.3
font_size: 12
#text: "Login"
font_name: 'fonts/DejaVuSans.ttf'
text: get_display(arabic_reshaper.reshape('ورود'))
on_release:

app.root.current = "pannel_table" if root.loginBtn() else "PersianLogin"
root.manager.transition.direction = "up"

SmoothButton:
color: 0,0,0,1
id:farsi_button
pos_hint:{"x":0,"y":0.9}
size_hint: 0.2, 0.1
#font_size: (root.width**2 + root.height**2) / 13**4.3
font_size: 12
#text: "Farsi"
font_name: 'fonts/DejaVuSans.ttf'
text: get_display(arabic_reshaper.reshape('فارسی'))
on_release:
#root.show_farsi_text()
root.manager.transition.direction = "right"
app.root.current = "PersianLogin"
root.change_default_lang_db("Persian")
Button:
id:Engilsh_button
pos_hint:{"x":0.2,"y":0.9}
size_hint: 0.2, 0.1
#font_size: (root.width**2 + root.height**2) / 13**4.3
font_size: 12
#text: "ٍEnglish"
font_name: 'fonts/DejaVuSans.ttf'
text: get_display(arabic_reshaper.reshape('English'))
on_release:
#root.show_farsi_text()
root.manager.transition.direction = "left"
app.root.current = "login"
root.change_default_lang_db("English")
Button:
id:Arabic_button
pos_hint:{"x":0.4,"y":0.9}
size_hint: 0.2, 0.1
#font_size: (root.width**2 + root.height**2) / 13**4.3
font_size: 12
#text: "ٍEnglish"
font_name: 'fonts/DejaVuSans.ttf'
text: get_display(arabic_reshaper.reshape('العربية'))
#background_color:0.6,0.4,0.5,1
#border: 30,30,30,30


on_release:
#root.show_farsi_text()
root.manager.transition.direction = "down"
app.root.current = "ArabicLogin"
root.change_default_lang_db("Arabic")

#text:'Multi\nLine'
multiline:True
#text:"رمز عبور "
#font_name: 'data/fonts/DejaVuSans.ttf'
#font_name: "font/arial"
id:website_label
#sys.stdout.buffer.write(text.encode("utf-8"))
#font_size: (root.width**2 + root.height**2) / 13**4.3
font_size: 14
#self.password1_label.pos_hint= {"x":0.725, "y":0.425}

pos_hint:{"x":0.5071428571428571, "y":0.3}
size_hint: 0.35, 0.1



Here is my output. As you see no text for buttons

login.PNG

Robert Flatt

unread,
Nov 25, 2019, 3:49:53 AM11/25/19
to Kivy users support
Please create a small runnable example.

Electronic Part

unread,
Nov 25, 2019, 5:06:55 AM11/25/19
to Kivy users support
my python


dirpath = (pathlib.PureWindowsPath(dirpath)).as_posix()
current_folder_path, current_folder_name = os.path.split(os.getcwd())

class PersianLoginWindow():

user1 = ObjectProperty(None)
password1 = ObjectProperty(None)
password1_label = ObjectProperty(None)
user1_label = ObjectProperty(None)
login_button1 = ObjectProperty(None)

def __init__(self, **kwargs):
super(PersianLoginWindow, self).__init__(**kwargs)
with open(dirpath+"/test.kv", encoding='utf-8') as f:  # Note the name of the .kv


kv = Builder.load_string(f.read())

class MyMainApp(App):
def build(self):
return kv

my_app = MyMainApp()
if __name__ == "__main__":
my_app = MyMainApp()
my_app.run()




<PersianLoginWindow>:

user1:user1
password1:password1
password1_label:password1_label
user1_label:user1_label
login_button1:login_button1
FloatLayout:

canvas.before:
Color:
rgba: 1, 1, 1, 1
Rectangle:
# self here refers to the widget i.e BoxLayout
pos: self.pos
size: self.size
FloatLayout:
pos_hint: {"x":0.225, "y":0.225}
size_hint: 0.55, 0.55
canvas.before:
Color:
rgba: .9, .9, .9, 1
RoundedRectangle:
pos: self.pos
size: self.size
radius: [10,]

            text: get_display(arabic_reshaper.reshape('نام کاربری'))
color: 0,0,0,1 # <-----------
canvas.before:
Color:
rgba: .7, .7, .7, 1
Rectangle:
pos: self.pos
size: self.size
font_name: 'fonts/DejaVuSans.ttf'
text: get_display(arabic_reshaper.reshape('نام کاربری'))

            id:user1_label
            cursor_blink:True
# background_color:1,1,1,1
            foreground_color: (1, 0, 0, 1)
            font_size: 10
multiline: False
pos_hint: {"x": 0.425 , "y":0.525}
size_hint: 0.3, 0.075
password: True

        Button:


#background_color: 1, 1, 0, 1
color: 1,0,1,1 # <-----------
canvas.before:
Color:
rgba: .7, .7, .7, 1
Rectangle:
pos: self.pos
size: self.size
Color:
rgba: .7, .7, .7, 1
font_color: 1,0,1,1
id:login_button1
            pos_hint:{"x":0.55, "y":0.4}
size_hint: 0.2, 0.1
            font_size: 12

font_name: 'fonts/DejaVuSans.ttf'
text: get_display(arabic_reshaper.reshape('ورود'))
on_release:

app.root.current = "pannel_table" if root.loginBtn() else "PersianLogin"
root.manager.transition.direction = "up"

        Button:
color: 0,0,0,1
id:farsi_button
pos_hint:{"x":0,"y":0.9}
size_hint: 0.2, 0.1
#font_size: (root.width**2 + root.height**2) / 13**4.3
font_size: 12
#text: "Farsi"
font_name: 'fonts/DejaVuSans.ttf'
text: get_display(arabic_reshaper.reshape('فارسی'))

        Button:
id:Engilsh_button
pos_hint:{"x":0.2,"y":0.9}
size_hint: 0.2, 0.1
#font_size: (root.width**2 + root.height**2) / 13**4.3
font_size: 12
            font_name: 'fonts/DejaVuSans.ttf'
text: get_display(arabic_reshaper.reshape('English'))

        Button:
id:Arabic_button
pos_hint:{"x":0.4,"y":0.9}
size_hint: 0.2, 0.1
#font_size: (root.width**2 + root.height**2) / 13**4.3
font_size: 12
#text: "ٍEnglish"
font_name: 'fonts/DejaVuSans.ttf'
text: get_display(arabic_reshaper.reshape('العربية'))
#background_color:0.6,0.4,0.5,1
#border: 30,30,30,30

.kv

<PersianLoginWindow>:

user1:user1
password1:password1
password1_label:password1_label
user1_label:user1_label
login_button1:login_button1
FloatLayout:

canvas.before:
Color:
rgba: 1, 1, 1, 1
Rectangle:
# self here refers to the widget i.e BoxLayout
pos: self.pos
size: self.size
FloatLayout:
pos_hint: {"x":0.225, "y":0.225}
size_hint: 0.55, 0.55
canvas.before:
Color:
rgba: .9, .9, .9, 1
RoundedRectangle:
pos: self.pos
size: self.size
radius: [10,]

            text: get_display(arabic_reshaper.reshape('نام کاربری'))
color: 0,0,0,1 # <-----------
canvas.before:
Color:
rgba: .7, .7, .7, 1
Rectangle:
pos: self.pos
size: self.size
font_name: 'fonts/DejaVuSans.ttf'
text: get_display(arabic_reshaper.reshape('نام کاربری'))

            id:user1_label
            cursor_blink:True
# background_color:1,1,1,1
            foreground_color: (1, 0, 0, 1)
            font_size: 10
multiline: False
pos_hint: {"x": 0.425 , "y":0.525}
size_hint: 0.3, 0.075
password: True

        Button:


#background_color: 1, 1, 0, 1
color: 1,0,1,1 # <-----------
canvas.before:
Color:
rgba: .7, .7, .7, 1
Rectangle:
pos: self.pos
size: self.size
Color:
rgba: .7, .7, .7, 1
font_color: 1,0,1,1
id:login_button1
            pos_hint:{"x":0.55, "y":0.4}
size_hint: 0.2, 0.1
            font_size: 12

font_name: 'fonts/DejaVuSans.ttf'
text: get_display(arabic_reshaper.reshape('ورود'))
on_release:

app.root.current = "pannel_table" if root.loginBtn() else "PersianLogin"
root.manager.transition.direction = "up"

        Button:
color: 0,0,0,1
id:farsi_button
pos_hint:{"x":0,"y":0.9}
size_hint: 0.2, 0.1
#font_size: (root.width**2 + root.height**2) / 13**4.3
font_size: 12
#text: "Farsi"
font_name: 'fonts/DejaVuSans.ttf'
text: get_display(arabic_reshaper.reshape('فارسی'))

        Button:
id:Engilsh_button
pos_hint:{"x":0.2,"y":0.9}
size_hint: 0.2, 0.1
#font_size: (root.width**2 + root.height**2) / 13**4.3
font_size: 12
            font_name: 'fonts/DejaVuSans.ttf'
text: get_display(arabic_reshaper.reshape('English'))

Elliot Garbus

unread,
Nov 25, 2019, 12:24:10 PM11/25/19
to kivy-...@googlegroups.com

This is not a runnable example.

Imports are missing, get_display is not defined.

 

I suggest you build a trivial app, just one button that uses the get_display() function and see if it is working.  Does get_display() return a string?  It would need to have text show up on the buttons.

 

text: get_display(arabic_reshaper.reshape('نام کاربری'))

Looking at the doc for bidi.get_display, if the encoding is not specified it defaults to utf-8, that could be part of the problem.

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/412c4f9c-f773-48e1-a27a-9925b1985ae3%40googlegroups.com.

 

Robert Flatt

unread,
Nov 25, 2019, 12:24:37 PM11/25/19
to Kivy users support
Please create a small runnable example.
Small means the minimum required to illustrate the issue (usually an issue can be demonstrated in perhaps 20 lines).
Runnable means code attached as one or two files (not pasted) that is complete, executes, and demonstrates the issue.

Electronic Part

unread,
Nov 26, 2019, 12:03:41 AM11/26/19
to Kivy users support
I will creat an example and send it to you soon. Thanks for your contribution 

Electronic Part

unread,
Nov 26, 2019, 12:31:03 AM11/26/19
to Kivy users support
This is an examole 
test.zip

Elliot Garbus

unread,
Nov 26, 2019, 12:10:49 PM11/26/19
to kivy-...@googlegroups.com

This is what a minimum example looks like.  I was able to pip install both Arabic reshaper and python-bidi.

 

Python:

from kivy.app import App
from kivy.lang import Builder

with open('test2.kv', encoding='utf-8', errors='ignore') as f:
    kv = f.read()
   
print(kv)


class MyMainApp(App):
   
def build(self):
       
return Builder.load_string(kv)


if __name__ == "__main__":
    MyMainApp().run()

 

test2.kv:

 

#:import get_display bidi.algorithm.get_display
#:import arabic_reshaper arabic_reshaper

BoxLayout:
   
Button:
       
font_size: 12
       
font_name: 'fonts/DejaVuSans.ttf'
       
text: get_display(arabic_reshaper.reshape('English'))

   
Button:
       
font_size: 12
       
font_name: 'fonts/DejaVuSans.ttf'
       
text: get_display(arabic_reshaper.reshape('فارسی'))

   
Button:
       
text: 'Default Button'

Text shows up on the button, but I don’t know if this is correct.
 
 

 

 

 

 

 

From: Electronic Part
Sent: Monday, November 25, 2019 10:31 PM
To: Kivy users support

Subject: [kivy-users] Re: Button texts are not showing up

 

This is an examole 

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.

elec part

unread,
Nov 27, 2019, 12:12:58 AM11/27/19
to kivy-...@googlegroups.com
Thanks. I executed your code.Again texts are not being shown .I don't understand. Do you think anything is wrong with my system?

Elliot Garbus

unread,
Nov 27, 2019, 12:42:12 AM11/27/19
to kivy-...@googlegroups.com

Can you see any text or just not the Arabic?

 

I did a pip install of Arabic_reshaper, I did not use the included in the zip.  

On my system I had to open the kivy file with errors=’ignore’, or I would get a Unicode exception.

with open('test2.kv', encoding='utf-8', errors='ignore') as f:

 

You might want to check that things are working as you expect without kivy.  I ran this code to test my installs:


import arabic_reshaper
from bidi.algorithm import get_display


r = arabic_reshaper.reshape(
'فارسی')
print(r)
b = get_display(r)
print(b)
cid:16eab30dfc7cea4bd201
 
 

 

 

 

 

 

From: Electronic Part
Sent: Monday, November 25, 2019 10:31 PM
To: Kivy users support
Subject: [kivy-users] Re: Button texts are not showing up

 

This is an examole 

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/57fa779b-92ba-4edc-83f7-b01608757e09%40googlegroups.com.

 

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/5ddd5c91.1c69fb81.5820.73f0SMTPIN_ADDED_MISSING%40gmr-mx.google.com.

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.

elec part

unread,
Nov 27, 2019, 12:56:18 AM11/27/19
to kivy-...@googlegroups.com
I can not see any of texts even if i don't use arabic reshaper  and get_display.

elec part

unread,
Nov 27, 2019, 12:59:16 AM11/27/19
to kivy-...@googlegroups.com
I ran your code. I know installation is true. As i said it don't work for buttons for some unknown reason.

Robert Flatt

unread,
Nov 27, 2019, 2:09:22 AM11/27/19
to Kivy users support
I might have said this before ;)  but show us the smallest example that demonstrates the issue for you.
By the sound of it it will be smaller than Elliot's example, and not using arabic reshaper or get_display.

Also it would help to know what does work.
Does "Hello World"  (the first example in https://kivy.org/doc/stable/guide/basic.html ) work?
Does Elliot's button that uses the default font work ?

I don't often like screen shots, but a screen shot of what you actually see might help us.
It may seem to you that we have been told all these things, but we ask because we did not hear clearly.

What you report is very unusual, but hopefully it will not remain unknown.

To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.

To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.

To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.

elec part

unread,
Nov 27, 2019, 2:18:15 AM11/27/19
to kivy-...@googlegroups.com
This is the screenshot of what i got. As you see, no text

image.png

To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/091db08c-266d-4c5d-a5ab-0b0a29534a10%40googlegroups.com.

Robert Flatt

unread,
Nov 27, 2019, 2:31:51 AM11/27/19
to Kivy users support
Thank you. That is strange.

What was the .kv for that image?

Does Hello World display text?

elec part

unread,
Nov 27, 2019, 2:42:16 AM11/27/19
to kivy-...@googlegroups.com
Here is my code. I know that is strange. I want to know if there is anything in kivy that helps me. I might forgot to install some dependencies. I used anaconda  for kivy installation

To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/77e6bbea-bf59-468e-81f0-7927c251b281%40googlegroups.com.
test.zip

elec part

unread,
Nov 27, 2019, 2:44:52 AM11/27/19
to kivy-...@googlegroups.com
Here is all the package which i install by anaconda (conda list command)


# Name                    Version                   Build  Channel
_anaconda_depends         2019.03                  py37_0
alabaster                 0.7.12                   py37_0
anaconda                  custom                   py37_1
anaconda-client           1.7.2                    py37_0
anaconda-project          0.8.4                      py_0
asn1crypto                1.2.0                    py37_0
astroid                   2.3.2                    py37_0
astropy                   3.2.3            py37he774522_0
atomicwrites              1.3.0                    py37_1
attrs                     19.3.0                     py_0
babel                     2.7.0                      py_0
backcall                  0.1.0                    py37_0
backports                 1.0                        py_2
backports.os              0.1.1                    py37_0
backports.shutil_get_terminal_size 1.0.0                    py37_2
beautifulsoup4            4.8.1                    py37_0
bitarray                  1.0.1            py37he774522_0
bkcharts                  0.2                      py37_0
blas                      1.0                         mkl
bleach                    3.1.0                    py37_0
blosc                     1.16.3               h7bd577a_0
bokeh                     1.4.0                    py37_0
boto                      2.49.0                   py37_0
bottleneck                1.2.1            py37h452e1ab_1
bzip2                     1.0.8                he774522_0
ca-certificates           2019.9.11            hecc5488_0    conda-forge
certifi                   2019.9.11                py37_0    conda-forge
cffi                      1.13.2           py37h7a1dbc1_0
chardet                   3.0.4                 py37_1003
click                     7.0                      py37_0
cloudpickle               1.2.2                      py_0
clyent                    1.2.2                    py37_1
colorama                  0.4.1                    py37_0
comtypes                  1.1.7                    py37_0
console_shortcut          0.1.1                         3
contextlib2               0.6.0                      py_0
cryptography              2.8              py37h7a1dbc1_0
curl                      7.65.3               h2a8f88b_0
cycler                    0.10.0                   py37_0
cython                    0.29.13          py37ha925a31_0
cytoolz                   0.10.0           py37he774522_0
dask                      2.8.0                      py_1
dask-core                 2.8.0                      py_0
decorator                 4.4.1                      py_0
defusedxml                0.6.0                      py_0
distributed               2.8.0                      py_1
docutils                  0.15.2                   py37_0
entrypoints               0.3                      py37_0
et_xmlfile                1.0.1                    py37_0
fastcache                 1.1.0            py37he774522_0
filelock                  3.0.12                     py_0
flask                     1.1.1                      py_0
freetype                  2.9.1                ha9979f8_1
fsspec                    0.6.0                      py_0
get_terminal_size         1.0.0                h38e98db_0
gevent                    1.4.0            py37he774522_0
glew                      2.0.0             he025d50_1003    conda-forge
glob2                     0.7                        py_0
greenlet                  0.4.15           py37hfa6e2cd_0
h5py                      2.9.0            py37h5e291fa_0
hdf5                      1.10.4               h7ebc959_0
heapdict                  1.0.1                      py_0
html5lib                  1.0.1                    py37_0
icc_rt                    2019.0.0             h0cc432a_1
icu                       64.2                 he025d50_1    conda-forge
idna                      2.8                      py37_0
imageio                   2.6.1                    py37_0
imagesize                 1.1.0                    py37_0
importlib_metadata        0.23                     py37_0
intel-openmp              2019.4                      245
ipykernel                 5.1.3            py37h39e3cac_0
ipython                   7.9.0            py37h39e3cac_0
ipython_genutils          0.2.0                    py37_0
ipywidgets                7.5.1                      py_0
isort                     4.3.21                   py37_0
itsdangerous              1.1.0                    py37_0
jdcal                     1.4.1                      py_0
jedi                      0.15.1                   py37_0
jinja2                    2.10.3                     py_0
joblib                    0.14.0                     py_0
jpeg                      9c                hfa6e2cd_1001    conda-forge
json5                     0.8.5                      py_0
jsonschema                3.1.1                    py37_0
jupyter                   1.0.0                    py37_7
jupyter_client            5.3.4                    py37_0
jupyter_console           6.0.0                    py37_0
jupyter_core              4.6.1                    py37_0
jupyterlab                1.1.4              pyhf63ae98_0
jupyterlab_server         1.0.6                      py_0
keyring                   18.0.0                   py37_0
kivy                      1.10.1           py37hbc14df2_2    conda-forge
kivy-deps-glew            0.1.12                   pypi_0    pypi
kivy-deps-gstreamer       0.1.17                   pypi_0    pypi
kivy-deps-sdl2            0.1.22                   pypi_0    pypi
kiwisolver                1.1.0            py37ha925a31_0
krb5                      1.16.1               hc04afaa_7
lazy-object-proxy         1.4.3            py37he774522_0
libarchive                3.3.3                h0643e63_5
libblas                   3.8.0                    14_mkl    conda-forge
libcblas                  3.8.0                    14_mkl    conda-forge
libclang                  9.0.0           default_hf44288c_4    conda-forge
libcurl                   7.65.3               h2a8f88b_0
libiconv                  1.15                 h1df5818_7
liblapack                 3.8.0                    14_mkl    conda-forge
liblapacke                3.8.0                    14_mkl    conda-forge
liblief                   0.9.0                ha925a31_2
libopencv                 4.1.2                h7e61296_0    conda-forge
libpng                    1.6.37               h2a8f88b_0
libsodium                 1.0.16               h9d3ae62_0
libssh2                   1.8.2                h7a1dbc1_0
libtiff                   4.1.0                h56a325e_0
libwebp                   1.0.2                hfa6e2cd_3    conda-forge
libxml2                   2.9.9                h464c3ec_0
libxslt                   1.1.33               h579f668_0
llvmlite                  0.30.0           py37ha925a31_0
locket                    0.2.0                    py37_1
lxml                      4.4.1            py37h1350720_0
lz4-c                     1.8.1.2              h2fa13f4_0
lzo                       2.10                 h6df0209_2
m2w64-gcc-libgfortran     5.3.0                         6
m2w64-gcc-libs            5.3.0                         7
m2w64-gcc-libs-core       5.3.0                         7
m2w64-gmp                 6.1.0                         2
m2w64-libwinpthread-git   5.0.0.4634.697f757               2
markupsafe                1.1.1            py37he774522_0
matplotlib                3.1.2                    py37_1    conda-forge
matplotlib-base           3.1.2            py37h2981e6d_1    conda-forge
mccabe                    0.6.1                    py37_1
menuinst                  1.4.16           py37he774522_0
mistune                   0.8.4            py37he774522_0
mkl                       2019.4                      245
mkl-service               2.3.0            py37hb782905_0
mkl_fft                   1.0.15           py37h14836fe_0
mkl_random                1.1.0            py37h675688f_0
mock                      3.0.5                    py37_0
more-itertools            7.2.0                    py37_0
mpmath                    1.1.0                    py37_0
msgpack-python            0.6.1            py37h74a9793_1
msys2-conda-epoch         20160418                      1
multipledispatch          0.6.0                    py37_0
nbconvert                 5.6.1                    py37_0
nbformat                  4.4.0                    py37_0
networkx                  2.4                        py_0
nltk                      3.4.5                    py37_0
nose                      1.3.7                    py37_2
notebook                  6.0.2                    py37_0
numba                     0.46.0           py37hf9181ef_0
numexpr                   2.7.0            py37hdce8814_0
numpy                     1.17.3           py37h4ceb530_0
numpy-base                1.17.3           py37hc3f5095_0
numpydoc                  0.9.1                      py_0
olefile                   0.46                     py37_0
opencv                    4.1.2                         0    conda-forge
openpyxl                  3.0.0                      py_0
openssl                   1.1.1d               hfa6e2cd_0    conda-forge
packaging                 19.2                       py_0
pandas                    0.25.2           py37ha925a31_0
pandoc                    2.2.3.2                       0
pandocfilters             1.4.2                    py37_1
parso                     0.5.1                      py_0
partd                     1.0.0                      py_0
path.py                   12.0.1                     py_0
pathlib2                  2.3.5                    py37_0
patsy                     0.5.1                    py37_0
pep8                      1.7.1                    py37_0
pickleshare               0.7.5                    py37_0
pillow                    6.2.1            py37hdc69c19_0
pip                       19.3.1                   py37_0
pkginfo                   1.5.0.1                  py37_0
pluggy                    0.13.0                   py37_0
ply                       3.11                     py37_0
powershell_shortcut       0.0.1                         2
prometheus_client         0.7.1                      py_0
prompt_toolkit            2.0.10                     py_0
psutil                    5.6.5            py37he774522_0
py                        1.8.0                    py37_0
py-lief                   0.9.0            py37ha925a31_2
py-opencv                 4.1.2            py37h5ca1d4c_0    conda-forge
pycodestyle               2.5.0                    py37_0
pycosat                   0.6.3            py37hfa6e2cd_0
pycparser                 2.19                     py37_0
pycrypto                  2.6.1            py37hfa6e2cd_9
pycurl                    7.43.0.3         py37h7a1dbc1_0
pyflakes                  2.1.1                    py37_0
pygments                  2.4.2                      py_0
pylint                    2.4.3                    py37_0
pyodbc                    4.0.27           py37ha925a31_0
pyopenssl                 19.0.0                   py37_0
pyparsing                 2.4.4                      py_0
pyqt                      5.12.3           py37h6538335_1    conda-forge
pyqt5-sip                 4.19.18                  pypi_0    pypi
pyqtwebengine             5.12.1                   pypi_0    pypi
pyreadline                2.1                      py37_1
pyrsistent                0.15.4           py37he774522_0
pyserial                  3.4                      py37_0    anaconda
pysocks                   1.7.1                    py37_0
pytables                  3.6.1            py37h1da0976_0
pytest                    5.2.2                    py37_0
pytest-arraydiff          0.3              py37h39e3cac_0
pytest-astropy            0.5.0                    py37_0
pytest-doctestplus        0.4.0                      py_0
pytest-openfiles          0.4.0                      py_0
pytest-remotedata         0.3.2                    py37_0
python                    3.7.4                h5263a28_0
python-bidi               0.4.2                      py_0    conda-forge
python-dateutil           2.8.1                      py_0
python-libarchive-c       2.8                     py37_13
pytz                      2019.3                     py_0
pywavelets                1.1.1            py37he774522_0
pywin32                   223              py37hfa6e2cd_1
pywinpty                  0.5.5                 py37_1000
pyyaml                    5.1.2            py37he774522_0
pyzmq                     18.1.0           py37ha925a31_0
qt                        5.12.5               h7ef1ec2_0    conda-forge
qtawesome                 0.6.0                      py_0
qtconsole                 4.5.5                      py_0
qtpy                      1.9.0                      py_0
requests                  2.22.0                   py37_0
rope                      0.14.0                     py_0
ruamel_yaml               0.15.46          py37hfa6e2cd_0
scikit-image              0.15.0           py37ha925a31_0
scikit-learn              0.21.3           py37h6288b17_0
scipy                     1.3.1            py37h29ff71c_0
sdl2                      2.0.10               h6538335_0    conda-forge
sdl2_image                2.0.2                         0    conda-forge
sdl2_mixer                2.0.4                h6538335_0    conda-forge
sdl2_ttf                  2.0.15               h4636d2b_0    conda-forge
seaborn                   0.9.0                    py37_0
send2trash                1.5.0                    py37_0
setuptools                41.6.0                   py37_0
simplegeneric             0.8.1                    py37_2
singledispatch            3.4.0.3                  py37_0
sip                       4.19.8           py37h6538335_0
six                       1.13.0                   py37_0
smpeg2                    2.0.0                h6538335_1    conda-forge
snappy                    1.1.7                h777316e_3
snowballstemmer           2.0.0                      py_0
sortedcollections         1.1.2                    py37_0
sortedcontainers          2.1.0                    py37_0
soupsieve                 1.9.3                    py37_0
sphinx                    2.2.1                      py_0
sphinxcontrib             1.0                      py37_1
sphinxcontrib-applehelp   1.0.1                      py_0
sphinxcontrib-devhelp     1.0.1                      py_0
sphinxcontrib-htmlhelp    1.0.2                      py_0
sphinxcontrib-jsmath      1.0.1                      py_0
sphinxcontrib-qthelp      1.0.2                      py_0
sphinxcontrib-serializinghtml 1.1.3                      py_0
sphinxcontrib-websupport  1.1.2                      py_0
spyder                    3.3.6                    py37_0
spyder-kernels            0.5.2                    py37_0
sqlalchemy                1.3.10           py37he774522_0
sqlite                    3.30.1               he774522_0
statsmodels               0.10.1           py37h8c2d366_0
sympy                     1.4                      py37_0
tbb                       2019.4               h74a9793_0
tblib                     1.5.0                      py_0
terminado                 0.8.2                    py37_0
testpath                  0.4.2                    py37_0
tk                        8.6.8                hfa6e2cd_0
toolz                     0.10.0                     py_0
tornado                   6.0.3            py37he774522_0
tqdm                      4.36.1                     py_0
traitlets                 4.3.3                    py37_0
unicodecsv                0.14.1                   py37_0
urllib3                   1.24.2                   py37_0
vc                        14.1                 h0510ff6_4
vs2015_runtime            14.16.27012          hf0eaf9b_0
wcwidth                   0.1.7                    py37_0
webencodings              0.5.1                    py37_1
werkzeug                  0.16.0                     py_0
wheel                     0.33.6                   py37_0
widgetsnbextension        3.5.1                    py37_0
win_inet_pton             1.1.0                    py37_0
win_unicode_console       0.5                      py37_0
wincertstore              0.2                      py37_0
winpty                    0.4.3                         4
wrapt                     1.11.2           py37he774522_0
xlrd                      1.2.0                    py37_0
xlsxwriter                1.2.2                      py_0
xlwings                   0.16.0                   py37_0
xlwt                      1.3.0                    py37_0
xz                        5.2.4                h2fa13f4_4
yaml                      0.1.7                hc54c509_2
zeromq                    4.3.1                h33f27b4_3
zict                      1.0.0                      py_0
zipp                      0.6.0                      py_0
zlib                      1.2.11               h62dcd97_3
zstd                      1.3.7                h508b16e_0

Robert Flatt

unread,
Nov 27, 2019, 3:13:04 AM11/27/19
to Kivy users support
Great, but we need to figure out the cause of the issue in order to propose a solution.

This one has become VERY important, please try this:

           Does Hello World display text.?

Somewhere here in the last few months it seems like there was an issue with Anaconda here, but I cant find it.
The Kivy version shown is 1.10.1 the current is 1.11.1  not certain about the deps versions, but they are there.
Not optimal but should not give this issue.

Both of these next questions are important:

What is the Anaconda Python version?

Does the video driver support OpenGL 2.0 ?

Getting closer....

elec part

unread,
Nov 27, 2019, 3:34:47 AM11/27/19
to kivy-...@googlegroups.com
Yeah. Hello World worked. Seems  we have this issue only .kv file

image.png

To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/2a91b1e4-6924-4ec3-bf5c-396ff400adc5%40googlegroups.com.

elec part

unread,
Nov 27, 2019, 3:39:46 AM11/27/19
to kivy-...@googlegroups.com
When i changed label to button again it is not working
image.png

Elliot Garbus

unread,
Nov 27, 2019, 9:26:21 AM11/27/19
to kivy-...@googlegroups.com

Make sure your graphics driver is up to date.

The other possibility is that kivy and the kivy dependencies are not at the correct level.

Share the contents of a log file, it might provide some other clues.  On Windows, the log files are stored at:

C:\Users\Your User Name\.kivy\logs

 

 

 

From: elec part
Sent: Wednesday, November 27, 2019 1:39 AM
To: kivy-...@googlegroups.com
Subject: Re: [kivy-users] Re: Button texts are not showing up

 

When i changed label to button again it is not working

 

On Wed, 27 Nov 2019 at 12:04, elec part <pele...@gmail.com> wrote:

Yeah. Hello World worked. Seems  we have this issue only .kv file

 

 

On Wed, 27 Nov 2019 at 11:43, Robert Flatt <planckp...@gmail.com> wrote:

Great, but we need to figure out the cause of the issue in order to propose a solution.

 

This one has become VERY important, please try this:

 

           Does Hello World display text.?

 

Somewhere here in the last few months it seems like there was an issue with Anaconda here, but I cant find it.

The Kivy version shown is 1.10.1 the current is 1.11.1  not certain about the deps versions, but they are there.

Not optimal but should not give this issue.

 

Both of these next questions are important:

 

What is the Anaconda Python version?

 

Does the video driver support OpenGL 2.0 ?

 

Getting closer....

 


On Tuesday, November 26, 2019 at 9:42:16 PM UTC-10, elec part wrote:

Here is my code. I know that is strange. I want to know if there is anything in kivy that helps me. I might forgot to install some dependencies. I used anaconda  for kivy installation

 

On Wed, 27 Nov 2019 at 11:01, Robert Flatt <planckp...@gmail.com> wrote:

Thank you. That is strange.

 

What was the .kv for that image?

 

Does Hello World display text?

 


On Tuesday, November 26, 2019 at 9:18:15 PM UTC-10, elec part wrote:

This is the screenshot of what i got. As you see, no text

 

 

 
 

Robert Flatt

unread,
Nov 27, 2019, 12:52:28 PM11/27/19
to Kivy users support
When i changed label to button again it is not working
 
This is great! Now we have what we wanted from the start, the smallest example that illustrates the issue.

As I understand it: Using only Python (no .kv), Label displays text, Button does not display text.

I think you might win the award (sorry no prize) for this month's strangest issue.


I concur with Elliot, either graphics driver (update it) or something about install (this may be hard to accept, because Anaconda is supposed to address these issues).

The Python version must be 3.7 or less, what is it?

Try running "Hello World"/Button from the command prompt, not using PyCharm.

Try installing Kivy in a virtual environment in Anaconda, then run your "Hello World"/Button test in that environment.
The instructions are here https://kivy.org/doc/stable/installation/installation-windows.html  staring at "Installing the stable kivy release"

There is something at the top of that page about Conda, but I have no idea what that does, so I will not suggest it in case it digs a deeper hole for us.

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.

To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.

Robert Flatt

unread,
Nov 27, 2019, 8:21:43 PM11/27/19
to Kivy users support
Also could you please copy ALL the lines from the Terminal.
The Terminal is the bottom PyCharm window where it says stuff like [INFO] and [DEBUG]
Paste here

Thanks

elec part

unread,
Nov 28, 2019, 12:20:23 AM11/28/19
to kivy-...@googlegroups.com
Thanks for your response.
My python version is 3.7.4
I tried it by using cmd. Got the same result
Pycharm terminal when i run Hello world(Button version)

(conda_evnv) (venv) D:\code\final_designe\test>python test3.py
[INFO   ] [Logger      ] Record log in C:\Users\Hamid\.kivy\logs\kivy_19-11-28_2.txt
[INFO   ] [Kivy        ] v1.10.1
[INFO   ] [Python      ] v3.7.4 (default, Aug  9 2019, 18:34:13) [MSC v.1915 64 bit (AMD64)]
[INFO   ] [Factory     ] 194 symbols loaded
[DEBUG  ] [Cache       ] register <kv.lang> with limit=None, timeout=None
[DEBUG  ] [Cache       ] register <kv.image> with limit=None, timeout=60
[DEBUG  ] [Cache       ] register <kv.atlas> with limit=None, timeout=None
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[DEBUG  ] [Cache       ] register <kv.texture> with limit=1000, timeout=60
[DEBUG  ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600
[INFO   ] [Text        ] Provider: sdl2
[DEBUG  ] [App         ] Loading kv <.\my.kv>
[DEBUG  ] [App         ] kv <.\my.kv> not found
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] GLEW initialization succeeded
[DEBUG  ] [GL          ] available extensions: b'GL_AMDX_debug_output GL_AMDX_vertex_shader_tessellator GL_AMD_conservative_depth GL_AMD_debug_output GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_multi_draw_indirect GL_AMD_name_gen_delete GL_AMD_p
erformance_monitor GL_AMD_pinned_memory GL_AMD_query_buffer_object GL_AMD_sample_positions GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_AMD_shader_trace GL_AMD_texture_cube_map_array GL_AMD_texture_texture4 GL_AMD_transform_feedback3_lines
_triangles GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_tessellator GL_AMD_vertex_shader_viewport_index GL_ARB_ES2_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB
_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_compressed_texture_pixel_storage GL_ARB_compute_shader GL_ARB_conditional_render_inverted GL_ARB_conservative_depth GL_ARB_c
opy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_v
ertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_A
RB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_half_float_pixel GL_ARB_half_fl
oat_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_multisample GL_ARB_multit
exture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_a
ccess_behavior GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counters GL_ARB_shader_bit_encoding GL_ARB_shader_image_load_store GL_ARB_shader_image_si
ze GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_stencil_export GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shading_language_420pack G
L_ARB_shading_language_packing GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_b
uffer_range GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_
ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg
GL_ARB_texture_rgb10_a2ui GL_ARB_texture_snorm GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_
feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex
_program GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_
ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex
_array GL_EXT_copy_buffer GL_EXT_copy_texture GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_framebuffer_sR
GB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset_cl
amp GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shader_image_load_store GL_EXT_shader_integer_mix GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texgen_reflection GL_EXT_texture3D G
L_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_bptc GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_textu
re_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode G
L_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_IBM_texture_mirrored_repeat GL_KHR_context_fl
ush_control GL_KHR_debug GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_KTX_buffer_region GL_NV_blend_square GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_depth_buffer_float GL_NV_explicit_multisample GL_NV_float_buffer GL_
NV_half_float GL_NV_primitive_restart GL_NV_texgen_reflection GL_NV_texture_barrier GL_OES_EGL_image GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays GL_WIN_swap_hint WGL_EXT_swap_control'
[DEBUG  ] [GL          ] glShaderBinary is not available
[INFO   ] [GL          ] Backend used <glew>
[INFO   ] [GL          ] OpenGL version <b'4.5.13399 Compatibility Profile Context 15.200.1062.1004'>
[INFO   ] [GL          ] OpenGL vendor <b'ATI Technologies Inc.'>
[INFO   ] [GL          ] OpenGL renderer <b'AMD Radeon HD 5800 Series'>
[INFO   ] [GL          ] OpenGL parsed version: 4, 5
[INFO   ] [GL          ] Shading version <b'4.40'>
[INFO   ] [GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <18>
[DEBUG  ] [Shader      ] Fragment compiled successfully
[DEBUG  ] [Shader      ] Vertex compiled successfully
[DEBUG  ] [ImageSDL2   ] Load <D:\ProgramData\Anaconda3\envs\conda_evnv\lib\site-packages\kivy\data\glsl\default.png>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[DEBUG  ] [Resource    ] add <C:\Windows\Fonts> in path list
[DEBUG  ] [Resource    ] add <D:\ProgramData\Anaconda3\envs\conda_evnv\lib\site-packages\kivy\data\fonts> in path list
[DEBUG  ] [Base        ] Create provider from mouse
[DEBUG  ] [Base        ] Create provider from wm_touch
[DEBUG  ] [Base        ] Create provider from wm_pen
[INFO   ] [Base        ] Start application main loop
[INFO   ] [GL          ] NPOT texture support is available
[DEBUG  ] [Atlas       ] Load <D:\ProgramData\Anaconda3\envs\conda_evnv\lib\site-packages\kivy\data\images\defaulttheme.atlas>
[DEBUG  ] [Atlas       ] Need to load 1 images
[DEBUG  ] [Atlas       ] Load <D:\ProgramData\Anaconda3\envs\conda_evnv\lib\site-packages\kivy\data\images\defaulttheme-0.png>
[DEBUG  ] [ImageSDL2   ] Load <D:\ProgramData\Anaconda3\envs\conda_evnv\lib\site-packages\kivy\data\images\defaulttheme-0.png>



To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/64808f13-94e2-4bbd-96f6-1887668eb81a%40googlegroups.com.

elec part

unread,
Nov 28, 2019, 12:49:32 AM11/28/19
to kivy-...@googlegroups.com
I think more likely, I need correct installation for kivy. Could you please provide me installation instruction of kivy for version 1.10.1 and its dependencies.please provide me all the commands to install this version correctly?
I really appreciate your help.

Robert Flatt

unread,
Nov 28, 2019, 2:21:28 AM11/28/19
to Kivy users support
Looking at the info from Terminal I think you have OpenGl 4.5 which is good, but there is some really strange stuff in there before:
[DEBUG  ] [GL          ] glShaderBinary is not available
Which does not look good.

So it looks like something in the video driver. This supports Elliots advice about updating the video driver.

If update fixes the above error, but you still have the issue.....


Could you please provide me installation instruction of kivy for version 1.10.1
 
Sorry I dont have a link to 1.10.1,  and if you were not using Anaconda I'd say upgrade to 1.11.1  .

It is possible the Kivy explicit deps are corrupted, but I'm gonna guess isome other dependancy is changed by some other package.
The test for this is a virtual environment with just Kivy and its explicit deps as I previously suggested.

Ananaconda is installed for some reason that is important there. A another test would be installing regular Python 3.7 and then Kivy using that per the previous link. See if the test case runs.

So things to try
1) update video driver
2) install 1.11.1 in an Anaconda virtual enviroment, or in a separate Python 3.7

elec part

unread,
Nov 30, 2019, 8:50:54 AM11/30/19
to kivy-...@googlegroups.com
I upgraded to kivy=1.11.1
Now i got this error

Unable to import package 'kivy.adapters.listadapter'

To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/20f67fcc-64ec-4857-83e7-b57b2e6c4ba4%40googlegroups.com.

Elliot Garbus

unread,
Nov 30, 2019, 10:50:51 AM11/30/19
to kivy-...@googlegroups.com

From the Documentation of 1.10.1:

 

Module: kivy.adapters

Added in 1.5.0

Deprecated since version 1.10.0: The feature has been deprecated.

 

Use Recycleview to replace the listadapter: https://kivy.org/doc/master/api-kivy.uix.recycleview.html

Robert Flatt

unread,
Nov 30, 2019, 12:18:10 PM11/30/19
to Kivy users support
Glad to see you are moving forward.
I'm curious, what fixed the previous issue?
The video driver, Kivy 1.11.1, or both?
Thanks for letting us know, it may help somebody else in the future.

elec part

unread,
Nov 30, 2019, 11:43:58 PM11/30/19
to kivy-...@googlegroups.com
Thanks for your response . I added 
from kivy.uix.recycleview import RecycleView
again giving the same error. Could you tell me what exactly i need to do to resolve this issue?

elec part

unread,
Nov 30, 2019, 11:45:54 PM11/30/19
to kivy-...@googlegroups.com
The button label has been solve by upgrading to kivy 1.11.1 issue. Now my problem is    listadapter

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.

elec part

unread,
Nov 30, 2019, 11:52:38 PM11/30/19
to kivy-...@googlegroups.com
Completely solved  

Elliot Garbus

unread,
Dec 1, 2019, 12:47:20 AM12/1/19
to kivy-...@googlegroups.com
What code are you trying to execute?
The list view must be refactored to instead use the recycle view. 

Sent from my iPhone

On Nov 30, 2019, at 9:52 PM, elec part <pele...@gmail.com> wrote:


Reply all
Reply to author
Forward
0 new messages