-
Notifications
You must be signed in to change notification settings - Fork 29
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
No collaboration seen #40
Comments
@Saumya-Mishra9129 Does the collaboration work in other activities in the 2 VM's you were testing? Have also been testing collaboration recently, had some questions, did you clone the first VM or install sugar twice? I have tried cloning the first VM but have had issues during collaboration between 2 users. |
I tested with 2 VMs and with Live build of sugar, I am testing all the fructose activities, I have done with chat , pippy and write. Chat and pippy works fine. Just chat activities take some extra time in connecting. Also I have done with one clone and one without clone sugar, there also I found same issues. |
I'm also trying the fructose activities. Using clones temporarily due to connection issues. Tried the Write, Chat and Calculator activities. No successful results. Was not even able to add the other user as a friend. If this did not happen to you while trying with a clone, it has to be an issue in the Debian packages, might be worth opening separately. |
I haven't checked with calculator, but chat works fine. Can you see what errors you get in shell.log while testing chat? |
Chat works to an extent, gets stuck while attempting to connect to a previously joined shared chat session. Works fine the first time. Nothing in the logs, have to investigate further. Edit: Collaboration doesn't work on the Write Activity. |
Also, Nimbus Roman font is set as default when a user joins a public/collaborative Write Activity session. It is seen only in the guest user, not in the shared activity's host. @Saumya-Mishra9129 can you check if this issue occurs on your setup as well? I'll open an issue if it is not specific to Debian Buster. |
I am able to reproduce but different fonts are present here. In host it is Sans set by default and in guest user it is Serif. |
Are you using Sugar Live Build or the Ubuntu packages? |
I am using packaged sugar with Ubuntu 20.04 |
Clones will not work. The Sugar user cryptographic key is identical, so the users are not separate. Workaround is to create a different account or delete the account and recreate it again. Correct procedure is to snapshot your VM before logging in to Sugar for the first time, when the key is created. |
Please assess if anything is left in this issue after avoiding cloning. Chat activity is our usual activity for testing collaboration briefly; if Chat collaborates, but Write does not in the same circumstance, then that deserves more attention. Write uses AbiWord to collaborate, via the same underlying Telepathy layer. |
Tested again, without using clones. Chat activity
Write activity
Aside, @Saumya-Mishra9129 on packaged Sugar in Ubuntu, do you have any errors when adding and removing another user as a friend? |
Thanks. It is not working then. Can anyone else reproduce? What version of AbiWord? |
Debian 10.4, Sugar 0.117-3: |
Yeah I got 3 errors.
Ubuntu 20.04 - Sugar 0.117, Write activity v101 |
These match what I had reported in the mailing list earlier (for Debian 10.4), so these must be Python 3 porting regressions as they're not present in OLPC OS 18.04 |
I agree with you. We probably lack in testing changes before making a commit :( |
Thanks. Checking what's available, I think you mean Debian 10.4 + unstable
My tests were with Ubuntu 20.04 + OLPC OS 20.04
A critical difference between Sugar Labs release of Sugar and the OLPC OS release of Sugar is this configuration setting made by /usr/bin/sugar (generated from bin/sugar.in);
Please try that at the Terminal bash prompt inside Sugar, then restart Sugar and try the collaboration test again. I doubt if it will change the problem, because you're not likely to be using link-local IP addressing on your virtual network, but you haven't said how your virtual machines are networked, so it's anyone's guess. |
I'm not testing using add friend or invites. I'm testing by sharing the Write activity using the activity toolbar, and then joining it from the other machine using the Neighbourhood View. Let's agree on which type of collaboration we are testing?
What version of Sugar packaging? Check the sucrose package. What version of AbiWord? Check the libabiword-3.0 package which contains most of the AbiWord compiled C++ code. It is probably version 3.0.2-10. (Checking installed package version can be done quickly with |
I tried this. It doesn't work. Getting above mentioned errors again.
Yeah sure. I did testing with adding friends . While testing without adding friends, I am getting following errors only in shell.log
However I tried little debugging today. |
Thanks. I tried above mentioned command.
|
Thanks. It's not the errors that matter, it is that the document is not shared, and there are no errors to explain why.
As this only affects the Neighbourhood View and doesn't stop you from joining the shared activity, it should not affect testing of collaboration. It can be fixed in parallel.
A dbus.ByteArray is a bytes. Isn't it more likely that the key is not in the dictionary because of some other reason? What keys are in the dictionary? |
Yeah I tried logging the values in dictionary, but log shows nothing. Maybe key is deleted before. |
Tested. Collaboration for Chat works for me with two laptops using an iPhone in personal hotspot mode. It did not work with hotel WiFi, because of client isolation enabled. It did previously work with my WiFi at home. Test method;
Collaboration for Browse works for me. When joined the shared instance does share the bookmarks. (That's the limit of sharing in Browse). Collaboration for Write does not work; the shared activity icon is shown, but when joined the shared instance does not share the same document. No correlating warnings or errors in log. Needs debugging inside AbiWord. Urgent, because this is a Fructose demonstration activity. |
Tested on 2 VMs with Sugar Live Build. After joining to a friend , activity doesn't share state with other one. It can caused by incomplete port or not tested collaboration properly in #25
The text was updated successfully, but these errors were encountered: