Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue detecting "stopButton.png" at startup #8

Closed
ghost opened this issue Mar 29, 2015 · 7 comments
Closed

Issue detecting "stopButton.png" at startup #8

ghost opened this issue Mar 29, 2015 · 7 comments

Comments

@ghost
Copy link

ghost commented Mar 29, 2015

My environment:
OS: Ubuntu v14.x
IDE: LiClipse v1.4.0.x (Eclipse variant with PyDev and other things pre-loaded)
Python: v2.7
Instrumentino: v1.08

Details: Installing/importing the instrumentino egg from LiClipse doesn't appear to have brought with "stopButton.png" file with it.

Temporary workaround: It had to be manually copied from the instrumentino/instrumentino/resources folder to ~/.python-eggs/instrumentino-1.08-py2.7.egg-tmp/stopButton.png

Note: My guess is that this graphic is not included as a resource in the egg, I'm missing a configuration step, or using a different import method would include it? If so I don't know how to fix it properly as I'm not familiar with python egg creation and ther are too many "ifs" on my side.

Thanks!

@ghost
Copy link
Author

ghost commented Mar 29, 2015

Ah, it appears from the closed issues this has been an issue in the past.
Anyway, I'm not sure if you want to close or if there is another option (documentation, wish to build the resource into the egg for xyz import, etc. ) as it appears that there are some tools that do not import the egg the same.

If you (or anyone else) don't have the time I could look into fixing this via "fixing" the egg (if even possible?), I just haven't done any egg development before.

@yoelk
Copy link
Owner

yoelk commented Mar 30, 2015

Hi,
I'm pretty sure the egg file does include the stopButton graphics.

But anyway, it seems that you found a workaround now, right?
Let's leave it like that for now, as I'm currently working on Instrumentino
V2, in which Kivy will be used as the graphics platform.
If you're up to it, I could sure use some help doing that so give me a call
if you're interested.

Joel

On Sun, Mar 29, 2015 at 8:51 PM, Snarfums notifications@github.com wrote:

Ah, it appears from the closed issues this has been an issue in the past.
Anyway, I'm not sure if you want to close or if there is another option
(documentation, wish to build the resource into the egg for xyz import,
etc. ) as it appears that there are some tools that do not import the egg
the same.

If you (or anyone else) don't have the time I could look into fixing this
via "fixing" the egg (if even possible?), I just haven't done any egg
development before.


Reply to this email directly or view it on GitHub
#8 (comment).

@ghost
Copy link
Author

ghost commented Apr 1, 2015

I might be able to carve some time on weekends to work on things. I've never used Kivy before though. Any idea when you planning to upload V2 that I could pull down? Even if you uploaded a "non working" version as a dev branch and indicated/assigned some areas needing work I could see if I could make some useful contributions. I'm assuming a new user front end would initially just be a direct port of the V1 layout and functionality.

@yoelk
Copy link
Owner

yoelk commented Apr 1, 2015

Hi, that's great!
And yes, for starters I want to port the existing Instrumentino to Kivy, so
it's mainly GUI tasks.
My first step was to create a screen layout that is divided to 3 resizable
parts, using two "Splitters" (see here for more details
http://stackoverflow.com/questions/28689268/how-to-use-several-splitters-in-kivy
)
I want to maximize the use of kvlang, Kivy's way of describing GUI design
(a bit like XML).
I did that (see attached code) but I'm stuck on something.
Do you see all of the duplicated code? For each splitter, I do all of these
initializations (max_size, min_size, size_hint, etc.).
What I'd like to do, is to combine the common code into a
CustomizedSplitter class.
The problem is that I couldn't make it work that way.
I've opened a stackoverflow question
http://stackoverflow.com/questions/28684165/passing-information-from-child-class-to-parent-using-dynamic-classes-in-kvlang
some weeks ago, and even put a bounty, but no one seems to know the
answer...

So this is where I'm stuck at the moment. Still in the beginning, but it's
important to do things right from the start.

Thanks, have a nice Easter,
Joel

On Wed, Apr 1, 2015 at 3:17 AM, Snarfums notifications@github.com wrote:

I might be able to carve some time on weekends to work on things. I've
never used Kivy before though. Any idea when you planning to upload V2 that
I could pull down? Even if you uploaded a "non working" version as a dev
branch and indicated/assigned some areas needing work I could see if I
could make some useful contributions. I'm assuming a new user front end
would initially just be a direct port of the V1 layout and functionality.


Reply to this email directly or view it on GitHub
#8 (comment).

@ghost
Copy link
Author

ghost commented Apr 2, 2015

What version of Kivy and python are you using?
I've just installed Kivy 1.8.0 (got a few of the built in examples working) and am using python 2.7. Once I read more docs and work on a few more examples I'll see what I can do.

@yoelk
Copy link
Owner

yoelk commented Apr 2, 2015

I'm using Python 2.7 and Kivy 1.8 as well.
Yesterday I started reading this book http://www.it-ebooks.info/book/3288/
about kivy development.
I hope it will help me understand how I should use kvlang

On Thu, Apr 2, 2015 at 6:39 AM, Snarfums notifications@github.com wrote:

What version of Kivy and python are you using?
I've just installed Kivy 1.8.0 (got a few of the built in examples
working) and am using python 2.7. Once I read more docs and work on a few
more examples I'll see what I can do.


Reply to this email directly or view it on GitHub
#8 (comment).

@ghost ghost mentioned this issue Apr 3, 2015
@ghost
Copy link
Author

ghost commented Apr 3, 2015

I had a lot to comment and it may "go long" so I submitted it as Issue #10 :)

@yoelk yoelk closed this as completed Nov 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant