Port to GTK 3 and Python 3#7
Conversation
Using namespace prefix sodipodi:cx,sodipodi:cy,sodipodi:rx and sodipodi:ry without namespace declaration 'xlmns:sodipodi' makes it difficult to read svg with Ubuntu 20.04 and with later versions leads to following error : gi.repository.GLib.Error: rsvg-error-quark: XML parse error: error code=201 (3) in (null):31:50: Namespace prefix sodipodi for ry on circle is not defined (0) Fix by adding namespace declaration 'xlmns:sodipodi' Suggested by - Srevin Saju <srevin03@gmail.com>
5240fb0 to
b2641de
Compare
|
In b6e31c0 we would eventually Port to GLib. In 1700469 it would be simpler to change the import and leave the references unchanged. |
8cf610c to
78c196d
Compare
I don't know. I was able to clone, then We have tended to avoid submodules because git releases (used against our advice by some people) don't include the content of submodules. You're welcome to merge the submodule into the repository. |
1326387 to
78c196d
Compare
cloned copy of git://dev.laptop.org/projects/dobject
78c196d to
b910445
Compare
Thanks , Merged submodule and working on Testing. |
…ricTreeModel' Gtk3 doesn't provide GenericTreeModel, Add compatibility in generictreemodel.py
Attribute UTF8String is for the support of Python2 in dbus
cmp has been removed in python3 and can be replaced with None
Introduced in sugarlabs@e500c59
TypeError: Gtk.Box.pack_start() takes exactly 5 arguments (2 given)
TypeError: Gtk.Box.pack_start() takes exactly 5 arguments (2 given)
|
For your interest, dobject/groupthink tree is also in Butialo, and groupthink_base.py is also in StopWatch as dobject.py. |
| ============ | ||
|
|
||
| Mandatory dependencies: | ||
| - Python 2.5 or later |
There was a problem hiding this comment.
Possibly this should change.
Thanks but code in Butialo is also not updated from years. It is really a hard task to fix this activity . Till now I have made 30 changes after the above commits , and I am only able to open the activity , and still it has many errors. I will update changes here soon. |
|
Only 30 changes? There's 6582 lines of code here, so I expect you'll be doing this for a while. 😀 |
4a70607 to
756cb9d
Compare
has_key, iteritems, iterkeys and itervalues has been removed from dictionaries in Python 3
Thanks I have started working again here 😄 . I couln't get the cause of this error. Any suggestions? |
|
Reproduced on Ubuntu 20.04. It may mean |
… support property 'max'
'type' is an invalid keyword argument for __init__()
TypeError: gobject 'GtkEntry' doesn't support property 'max'
49674bb to
c316dee
Compare
Thanks I am trying to look into it. Currently PR is stuck here |
|
Use pdb or static analysis (with eyes) to find out why the score object is a dict instead of an instance of ImmutableScore. |
Thanks @quozl , It is fixed. Activity is now working fine. |
|
I tried it. I didn't know how to make the activity work. |
Thanks, To test the activity :
|
|
Thanks. Nothing happens after a correct answer. I got this in logs; |
No description provided.