sander314

u/sander314


r/kivy•

If I have package:

* myapp/__main__.py (which Builder.load( ... some importlib find of gui.kv .. )

  • myapp/gui.kv
  • myapp/img/blah.png

And in my kv file I have:

  • source: 'img/blah.png'

It doesn't find the image, presumably since it's looking in the path where the app is running.

​

*edit* : solved by using kivy.resources.resource_add_path

​

30



r/kivy•

I want to open a file in an external application with a kivy android app. The code I found for this uses intent, but it seems android has changed and this now throws an exception.

The new way seems to be using a FileProvider, but I can't find out how to use this in kivy, since it refers to editing various XML files. This PR (https://github.com/kivy/python-for-android/pull/1922) has a solution but seems ignored and abandoned.

How should I go about doing this?

32

r/boardgames•

"Santa" got Mysterium for my sister. However, we can't figure out how to assemble the clock. The dial and pointer together seem too thick for the plastic thingamajigs that are supposed to fit together to hold them together.

Did anyone else have this problem and found a workaround?

920

r/kivy•

In my on_size method I'm redrawing the canvas with a game board, then add labels. Around half of them show up, all white, and it seems completely random which ones when resizing/restarting. This happens regardless of whether I add the labels in with self.canvas or self.canvas.after. What am I doing wrong?

15

r/MagicArena•

Omniscience draft is back: all cards cost nothing, 5 free mana per turn. Wondering how you're all enjoying it, or not.

  • Since you draft 42 and play 40, every card matters.
  • As usual, card draw and cycling prevails. Elite guardmage, tithebearer giant are all some of the best cards, since they also leave bodies, but defiant strike, topple the statue, blindblast etc will help get to your better cards. Honor the god pharaoh can be a bit awkward since you often have nothing to discard.
  • Read the emblem. Pharaoh's statue can stop ridiculous chains, but they still get 2 plays per turn, and it will often get toppled fast since that card is a common one which cycles.
  • Counter spells are good as
18

r/LotusTracker•

Lotus tracker often pops up an alert with 'bad request'. Usually when minimizing mtga or something. Sometimes the popup repeats infinitely, making it hard to even close the program. The cause in the logs is some server connection problem usually. Regardless, a popop that invasive should never happen in a tracker app, let alone once a second ad infinitum.

37