-
Notifications
You must be signed in to change notification settings - Fork 10
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 Python 3 #28
Port to Python 3 #28
Conversation
Facing problem testing this with toolkit-gtk3 (HEAD). Getting an import error for the modules of python 3 , for example |
Add a temporary debugging harness to the main program and tell me what it says in the log or stderr when you run the activity;
p.s. per issue 29, unrelated to your problem, there's another copy of BeautifulSoup to consider; perhaps you should be downloading a fresh copy from the upstream project? |
Yes, I am aware of the two copies and considering both the files. This is the log-
|
Okay, it looks like you didn't add the two lines I asked for, but that doesn't matter, as the log shows me you were running the activity with Python 2, and that explains the missing p.s. edited your comment to use block quoting of log. Please edit it to see the syntax. |
Thanks. Running sugar-activity3 gave the following trace
I also tested
Also I checked whether the new script of toolkit-gtk3 (HEAD) is running or not. It is running which I confirmed with this warning |
On your system, the sugar-toolkit-gtk3 sources are not built and installed for Python 3. See sugarlabs/sugar#830 for how I did it. |
As an opportunity #31 |
No description provided.