-
Notifications
You must be signed in to change notification settings - Fork 15
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
Port to TelepathyGLib, collabwrapper, Gio.Settings #14
base: master
Are you sure you want to change the base?
Conversation
get_int for volume instead of get_string removed path because it was used by GConf client
Tested, activity fails to start and logs show this error.
This is a good opportunity to port activity to Python 3, there's an existing work already in #13,maybe you can take a look at it. Also edit your last commit message to better explain what you did, the header shouldn't be "changes made as requested". Please try to test your changes. |
My guess is that @ayushnawal was testing this alongside a Python 2 build of Sugar. That's fine, given that the activity has not yet been ported to Python 3. But we really need that port done, so #13 should be merged with this branch, and any further fixes applied. I don't think this is pull request is ready for review and testing. I also agree that commit messages could be clearer. See Making Commits. |
@quozl I opened this PR with the purpose of porting it to Python 3 only 😁 and for the same, I have ported all the required dependencies to their respective latest form. I asked for a review because the activity can be easily ported to python3 after these fixes are applied so I was waiting for this patch to be approved after testing and reviewing.
Can changes up to this point be reviewed? so that I can port it quickly afterward.
Agreed. I will try to make them clearer now. |
You can look at fixing the traceback above as activity fails to start. |
Okay, if that's your only purpose, we can wait until you have ported to Python 3, and then wait some more until the activity works properly. Porting to Python 3 is not an end in itself. An activity must be usable, and mustn't have anything wrong with it, otherwise we wouldn't be able to release it and have people use it.
How would reviewing this unfinished work help our users? Some review has happened already above. See Guide for Reviewers for some other things that reviewers can do. Nothing springs to mind. What specifically are you wanting? |
ported the activity to python3. getting this in my log, as mentioned by @chimosky above need help @quozl
|
@ayushnawal I'm guessing you're using sugar live build for your development environment, if yes; run this
You should be able to start the activity after that. |
It means the Python 3.6 interpreter you are using has no module jarabe installed. In turn because you have not installed the Sugar module for Python 3.6. Temporarily, for the purpose of testing before you are finished, you can do something like what @chimosky said (corrected for the installed python version), or you can clone the Sugar module and put a copy of We have a policy of activities not doing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a quick diff review. Found a minor change necessary. @ayushnawal did you checkout @Abhay-dot's Pull Request and the Pull Request linked to that? Thanks
@@ -713,7 +713,7 @@ def _choose_activity(self): | |||
bundle_icons = utils.get_bundle_icons() | |||
x = 0 | |||
y = 1 | |||
for bundle_id in bundle_icons.keys(): | |||
for bundle_id in list(bundle_icons.keys()): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better to remove list()
Changes made in this PR:
Tested the changes before and after changes. working as expected.