Bug#931666: sugar-toolkit-gtk3: Latest version 0.114 compatible with both Python and Python 3 is not packaged

2019-07-08 Thread Aniket Mathur
Source: sugar-toolkit-gtk3
Severity: important

Dear Maintainer,


   * What led up to the situation?
The latest version of the sugar-toolkit-gtk3 is now compatible with both
Python and Python 3, but the packages for the same are not available
, which prevents use, scaled testing and thus proper maintainance for 
the Python 3 language. 
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
Have multiversion packages of the sugar-toolkit-gtk3.
   * What was the outcome of this action?
Not able to develop packages that build for both Python and Python3.
   * What outcome did you expect instead?


-- System Information:
Debian Release: buster/sid
  APT prefers bionic-updates
  APT policy: (500, 'bionic-updates'), (500, 'bionic-security'), (500, 
'bionic'), (100, 'bionic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-52-generic (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



Re: [Sugar-devel] Multiversion Packages of toolkit.

2019-07-08 Thread ANIKET MATHUR
Reported the problem as a bug to Debian using the reportbug program.

Thanks!

On Fri, Jul 5, 2019 at 8:22 PM ANIKET MATHUR  wrote:

> Sent the email to debian-de...@lists.debian.org as well.
>
> On Fri, Jul 5, 2019 at 4:13 PM ANIKET MATHUR 
> wrote:
>
>> Sent an email to the Debian user mailing list
>> debian-u...@lists.debian.org requesting for packaging v0.114.
>>
>> Packaging of Sugar-toolkit-gtk3 (sugar3) v0.114.
>> ANIKET MATHUR 
>> 4:10 PM (2 minutes ago)
>> to debian-user
>> G'day,
>> Aniket Mathur this side, an active contributor of Sugarlabs as well as a
>> GSoC 19 participant. This mail is a small query regarding the packaging of
>> "sugar3" module.
>>
>> We currently have v0.112 packaged. In the latest version (0.114)
>> Sugarlabs have made the toolkit compatible with both Python and Python 3.
>> But we don't have Debian multi-version packages for the latest version.
>> This prevents us to scale our testing as well as limits the number of
>> testers.
>>
>> We don't know how to make multi-version local packages, that we can
>> distribute for testing.
>>
>> It would be good if we have Debian packages for v 0.114.
>>
>> Need Help.
>> Regards.
>>
>> On Tue, Jul 2, 2019 at 12:02 PM ANIKET MATHUR 
>> wrote:
>>
>>> Yes, I was asking about Debian packages. Sorry for incomplete
>>> information.
>>>
>>> I read sources of some Debian packages:-
>>> ~ They do use six for keeping multi-version compatibility.
>>> ~ Instead of a configure.ac, they use setup.py.
>>> ~ In setup.py, they define entry-points as per the commands from the
>>> command line specifying python-foo or python3-foo.
>>>
>>> I also did a github search for 'python configure.ac' , looked into a
>>> considerable amount of commits of different users and organizations with
>>> the motive of "why don't we ask for help from those who seems to be
>>> successful in doing it".
>>>
>>> From my research, I found out that the guys at "balabit" seems to be
>>> able to do it.
>>> I opened an issue <https://github.com/balabit/syslog-ng/issues/2814> asking
>>> for help and clearance.
>>>
>>> The next step is to contact the Debian developers.
>>>
>>> Thanks!
>>>
>>> On Mon, Jul 1, 2019 at 5:21 AM James Cameron  wrote:
>>>
>>>> You neglected to mention that you are asking about Debian and Ubuntu
>>>> binary packages.  Ubuntu packages come from Debian unchanged, so your
>>>> question can be reduced to Debian packaging.
>>>>
>>>> We're the wrong people to ask.  It's not a skill any of us at Sugar
>>>> Labs have, otherwise we would have done it by now.
>>>>
>>>> The people who know how to do this are Debian and Ubuntu package
>>>> developers.
>>>>
>>>> I've tried asking one of the Debian developers but they were too busy
>>>> to give private assistance.  Private assistance does not scale, so the
>>>> return on investment is meagre.
>>>>
>>>> I suggest you try these things;
>>>>
>>>> 1.  write a throw-away script to download all Debian packages that
>>>> depend on Python 2 or Python 3, intersect a union of source packages
>>>> that support both versions, and then list those packages that contain
>>>> configure.ac in the source package,
>>>>
>>>> 2.  review those Debian and Ubuntu source packages that are used to
>>>> generate binary packages for both Python 2 and Python 3, and list the
>>>> package design patterns that you observe,
>>>>
>>>> 3.  contact the Debian developers using their mailing lists, or other
>>>> methods,
>>>>
>>>> 4.  engage in the Debian project by reporting a bug that asks for
>>>> packaging of a new version of the toolkit; currently 0.112 is
>>>> packaged.
>>>>
>>>> On Sat, Jun 29, 2019 at 02:32:33PM +0530, ANIKET MATHUR wrote:
>>>> > Hello everyone,
>>>> >
>>>> > I have been working on developing multi-version packages for toolkit
>>>> which can
>>>> > build for both Python and Python 3. I successfully build packages for
>>>> python,
>>>> > but not able to yet built one's having multi-version support. I have
>>>> been
>>>> > working on this for some time in the last two weeks, trying to get
>>>> something
>>>> > from the source code of existing tools that have these packages, like
>>>> 'pip' and
>>>> > a lot more.
>>>> >
>>>> > I need help and suggestions in this work. :-)
>>>> >
>>>> > Thanks!
>>>>
>>>> > ___
>>>> > Sugar-devel mailing list
>>>> > Sugar-devel@lists.sugarlabs.org
>>>> > http://lists.sugarlabs.org/listinfo/sugar-devel
>>>>
>>>>
>>>> --
>>>> James Cameron
>>>> http://quozl.netrek.org/
>>>> ___
>>>> Sugar-devel mailing list
>>>> Sugar-devel@lists.sugarlabs.org
>>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>>
>>>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Updates Regarding TelepathyGLib project

2019-07-08 Thread ANIKET MATHUR
We have completed the TelepathyGlib port of sugar, sugar-toolkit-gtk3,
collabwrapper, as well as of most of the other sugar activities.

Basic collaboration is working with TelepathyGLib.

Although there are a couple of issues with collaboration that we had
earlier with the static telepathy-python bindings as well, which are
encountered and recognised while porting.
https://github.com/sugarlabs/sugar/issues/840
https://github.com/sugarlabs/sugar/issues/842

Regards,
Aniket
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Packaging of Sugar-toolkit-gtk3 (sugar3) v0.114

2019-07-07 Thread aniket mathur
G'day,
Aniket Mathur this side, an active contributor of Sugarlabs as well as a
GSoC 19 participant. This mail is a small query regarding the packaging of
"sugar3" module.

We currently have v0.112 packaged. In the latest version (0.114) Sugarlabs
have made the toolkit compatible with both Python and Python 3. But we
don't have Debian multi-version packages for the latest version. This
prevents us to scale our testing as well as limits the number of testers.

We don't know how to make multi-version local packages, that we can
distribute for testing.

It would be good if we have Debian packages for v 0.114.

Need Help.
Regards.
Aniket


Re: Packaging of Sugar-toolkit-gtk3 (sugar3) v0.114.

2019-07-05 Thread ANIKET MATHUR
Thanks! Did that.

On Fri, Jul 5, 2019 at 5:44 PM Bagas Sanjaya  wrote:

> Aniket Mathur:
>
> Aniket Mathur this side, an active contributor of Sugarlabs as well
>  as a GSoC 19 participant. This mail is a small query regarding the
> packaging of "sugar3" module.
> We currently have
>  v0.112 packaged. In the latest version (0.114) Sugarlabs have made the
> toolkit compatible with both Python and Python 3. But we don't have
> Debian multi-version packages for the latest version. This prevents us
> to scale our testing as well as limits the number of testers.
> We don't know how to make multi-version local packages, that we can 
> distribute for testing.
> It would be good if we have Debian packages for v 0.114.
> Need Help.
>
> Well regarding packaging for Debian could you please ask to debian-devel 
> mailing list? This list (debian-user) is for
> Debian usage support (e.g. if you have problems with your Debian system).
>
> Cheers, Bagas
>
>
>
>


Fwd: Packaging of Sugar-toolkit-gtk3 (sugar3) v0.114.

2019-07-05 Thread ANIKET MATHUR
-- Forwarded message -
From: ANIKET MATHUR 
Date: Fri, Jul 5, 2019 at 4:10 PM
Subject: Packaging of Sugar-toolkit-gtk3 (sugar3) v0.114.
To: 


G'day,
Aniket Mathur this side, an active contributor of Sugarlabs as well as a
GSoC 19 participant. This mail is a small query regarding the packaging of
"sugar3" module.

We currently have v0.112 packaged. In the latest version (0.114) Sugarlabs
have made the toolkit compatible with both Python and Python 3. But we
don't have Debian multi-version packages for the latest version. This
prevents us to scale our testing as well as limits the number of testers.

We don't know how to make multi-version local packages, that we can
distribute for testing.

It would be good if we have Debian packages for v 0.114.

Need Help.
Regards.
Aniket


Re: [Sugar-devel] Multiversion Packages of toolkit.

2019-07-05 Thread ANIKET MATHUR
Sent the email to debian-de...@lists.debian.org as well.

On Fri, Jul 5, 2019 at 4:13 PM ANIKET MATHUR  wrote:

> Sent an email to the Debian user mailing list debian-u...@lists.debian.org 
> requesting
> for packaging v0.114.
>
> Packaging of Sugar-toolkit-gtk3 (sugar3) v0.114.
> ANIKET MATHUR 
> 4:10 PM (2 minutes ago)
> to debian-user
> G'day,
> Aniket Mathur this side, an active contributor of Sugarlabs as well as a
> GSoC 19 participant. This mail is a small query regarding the packaging of
> "sugar3" module.
>
> We currently have v0.112 packaged. In the latest version (0.114) Sugarlabs
> have made the toolkit compatible with both Python and Python 3. But we
> don't have Debian multi-version packages for the latest version. This
> prevents us to scale our testing as well as limits the number of testers.
>
> We don't know how to make multi-version local packages, that we can
> distribute for testing.
>
> It would be good if we have Debian packages for v 0.114.
>
> Need Help.
> Regards.
>
> On Tue, Jul 2, 2019 at 12:02 PM ANIKET MATHUR 
> wrote:
>
>> Yes, I was asking about Debian packages. Sorry for incomplete information.
>>
>> I read sources of some Debian packages:-
>> ~ They do use six for keeping multi-version compatibility.
>> ~ Instead of a configure.ac, they use setup.py.
>> ~ In setup.py, they define entry-points as per the commands from the
>> command line specifying python-foo or python3-foo.
>>
>> I also did a github search for 'python configure.ac' , looked into a
>> considerable amount of commits of different users and organizations with
>> the motive of "why don't we ask for help from those who seems to be
>> successful in doing it".
>>
>> From my research, I found out that the guys at "balabit" seems to be able
>> to do it.
>> I opened an issue <https://github.com/balabit/syslog-ng/issues/2814> asking
>> for help and clearance.
>>
>> The next step is to contact the Debian developers.
>>
>> Thanks!
>>
>> On Mon, Jul 1, 2019 at 5:21 AM James Cameron  wrote:
>>
>>> You neglected to mention that you are asking about Debian and Ubuntu
>>> binary packages.  Ubuntu packages come from Debian unchanged, so your
>>> question can be reduced to Debian packaging.
>>>
>>> We're the wrong people to ask.  It's not a skill any of us at Sugar
>>> Labs have, otherwise we would have done it by now.
>>>
>>> The people who know how to do this are Debian and Ubuntu package
>>> developers.
>>>
>>> I've tried asking one of the Debian developers but they were too busy
>>> to give private assistance.  Private assistance does not scale, so the
>>> return on investment is meagre.
>>>
>>> I suggest you try these things;
>>>
>>> 1.  write a throw-away script to download all Debian packages that
>>> depend on Python 2 or Python 3, intersect a union of source packages
>>> that support both versions, and then list those packages that contain
>>> configure.ac in the source package,
>>>
>>> 2.  review those Debian and Ubuntu source packages that are used to
>>> generate binary packages for both Python 2 and Python 3, and list the
>>> package design patterns that you observe,
>>>
>>> 3.  contact the Debian developers using their mailing lists, or other
>>> methods,
>>>
>>> 4.  engage in the Debian project by reporting a bug that asks for
>>> packaging of a new version of the toolkit; currently 0.112 is
>>> packaged.
>>>
>>> On Sat, Jun 29, 2019 at 02:32:33PM +0530, ANIKET MATHUR wrote:
>>> > Hello everyone,
>>> >
>>> > I have been working on developing multi-version packages for toolkit
>>> which can
>>> > build for both Python and Python 3. I successfully build packages for
>>> python,
>>> > but not able to yet built one's having multi-version support. I have
>>> been
>>> > working on this for some time in the last two weeks, trying to get
>>> something
>>> > from the source code of existing tools that have these packages, like
>>> 'pip' and
>>> > a lot more.
>>> >
>>> > I need help and suggestions in this work. :-)
>>> >
>>> > Thanks!
>>>
>>> > ___
>>> > Sugar-devel mailing list
>>> > Sugar-devel@lists.sugarlabs.org
>>> > http://lists.sugarlabs.org/listinfo/sugar-devel
>>>
>>>
>>> --
>>> James Cameron
>>> http://quozl.netrek.org/
>>> ___
>>> Sugar-devel mailing list
>>> Sugar-devel@lists.sugarlabs.org
>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>
>>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Unable to start collaboration on Ubuntu 18.04 VM

2019-07-05 Thread ANIKET MATHUR
Try deleting the existing file and then running ./autogen.sh

On Fri, Jul 5, 2019 at 8:14 PM Swarup N  wrote:

> Hello,
>
> I was able to establish collaboration by creating two new VM's and
> installing Sugar via the Live Build method.I used an already available .iso
> Sugar file, however it is v0.112.
> In order to upgrade to v0.114, I entered the */usr/src/* directory where
> all the 5 sugar modules are present. In each of the module, I checked to
> the master branch made pulled the latest changes, ran *./autogen.sh, make
> and make install *in the same order, logged in as root. However in the
> sugar-artwork directory, after taking the latest changes and running
> *make*, I get the following error saying *'failed to create symbolic link
> "../../cursor/sugar/cursors/default" : File already exists' *.
>
> Request help.
> Thanks
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Packaging of Sugar-toolkit-gtk3 (sugar3) v0.114.

2019-07-05 Thread ANIKET MATHUR
G'day,
Aniket Mathur this side, an active contributor of Sugarlabs as well as a
GSoC 19 participant. This mail is a small query regarding the packaging of
"sugar3" module.

We currently have v0.112 packaged. In the latest version (0.114) Sugarlabs
have made the toolkit compatible with both Python and Python 3. But we
don't have Debian multi-version packages for the latest version. This
prevents us to scale our testing as well as limits the number of testers.

We don't know how to make multi-version local packages, that we can
distribute for testing.

It would be good if we have Debian packages for v 0.114.

Need Help.
Regards.
Aniket


Re: [Sugar-devel] Multiversion Packages of toolkit.

2019-07-05 Thread ANIKET MATHUR
Sent an email to the Debian user mailing list
debian-u...@lists.debian.org requesting
for packaging v0.114.

Packaging of Sugar-toolkit-gtk3 (sugar3) v0.114.
ANIKET MATHUR 
4:10 PM (2 minutes ago)
to debian-user
G'day,
Aniket Mathur this side, an active contributor of Sugarlabs as well as a
GSoC 19 participant. This mail is a small query regarding the packaging of
"sugar3" module.

We currently have v0.112 packaged. In the latest version (0.114) Sugarlabs
have made the toolkit compatible with both Python and Python 3. But we
don't have Debian multi-version packages for the latest version. This
prevents us to scale our testing as well as limits the number of testers.

We don't know how to make multi-version local packages, that we can
distribute for testing.

It would be good if we have Debian packages for v 0.114.

Need Help.
Regards.

On Tue, Jul 2, 2019 at 12:02 PM ANIKET MATHUR  wrote:

> Yes, I was asking about Debian packages. Sorry for incomplete information.
>
> I read sources of some Debian packages:-
> ~ They do use six for keeping multi-version compatibility.
> ~ Instead of a configure.ac, they use setup.py.
> ~ In setup.py, they define entry-points as per the commands from the
> command line specifying python-foo or python3-foo.
>
> I also did a github search for 'python configure.ac' , looked into a
> considerable amount of commits of different users and organizations with
> the motive of "why don't we ask for help from those who seems to be
> successful in doing it".
>
> From my research, I found out that the guys at "balabit" seems to be able
> to do it.
> I opened an issue <https://github.com/balabit/syslog-ng/issues/2814> asking
> for help and clearance.
>
> The next step is to contact the Debian developers.
>
> Thanks!
>
> On Mon, Jul 1, 2019 at 5:21 AM James Cameron  wrote:
>
>> You neglected to mention that you are asking about Debian and Ubuntu
>> binary packages.  Ubuntu packages come from Debian unchanged, so your
>> question can be reduced to Debian packaging.
>>
>> We're the wrong people to ask.  It's not a skill any of us at Sugar
>> Labs have, otherwise we would have done it by now.
>>
>> The people who know how to do this are Debian and Ubuntu package
>> developers.
>>
>> I've tried asking one of the Debian developers but they were too busy
>> to give private assistance.  Private assistance does not scale, so the
>> return on investment is meagre.
>>
>> I suggest you try these things;
>>
>> 1.  write a throw-away script to download all Debian packages that
>> depend on Python 2 or Python 3, intersect a union of source packages
>> that support both versions, and then list those packages that contain
>> configure.ac in the source package,
>>
>> 2.  review those Debian and Ubuntu source packages that are used to
>> generate binary packages for both Python 2 and Python 3, and list the
>> package design patterns that you observe,
>>
>> 3.  contact the Debian developers using their mailing lists, or other
>> methods,
>>
>> 4.  engage in the Debian project by reporting a bug that asks for
>> packaging of a new version of the toolkit; currently 0.112 is
>> packaged.
>>
>> On Sat, Jun 29, 2019 at 02:32:33PM +0530, ANIKET MATHUR wrote:
>> > Hello everyone,
>> >
>> > I have been working on developing multi-version packages for toolkit
>> which can
>> > build for both Python and Python 3. I successfully build packages for
>> python,
>> > but not able to yet built one's having multi-version support. I have
>> been
>> > working on this for some time in the last two weeks, trying to get
>> something
>> > from the source code of existing tools that have these packages, like
>> 'pip' and
>> > a lot more.
>> >
>> > I need help and suggestions in this work. :-)
>> >
>> > Thanks!
>>
>> > ___
>> > Sugar-devel mailing list
>> > Sugar-devel@lists.sugarlabs.org
>> > http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
>> --
>> James Cameron
>> http://quozl.netrek.org/
>> ___
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] GSoC 2019 - Learn about another project

2019-07-05 Thread ANIKET MATHUR
I went through Nikhil's weekly blogs, also viewed some of his pull requests
and tried to understand the changes.
Seems like Nikhil is doing a great job. :-)

On Tue, Jul 2, 2019 at 3:47 AM Rahul Bothra  wrote:

> G'day,
>
> We've completed the first set of evaluations for all GSoC projects. Since
> the students have made significant contributions now, we are trying a new
> activity to increase community engagement.
>
> Each student should understand about a different student's project, and
> accordingly, will be explaining his project to a third student. Here's the
> list of projects every student should understand,
>
> Nikhil Mehra - Create a Sugar Dashboard
> Hrishi Patel - Performance in Music Blocks
> Favour Kelvin - Create write activity for Sugarizer
> Ashish Aggarwal - Improve and Maintain 25 sugar activities
> Swarup N - Expand Sugarizer's Excerciser Activity
> Avinash Agarwal - Reconciling rhythm with pitch in Music Blocks widgets
> Sparsh Agarwal - Port to Python 3
> Aniket Mathur - Improve Sugarizer Server Dashboard
>
> To understand a project, you may talk to the student, it's mentors, or ask
> questions on @sugar-devel.
>
> Your responsibilities include;
>  - Understand the goals of the project and how is the student
> accomplishing them
>  - Test the work done in the project
>  - Explain your project to the student to which it is assigned
>
>
> For any questions or feedback, feel free to reach out to the Org Admins
>
> Regards
> Rahul Bothra
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Multiversion Packages of toolkit.

2019-07-02 Thread ANIKET MATHUR
Yes, I was asking about Debian packages. Sorry for incomplete information.

I read sources of some Debian packages:-
~ They do use six for keeping multi-version compatibility.
~ Instead of a configure.ac, they use setup.py.
~ In setup.py, they define entry-points as per the commands from the
command line specifying python-foo or python3-foo.

I also did a github search for 'python configure.ac' , looked into a
considerable amount of commits of different users and organizations with
the motive of "why don't we ask for help from those who seems to be
successful in doing it".

>From my research, I found out that the guys at "balabit" seems to be able
to do it.
I opened an issue <https://github.com/balabit/syslog-ng/issues/2814> asking
for help and clearance.

The next step is to contact the Debian developers.

Thanks!

On Mon, Jul 1, 2019 at 5:21 AM James Cameron  wrote:

> You neglected to mention that you are asking about Debian and Ubuntu
> binary packages.  Ubuntu packages come from Debian unchanged, so your
> question can be reduced to Debian packaging.
>
> We're the wrong people to ask.  It's not a skill any of us at Sugar
> Labs have, otherwise we would have done it by now.
>
> The people who know how to do this are Debian and Ubuntu package
> developers.
>
> I've tried asking one of the Debian developers but they were too busy
> to give private assistance.  Private assistance does not scale, so the
> return on investment is meagre.
>
> I suggest you try these things;
>
> 1.  write a throw-away script to download all Debian packages that
> depend on Python 2 or Python 3, intersect a union of source packages
> that support both versions, and then list those packages that contain
> configure.ac in the source package,
>
> 2.  review those Debian and Ubuntu source packages that are used to
> generate binary packages for both Python 2 and Python 3, and list the
> package design patterns that you observe,
>
> 3.  contact the Debian developers using their mailing lists, or other
> methods,
>
> 4.  engage in the Debian project by reporting a bug that asks for
> packaging of a new version of the toolkit; currently 0.112 is
> packaged.
>
> On Sat, Jun 29, 2019 at 02:32:33PM +0530, ANIKET MATHUR wrote:
> > Hello everyone,
> >
> > I have been working on developing multi-version packages for toolkit
> which can
> > build for both Python and Python 3. I successfully build packages for
> python,
> > but not able to yet built one's having multi-version support. I have been
> > working on this for some time in the last two weeks, trying to get
> something
> > from the source code of existing tools that have these packages, like
> 'pip' and
> > a lot more.
> >
> > I need help and suggestions in this work. :-)
> >
> > Thanks!
>
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
> --
> James Cameron
> http://quozl.netrek.org/
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Multiversion Packages of toolkit.

2019-06-29 Thread ANIKET MATHUR
Hello everyone,

I have been working on developing multi-version packages for toolkit which
can build for both Python and Python 3. I successfully build packages for
python, but not able to yet built one's having multi-version support. I
have been working on this for some time in the last two weeks, trying to
get something from the source code of existing tools that have these
packages, like 'pip' and a lot more.

I need help and suggestions in this work. :-)

Thanks!
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Could not find lemmatization model

2019-06-18 Thread Vidit Mathur
Sir/ma'am
I was trying to integrate OpenNLP with solr for lemmatizating the search
text but I could find the lemmatization model on opennle.sourceforge.net .
Could you please help me with this issue or suggestion some work around.
Regards
Vidit Mathur
(Student)


Re: [Sugar-devel] Problem packaging toolkit

2019-06-11 Thread ANIKET MATHUR
Thanks.
Regarding packaging for both the version, first we have to make changes in
the configure.ac file so that the toolkit is installed for both the
versions automatically?
For Python 3 do I have to make a separate repo or just push the
python3-sugar3 to the *current repo?*
Sorry, I am confused.

On Tue, Jun 11, 2019 at 11:21 AM James Cameron  wrote:

> Look for python-foo and python3-foo packages that have been built from
> the same source package.
>
> Once you have it working, this lintian warning in
> sugar-toolkit-gtk3_0.114-1_amd64.build will vanish;
>
> W: sugar-toolkit-gtk3 source: python-foo-but-no-python3-foo python-sugar3
>
> Reviewed your packages; you have successfully reproduced what Ubuntu
> and Debian have done, plus you've adopted 0.114.  Well done.
>
> Things to do;
>
> * [ ] add new python3-sugar3 package into which the build for python3
>   will be constructed, as per above,
>
> * [ ] ensure /usr/bin/sugar-activity3 is not in the python-sugar3
>   package,
>
> * [ ] ensure /usr/bin/sugar-activity is not in the python3-sugar3
>   package,
>
> * [ ] use a developer local version number, perhaps with a git hash,
>
> * [ ] fix your mail address in debian/changelog
>
> On Tue, Jun 11, 2019 at 10:58:22AM +0530, ANIKET MATHUR wrote:
> > Thanks, made a separate github repo. [1]Link.
> > áRegarding packaging for both Python 2 and Python 3, sorry I never came
> along
> > with same Ubuntu packages installing for both the versions of Python.
> Though I
> > have seen separate packages for Python 2 and Python 3 line pip and pip3.
> I will
> > do my research regarding this and will give updates if I found anything
> useful.
> >
> > On Tue, Jun 11, 2019 at 10:23 AM James Cameron <[2]qu...@laptop.org>
> wrote:
> >
> > Put them somewhere for me to download; either a separate GitHub
> > repository, or a web server.á We can make an account for you on
> > sunjammer, see the Wiki Service/Shell page.
> >
> > You may be interested in dcmd as a quick way to simplify copying
> > these files.
> >
> > Also look at how to use reprepro, which can make a package archive
> > that you can then serve with a web server and use in sources.list
> >
> > Once you've made the packages available to me, I'll check them.
> >
> > Next step is to package for both Python 2 and Python 3.á I don't know
> > how to do that yet.á There are other Debian and Ubuntu packages with
> > dual-version source that may be used as a template.
> >
> > On Tue, Jun 11, 2019 at 10:01:08AM +0530, ANIKET MATHUR wrote:
> > > Thanks.
> > > I have build the packages.Now what should I do next, which files I
> have
> > to
> > > share?
> > >
> > > On Mon, Jun 10, 2019 at 2:28 PM James Cameron <[1][3]
> qu...@laptop.org>
> > wrote:
> > >
> > >á á áI've checked, and po/LINGUAS does contain ach.á The problem is
> caused
> > >á á áby bzr builddeb running the check-po target of the Makefile,
> which
> > >á á ácurrently fails like this;
> > >
> > >á á áhost:sugar-toolkit-gtk3$ make check-po
> > >á á á*** ach missing from po/LINGUAS ***
> > >á á áMakefile:859: recipe for target 'check-po' failed
> > >á á ámake: *** [check-po] Error 1
> > >
> > >á á áYou're welcome to fix this target.á See Makefile.am.á The
> failure is
> > >á á áunrelated to packaging and can be reproduced easily.á I don't
> plan to
> > >á á áfix it before the next release.
> > >
> > >á á áThe guide you refer to is for packaging new software for
> > >á á áUbuntu, whereas the Toolkit is existing software from Debian
> that
> > >á á áUbuntu has adopted without change.
> > >
> > >á á áUse the Debian source package instead.á You can get it from
> Ubuntu as
> > >á á áa source package using `apt source`, or `dget` the dsc from
> > >á á á[2][4]packages.ubuntu.com.á Change the version in
> debian/changelog
> > and
> > >á á ásubstitute the new source tar.xz file.
> > >
> > >á á áSee also sugar/docs/debian-packaging-example.md
> > >
> > >á á áOn Mon, Jun 10, 2019 at 01:06:00PM +0530, ANIKET MATHUR wrote:
> > >á á á> Hello everyone.
> > >á á á> I was trying to package sugar-toolkit-gtk3 v 0.114 following
> the
> > [1]
> > >á á á> documentation.
> > >á á á> I successful

Re: [Sugar-devel] Problem packaging toolkit

2019-06-10 Thread ANIKET MATHUR
Thanks, made a separate github repo. Link
<https://github.com/Aniket21mathur/sugar-toolkit-gtk3-packages>.
 Regarding packaging for both Python 2 and Python 3, sorry I never came
along with same Ubuntu packages installing for both the versions of Python.
Though I have seen separate packages for Python 2 and Python 3 line pip and
pip3. I will do my research regarding this and will give updates if I found
anything useful.

On Tue, Jun 11, 2019 at 10:23 AM James Cameron  wrote:

> Put them somewhere for me to download; either a separate GitHub
> repository, or a web server.  We can make an account for you on
> sunjammer, see the Wiki Service/Shell page.
>
> You may be interested in dcmd as a quick way to simplify copying
> these files.
>
> Also look at how to use reprepro, which can make a package archive
> that you can then serve with a web server and use in sources.list
>
> Once you've made the packages available to me, I'll check them.
>
> Next step is to package for both Python 2 and Python 3.  I don't know
> how to do that yet.  There are other Debian and Ubuntu packages with
> dual-version source that may be used as a template.
>
> On Tue, Jun 11, 2019 at 10:01:08AM +0530, ANIKET MATHUR wrote:
> > Thanks.
> > I have build the packages.Now what should I do next, which files I have
> to
> > share?
> >
> > On Mon, Jun 10, 2019 at 2:28 PM James Cameron <[1]qu...@laptop.org>
> wrote:
> >
> > I've checked, and po/LINGUAS does contain ach.  The problem is caused
> > by bzr builddeb running the check-po target of the Makefile, which
> > currently fails like this;
> >
> > host:sugar-toolkit-gtk3$ make check-po
> > *** ach missing from po/LINGUAS ***
> > Makefile:859: recipe for target 'check-po' failed
> > make: *** [check-po] Error 1
> >
> > You're welcome to fix this target.  See Makefile.am.  The failure is
> > unrelated to packaging and can be reproduced easily.  I don't plan to
> > fix it before the next release.
> >
> > The guide you refer to is for packaging new software for
> > Ubuntu, whereas the Toolkit is existing software from Debian that
> > Ubuntu has adopted without change.
> >
> > Use the Debian source package instead.  You can get it from Ubuntu as
> > a source package using `apt source`, or `dget` the dsc from
> > [2]packages.ubuntu.com.  Change the version in debian/changelog and
> > substitute the new source tar.xz file.
> >
> > See also sugar/docs/debian-packaging-example.md
> >
> > On Mon, Jun 10, 2019 at 01:06:00PM +0530, ANIKET MATHUR wrote:
> > > Hello everyone.
> > > I was trying to package sugar-toolkit-gtk3 v 0.114 following the
> [1]
> > > documentation.
> > > I successfully followed till 4.2, but on running the first command
> in 4.3
> > >
> > > bzr builddeb -- -us -uc
> > >
> > > The build failed with
> > >
> > > `
> > > make[1]: Entering directory '/home/aniket21/toolkit/build-area/
> > sugar-toolkit-gtk3-0.114'
> > > *** ach missing from po/LINGUAS ***
> > > Makefile:859: recipe for target 'check-po' failed
> > > make[1]: *** [check-po] Error 1
> > > make[1]: Leaving directory '/home/aniket21/toolkit/build-area/
> > sugar-toolkit-gtk3-0.114'
> > > dh_auto_test: make -j1 test VERBOSE=1 returned exit code 2
> > > debian/rules:18: recipe for target 'build' failed
> > > make: *** [build] Error 2
> > > dpkg-buildpackage: error: debian/rules build subprocess returned
> exit
> > status 2
> > > debuild: fatal error at line 1152:
> > > dpkg-buildpackage -rfakeroot -us -uc -ui failed
> > > bzr: ERROR: The build failed.
> > >
> > > `
> > >
> > > in the terminal. Need help.
> > >
> > > Thanks!
> > >
> > >
> > >
> > > References:
> > >
> > > [1] [3]
> http://packaging.ubuntu.com/html/packaging-new-software.html
> >
> > > ___
> > > Sugar-devel mailing list
> > > [4]Sugar-devel@lists.sugarlabs.org
> > > [5]http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> > --
> > James Cameron
> > [6]http://quozl.netrek.org/
> >
> > References:
> >
> > [1] mailto:qu...@laptop.org
> > [2] http://packages.ubuntu.com/
> > [3] http://packaging.ubuntu.com/html/packaging-new-software.html
> > [4] mailto:Sugar-devel@lists.sugarlabs.org
> > [5] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [6] http://quozl.netrek.org/
>
> --
> James Cameron
> http://quozl.netrek.org/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Error testing collaboration using 2 Oracle virtual machines

2019-06-10 Thread ANIKET MATHUR
*Is the "Protocol 'jabber' not found on CM 'gabble'" tracebackreproducible?*
No, it is not reproducible. I get it only when I start sugar desktop for
the first time after setting sugar.

 *I don't know what you mean by "able to see the buddy icon".  In the*
*context of the thread, I'm confused.*
I meant to say that we are able to see the buddy icon of the other vm in
the neghbourhood view only if the two Vms are on the same network. So if we
are able to see the buddy icon, this means that the vm's are able to
interact, isn't it?

Thanks!

On Mon, Jun 10, 2019 at 12:53 PM James Cameron  wrote:

> Thanks.
>
> Without the Collaboration Server configured, Sugar will use link-local
> Salut.  This is a normal configuration, and is the default.  It does
> not require internet.  When using VMs, they must be on the same network.
>
> With the Collaboration Server configured, Sugar will use Jabber via
> Gabble.  This is a normal configuration, but is not the default.  It
> does require internet, or a Jabber server on a local network.  When
> using VMs, they may be on different networks.
>
> Both of these normal configurations should be tested when porting,
> thanks.  Most of my testing is link-local only.
>
> We have a Jabber server jabber.sugarlabs.org for testing.
>
> Is the "Protocol 'jabber' not found on CM 'gabble'" traceback
> reproducible?
>
> I don't know what you mean by "able to see the buddy icon".  In the
> context of the thread, I'm confused.
>
> On Mon, Jun 10, 2019 at 10:07:26AM +0530, ANIKET MATHUR wrote:
> > Do you have a Collaboration Server configured in My Setting - Network?
> > No, I don't have it configured, since . I am using both the vm's on the
> same
> > internal network, do I have to configure it.
> > Also, I am able to see the buddy icon of other instance in the
> neighbourhood
> > view of the first instance and vice versa.
> > Thanks!
> >
> > On Mon, Jun 10, 2019 at 7:42 AM James Cameron <[1]qu...@laptop.org>
> wrote:
> >
> > G'day,
> >
> > Thanks for your problem report.
> >
> > I've tested using two KVM instances of Ubuntu 19.04, with Sugar
> 0.112.
> > After login but before taking any action, these lines are in
> > shell.log;
> >
> > ```
> > /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:1630: Warning:
> > g_value_transform: assertion 'G_IS_VALUE (src_value)' failed
> >   return _Gtk_main(*args, **kwargs)
> > /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:1630: Warning:
> unable
> > to set property 'buddy' of type 'PyObject' from value of type
> '(null)'
> >   return _Gtk_main(*args, **kwargs)
> > ```
> >
> > For Ubuntu 18.04, with Sugar 0.114, these lines are in shell.log;
> >
> > ```
> > /usr/lib/python2.7/dist-packages/jarabe/main.py:378: Warning:
> > g_value_transform: assertion 'G_IS_VALUE (src_value)' failed
> >   Gtk.main()
> > /usr/lib/python2.7/dist-packages/jarabe/main.py:378: Warning: unable
> to set
> > property 'buddy' of type 'PyObject' from value of type '(null)'
> >   Gtk.main()
> > ```
> >
> > I've seen these two log lines often.  I'd like them fixed, but I've
> > not found the cause.  Prefix varies, but the two log lines correspond
> > in time to the startup of Sugar, and not to the "Make friend" option.
> > You have equivalent lines in your log.  All log lines are in time
> > order.
> >
> > On both Ubuntu 18.04 and 19.04, in the Neigbourhood View of each the
> > buddy icon of the other is shown.  When I click on "Make friend"
> > option, the buddy icon remains visible.  When I switch to Group View,
> > the buddy icon of the new friend is shown.
> >
> > The traceback in your log happened during startup of Sugar, after the
> > instance of Neighborhood was created, and completion of an
> > asynchronous request for valid accounts.
> >
> > Given when the traceback happened during startup, the traceback is
> > unrelated to the "Make friend" option.
> >
> > I've not been able to reproduce the traceback.
> >
> > The error "Protocol 'jabber' not found on CM 'gabble'" suggests that
> > the telepathy-gabble connection manager has either;
> >
> > - failed,
> >
> > - taken too long to start, (especially likely on a virtual machine),
> or;
> >
> > - has not established a connection to your Jabber server.
> >
> > You reported the

[Sugar-devel] Problem packaging toolkit

2019-06-10 Thread ANIKET MATHUR
Hello everyone.
I was trying to package sugar-toolkit-gtk3 v 0.114 following the
documentation 
.
I successfully followed till 4.2, but on running the first command in 4.3

bzr builddeb -- -us -uc

The build failed with

`
make[1]: Entering directory
'/home/aniket21/toolkit/build-area/sugar-toolkit-gtk3-0.114'
*** ach missing from po/LINGUAS ***
Makefile:859: recipe for target 'check-po' failed
make[1]: *** [check-po] Error 1
make[1]: Leaving directory
'/home/aniket21/toolkit/build-area/sugar-toolkit-gtk3-0.114'
dh_auto_test: make -j1 test VERBOSE=1 returned exit code 2
debian/rules:18: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1152:
dpkg-buildpackage -rfakeroot -us -uc -ui failed
bzr: ERROR: The build failed.

`

in the terminal. Need help.

Thanks!
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Error testing collaboration using 2 Oracle virtual machines

2019-06-09 Thread ANIKET MATHUR
*Do you have a Collaboration Server configured in My Setting - Network?*
No, I don't have it configured, since . I am using both the vm's on the
same internal network, do I have to configure it.
Also, I am able to see the buddy icon of other instance in the
neighbourhood view of the first instance and vice versa.
Thanks!

On Mon, Jun 10, 2019 at 7:42 AM James Cameron  wrote:

> G'day,
>
> Thanks for your problem report.
>
> I've tested using two KVM instances of Ubuntu 19.04, with Sugar 0.112.
> After login but before taking any action, these lines are in
> shell.log;
>
> ```
> /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:1630: Warning:
> g_value_transform: assertion 'G_IS_VALUE (src_value)' failed
>   return _Gtk_main(*args, **kwargs)
> /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:1630: Warning: unable
> to set property 'buddy' of type 'PyObject' from value of type '(null)'
>   return _Gtk_main(*args, **kwargs)
> ```
>
> For Ubuntu 18.04, with Sugar 0.114, these lines are in shell.log;
>
> ```
> /usr/lib/python2.7/dist-packages/jarabe/main.py:378: Warning:
> g_value_transform: assertion 'G_IS_VALUE (src_value)' failed
>   Gtk.main()
> /usr/lib/python2.7/dist-packages/jarabe/main.py:378: Warning: unable to
> set property 'buddy' of type 'PyObject' from value of type '(null)'
>   Gtk.main()
> ```
>
> I've seen these two log lines often.  I'd like them fixed, but I've
> not found the cause.  Prefix varies, but the two log lines correspond
> in time to the startup of Sugar, and not to the "Make friend" option.
> You have equivalent lines in your log.  All log lines are in time
> order.
>
> On both Ubuntu 18.04 and 19.04, in the Neigbourhood View of each the
> buddy icon of the other is shown.  When I click on "Make friend"
> option, the buddy icon remains visible.  When I switch to Group View,
> the buddy icon of the new friend is shown.
>
> The traceback in your log happened during startup of Sugar, after the
> instance of Neighborhood was created, and completion of an
> asynchronous request for valid accounts.
>
> Given when the traceback happened during startup, the traceback is
> unrelated to the "Make friend" option.
>
> I've not been able to reproduce the traceback.
>
> The error "Protocol 'jabber' not found on CM 'gabble'" suggests that
> the telepathy-gabble connection manager has either;
>
> - failed,
>
> - taken too long to start, (especially likely on a virtual machine), or;
>
> - has not established a connection to your Jabber server.
>
> You reported the same error in your post of 21st May.
> http://lists.sugarlabs.org/archive/sugar-devel/2019-May/056916.html
>
> Nobody else has reported this error.
>
> Given you saw this before, and you probably did not use "Make friend"
> at the time, the traceback is again unrelated to "Make friend".
>
> Do you have a Collaboration Server configured in My Setting - Network?
>
> Is the traceback reproducible?  If so, enable debug logging for
> telepathy-gabble so you can find out why the connection manager has no
> protocol 'jabber'.  If the traceback is not reproducible, then ignore
> it; it was likely because telepathy-gabble process did not finish
> starting by the time Sugar tried to create an account on the
> connection.
>
> Speculating; this is a race condition problem; a race between Sugar
> startup and Telepathy, and the fix may have to be done in Telepathy.
>
> On Sat, Jun 08, 2019 at 12:04:32PM +0530, ANIKET MATHUR wrote:
> > Hello everyone,
> > I am using 2 Oracle Vm's having Ubuntu 18.04, using Sugar 0.112, both
> attached
> > to the same internal network. In the neigbourhood view of each the buddy
> icon
> > of other is shown. But when I click on `Make friend` option, the buddy
> icon
> > disappears and I have the following as the traceback
> >
> > ```
> > Traceback (most recent call last):
> >   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 604,
> in
> > msg_reply_handler
> > reply_handler(*message.get_args_list(**get_args_opts))
> >   File "/usr/lib/python2.7/dist-packages/jarabe/model/neighborhood.py",
> line
> > 738, in __got_accounts_cb
> > self._server_account = self._ensure_server_account(account_paths)
> >   File "/usr/lib/python2.7/dist-packages/jarabe/model/neighborhood.py",
> line
> > 851, in _ensure_server_account
> > properties)
> >   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in
> __call__
> > return self._proxy_method(*args, **keywords)
> >   File "/usr/lib/python2.7/dist-packages/d

Re: [Sugar-devel] Using rdesktop in Ubuntu 18.04 Vm

2019-05-23 Thread ANIKET MATHUR
Thanks. It's isn't a problem with sugar. :-)

On Fri, May 24, 2019 at 3:38 AM James Cameron  wrote:

> Ah, thanks, that's interesting.  We did have Xvnc in earlier
> instructions, but it stopped working so we switched to Xrdp.  Now that
> Xrdp has stopped working we can either switch back to Xvnc, or find
> out what the problem is.
>
> That's why I asked if the problem is unique to Sugar; if the black
> screen is Sugar's jarabe.main() hung, only the system process list may
> show it.  If Sugar is hung, we might find out why.  If the hang is
> before Sugar starts, then it is a problem with Xrdp or the Xsession
> default configuration.
>
> If it isn't a problem with Sugar, then it could be raised with Ubuntu
> or Debian against Xrdp.
>
> On Thu, May 23, 2019 at 06:43:08PM +0530, ANIKET MATHUR wrote:
> > Thanks. Xrdp uses Xorg as default, switching to Xvnc did the job for me.
> But I
> > did one step nit mentioned in the documentation, that was
> > installing tightvncserver, Following the second answer in [1]this.
> >
> > On Thu, May 23, 2019 at 3:58 PM James Cameron <[2]qu...@laptop.org>
> wrote:
> >
> > Try it with another account wihout setting up a Sugar .xsession
> file.  If
> > it fails the same way, you know it has to do with rdesktop or the
> Ubuntu
> > 18.04 X11 packages.
> >
> > On Thu, May 23, 2019 at 11:45:49AM +0530, ANIKET MATHUR wrote:
> > > I am trying to use rdesktop in Ubuntu 18.04 Vm to test port to
> > TelepathyGlib. I
> > > followed the steps given in the sugar-docs to set up a sugar
> instance
> > using
> > > rdesktop, but whenever I run "rdesktop -g 1200x900 -u guest -p
> guest
> > > 127.0.0.1", a separate window opens, but always remains black not
> showing
> > any
> > > further activity. Am I doing Something wrong or incomplete? Need
> > help.Thanks.
> >
> > > ___
> > > Sugar-devel mailing list
> > > [3]Sugar-devel@lists.sugarlabs.org
> > > [4]http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> > --
> > James Cameron
> > [5]http://quozl.netrek.org/
> > ___
> > Sugar-devel mailing list
> > [6]Sugar-devel@lists.sugarlabs.org
> > [7]http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> > References:
> >
> > [1]
> https://askubuntu.com/questions/797973/error-problem-connecting-windows-10-rdp-into-xrdp
> > [2] mailto:qu...@laptop.org
> > [3] mailto:Sugar-devel@lists.sugarlabs.org
> > [4] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [5] http://quozl.netrek.org/
> > [6] mailto:Sugar-devel@lists.sugarlabs.org
> > [7] http://lists.sugarlabs.org/listinfo/sugar-devel
>
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
> --
> James Cameron
> http://quozl.netrek.org/
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Problem collaborating some activities using rdesktop instances.

2019-05-23 Thread ANIKET MATHUR
To test telepathy port I made two instances of sugar using rdesktop. First
tried to collaborate using chat activity and was successful, as making the
other user friend and allowing neighborhood in the activity, gave an option
of "invite to chat activity" in the neighbourhood view.
But when I tried to do it with cookie-search or collabedit, I don't get any
such "invite to.." option. Without collaborating it's impossible for me to
test the telepathy port. Need help.
Thanks.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Using rdesktop in Ubuntu 18.04 Vm

2019-05-23 Thread ANIKET MATHUR
Thanks. Xrdp uses Xorg as default, switching to Xvnc did the job for me.
But I did one step nit mentioned in the documentation, that was
installing tightvncserver, Following the second answer in this
<https://askubuntu.com/questions/797973/error-problem-connecting-windows-10-rdp-into-xrdp>
.

On Thu, May 23, 2019 at 3:58 PM James Cameron  wrote:

> Try it with another account wihout setting up a Sugar .xsession file.  If
> it fails the same way, you know it has to do with rdesktop or the Ubuntu
> 18.04 X11 packages.
>
> On Thu, May 23, 2019 at 11:45:49AM +0530, ANIKET MATHUR wrote:
> > I am trying to use rdesktop in Ubuntu 18.04 Vm to test port to
> TelepathyGlib. I
> > followed the steps given in the sugar-docs to set up a sugar instance
> using
> > rdesktop, but whenever I run "rdesktop -g 1200x900 -u guest -p guest
> > 127.0.0.1", a separate window opens, but always remains black not
> showing any
> > further activity. Am I doing Something wrong or incomplete? Need
> help.Thanks.
>
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
> --
> James Cameron
> http://quozl.netrek.org/
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Using rdesktop in Ubuntu 18.04 Vm

2019-05-23 Thread ANIKET MATHUR
Waiting for about 5 minutes resulted in the successful creation of the
sugar instance .

On Thu, May 23, 2019 at 11:45 AM ANIKET MATHUR 
wrote:

> I am trying to use rdesktop in Ubuntu 18.04 Vm to test port to
> TelepathyGlib. I followed the steps given in the sugar-docs to set up a
> sugar instance using rdesktop, but whenever I run "rdesktop -g 1200x900 -u
> guest -p guest 127.0.0.1", a separate window opens, but always remains
> black not showing any further activity. Am I doing Something wrong or
> incomplete? Need help.Thanks.
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Using rdesktop in Ubuntu 18.04 Vm

2019-05-23 Thread ANIKET MATHUR
I am trying to use rdesktop in Ubuntu 18.04 Vm to test port to
TelepathyGlib. I followed the steps given in the sugar-docs to set up a
sugar instance using rdesktop, but whenever I run "rdesktop -g 1200x900 -u
guest -p guest 127.0.0.1", a separate window opens, but always remains
black not showing any further activity. Am I doing Something wrong or
incomplete? Need help.Thanks.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Toolkit Installation Sugar v0.113

2019-05-21 Thread ANIKET MATHUR
Thanks James I was not starting Sugar as a desktop session. Now things work
fine for me.

On Tue, May 21, 2019 at 12:26 PM James Cameron  wrote:

> Thanks.
>
> Are you sure you gave me the correct log?  There's no segmentation
> fault shown there.  The log should be .sugar/default/logs/shell.log
>
> You can gather more information about a segmentation fault using gdb
> and backtrace command.
>
> Further reply in context below.
>
> On Tue, May 21, 2019 at 12:10:20PM +0530, ANIKET MATHUR wrote:
> > Regarding the Segmentation Fault.
> >
> > (main.py:2041): Gtk-WARNING **: 12:04:58.709: Theme parsing error:
> > gtk-widgets.css:16:32: The style property GtkExpander:expander-size
> is
> > deprecated and shouldn't be used anymore. It will be removed in a
> future
> > version
> >
> > (main.py:2041): Gtk-WARNING **: 12:04:58.709: Theme parsing error:
> > gtk-widgets.css:17:35: The style property
> GtkExpander:expander-spacing is
> > deprecated and shouldn't be used anymore. It will be removed in a
> future
> > version
> >
> > (metacity:2048): metacity-WARNING **: 12:04:58.799: Screen 0 on
> display
> > ":0" already has a window manager; try using the --replace option to
> > replace the current window manager.
> > 1558420503.333096 ERROR root: window manager did fail, restarting
> > Traceback (most recent call last):
>
> Confirm you are starting Sugar as a desktop session and not as a
> program inside another desktop session?
>
> For example, on my Ubuntu 18.04 test system, `ps axfww` shows jarabe
> to be a child process of gdm-x-session, gdm-session-worker, and gdm3;
> thus;
>
> ...
>  1885 ?Ssl0:00 /usr/sbin/gdm3
>  2547 ?Sl 0:00  \_ gdm-session-worker [pam/gdm-password]
>  2557 tty2 Ssl+   0:00  \_ /usr/lib/gdm3/gdm-x-session
> --run-script sugar
>  2560 tty2 Sl+0:10  \_ /usr/lib/xorg/Xorg vt2 -displayfd 3
> -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty
> -verbose 3
>  2569 tty2 Sl+0:10  \_ python2 -m jarabe.main
>  2635 ?Ss 0:00  \_ /usr/bin/ssh-agent
> /usr/bin/im-launch sugar
>  2659 tty2 Z+ 0:00  \_ [sugar] 
>  2670 tty2 Sl+0:00  \_ metacity --no-force-fullscreen
> --no-composite
>
> >   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line
> 604, in
> > msg_reply_handler
> > reply_handler(*message.get_args_list(**get_args_opts))
> >   File "/usr/local/lib/python2.7/dist-packages/jarabe/model/
> > neighborhood.py", line 738, in __got_accounts_cb
> > self._server_account = self._ensure_server_account(account_paths)
> >   File "/usr/local/lib/python2.7/dist-packages/jarabe/model/
> > neighborhood.py", line 851, in _ensure_server_account
> > properties)
> >   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70,
> in
> > __call__
> > return self._proxy_method(*args, **keywords)
> >   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145,
> in
> > __call__
> > **keywords)
> >   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line
> 651, in
> > call_blocking
> > message, timeout)
> > dbus.exceptions.DBusException:
> > org.freedesktop.Telepathy.Error.NotImplemented: Protocol 'jabber'
> not found
> > on CM 'gabble'
>
> Is Telepathy Gabble installed?
>
> > /usr/local/lib/python2.7/dist-packages/jarabe/main.py:378: Warning:
> > g_value_transform: assertion 'G_IS_VALUE (src_value)' failed
> >   Gtk.main()
> > /usr/local/lib/python2.7/dist-packages/jarabe/main.py:378: Warning:
> unable
> > to set property 'buddy' of type 'PyObject' from value of type
> '(null)'
> >   Gtk.main()
> >
> > (metacity:2175): metacity-WARNING **: 12:05:04.405: Screen 0 on
> display
> > ":0" already has a window manager; try using the --replace option to
> > replace the current window manager.
> > /usr/local/lib/python2.7/dist-packages/jarabe/main.py:378: Warning:
> > g_spawn_command_line_async: assertion 'command_line != NULL' failed
> >   Gtk.main()
> >
> > This is the log that I am getting on starting Sugar Desktop.
>
> Apart from the log, is there anything else that happens?  i.e. does
> Sugar start and show the activity ring or Journal?
>
> > On Wed, May 15, 2019 at 1:49 PM James Cam

Re: [Sugar-devel] Toolkit Installation Sugar v0.113

2019-05-21 Thread ANIKET MATHUR
Regarding the Segmentation Fault.

(main.py:2041): Gtk-WARNING **: 12:04:58.709: Theme parsing error:
> gtk-widgets.css:16:32: The style property GtkExpander:expander-size is
> deprecated and shouldn't be used anymore. It will be removed in a future
> version
>
> (main.py:2041): Gtk-WARNING **: 12:04:58.709: Theme parsing error:
> gtk-widgets.css:17:35: The style property GtkExpander:expander-spacing is
> deprecated and shouldn't be used anymore. It will be removed in a future
> version
>
> (metacity:2048): metacity-WARNING **: 12:04:58.799: Screen 0 on display
> ":0" already has a window manager; try using the --replace option to
> replace the current window manager.
> 1558420503.333096 ERROR root: window manager did fail, restarting
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 604, in
> msg_reply_handler
> reply_handler(*message.get_args_list(**get_args_opts))
>   File
> "/usr/local/lib/python2.7/dist-packages/jarabe/model/neighborhood.py", line
> 738, in __got_accounts_cb
> self._server_account = self._ensure_server_account(account_paths)
>   File
> "/usr/local/lib/python2.7/dist-packages/jarabe/model/neighborhood.py", line
> 851, in _ensure_server_account
> properties)
>   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in
> __call__
> return self._proxy_method(*args, **keywords)
>   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in
> __call__
> **keywords)
>   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in
> call_blocking
> message, timeout)
> dbus.exceptions.DBusException:
> org.freedesktop.Telepathy.Error.NotImplemented: Protocol 'jabber' not found
> on CM 'gabble'
> /usr/local/lib/python2.7/dist-packages/jarabe/main.py:378: Warning:
> g_value_transform: assertion 'G_IS_VALUE (src_value)' failed
>   Gtk.main()
> /usr/local/lib/python2.7/dist-packages/jarabe/main.py:378: Warning: unable
> to set property 'buddy' of type 'PyObject' from value of type '(null)'
>   Gtk.main()
>
> (metacity:2175): metacity-WARNING **: 12:05:04.405: Screen 0 on display
> ":0" already has a window manager; try using the --replace option to
> replace the current window manager.
> /usr/local/lib/python2.7/dist-packages/jarabe/main.py:378: Warning:
> g_spawn_command_line_async: assertion 'command_line != NULL' failed
>   Gtk.main()
>

This is the log that I am getting on starting Sugar Desktop.

On Wed, May 15, 2019 at 1:49 PM James Cameron  wrote:

> Thanks!
>
> I've proposed a pull request to let the caller specify the Python
> version, and a draft pull request documenting how to build for both
> versions.
>
> https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/411
> https://github.com/sugarlabs/sugar/pull/829
>
> Aniket, when you say v0.113 this means you are using either git tag
> v0.113 (i.e. e30b73f) or tarball.  Seems unlikely you are doing that,
> but instead you would be using HEAD of master branch instead.  Is my
> guess right?
>
> Regarding the segmentation fault, please check
> .sugar/default/logs/shell.log for any details, or run within gdb and
> capture a backtrace of all threads.
>
> On Wed, May 15, 2019 at 01:31:23PM +0530, ANIKET MATHUR wrote:
> > Regards,
> > I agree with, James. What I think is that since [1]this pr is not yet
> merged
> > into master, sugar requires python 2,
> > and the way I was installing Sugar builds the toolkit for Python 3. So I
> first
> > installed Sugar from sucrose and then installed the toolkit-gtk3 v0.113
> by
> > hand.
> > Doing this I am able to test ported activities through the command line
> using
> > Ubuntu 18.04 terminal, but opening Sugar home view causes "Segmentation
> fault"
> > with a warning "python2.7 has stopped unexpectedly". I am not yet able to
> > figure out the reason for this.
> >
> > Regarding the Python version in [2]configure.ac, I think that the
> caller should
> > be allowed to specify the version or alternatively since we are porting
> to six,
> > a method building for both python2 and python3 would be great.
> >
> > I don't expect myself to be 100 percent right and expect to be corrected
> > wherever required.
> >
> > Thanks a lot, everyone. ☺
> >
> > On Wed, May 15, 2019 at 3:17 AM James Cameron <[3]qu...@laptop.org>
> wrote:
> >
> > G'day Aniket,
> >
> > If you were using the native sugar build method, then you are using
> > HEAD, which contains all patches since 0.113.  Don't try to apply the
> >

Re: [Sugar-devel] development environment native sugar python 3 dependencies not documented

2019-05-20 Thread ANIKET MATHUR
* "python3 version of *telepathy"*. Sorry for the discrepancy.

On Mon, May 20, 2019 at 12:08 PM ANIKET MATHUR 
wrote:

> Thanks. Used Rahul's port of telepathy for python3. Though have to make
> some fixes, which I requested here
> <https://github.com/pro-panda/telepathy3/pull/1>. These changes finally
> resulted in a successful
> python3 toolkit installed on my system so far( it might be possible that I
> face problems as we proceed further ;-)). Since telepathy is quite an
> essential module for the python3 toolkit to run, I propose a fork of
> python3 version of toolkit to SugarLabs and mentioning of it in the
> native-sugar documentation. This would help developers to set up a testing
> environment until we completely port to TelepathyGlib.
>
> I also have some questions-
> -Activities like Pippy have import of jarabe module. So do we have a
> python3 ported version of jarabe.  Do we need it?
> - Same goes for sugargame, though for it we have a pr opened, which can be
> reviewed and merged now.
>
> On Mon, May 20, 2019 at 6:47 AM James Cameron  wrote:
>
>> Yes, the dependencies for the Python 3 build of sugar-toolkit-gtk3 are
>> not yet listed.
>>
>> Yes, the port from Telepathy static binding to TelepathyGLib is
>> necessary, if only to avoid using Rahul's port of Telepathy to Python
>> 3.
>>
>> p.s. next time please change subject, as your mail was not on topic
>> for the thread.  I've changed it now.
>>
>> On Sat, May 18, 2019 at 06:25:50PM +0530, ANIKET MATHUR wrote:
>> > Hey,
>> > After installing the toolkit for both the python versions and running
>> "sudo apt
>> > install sucrose" as per the [1]documentation native method,
>> > the packages are installed for python 2 only. There is still a need to
>> manually
>> > install packages like decorator for python 3. So what about telepathy?,
>> isn't
>> > it necessary to port to TelapathyGlib to use toolkit for python 3? Need
>> help.
>> > Thanks!
>> >
>> > On Sat, May 18, 2019 at 8:38 AM James Cameron <[2]qu...@laptop.org>
>> wrote:
>> >
>> > Sugar 0.114 is released, with a few fixes.
>> >
>> > Downloads;
>> >
>> > [3]
>> http://download.sugarlabs.org/sources/sucrose/glucose/sugar-artwork/
>> > sugar-artwork-0.114.tar.xz
>> > [4]http://download.sugarlabs.org/sources/sucrose/glucose/
>> > sugar-datastore/sugar-datastore-0.114.tar.xz
>> > [5]http://download.sugarlabs.org/sources/sucrose/glucose/
>> > sugar-toolkit-gtk3/sugar-toolkit-gtk3-0.114.tar.xz
>> > [6]http://download.sugarlabs.org/sources/sucrose/glucose/sugar/
>> > sugar-0.114.tar.xz
>> >
>> > A v0.114 tag has been pushed to each repository.
>> >
>> > No dependencies have changed.
>> >
>> > (After checking the mailing list subscribers for sugar-devel@,
>> there
>> > are no downstream packagers subscribed.  Use your downstream
>> > mechanisms to get their attention if necessary.)
>> >
>> > Brief change log by module below.
>> >
>> > sugar-artwork
>> >
>> > * No changes
>> >
>> > sugar-datastore
>> >
>> > * No changes
>> >
>> > sugar-toolkit-gtk3
>> >
>> > * New translations,
>> > * Build for either python 2 or python 3 (James Cameron),
>> > * Fix collaboration call_async (James Cameron),
>> > * Clean up activity environment variables (James Cameron),
>> > * Add distributed source to .gitignore (James Cameron),
>> > * Add flake8 suppression (James Cameron),
>> >
>> > sugar
>> >
>> > * Documentation for native environment configurations (James
>> Cameron),
>> > * Embed popwindow code in activitychooser (Rahul Bothra),
>> > * Add flake8 suppression (James Cameron),
>> >
>> > sha256 checksums;
>> >
>> > 0d9c63bf861d6facf8d64046ab76191a6a6b4b54daad778b40e3be1e45aa2db0
>> > sugar-artwork/sugar-artwork-0.114.tar.xz
>> > eb4256f1cbf90a9a7d5dd30446e0d0d1a240db02e3104a6339e2f4497dcda4c8
>> > sugar-datastore/sugar-datastore-0.114.tar.xz
>> > 0917276ed41684b885bdac063562fcdfb682660700ee142a02b516a3eeecdbb1
>> sugar/
>> > sugar-0.114.tar.xz
>> > 4b8ca467b85b6273fdb3ae86b1afa5071f4c0c6e11a27e9166a394620c2c77e5
>> > sugar-toolkit-gtk3/sug

Re: [Sugar-devel] development environment native sugar python 3 dependencies not documented

2019-05-20 Thread ANIKET MATHUR
Thanks. Used Rahul's port of telepathy for python3. Though have to make
some fixes, which I requested here
<https://github.com/pro-panda/telepathy3/pull/1>. These changes finally
resulted in a successful
python3 toolkit installed on my system so far( it might be possible that I
face problems as we proceed further ;-)). Since telepathy is quite an
essential module for the python3 toolkit to run, I propose a fork of
python3 version of toolkit to SugarLabs and mentioning of it in the
native-sugar documentation. This would help developers to set up a testing
environment until we completely port to TelepathyGlib.

I also have some questions-
-Activities like Pippy have import of jarabe module. So do we have a
python3 ported version of jarabe.  Do we need it?
- Same goes for sugargame, though for it we have a pr opened, which can be
reviewed and merged now.

On Mon, May 20, 2019 at 6:47 AM James Cameron  wrote:

> Yes, the dependencies for the Python 3 build of sugar-toolkit-gtk3 are
> not yet listed.
>
> Yes, the port from Telepathy static binding to TelepathyGLib is
> necessary, if only to avoid using Rahul's port of Telepathy to Python
> 3.
>
> p.s. next time please change subject, as your mail was not on topic
> for the thread.  I've changed it now.
>
> On Sat, May 18, 2019 at 06:25:50PM +0530, ANIKET MATHUR wrote:
> > Hey,
> > After installing the toolkit for both the python versions and running
> "sudo apt
> > install sucrose" as per the [1]documentation native method,
> > the packages are installed for python 2 only. There is still a need to
> manually
> > install packages like decorator for python 3. So what about telepathy?,
> isn't
> > it necessary to port to TelapathyGlib to use toolkit for python 3? Need
> help.
> > Thanks!
> >
> > On Sat, May 18, 2019 at 8:38 AM James Cameron <[2]qu...@laptop.org>
> wrote:
> >
> > Sugar 0.114 is released, with a few fixes.
> >
> > Downloads;
> >
> > [3]
> http://download.sugarlabs.org/sources/sucrose/glucose/sugar-artwork/
> > sugar-artwork-0.114.tar.xz
> > [4]http://download.sugarlabs.org/sources/sucrose/glucose/
> > sugar-datastore/sugar-datastore-0.114.tar.xz
> > [5]http://download.sugarlabs.org/sources/sucrose/glucose/
> > sugar-toolkit-gtk3/sugar-toolkit-gtk3-0.114.tar.xz
> > [6]http://download.sugarlabs.org/sources/sucrose/glucose/sugar/
> > sugar-0.114.tar.xz
> >
> > A v0.114 tag has been pushed to each repository.
> >
> > No dependencies have changed.
> >
> > (After checking the mailing list subscribers for sugar-devel@, there
> > are no downstream packagers subscribed.  Use your downstream
> > mechanisms to get their attention if necessary.)
> >
> > Brief change log by module below.
> >
> > sugar-artwork
> >
> > * No changes
> >
> > sugar-datastore
> >
> > * No changes
> >
> > sugar-toolkit-gtk3
> >
> > * New translations,
> > * Build for either python 2 or python 3 (James Cameron),
> > * Fix collaboration call_async (James Cameron),
> > * Clean up activity environment variables (James Cameron),
> > * Add distributed source to .gitignore (James Cameron),
> > * Add flake8 suppression (James Cameron),
> >
> > sugar
> >
> > * Documentation for native environment configurations (James
> Cameron),
> > * Embed popwindow code in activitychooser (Rahul Bothra),
> > * Add flake8 suppression (James Cameron),
> >
> > sha256 checksums;
> >
> > 0d9c63bf861d6facf8d64046ab76191a6a6b4b54daad778b40e3be1e45aa2db0
> > sugar-artwork/sugar-artwork-0.114.tar.xz
> > eb4256f1cbf90a9a7d5dd30446e0d0d1a240db02e3104a6339e2f4497dcda4c8
> > sugar-datastore/sugar-datastore-0.114.tar.xz
> > 0917276ed41684b885bdac063562fcdfb682660700ee142a02b516a3eeecdbb1
> sugar/
> > sugar-0.114.tar.xz
> > 4b8ca467b85b6273fdb3ae86b1afa5071f4c0c6e11a27e9166a394620c2c77e5
> > sugar-toolkit-gtk3/sugar-toolkit-gtk3-0.114.tar.xz
> >
> > --
> > James Cameron
> > [7]http://quozl.netrek.org/
> > ___
> > Sugar-devel mailing list
> > [8]Sugar-devel@lists.sugarlabs.org
> > [9]http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> > References:
> >
> > [1]
> https://github.com/sugarlabs/sugar/blob/master/docs/development-environment.md
> > [2] mailto:qu...@laptop.org
> > [3]
> http://download.sugarlabs.org/sources/sucr

Re: [Sugar-devel] site-packages vs dist-packages, was Re: ... Sugar 0.114 stable

2019-05-19 Thread ANIKET MATHUR
Thanks a lot ;-).

On Sat, May 18, 2019 at 9:18 PM D. Joe  wrote:

> On Sat, May 18, 2019 at 05:57:57PM +0530, ANIKET MATHUR wrote:
> > Hello everyone,
> > Even after installing the toolkit for python3 I was getting the error 'No
> > module named sugar3' on running "sugar-activity3 ." command. After
> exploring a
> > bit
> > I got to know that using the native method when I built the toolkit for
> python
> > 2 the sugar3 module is built in 'usr/local/lib/python2.7/dist-packages'
> and
> > running the command "python2 -c 'import sugar3" passes. But when I
> install the
> > toolkit for python3, the module sugar3 is built in
> 'usr/local/lib/python3.6/
> > site-packages' and on running the command "sugar-activity3 ." sugar
> tries to
> > read from "usr/local/lib/python3.6/dist-packages".
> >  Is this a problem specific to my system(UBuntu 18.04)? A simple copy
> paste of
> > sugar3 module from site-packages to dist-packages would work?
> >
>
> Thought I'd seen this sort of thing mentioned before and after a little
> digging found this:
>
>
> https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/383#issuecomment-425647453
>
> I can't offer much more than that pointer, but I hope it helps.
>
> --
> Joe
>
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [RELEASE] Sugar 0.114 stable

2019-05-18 Thread ANIKET MATHUR
Hey,
After installing the toolkit for both the python versions and running "sudo
apt install sucrose" as per the documentation

native
method,
the packages are installed for python 2 only. There is still a need to
manually install packages like decorator for python 3. So what about
telepathy?, isn't it necessary to port to TelapathyGlib to use toolkit for
python 3? Need help.
Thanks!

On Sat, May 18, 2019 at 8:38 AM James Cameron  wrote:

> Sugar 0.114 is released, with a few fixes.
>
> Downloads;
>
>
> http://download.sugarlabs.org/sources/sucrose/glucose/sugar-artwork/sugar-artwork-0.114.tar.xz
>
> http://download.sugarlabs.org/sources/sucrose/glucose/sugar-datastore/sugar-datastore-0.114.tar.xz
>
> http://download.sugarlabs.org/sources/sucrose/glucose/sugar-toolkit-gtk3/sugar-toolkit-gtk3-0.114.tar.xz
>
> http://download.sugarlabs.org/sources/sucrose/glucose/sugar/sugar-0.114.tar.xz
>
> A v0.114 tag has been pushed to each repository.
>
> No dependencies have changed.
>
> (After checking the mailing list subscribers for sugar-devel@, there
> are no downstream packagers subscribed.  Use your downstream
> mechanisms to get their attention if necessary.)
>
> Brief change log by module below.
>
> sugar-artwork
>
> * No changes
>
> sugar-datastore
>
> * No changes
>
> sugar-toolkit-gtk3
>
> * New translations,
> * Build for either python 2 or python 3 (James Cameron),
> * Fix collaboration call_async (James Cameron),
> * Clean up activity environment variables (James Cameron),
> * Add distributed source to .gitignore (James Cameron),
> * Add flake8 suppression (James Cameron),
>
> sugar
>
> * Documentation for native environment configurations (James Cameron),
> * Embed popwindow code in activitychooser (Rahul Bothra),
> * Add flake8 suppression (James Cameron),
>
> sha256 checksums;
>
> 0d9c63bf861d6facf8d64046ab76191a6a6b4b54daad778b40e3be1e45aa2db0
> sugar-artwork/sugar-artwork-0.114.tar.xz
> eb4256f1cbf90a9a7d5dd30446e0d0d1a240db02e3104a6339e2f4497dcda4c8
> sugar-datastore/sugar-datastore-0.114.tar.xz
> 0917276ed41684b885bdac063562fcdfb682660700ee142a02b516a3eeecdbb1
> sugar/sugar-0.114.tar.xz
> 4b8ca467b85b6273fdb3ae86b1afa5071f4c0c6e11a27e9166a394620c2c77e5
> sugar-toolkit-gtk3/sugar-toolkit-gtk3-0.114.tar.xz
>
> --
> James Cameron
> http://quozl.netrek.org/
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [RELEASE] Sugar 0.114 stable

2019-05-18 Thread ANIKET MATHUR
Hello everyone,
Even after installing the toolkit for python3 I was getting the error 'No
module named sugar3' on running "sugar-activity3 ." command. After
exploring a bit
I got to know that using the native method when I built the toolkit for
python 2 the sugar3 module is built in
'usr/local/lib/python2.7/dist-packages' and running the command "python2 -c
'import sugar3" passes. But when I install the toolkit for python3, the
module sugar3 is built in  'usr/local/lib/python3.6/site-packages' and on
running the command "sugar-activity3 ." sugar tries to read from
"usr/local/lib/python3.6/dist-packages".
 Is this a problem specific to my system(UBuntu 18.04)? A simple copy paste
of sugar3 module from site-packages to dist-packages would work?

On Sat, May 18, 2019 at 8:38 AM James Cameron  wrote:

> Sugar 0.114 is released, with a few fixes.
>
> Downloads;
>
>
> http://download.sugarlabs.org/sources/sucrose/glucose/sugar-artwork/sugar-artwork-0.114.tar.xz
>
> http://download.sugarlabs.org/sources/sucrose/glucose/sugar-datastore/sugar-datastore-0.114.tar.xz
>
> http://download.sugarlabs.org/sources/sucrose/glucose/sugar-toolkit-gtk3/sugar-toolkit-gtk3-0.114.tar.xz
>
> http://download.sugarlabs.org/sources/sucrose/glucose/sugar/sugar-0.114.tar.xz
>
> A v0.114 tag has been pushed to each repository.
>
> No dependencies have changed.
>
> (After checking the mailing list subscribers for sugar-devel@, there
> are no downstream packagers subscribed.  Use your downstream
> mechanisms to get their attention if necessary.)
>
> Brief change log by module below.
>
> sugar-artwork
>
> * No changes
>
> sugar-datastore
>
> * No changes
>
> sugar-toolkit-gtk3
>
> * New translations,
> * Build for either python 2 or python 3 (James Cameron),
> * Fix collaboration call_async (James Cameron),
> * Clean up activity environment variables (James Cameron),
> * Add distributed source to .gitignore (James Cameron),
> * Add flake8 suppression (James Cameron),
>
> sugar
>
> * Documentation for native environment configurations (James Cameron),
> * Embed popwindow code in activitychooser (Rahul Bothra),
> * Add flake8 suppression (James Cameron),
>
> sha256 checksums;
>
> 0d9c63bf861d6facf8d64046ab76191a6a6b4b54daad778b40e3be1e45aa2db0
> sugar-artwork/sugar-artwork-0.114.tar.xz
> eb4256f1cbf90a9a7d5dd30446e0d0d1a240db02e3104a6339e2f4497dcda4c8
> sugar-datastore/sugar-datastore-0.114.tar.xz
> 0917276ed41684b885bdac063562fcdfb682660700ee142a02b516a3eeecdbb1
> sugar/sugar-0.114.tar.xz
> 4b8ca467b85b6273fdb3ae86b1afa5071f4c0c6e11a27e9166a394620c2c77e5
> sugar-toolkit-gtk3/sugar-toolkit-gtk3-0.114.tar.xz
>
> --
> James Cameron
> http://quozl.netrek.org/
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] GSoC 2019 - Welcome to Sugar Labs

2019-05-16 Thread ANIKET MATHUR
Thank you, James.
I got a clarification from your reply. I don't think that a meeting is
required now. I will surely ask for a meeting if I am stuck anywhere. ;-)


On Fri, May 17, 2019 at 10:54 AM James Cameron  wrote:

> Thanks for asking.
>
> I've removed CCs, as these people are all on sugar-devel@, and replies
> do trigger limit on addressee count reported by Mailman software.
>
> I don't think a meeting is needed, but I can attend one if you call
> it.  Please choose a time that both Rahul and I can be available.
>
> What to do and how to start is summarised by our GitHub project "Port
> to Python 3 via Six";
>
> https://github.com/orgs/sugarlabs/projects/1
>
> It is a big job, but completing any part of it brings the finish
> closer.  Rahul did good work on it last year.
>
> Each step will bring new errors and seemingly impossible problems that
> have to be solved.  We don't necessarily have the solutions until we
> can consider the problems in detail.  It isn't a class exercise.  ;-)
>
> In general the sequence is;
>
> - port, test, and package the toolkit,
>   https://github.com/sugarlabs/sugar-toolkit-gtk3
>   https://github.com/sugarlabs/sugar-toolkit-gtk3/issues/382
>
> - port, test, and bundle the Hello World sample activity,
>
> - port, test, and bundle all the other activities in the core set,
>
> - port, test, and package the shell,
>   https://github.com/sugarlabs/sugar
>   https://github.com/sugarlabs/sugar/issues/787
>
> - port, test, and package any dependencies,
>   (Xapian has been mentioned by our Fedora people),
>
> - port, test, and package the datastore,
>   https://github.com/sugarlabs/sugar-datastore
>   https://github.com/sugarlabs/sugar-datastore/issues/7
>
> - port, test, and release any of our own dependencies used by
>   activities, such as collabwrapper, or gwebsockets,
>   https://github.com/sugarlabs/collabwrapper/issues/11
>
> - port from Telepathy to TelepathyGLib,
>   https://github.com/orgs/sugarlabs/projects/4
>
> - port, test, and bundle as many non-core activities as we can.
>
> Do ask questions to clarify, but with changed subject line.  I suggest
> a subject prefix of "Port to Python 3".
>
> On Fri, May 17, 2019 at 10:28:25AM +0530, ANIKET MATHUR wrote:
> > Hello everyone,
> > Looking forward to have a meeting for discussing how to start with
> project Port
> > to Python 3.
> > It would be good to discuss, how and from where to start. ;-)
> > Mentors - Rahul and James.
> > Thanks!
> >
> > On Mon, May 6, 2019 at 11:39 PM Rahul Bothra <[1]rrbot...@gmail.com>
> wrote:
> >
> > Greetings everyone,
> >
> > Congratulations to the 9 students selected for GSoC 2019 with Sugar
> Labs.
> > We
> > hope that you are as excited as we are. We had some great proposals
> to go
> > through and yours' really stood out.
> >
> > Here are a few things to get you onboard,
> > 1. Please subscribe to sugar-devel if you haven't already,
> > See [2]http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> > 2. Contact your project mentors to get started. Decide a weekly
> meeting
> > time
> > which suits you and your mentors. Regular communication is an
> integral part
> > of
> > working on a project of this scale.
> > It can be tempting to communicate in private, but please use public
> forums
> > like
> > #sugar, #sugar-meeting, or @sugar-devel while communicating, so that
> other
> > community members can also join in.
> >
> > 3. You are required to write weekly blog posts about your GSoC
> progress.
> > You
> > can start off by setting a blog up if you haven't already. Reply to
> this
> > thread with
> > the link to your blog.
> >
> > 4. We'll be having a weekly group meeting on #sugar-meeting, where
> all
> > mentors and students will discuss their progress. Since we have
> people from
> > Australia, France, India, Nigeria, and the US (pardon me if I've
> missed
> > anyone),
> > it'll be difficult to find a time suitable for everyone. Reply to
> this
> > thread with your
> > preference of time. Here are a few suggested options,
> > * Monday 4:30 PM UTC / 10:00 PM IST
> > * Monday 6:30 PM UTC / 12:00 PM IST
> >
> > 5. If you have any issues with your mentor, or otherwise during the
> GSoC
> > project, please feel free to get in touch with the GSoC Org Admins.
> They
> > are
> > James <[3]qu...@laptop.org>, 

Re: [Sugar-devel] GSoC 2019 - Welcome to Sugar Labs

2019-05-16 Thread ANIKET MATHUR
Hello everyone,
Looking forward to have a meeting for discussing how to start with project
Port to Python 3.
It would be good to discuss, how and from where to start. ;-)
Mentors - Rahul and James.
Thanks!

On Mon, May 6, 2019 at 11:39 PM Rahul Bothra  wrote:

> Greetings everyone,
>
> Congratulations to the 9 students selected for GSoC 2019 with Sugar Labs.
> We
> hope that you are as excited as we are. We had some great proposals to go
> through and yours' really stood out.
>
> Here are a few things to get you onboard,
> 1. Please subscribe to sugar-devel if you haven't already,
> See http://lists.sugarlabs.org/listinfo/sugar-devel
>
> 2. Contact your project mentors to get started. Decide a weekly meeting
> time
> which suits you and your mentors. Regular communication is an integral
> part of
> working on a project of this scale.
> It can be tempting to communicate in private, but please use public forums
> like
> #sugar, #sugar-meeting, or @sugar-devel while communicating, so that other
> community members can also join in.
>
> 3. You are required to write weekly blog posts about your GSoC progress.
> You
> can start off by setting a blog up if you haven't already. Reply to this
> thread with
> the link to your blog.
>
> 4. We'll be having a weekly group meeting on #sugar-meeting, where all
> mentors and students will discuss their progress. Since we have people from
> Australia, France, India, Nigeria, and the US (pardon me if I've missed
> anyone),
> it'll be difficult to find a time suitable for everyone. Reply to this
> thread with your
> preference of time. Here are a few suggested options,
> * Monday 4:30 PM UTC / 10:00 PM IST
> * Monday 6:30 PM UTC / 12:00 PM IST
>
> 5. If you have any issues with your mentor, or otherwise during the GSoC
> project, please feel free to get in touch with the GSoC Org Admins. They
> are
> James , Rahul , and Walter
> .
>
> Welcome to Sugar Labs.
> Looking forward to a productive summer with you guys
>
> Regards,
> Rahul Bothra
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Toolkit Installation Sugar v0.113

2019-05-16 Thread ANIKET MATHUR
Thanks. James.
Agreed, there can be a number of runtime dependencies that the user has to
install. I don't think mentioning them all in the documentation
will be a good idea. What do you think?

On Thu, May 16, 2019 at 9:31 AM James Cameron  wrote:

> Thanks for testing, Aniket.
>
> Because 0.113 introduces a dependency on Six for the first time, the
> method of resolving dependencies in the instructions is out of date.
>
> I've added
>
> https://github.com/sugarlabs/sugar/pull/829/commits/97d1ef60b65a0fffe52ec4070944e2b03fe56ac2
> to the pull request.
>
> Yes, you are correct that dependencies are not added during build,
> this is something you may have to do yourself.
>
> For instance, after you've built Sugar, there are a set of run-time
> dependencies to install.  I'm working on refining the instructions
> some more.  Let me know how you go.
>
> On Thu, May 16, 2019 at 09:23:08AM +0530, ANIKET MATHUR wrote:
> > hey,
> > I tested the changes that James made.
> > I started with a fresh Ubuntu 18.04 VM. Cloned artwork, datastore,
> > toolkit-gtk3, and sugar.
> > Applied his patch to toolkit-gtk3 and then followed the native procedure
> in the
> > documentation considering his changes.
> > I installed the toolkit for both python2 and python3.
> > But when I run sugar from the command line I got an import error
> > "import six
> > "ImportError:No module named six"
> > I am not sure why I got this error, do the dependencies and libraries
> used by
> > python3 do not get installed when the toolkit for python 3 is built?
> > Please help.
> > Thanks!
> >
> > On Wed, May 15, 2019 at 1:49 PM James Cameron <[1]qu...@laptop.org>
> wrote:
> >
> > Thanks!
> >
> > I've proposed a pull request to let the caller specify the Python
> > version, and a draft pull request documenting how to build for both
> > versions.
> >
> > [2]https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/411
> > [3]https://github.com/sugarlabs/sugar/pull/829
> >
> > Aniket, when you say v0.113 this means you are using either git tag
> > v0.113 (i.e. e30b73f) or tarball.  Seems unlikely you are doing that,
> > but instead you would be using HEAD of master branch instead.  Is my
> > guess right?
> >
> > Regarding the segmentation fault, please check
> > .sugar/default/logs/shell.log for any details, or run within gdb and
> > capture a backtrace of all threads.
> >
> > On Wed, May 15, 2019 at 01:31:23PM +0530, ANIKET MATHUR wrote:
> > > Regards,
> > > I agree with, James. What I think is that since [1]this pr is not
> yet
> > merged
> > > into master, sugar requires python 2,
> > > and the way I was installing Sugar builds the toolkit for Python
> 3. So I
> > first
> > > installed Sugar from sucrose and then installed the toolkit-gtk3
> v0.113
> > by
> > > hand.
> > > Doing this I am able to test ported activities through the command
> line
> > using
> > > Ubuntu 18.04 terminal, but opening Sugar home view causes
> "Segmentation
> > fault"
> > > with a warning "python2.7 has stopped unexpectedly". I am not yet
> able to
> > > figure out the reason for this.
> > >
> > > Regarding the Python version in [2][4]configure.ac, I think that
> the
> > caller should
> > > be allowed to specify the version or alternatively since we are
> porting
> > to six,
> > > a method building for both python2 and python3 would be great.
> > >
> > > I don't expect myself to be 100 percent right and expect to be
> corrected
> > > wherever required.
> > >
> > > Thanks a lot, everyone. ☺
> > >
> > > On Wed, May 15, 2019 at 3:17 AM James Cameron <[3][5]
> qu...@laptop.org>
> > wrote:
> > >
> > > G'day Aniket,
> > >
> > > If you were using the native sugar build method, then you are
> using
> > > HEAD, which contains all patches since 0.113.  Don't try to
> apply the
> > > patch that Alex pointed out, as it is already applied.
> > >
> > > The error message "ImportError: No module named sugar3" is
> caused by
> > > not installing the Toolkit for Python 2.
> > >
> > > Sugar 0.113 requires Python 2.
> > >
> > >  

Re: [Sugar-devel] Toolkit Installation Sugar v0.113

2019-05-15 Thread ANIKET MATHUR
hey,
I tested the changes that James made.
I started with a fresh Ubuntu 18.04 VM. Cloned artwork, datastore,
toolkit-gtk3, and sugar.
Applied his patch to toolkit-gtk3 and then followed the native procedure in
the documentation considering his changes.
I installed the toolkit for both python2 and python3.
But when I run sugar from the command line I got an import error
"import six
"ImportError:No module named six"
I am not sure why I got this error, do the dependencies and libraries used
by python3 do not get installed when the toolkit for python 3 is built?
Please help.
Thanks!

On Wed, May 15, 2019 at 1:49 PM James Cameron  wrote:

> Thanks!
>
> I've proposed a pull request to let the caller specify the Python
> version, and a draft pull request documenting how to build for both
> versions.
>
> https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/411
> https://github.com/sugarlabs/sugar/pull/829
>
> Aniket, when you say v0.113 this means you are using either git tag
> v0.113 (i.e. e30b73f) or tarball.  Seems unlikely you are doing that,
> but instead you would be using HEAD of master branch instead.  Is my
> guess right?
>
> Regarding the segmentation fault, please check
> .sugar/default/logs/shell.log for any details, or run within gdb and
> capture a backtrace of all threads.
>
> On Wed, May 15, 2019 at 01:31:23PM +0530, ANIKET MATHUR wrote:
> > Regards,
> > I agree with, James. What I think is that since [1]this pr is not yet
> merged
> > into master, sugar requires python 2,
> > and the way I was installing Sugar builds the toolkit for Python 3. So I
> first
> > installed Sugar from sucrose and then installed the toolkit-gtk3 v0.113
> by
> > hand.
> > Doing this I am able to test ported activities through the command line
> using
> > Ubuntu 18.04 terminal, but opening Sugar home view causes "Segmentation
> fault"
> > with a warning "python2.7 has stopped unexpectedly". I am not yet able to
> > figure out the reason for this.
> >
> > Regarding the Python version in [2]configure.ac, I think that the
> caller should
> > be allowed to specify the version or alternatively since we are porting
> to six,
> > a method building for both python2 and python3 would be great.
> >
> > I don't expect myself to be 100 percent right and expect to be corrected
> > wherever required.
> >
> > Thanks a lot, everyone. ☺
> >
> > On Wed, May 15, 2019 at 3:17 AM James Cameron <[3]qu...@laptop.org>
> wrote:
> >
> > G'day Aniket,
> >
> > If you were using the native sugar build method, then you are using
> > HEAD, which contains all patches since 0.113.  Don't try to apply the
> > patch that Alex pointed out, as it is already applied.
> >
> > The error message "ImportError: No module named sugar3" is caused by
> > not installing the Toolkit for Python 2.
> >
> > Sugar 0.113 requires Python 2.
> >
> > Toolkit by default installs for Python 3.
> >
> > You can verify this is the situation by testing the import by hand
> > using different versions of Python;
> >
> > python3 -c 'import sugar3'  # expect pass
> >
> > python2 -c 'import sugar3'  # expect fail
> >
> > You'll find in [4]configure.ac where the Python version is chosen.
> >
> > [5]
> https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/configure.ac
> > #L18
> >
> > Perhaps that line should allow the caller to specify the version.
> >
> > What do you think?
> >
> > On Tue, May 14, 2019 at 04:42:16PM +0530, ANIKET MATHUR wrote:
> > > Greetings everyone,
> > >
> > > I was installing Sugar v0.113 using the Native Sugar build
> method [1]
> > here. I
> > > was using Ubuntu 18.10. After installation, on running Sugar I
> received
> > the
> > > error message "ImportError: No module named sugar3". Need help
> with a
> > couple of
> > > questions
> > > 1) Is there a need to have a build of the older version for v0.113
> to
> > work
> > > properly?
> > > (never paid attention to that before).
> > >  2) What is the correct procedure for installing v0.113?
> > > Thanks!
> > >
> > > References:
> > >
> > > [1] [6]https://github.com/sugarlabs/sugar/blob/master/docs/
> > development-environment.md
> >
> > > ___
> > > Sug

Re: [Sugar-devel] Toolkit Installation Sugar v0.113

2019-05-15 Thread ANIKET MATHUR
James by v 0.113 I mean HEAD. Sorry for the confusion.

On Wed, 15 May 2019, 1:49 pm James Cameron,  wrote:

> Thanks!
>
> I've proposed a pull request to let the caller specify the Python
> version, and a draft pull request documenting how to build for both
> versions.
>
> https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/411
> https://github.com/sugarlabs/sugar/pull/829
>
> Aniket, when you say v0.113 this means you are using either git tag
> v0.113 (i.e. e30b73f) or tarball.  Seems unlikely you are doing that,
> but instead you would be using HEAD of master branch instead.  Is my
> guess right?
>
> Regarding the segmentation fault, please check
> .sugar/default/logs/shell.log for any details, or run within gdb and
> capture a backtrace of all threads.
>
> On Wed, May 15, 2019 at 01:31:23PM +0530, ANIKET MATHUR wrote:
> > Regards,
> > I agree with, James. What I think is that since [1]this pr is not yet
> merged
> > into master, sugar requires python 2,
> > and the way I was installing Sugar builds the toolkit for Python 3. So I
> first
> > installed Sugar from sucrose and then installed the toolkit-gtk3 v0.113
> by
> > hand.
> > Doing this I am able to test ported activities through the command line
> using
> > Ubuntu 18.04 terminal, but opening Sugar home view causes "Segmentation
> fault"
> > with a warning "python2.7 has stopped unexpectedly". I am not yet able to
> > figure out the reason for this.
> >
> > Regarding the Python version in [2]configure.ac, I think that the
> caller should
> > be allowed to specify the version or alternatively since we are porting
> to six,
> > a method building for both python2 and python3 would be great.
> >
> > I don't expect myself to be 100 percent right and expect to be corrected
> > wherever required.
> >
> > Thanks a lot, everyone. ☺
> >
> > On Wed, May 15, 2019 at 3:17 AM James Cameron <[3]qu...@laptop.org>
> wrote:
> >
> > G'day Aniket,
> >
> > If you were using the native sugar build method, then you are using
> > HEAD, which contains all patches since 0.113.  Don't try to apply the
> > patch that Alex pointed out, as it is already applied.
> >
> > The error message "ImportError: No module named sugar3" is caused by
> > not installing the Toolkit for Python 2.
> >
> > Sugar 0.113 requires Python 2.
> >
> > Toolkit by default installs for Python 3.
> >
> > You can verify this is the situation by testing the import by hand
> > using different versions of Python;
> >
> > python3 -c 'import sugar3'  # expect pass
> >
> > python2 -c 'import sugar3'  # expect fail
> >
> > You'll find in [4]configure.ac where the Python version is chosen.
> >
> > [5]
> https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/configure.ac
> > #L18
> >
> > Perhaps that line should allow the caller to specify the version.
> >
> > What do you think?
> >
> > On Tue, May 14, 2019 at 04:42:16PM +0530, ANIKET MATHUR wrote:
> > > Greetings everyone,
> > >
> > > I was installing Sugar v0.113 using the Native Sugar build
> method [1]
> > here. I
> > > was using Ubuntu 18.10. After installation, on running Sugar I
> received
> > the
> > > error message "ImportError: No module named sugar3". Need help
> with a
> > couple of
> > > questions
> > > 1) Is there a need to have a build of the older version for v0.113
> to
> > work
> > > properly?
> > > (never paid attention to that before).
> > >  2) What is the correct procedure for installing v0.113?
> > > Thanks!
> > >
> > > References:
> > >
> > > [1] [6]https://github.com/sugarlabs/sugar/blob/master/docs/
> > development-environment.md
> >
> > > ___
> > > Sugar-devel mailing list
> > > [7]Sugar-devel@lists.sugarlabs.org
> > > [8]http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> > --
> > James Cameron
> > [9]http://quozl.netrek.org/
> >
> > References:
> >
> > [1] https://github.com/sugarlabs/sugar/pull/805
> > [2] http://configure.ac/
> > [3] mailto:qu...@laptop.org
> > [4] http://configure.ac/
> > [5]
> https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/configure.ac#L18
> > [6]
> https://github.com/sugarlabs/sugar/blob/master/docs/development-environment.md
> > [7] mailto:Sugar-devel@lists.sugarlabs.org
> > [8] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [9] http://quozl.netrek.org/
>
> --
> James Cameron
> http://quozl.netrek.org/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Toolkit Installation Sugar v0.113

2019-05-15 Thread ANIKET MATHUR
Regards,
I agree with, James. What I think is that since this pr
<https://github.com/sugarlabs/sugar/pull/805> is not yet merged into
master, sugar requires python 2,
and the way I was installing Sugar builds the toolkit for Python 3. So I
first installed Sugar from sucrose and then installed the toolkit-gtk3
v0.113 by hand.
Doing this I am able to test ported activities through the command line
using Ubuntu 18.04 terminal, but opening Sugar home view causes
"Segmentation fault" with a warning "python2.7 has stopped unexpectedly". I
am not yet able to figure out the reason for this.

Regarding the Python version in configure.ac, I think that the caller
should be allowed to specify the version or alternatively since we are
porting to six, a method building for both python2 and python3 would be
great.

I don't expect myself to be 100 percent right and expect to be corrected
wherever required.

Thanks a lot, everyone. ☺



On Wed, May 15, 2019 at 3:17 AM James Cameron  wrote:

> G'day Aniket,
>
> If you were using the native sugar build method, then you are using
> HEAD, which contains all patches since 0.113.  Don't try to apply the
> patch that Alex pointed out, as it is already applied.
>
> The error message "ImportError: No module named sugar3" is caused by
> not installing the Toolkit for Python 2.
>
> Sugar 0.113 requires Python 2.
>
> Toolkit by default installs for Python 3.
>
> You can verify this is the situation by testing the import by hand
> using different versions of Python;
>
> python3 -c 'import sugar3'  # expect pass
>
> python2 -c 'import sugar3'  # expect fail
>
> You'll find in configure.ac where the Python version is chosen.
>
>
> https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/configure.ac#L18
>
> Perhaps that line should allow the caller to specify the version.
>
> What do you think?
>
> On Tue, May 14, 2019 at 04:42:16PM +0530, ANIKET MATHUR wrote:
> > Greetings everyone,
> >
> > I was installing Sugar v0.113 using the Native Sugar build
> method [1]here. I
> > was using Ubuntu 18.10. After installation, on running Sugar I received
> the
> > error message "ImportError: No module named sugar3". Need help with a
> couple of
> > questions
> > 1) Is there a need to have a build of the older version for v0.113 to
> work
> > properly?
> > (never paid attention to that before).
> >  2) What is the correct procedure for installing v0.113?
> > Thanks!
> >
> > References:
> >
> > [1]
> https://github.com/sugarlabs/sugar/blob/master/docs/development-environment.md
>
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
> --
> James Cameron
> http://quozl.netrek.org/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Toolkit Installation Sugar v0.113

2019-05-14 Thread ANIKET MATHUR
Greetings everyone,

I was installing Sugar v0.113 using the Native Sugar build method here
.
I was using Ubuntu 18.10. After installation, on running Sugar I received
the error message "ImportError: No module named sugar3". Need help with a
couple of questions
1) Is there a need to have a build of the older version for v0.113 to work
properly?
(never paid attention to that before).
 2) What is the correct procedure for installing v0.113?
Thanks!
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Fwd: Port to Python 3, GSoC 2019, Private Mentor Student Discussion

2019-05-10 Thread aniket mathur
Hello, Greetings
I have a couple of questions that I want to ask.
- Regarding the development environment. What is the preferred development
environment, in terms of OS and the version of Sugar or any other
compatibilities that I must have installed?
-Regarding blogs. What will be the frequency of writing blogs, and when
should we start writing those and when will the weekly meetings be
scheduled?
Looking for advice. Thanks a lot!


>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] GSoC 2019 - Welcome to Sugar Labs

2019-05-08 Thread aniket mathur
Hello everyone,

I will like to write blogs on medium (https://medium.com/@aniketmathur).
My preferred time slot would be 12 pm IST/10:30 pm UTC.

Thank you!

On Wed, 8 May 2019, 7:52 am Ashish Aggarwal, 
wrote:

> Hello Everyone ,
>
> I would love to write the blogs on medium at here
>  . As @nikhilMehra asked if there is
> a preferred platform , then we can write blogs there .
> My preferred time would be Monday 4:30 PM UTC / 10:00 PM IST ( Also
> available on other time slot ) .
> Regards
> Ashish Aggarwal
>
> On Wed, 8 May 2019 at 02:35, James Cameron  wrote:
>
>> Good point.  Any new assisting mentors should introduce themselves to the
>> students now, and CC sugar-devel@.  Be sure to mention your skills,
>> special focus, and experience with Sugar Labs.
>>
>> This is also a reminder to the coding mentors and students that as much
>> as possible of what you say and do together should be in public, so that
>> the assisting mentors and others in our community can be involved.
>>
>>
>> https://github.com/sugarlabs/GSoC/blob/master/Ideas-2019.md#assisting-mentors
>>
>> Let's get started!
>>
>> On Tue, May 07, 2019 at 12:33:33PM +0100, Ifeanyi Ekperi wrote:
>> > Congratulations Students and Mentors!
>> >
>> > What happened to the Assistant Mentors thingy?
>> >
>> > On Tue, May 7, 2019, 12:17 Samson Goddy <[1]samsongo...@gmail.com>
>> wrote:
>> >
>> > Congratulations to all the students and mentors.
>> >
>> > Regards.
>> >
>> > Samson
>> >
>> > On Mon, May 6, 2019, 9:36 PM Rahul Bothra <[2]rrbot...@gmail.com>
>> wrote:
>> >
>> > Here is the list of selected projects for GSoC' 19,
>> >
>> > * Improve Sugarizer Server Dashboard;
>> >   Student: Nikhil Mehra
>> >   Mentors: Lionel Laské, Tarun Kumar Singhal
>> >
>> > * Create a Sugar Dashboard
>> >   Student: Hrishi Patel
>> >   Mentors: Rahul Bothra, Peace Ojemeh, Chihurumnaya Ibiam
>> >
>> > * Performance in MusicBlocks
>> >   Student: Favour Kelvin
>> >   Mentors: Sumit Srivastava, Devin Ulibarri, Walter Bender
>> >
>> > * Create Write Activity for Sugarizer
>> >   Student: Ashish Aggarwal
>> >   Mentors: Michaël Ohayon, Tarun Kumar Singhal
>> >
>> > * Improve and Maintain 25 Sugar Activities
>> >   Student: Swarup N
>> >   Mentors: Rahul Bothra, Chihurumnaya Ibiam, James Cameron
>> >
>> > * Expand Sugarizer’s Exerciser Activity
>> >   Student: Avinash Agarwal
>> >   Mentors: Michaël Ohayon, Lionel Laské
>> >
>> > * Reconciling rhythm with pitch in Music Blocks widgets
>> >   Student: Sparsh Agarwal
>> >   Mentors: Sumit Srivastava, Devin Ulibarri, Walter Bender
>> >
>> > * Performance in Music Blocks
>> >   Student: Ankur Bambharoliya
>> >   Mentors: Sumit Srivastava, Devin Ulibarri, Walter Bender
>> >
>> > * Port Sugar to Python 3
>> >   Student: Aniket Mahur
>> >   Mentors: Rahul Bothra, James Cameron
>> >
>> > Regards,
>> > Rahul Bothra
>> >
>> > On Mon, May 6, 2019 at 11:32 PM Rahul Bothra <[3]
>> rrbot...@gmail.com>
>> > wrote:
>> >
>> > Greetings everyone,
>> >
>> > Congratulations to the 9 students selected for GSoC 2019
>> with Sugar
>> > Labs. We
>> > hope that you are as excited as we are. We had some great
>> proposals
>> > to go
>> > through and yours' really stood out.
>> >
>> > Here are a few things to get you onboard,
>> > 1. Please subscribe to sugar-devel if you haven't already,
>> > See [4]http://lists.sugarlabs.org/listinfo/sugar-devel
>> >
>> > 2. Contact your project mentors to get started. Decide a
>> weekly
>> > meeting time
>> > which suits you and your mentors. Regular communication is
>> an
>> > integral part of
>> > working on a project of this scale.
>> > It can be tempting to communicate in private, but please
>> use public
>> > forums like
>> > #sugar, #sugar-meeting, or @sugar-devel while
>> communicating, so
>> > that other
>> > community members can also join in.
>> >
>> > 3. You are required to write weekly blog posts about your
>> GSoC
>> > progress. You
>> > can start off by setting a blog up if you haven't already.
>> Reply to
>> > this thread with
>> > the link to your blog.
>> >
>> > 4. We'll be having a weekly group meeting on
>> #sugar-meeting, where
>> > all
>> > mentors and students will discuss their progress. Since we
>> have
>> > people from
>> > Australia, France, India, Nigeria, and the US (pardon me if
>> I've
>> > missed anyone),
>> > 

Re: [Sugar-devel] GSoC 2019 - Welcome to Sugar Labs

2019-05-08 Thread ANIKET MATHUR
Hello everyone,

I will like to write blogs on medium(https://medium.com/@aniketmathur).
My preferred time slot is 6:30 pm UTC/12 pm IST.

Thank you!

On Mon, 6 May 2019, 11:39 pm Rahul Bothra,  wrote:

> Greetings everyone,
>
> Congratulations to the 9 students selected for GSoC 2019 with Sugar Labs.
> We
> hope that you are as excited as we are. We had some great proposals to go
> through and yours' really stood out.
>
> Here are a few things to get you onboard,
> 1. Please subscribe to sugar-devel if you haven't already,
> See http://lists.sugarlabs.org/listinfo/sugar-devel
>
> 2. Contact your project mentors to get started. Decide a weekly meeting
> time
> which suits you and your mentors. Regular communication is an integral
> part of
> working on a project of this scale.
> It can be tempting to communicate in private, but please use public forums
> like
> #sugar, #sugar-meeting, or @sugar-devel while communicating, so that other
> community members can also join in.
>
> 3. You are required to write weekly blog posts about your GSoC progress.
> You
> can start off by setting a blog up if you haven't already. Reply to this
> thread with
> the link to your blog.
>
> 4. We'll be having a weekly group meeting on #sugar-meeting, where all
> mentors and students will discuss their progress. Since we have people from
> Australia, France, India, Nigeria, and the US (pardon me if I've missed
> anyone),
> it'll be difficult to find a time suitable for everyone. Reply to this
> thread with your
> preference of time. Here are a few suggested options,
> * Monday 4:30 PM UTC / 10:00 PM IST
> * Monday 6:30 PM UTC / 12:00 PM IST
>
> 5. If you have any issues with your mentor, or otherwise during the GSoC
> project, please feel free to get in touch with the GSoC Org Admins. They
> are
> James , Rahul , and Walter
> .
>
> Welcome to Sugar Labs.
> Looking forward to a productive summer with you guys
>
> Regards,
> Rahul Bothra
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Gretl-users] help | collinearity option missing under tests tab

2019-05-02 Thread Rochan Mathur
Dear Team,

I wanted to check for multicollinearity but I am unable to do so.
This is because after running the OLS regression, when I click on the
"Tests" tab, there is no option of collinearity,

I have tried the 2016 and the 2019 version of Gretl but none of it worked.

Please tell me how can I check Variance inflation Factors VIFs and check
for multicollinearity??


Rochan Mathur

Student @ AUD | Improv Comedy @ PIC

*https://tinyurl.com/Improv-Comedy-Rochan
<https://tinyurl.com/Improv-Comedy-Rochan>Instagram:
https://tinyurl.com/Improv-PCS <https://tinyurl.com/Improv-PCS>*
Dear Team,I wanted to check for multicollinearity but I am unable to do so.This is because after running the OLS regression, when I click on the "Tests" tab, there is no option of collinearity,I have tried the 2016 and the 2019 version of Gretl but none of it worked.Please tell me how can I check Variance inflation Factors VIFs and check for multicollinearity??Rochan MathurStudent @ AUD | Improv Comedy @ PIChttps://tinyurl.com/Improv-Comedy-Rochan Instagram: https://tinyurl.com/Improv-PCS


[Gretl-users] HELP | "Collinearity" not found under "Tests" tab

2019-05-02 Thread Rochan Mathur
Dear Team,

I wanted to check for multicollinearity but I am unable to do so.
This is because after running the OLS regression, when I click on the
"Tests" tab, there is no option of collinearity,

I have tried the 2016 and the 2019 version of Gretl but none of it worked.

Please tell me how can I check Variance inflation Factors VIFs and check
for multicollinearity??


Thanks,

Rochan Mathur

Student @ AUD | Improv Comedy @ PIC

*https://tinyurl.com/Improv-Comedy-Rochan
<https://tinyurl.com/Improv-Comedy-Rochan>Instagram:
https://tinyurl.com/Improv-PCS <https://tinyurl.com/Improv-PCS>*
Dear Team,I wanted to check for multicollinearity but I am unable to do so.This is because after running the OLS regression, when I click on the "Tests" tab, there is no option of collinearity,I have tried the 2016 and the 2019 version of Gretl but none of it worked.Please tell me how can I check Variance inflation Factors VIFs and check for multicollinearity??Thanks,Rochan MathurStudent @ AUD | Improv Comedy @ PIChttps://tinyurl.com/Improv-Comedy-Rochan Instagram: https://tinyurl.com/Improv-PCS


[sqlite] Intersect and Minus

2019-04-15 Thread Mohit Mathur
Hi tech gurus,

I am working on one sqllite query, in which i am doing left outer join
between two tables and than using intersect and again doing left outer join
between two other tablescolumns that i am selecting are exactly same in
number and datatypes.Please let me know why it is throwing error.How
intersect works in sqllite ,i am well aware of oracle intersectin
sqllite is it differnt?

Regards,
Mohit Mathur
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


[Sugar-devel] Doubt regarding proposal draft

2019-04-04 Thread aniket mathur
On GSoC official site there is an option to submit a draft for review
before final pdf upload, but my proposal is already reviewed twice through
the mailing list, so should I skip that part and submit a final proposal?
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[PyInstaller] json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

2019-04-04 Thread nilkumar . mathur
hello all, 

I am facing difficulties in making .exe for .py. I am getting below error. 
Error :

100 INFO: PyInstaller: 3.4
100 INFO: Python: 3.6.0
100 INFO: Platform: Windows-10-10.0.15063-SP0
115 INFO: UPX is not available.
115 INFO: Extending PYTHONPATH with paths
['D:\\FY_19\\On_going\\Fluent\\python', 
'D:\\FY_19\\On_going\\Fluent\\python']
115 INFO: checking Analysis
115 INFO: Building Analysis because Analysis-00.toc is non existent
115 INFO: Initializing module dependency graph...
131 INFO: Initializing module graph hooks...
131 INFO: Analyzing base_library.zip ...
4958 INFO: running Analysis Analysis-00.toc
4978 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies 
of final executable
  required by c:\programdata\anaconda3\python.exe
5735 INFO: Caching module hooks...
5755 INFO: Analyzing Flow_field_convert.py
7745 INFO: Processing pre-find module path hook   distutils
7953 INFO: Processing pre-find module path hook   site
7954 INFO: site: retargeting to fake-dir 
'c:\\programdata\\anaconda3\\lib\\site-packages\\PyInstaller\\fake-modules'
10632 INFO: Processing pre-safe import module hook  
 setuptools.extern.six.moves
20108 INFO: Processing pre-safe import module hook   six.moves
91760 INFO: Loading module hooks...
91760 INFO: Loading module hook "hook-babel.py"...
92010 INFO: Loading module hook "hook-boto.py"...
92065 INFO: Loading module hook "hook-Crypto.py"...
Traceback (most recent call last):
  File "", line 2, in 
ModuleNotFoundError: No module named 'Crypto.Math'
92215 INFO: Loading module hook "hook-cryptography.py"...
93217 INFO: Loading module hook "hook-distutils.py"...
93217 INFO: Loading module hook "hook-docutils.py"...
95548 INFO: Loading module hook "hook-encodings.py"...
95733 INFO: Loading module hook "hook-IPython.py"...
95778 INFO: Excluding import 'PyQt5'
95785 INFO:   Removing import of PyQt5.QtSvg from module 
IPython.external.qt_loaders
95785 INFO:   Removing import of PyQt5 from module 
IPython.external.qt_loaders
95785 INFO:   Removing import of PyQt5.QtCore from module 
IPython.external.qt_loaders
95785 INFO:   Removing import of PyQt5.QtWidgets from module 
IPython.external.qt_loaders
95785 INFO:   Removing import of PyQt5.QtGui from module 
IPython.external.qt_loaders
95785 INFO: Excluding import 'PyQt4'
95800 INFO:   Removing import of PyQt4 from module 
IPython.external.qt_loaders
95800 INFO: Excluding import 'gtk'
95816 INFO: Excluding import 'tkinter'
95832 INFO:   Removing import of tkinter from module IPython.lib.clipboard
95847 INFO: Excluding import 'PySide'
95847 INFO:   Removing import of PySide from module 
IPython.external.qt_loaders
95847 INFO: Excluding import 'matplotlib'
95864 INFO:   Removing import of matplotlib.pylab from module 
IPython.core.pylabtools
95865 INFO:   Removing import of matplotlib.figure from module 
IPython.core.pylabtools
95865 INFO:   Removing import of matplotlib.pyplot from module 
IPython.core.pylabtools
95866 INFO:   Removing import of matplotlib._pylab_helpers from module 
IPython.core.pylabtools
95866 INFO:   Removing import of matplotlib from module 
IPython.core.pylabtools
95868 INFO: Loading module hook "hook-jinja2.py"...
95887 INFO: Loading module hook "hook-jsonschema.py"...
95887 INFO: Loading module hook "hook-lib2to3.py"...
95887 INFO: Loading module hook "hook-lxml.etree.py"...
95902 INFO: Loading module hook "hook-matplotlib.backends.py"...
96817 INFO:   Matplotlib backend "GTK": ignored
Gtk* backend requires pygtk to be installed.
97408 INFO:   Matplotlib backend "GTKAgg": ignored
Gtk* backend requires pygtk to be installed.
97853 INFO:   Matplotlib backend "GTKCairo": ignored
No module named 'gtk'
98629 INFO:   Matplotlib backend "MacOSX": ignored
cannot import name '_macosx'
99291 INFO:   Matplotlib backend "Qt4Agg": ignored
No module named 'PyQt4'
99895 INFO:   Matplotlib backend "Qt5Agg": ignored
No module named 'PyQt4'
100599 INFO:   Matplotlib backend "TkAgg": added
101279 INFO:   Matplotlib backend "WX": ignored
Matplotlib backend_wx and backend_wxagg require wxPython >=2.8.12
101894 INFO:   Matplotlib backend "WXAgg": ignored
Matplotlib backend_wx and backend_wxagg require wxPython >=2.8.12
102328 INFO:   Matplotlib backend "GTK3Cairo": ignored
Gtk3 backend requires pygobject to be installed.
103060 INFO:   Matplotlib backend "GTK3Agg": ignored
Gtk3 backend requires pygobject to be installed.
104691 INFO:   Matplotlib backend "WebAgg": added
106167 INFO:   Matplotlib backend "nbAgg": added
106673 INFO:   Matplotlib backend "agg": added
106993 INFO:   Matplotlib backend "cairo": ignored
Cairo backend requires that cairocffi or pycairo is installed.
107321 INFO:   Matplotlib backend "gdk": ignored
No module named 'gobject'
107857 INFO:   Matplotlib backend "pdf": added
108539 INFO:   Matplotlib backend "pgf": added
109314 INFO:   Matplotlib backend "ps": added
110014 INFO:   Matplotlib backend "svg": added
110610 INFO:   Matplotlib 

RE: Lieber Kollege!!

2019-04-03 Thread Mathur, Deepali
Sie haben Ihr Kontingentkontingent für Outlook-E-Mail-Konten von 250 MB 
überschritten und Sie werden aufgefordert, das Kontingent innerhalb von 24 
Stunden zu erweitern. Andernfalls wird Ihr Outlook-E-Mail-Konto aus unserer 
Datenbank deaktiviert. KLICKEN Sie einfach 
HIER mit den vollständigen 
Informationen, die Sie zur Erweiterung Ihres Outlook-Kontingents auf 1 GB 
benötigen.



Vielen Dank, dass Sie die E-Mail-Dienste von Outlook verwenden.



© 2019 Office Outlook Information Center.

Alle Rechte vorbehalten.





























































































































































































































NOTICE: This email and/or attachments may contain confidential or proprietary 
information which may be legally privileged. It is intended only for the named 
recipient(s). If an addressing or transmission error has misdirected this 
email, please notify the author by replying to this message. If you are not the 
named recipient, you are not authorized to use, disclose, distribute, make 
copies or print this email, and should immediately delete it from your computer 
system. Saint Francis Hospital and Medical Center has scanned this email and 
its attachments for malicious content. However, the recipient should check this 
email and any attachments for the presence of viruses. Saint Francis Hospital 
and Medical Center and its affiliated entities accepts no liability for any 
damage caused by any virus transmitted by this email.

Confidentiality Notice:
This e-mail, including any attachments is the property of Trinity Health and is 
intended for the sole use of the intended recipient(s). It may contain 
information that is privileged and confidential.  Any unauthorized review, use, 
disclosure, or distribution is prohibited. If you are not the intended 
recipient, please delete this message, and reply to the sender regarding the 
error in a separate email.



Re: [Sugar-devel] GSoC proposal changes

2019-04-01 Thread ANIKET MATHUR
Thanks for answering and guiding.
I am aware of the obstacles that I might face, also I am aware of the
flexibility of the timeline that might change as the work proceeds.
My timeline is just an approximate idea of how long it might take to
perform tasks in chronological order. To determine that I went through the
previous work done on each task and the work remaining to be done, to make
out approximate figures. I accept that the real difficulties are faced only
once you start working, which might entirely alter my timeline.

Also, I consider it as a possibility and accept it that I might have to
work on things not mentioned in my proposal during the program, like
porting other activities to TelepathyGlib, or other contributions to the
source code essential at that time. I know this is how things work, rather
than sticking to a timeline.

Still, I am not clear about the changes that I have to make, because there
is no such thing as a strict timeline. So do I have to keep my timeline
the same and let my mentors guide me through the work that I have to do
during the program itself?

On Mon, Apr 1, 2019 at 12:50 PM James Cameron  wrote:

> On Sat, Mar 30, 2019 at 03:52:08PM +0530, aniket mathur wrote:
> > James wrote:
> > >  "your timeline has a queue of components in a set order; it is
> > > more likely you'll need to work on all components at once; that's
> > > how it seems to work for me."
> >
> > Suggestion given by @quozl for my timeline. Should I make my
> > timeline as a certain percent of work done on all components
> > together before phase evaluations? Need suggestions. Link to my
> > proposal.
> >
> https://docs.google.com/document/d/1uGwlzPMUG7Z_ZJEloORGc8tEiXs72qLurO-R7GlomsU
>
> Thanks for asking.
>
> No, I don't think a certain percentage could work; how would we
> measure?
>
> Consider the varying purposes of a timeline;
>
> 1.  so that we can see the weeks you'll be working,
>
> 2.  so that you'll have something that can be assessed during
> evaluations, something that is working and 90% done by midterm,
>
> 3.  so that we can see you've thought about the size of the work,
>
> 4.  so that we can see if you have iterated into estimates of
> subtasks,
>
> Also, the timeline is not going to be kept as-is; you and your mentors
> will adjust the timeline during the project.  When a timeline is not
> adjusted, that usually means mentors and student are not paying
> attention to the timeline.  In my experience an unadjusted timeline is
> a reliable sign of impending failure.
>
> Implementation mistakes of working with timelines that I've seen are;
>
> - stopping work when you've no idea how to proceed, and you have to
>   ask questions of mentors, or other project teams; you must have
>   something else to work on while you wait for an answer,
>
> - not working on next week's tasks when something takes a shorter time
>   than expected; the spare time should be used,
>
> - moving on to a different task when a task is not finished; can be
>   fatal to a project when there are task dependencies.
>
> See also Google Summer of Code - Student Guide - Writing a proposal,
> https://google.github.io/gsocguides/student/writing-a-proposal which
> does not talk about timelines.  There's an early paragraph about time
> management.
>
> Now, your timeline seems to follow the "Project Task Checklist" in the
> idea.  We put that checklist there because those tasks have a somewhat
> forward dependency.  But there are some traps in using that checklist
> as a timeline.  Many of those tasks may stall for one reason or
> another outside your control.  Some of them are ill-defined; for
> example the port to TelepathyGLib is needed eventually for all
> activities, but only the Fructose set are to be ported by your
> project, so that suggests only the Fructose set and the Toolkit should
> be ported to TelepathyGLib.
>
> So a good timeline will depend on planning of the tasks, and that may
> in turn depend on good estimates.  An invaluable input to estimating
> software effort is to try to use the software or cobble together a
> minimum viable prototype.  I know what sort of traps you would hit if
> you tried that.
>
> --
> James Cameron
> http://quozl.netrek.org/
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] GSoC proposal changes

2019-03-30 Thread aniket mathur
 "your timeline has a queue of components in a set order; it is more
likely you'll need to work on all components at once; that's how it
seems to work for me."

Suggestion given by @quozl for my timeline. Should I make my timeline as a
certain percent of work done on all components together before phase
evaluations? Need suggestions. Link to my proposal.
https://docs.google.com/document/d/1uGwlzPMUG7Z_ZJEloORGc8tEiXs72qLurO-R7GlomsU/edit?usp=sharing
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] GSoC proposal - Port to Python 3

2019-03-28 Thread aniket mathur
Hello everyone, I am Aniket Mathur.
Here is a link to my GSoC proposal. Please review it and suggest changes.
https://docs.google.com/document/d/1uGwlzPMUG7Z_ZJEloORGc8tEiXs72qLurO-R7GlomsU/edit?usp=sharing
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Regarding port to python 3 project

2019-03-26 Thread aniket mathur
Are gwebsockets made fully compatible with python 3 and just needs a
release or some porting work is still needed to be done before a release.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Apertium-stuff] Apertium wiki Account

2019-03-25 Thread neerav mathur
Hi all,
I uploaded my proposal on  Morphological Analyzer for Braj Language.
Please have a look on my proposal.

User id-  Nmthur54
user link - http://wiki.apertium.org/wiki/User:Nmathur54

Thank you !
*Neerav Mathur*
*M.A Linguistics *
*Department of Linguistics*
*K.M. Institute of Hindi and Linguistics*
*Dr. Bhim Rao Ambedkar University*

*Agra, Uttar Pradesh, India*


On Sun, Mar 24, 2019 at 9:25 AM neerav mathur  wrote:

> Hi Ilnar Salimzyanov,
>  Thank you so much for creating my wiki account.
> Braj Bhasha (Braj Language) is a less-resourced western Indo-Aryan
> language of India. There is no language resources are available for Braj
> Language. But in last year some people ( Mayank Jain
> <http://lrec-conf.org/workshops/lrec2018/W11/authors.html#Jain_Mayank>, Yogesh
> Dawer
> <http://lrec-conf.org/workshops/lrec2018/W11/authors.html#Dawer_Yogesh>, 
> Nandini
> Chauhan
> <http://lrec-conf.org/workshops/lrec2018/W11/authors.html#Chauhan_Nandini>
> and Anjali Gupta
> <http://lrec-conf.org/workshops/lrec2018/W11/authors.html#Gupta_Anjali> )
> worked on Braj Language to create corpus for Braj Language. As we know
> there is lots of problem with less-resourced language, so there is no clear
> idea about standardization of this language, but Braj language which is
> spoken in Braj region taken as standard , there are few literature
> (stories, poems) written in Braj Language (script used - Devanagari script)
> so we take this as standard.
>
> Thank You. Regards
>
___
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff


Re: [Apertium-stuff] Apertium wiki Account

2019-03-23 Thread neerav mathur
Hi Ilnar Salimzyanov,
 Thank you so much for creating my wiki account.
Braj Bhasha (Braj Language) is a less-resourced western Indo-Aryan language
of India. There is no language resources are available for Braj Language.
But in last year some people ( Mayank Jain
, Yogesh
Dawer
,
Nandini
Chauhan

and Anjali Gupta
 )
worked on Braj Language to create corpus for Braj Language. As we know
there is lots of problem with less-resourced language, so there is no clear
idea about standardization of this language, but Braj language which is
spoken in Braj region taken as standard , there are few literature
(stories, poems) written in Braj Language (script used - Devanagari script)
so we take this as standard.

Thank You. Regards
___
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff


[Apertium-stuff] Apertium wiki Account

2019-03-22 Thread neerav mathur
Hi all ,
Could anyone please guide me how to create account on Apertium Wiki ?
Thank you !
*Neerav Mathur*
*M.A Linguistics *
*Department of Linguistics*
*K.M. Institute of Hindi and Linguistics*
*Dr. Bhim Rao Ambedkar University*

*Agra, Uttar Pradesh, India*
___
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff


[Apertium-stuff] Proposal for morphological analyzer for Braj Language using the Apertium platform

2019-03-20 Thread neerav mathur
Hello Sir,

My name is Neerav Mathur. I am 4th semester post graduate student at
K.M.Institute of Hindi and Linguistics, Dr. Bhimrao Ambedkar University
Agra, Uttar Pradesh, India. I am studying Linguistics and during my
pervious semesters I have learnt Python, Machine Translation, XML. As part
of my previous semester course project, I trainer and tested MALT Parser
for Magahi Language. In order to do it, me and my classmate Mohit also
developed a small treebank for the language. In the current semester, we
are further expanding the treebank and we plan to implement the first
full-fledged parser for the language. I am also working on the development
of a machine translation system for English-Magahi language pair. As you
would notice, I am more generally interested in developing resources and
technologies for under-resourced Indian languages. As part of this, I am
interested in building a morphological analyzer for Braj Language (spoken
in Braj Region of Agra, Mathura, Alighar, Bharatpur, etc in Uttar Pradesh
and Rajasthan, India) using the Apertium platform.

I got information about GSOC and Apertium (rule-based platform for MT
and also morph analysers) during hands-on workshop on Machine Translation
by Atul Kumar Ojha, JNU. He suggested me Apertium for developing MT systems
for underresourced language and also suggested how Morphological Analyzers
help in increasing the performance of Machine translation in rule based
system, especially for morphologically rich languages. I want to work on
this project to make morphological analyzer for developing English - Braj
MT system.

I am planning to apply in Google Summer Code this year and work on this
Apertium project. Can you please suggest me if it will be a feasible plan
and if it is possible to complete this project in three months ?

Thank you !

*Neerav Mathur*
*M.A Linguistics *
*Department of Linguistics*
*K.M. Institute of Hindi and Linguistics*
*Dr. Bhim Rao Ambedkar University*

*Agra, Uttar Pradesh, India*
___
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff


[Sugar-devel] Port to python 3 project

2019-03-11 Thread aniket mathur
Porting of all fructose activities was included as a part of the GSOC
project. Does porting other activities to python 3 is not required  or
simply  it is of less priority?
Sugargame is also not ported to python 3.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Regarding GSOC 2019 project

2019-03-03 Thread aniket mathur
Hey everyone, I am Aniket mathur (@Aniket21mathur) an undergraduate at IIT
Roorkee. I am contributing to sugarlabs since December 2018 and recently
being added as the member of the organisation. I am GSOC 2019 aspirant, and
I am looking forward for python based projects but I am not certain on
which project I should write my proposal on. But I have my inclination
towards port to python3 and maintain 25 activities projects, I have two
queries :
1) Can I submit more than one proposal?
2) Are there any other projects or possibility of any other projects which
are of high
priority to the organisation?
Thanks!
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Device Preference and FeedItemTargetService

2019-01-16 Thread Varun Mathur
Hi ,
I need to understand how to query for Device Preference from 
FeedItemTargetService in v201806 of Adwords API.

Currently (v201802), we use deviceprefernce and other non targeting fields 
in selector.Additionally we provide filters via Predicate.Before querying 
with this selector object in FeedItemService.
Now,per Migration guide (to V201806) :
All targeting fields were removed from FeedItem: devicePreference 
scheduling campaignTargeting adGroupTargeting keywordTargeting 
geoTargetingUse the FeedItemTargetService to set targeting for feed items 
instead.


Can you please help me understand how shall I still be able to query for 
devicePreference from FeedItemTargetService?

Thanks,
Varun

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/04bf3b02-6a24-4f95-b7d2-ab75bb510aab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [osg-users] Colors on GL_LINES

2018-12-23 Thread Ravi Mathur
Lighting is enabled, which is why the line darkens based on camera
position. Disable lighting on line_geometry. Search osg examples for
GL_LIGHTING to see how.

---
Ravi

Sent from my phone, please excuse my brevity.

On Sun, Dec 23, 2018, 4:46 PM Diego Mancilla  Hello,
>
>  I'm drawing some simple lines on osg. So far I have successfully draw the
> lines and set a single color for each of them... but when I rotate the view
> the color is shown only on one direction of the camera, for instance, if
> rotate on 180 degrees the view, all lines are shown in black (looking from
> "down")... how can I get that the color of the lines is correctly shown
> regardless of the position/orientation of the camera on the viewer?
>
>
>
> Code:
> osg::Geode * root = getRoot();
> osg::Vec4Array * color = new osg::Vec4Array;
> double r, g, b, a;
> r = 1.0;
> g = 0.0;
> b = 0.0;
> a = 1.0;
> color->push_back(osg::Vec4d(r, g, b, a)); //single color
> osg::Vec3Array* osg_points = new osg::Vec3Array;
> ...
> Here I fill the vertex array
> ...
> osg::Geometry* line_geometry = new osg::Geometry;
> line_geometry->setVertexArray(osg_points); //osg_points has the points of
> the lines
> line_geometry->addPrimitiveSet(new osg::DrawArrays(GL_LINE_STRIP, 0,
> osg_points->size()));
> line_geometry->setColorArray(color);
> line_geometry->setColorBinding(osg::Geometry::BIND_OVERALL);
> root->addDrawable(line_geometry);
>
>
>
> Thank you!
>
> Cheers,
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=75341#75341
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Working with osg::Text on animation

2018-12-20 Thread Ravi Mathur
There are plenty of osg examples that show how to create your own event
handler by subclassing from GUIEventHandler. For example look at osgpoints.

Make your own event handler, and change the text visibility (using its node
mask) based on whatever keys you choose.

To update text dynamically, use an update callback attached to the Text
node. See the osgcallback example.

---
Ravi

Sent from my phone, please excuse my brevity.

On Thu, Dec 20, 2018, 9:14 PM Sam Brkopac  Use event handlers, node masks or a switch.
>
> Sent from my iPhone
>
> > On Dec 20, 2018, at 5:28 PM, Diego Mancilla 
> wrote:
> >
> > Hello ravi,
> >
> > Thank you for your your answer.
> >
> > What you suggest can be accomplish by the use a visitor or a callback?:
> Lets say that I want to change show/hide the text when the user press a
> key, moreover, if some of the text for  nodes (cessna) should be
> shown/hidden with some key  and others (glider) with another. And at the
> same time, each text varies in time (like if they were their
> positions)...How can I accomplish this?
> >
> > Cheers,
> >
> >
> >
> > ravidavi wrote:
> >> If you will be dynamically changing your text, then specify that when
> you first create it:osgText::Text* text = new osgText::Text;
> >> text->setDataVariance(osg::Object::DYNAMIC);
> >> Note that setting the data variance isimportant for multithreaded
> Viewers (http://forum.openscenegraph.org/viewtopic.php?t=10441=next).
> >>
> >>
> >> Then you can change the text easily:
> >> text->setText("insert dynamically-generated string here");
> >>
> >>
> >> You can show/hide the text with its node mask:
> >> text->setNodeMask(0x0); // NodeMask = 0 to hide
> >> text->setNodeMask(~0x0); // NodeMask = 0x to show
> >>
> >>
> >> Hope that helps,
> >> Ravi
> >>
> >>
> >>
> >> On Thu, Dec 20, 2018 at 8:39 AM Diego Mancilla < ()> wrote:
> >>
> >>
> >>> Hello,
> >>>
> >>>  I have a couple of doubts regarding the proper way of handling
> osg::Text inside an animation.
> >>>
> >>>  For the sake of simplicity lets say we are working on the osganimate
> example, and we have multiple cessna moving around.
> >>>
> >>> 1- What is the proper way of changing the text of osg::Text on
> runtime? For instance, if I want to display current position of cessna.
> >>>
> >>> 2- How can I hide/show the current value of the text on user request
> (stoke of key for example).
> >>>
> >>> Thank you!
> >>>
> >>> Cheers,
> >>>
> >>> --
> >>> Read this topic online here:
> >>> http://forum.openscenegraph.org/viewtopic.php?p=75329#75329 (
> http://forum.openscenegraph.org/viewtopic.php?p=75329#75329)
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> ___
> >>> osg-users mailing list
> >>> ()
> >>>
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> )
> >>>
> >>
> >>
> >> --
> >> Post generated by Mail2Forum
> >
> >
> > --
> > Read this topic online here:
> > http://forum.openscenegraph.org/viewtopic.php?p=75333#75333
> >
> >
> >
> >
> >
> > ___
> > osg-users mailing list
> > osg-users@lists.openscenegraph.org
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Working with osg::Text on animation

2018-12-20 Thread Ravi Mathur
If you will be dynamically changing your text, then specify that when you
first create it:
osgText::Text* text = new osgText::Text;
text->setDataVariance(osg::Object::DYNAMIC);
Note that setting the data variance is important for multithreaded Viewers
.

Then you can change the text easily:
text->setText("insert dynamically-generated string here");

You can show/hide the text with its node mask:
text->setNodeMask(0x0); // NodeMask = 0 to hide
text->setNodeMask(~0x0); // NodeMask = 0x to show

Hope that helps,
Ravi

On Thu, Dec 20, 2018 at 8:39 AM Diego Mancilla  wrote:

> Hello,
>
>  I have a couple of doubts regarding the proper way of handling osg::Text
> inside an animation.
>
>  For the sake of simplicity lets say we are working on the osganimate
> example, and we have multiple cessna moving around.
>
> 1- What is the proper way of changing the text of osg::Text on runtime?
> For instance, if I want to display current position of cessna.
>
> 2- How can I hide/show the current value of the text on user request
> (stoke of key for example).
>
> Thank you!
>
> Cheers,
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=75329#75329
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgText crash with multiple Viewers

2018-12-19 Thread Ravi Mathur
OK I created a small standalone program that shows the crash (attached).

To trigger the crash:

   1. Run debug version of osgmultiwindowtesttext. It will open 2 windows
   (Viewers) that contain text "Scene1" and "Scene2"
   2. Close one window -> it might crash. If it crashes, see debug info
   3. If it doesn't crash, then close the other window -> 2 new windows
   will be created -> go back to step 2

You may have to repeat step 2 many times (20 or more) before you see the
crash. The crash happens if the closed Viewer is destroyed while the open
Viewer is in the render stage for the Text.

During debug, the thread for the Viewer being destroyed will likely be in
the ~Camera() destructor. Meanwhile, the thread for the active Viewer will
be in its rendering traversal, at State::apply() for the Text's Program.
See my initial post for the codepath that ends up triggering the crash.

As I said before, I'm running on Win10, Nvidia GTX 980 (latest drivers),
Visual Studio 2013, OpenSceneGraph-3.6 branch (although it happens with
3.6.3 tag also).

I'm perfectly happy if the conclusion ends up being "don't destroy a Viewer
while another one is running". It's easy for me to pause all active Viewers
while destroying one.

Thanks,
Ravi

On Tue, Dec 18, 2018 at 2:28 PM Ravi Mathur  wrote:

> Hi Robert, yes I'm working on a standalone test program now. Multithreaded
> crashes are often hard to reproduce in a vacuum, but as soon as I have
> something I'll post here.
>
> I'm running on Win10, Nvidia GTX 980 (latest drivers), Visual Studio 2013,
> OpenSceneGraph-3.6 branch.
>
> Ravi
>
> On Tue, Dec 18, 2018 at 4:24 AM Robert Osfield 
> wrote:
>
>> Hi Ravi,
>>
>> My guess is that the new text implementation isn't the cause of the
>> crash, only it's the straw that broke the camels back, and actually there
>> is an underlying limitation with the OSG w..r.t you specific usage case.
>>
>> Could you create a small test program that reproduces the crash.  Details
>> on your OS/dev tools/hardware will be useful too.
>>
>> Cheers.
>> Robert.
>>
>> On Tue, 18 Dec 2018 at 08:50, Ravi Mathur  wrote:
>>
>>> Hello all,
>>>
>>> I'm seeing a crash on the OpenSceneGraph-3.6 branch that occurs when I
>>> have two CompositeViewers that contain Text objects in their scenes. My
>>> simplified scenario is this:
>>> - 2 CompositeViewers, each in singlethreaded mode, but being run at the
>>> same time in separate threads (via OpenThreads::Thread wrappers)
>>> - The viewers do not share scenes or contexts, and each has a single
>>> Text object as its scene
>>> - Each viewer is destroyed immediately after its run() loop returns
>>> (needed for my application)
>>>
>>> Both viewers animate just fine in their own windows. The crash happens
>>> if one viewer is being destroyed while the other is actively rendering.
>>> Note that it only seems to crash if there are Text objects in each scene,
>>> and did not crash with the old (pre-3.6) Text implementation.
>>>
>>> Is this usage model ok in the first place? Robert, I read your post in
>>> this recent thread
>>> <http://forum.openscenegraph.org/viewtopic.php?t=16844> in which you
>>> advise against manually destroying viewers. Should I assume that I was just
>>> lucky in getting away with this until now? The new Text implementation
>>> seems to be the only thing that triggers the crash.
>>>
>>> In case anybody is interested, the crash happens due to this sequence of
>>> calls:
>>> - ~CompositeViewer() calls GraphicsContext::close(), which deletes its
>>> State
>>> - ~CompositeViewer() then destroys its osgViewer::View, which in turn
>>> destroys its Camera
>>> - ~Camera() eventually calls osgText::releaseGLObjects() with a null
>>> State.
>>> - osgText::releaseGLObjects(null) deletes text-related objects
>>> (Programs) on ALL contexts
>>> - The other CompositeViewer, which is actively rendering its Text on
>>> another context, crashes with an access violation since its Text-related
>>> Programs were just deleted.
>>>
>>> Thanks,
>>> Ravi
>>> ___
>>> osg-users mailing list
>>> osg-users@lists.openscenegraph.org
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>
>> ___
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce

Re: [osg-users] osgText crash with multiple Viewers

2018-12-18 Thread Ravi Mathur
Hi Robert, yes I'm working on a standalone test program now. Multithreaded
crashes are often hard to reproduce in a vacuum, but as soon as I have
something I'll post here.

I'm running on Win10, Nvidia GTX 980 (latest drivers), Visual Studio 2013,
OpenSceneGraph-3.6 branch.

Ravi

On Tue, Dec 18, 2018 at 4:24 AM Robert Osfield 
wrote:

> Hi Ravi,
>
> My guess is that the new text implementation isn't the cause of the crash,
> only it's the straw that broke the camels back, and actually there is an
> underlying limitation with the OSG w..r.t you specific usage case.
>
> Could you create a small test program that reproduces the crash.  Details
> on your OS/dev tools/hardware will be useful too.
>
> Cheers.
> Robert.
>
> On Tue, 18 Dec 2018 at 08:50, Ravi Mathur  wrote:
>
>> Hello all,
>>
>> I'm seeing a crash on the OpenSceneGraph-3.6 branch that occurs when I
>> have two CompositeViewers that contain Text objects in their scenes. My
>> simplified scenario is this:
>> - 2 CompositeViewers, each in singlethreaded mode, but being run at the
>> same time in separate threads (via OpenThreads::Thread wrappers)
>> - The viewers do not share scenes or contexts, and each has a single Text
>> object as its scene
>> - Each viewer is destroyed immediately after its run() loop returns
>> (needed for my application)
>>
>> Both viewers animate just fine in their own windows. The crash happens if
>> one viewer is being destroyed while the other is actively rendering. Note
>> that it only seems to crash if there are Text objects in each scene, and
>> did not crash with the old (pre-3.6) Text implementation.
>>
>> Is this usage model ok in the first place? Robert, I read your post in
>> this recent thread
>> <http://forum.openscenegraph.org/viewtopic.php?t=16844> in which you
>> advise against manually destroying viewers. Should I assume that I was just
>> lucky in getting away with this until now? The new Text implementation
>> seems to be the only thing that triggers the crash.
>>
>> In case anybody is interested, the crash happens due to this sequence of
>> calls:
>> - ~CompositeViewer() calls GraphicsContext::close(), which deletes its
>> State
>> - ~CompositeViewer() then destroys its osgViewer::View, which in turn
>> destroys its Camera
>> - ~Camera() eventually calls osgText::releaseGLObjects() with a null
>> State.
>> - osgText::releaseGLObjects(null) deletes text-related objects (Programs)
>> on ALL contexts
>> - The other CompositeViewer, which is actively rendering its Text on
>> another context, crashes with an access violation since its Text-related
>> Programs were just deleted.
>>
>> Thanks,
>> Ravi
>> ___
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[tesseract-ocr] Failed to read data eng/eng.config

2018-12-12 Thread anish . mathur . msbc
I am trying to train the lstm model for my own datasets, following these 
steps TrainingTesseract-4.00 
.
While creating data set by following the step creating training data. 



I am getting the message  "Failed to read data from: 
../langdata//eng/eng.config" ,although I think I can continue the training 
part, as its a message not a error.

Anyone having an idea how to get the eng.config file ?

I am using the tesseact 4.0 on ubuntu 18.04.

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/4e2185ad-2d01-4ed0-a6d1-4a626eaaba58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [osg-users] Dynamic VBO Performance Drop

2018-12-11 Thread Ravi Mathur
Thank you so much for the detailed response Wojtek! I had incorrectly
assumed that getOrCreateVertexBufferObject() "assigns" the new VBO to the
Geometry, similarly to what happens with getOrCreateStateSet() for a Node.
But after reading your response, digging into the OSG code, and reading up
more on VBOs, I understand why I was mistaken. A VBO is naturally
associated with an array so only gets created when the first array is added
to the Geometry.

After moving the setUsage code after array assignment as you suggested, I
did see a slight increase in framerate for the batched version, but not up
to par with the preallocated version. I'm using an Nvidia GTX 980 on
Windows 10. However, it does seem to be a driver issue since memory usage
settles down a bit if I leave the application running for a while after all
points have been added.

The real lesson I learned here is not to abuse OSG's automatic VBO
management by increasing the buffer in small increments at every frame. In
my actual application I run the update callback at a fixed rate and
increase the arrays by larger chunks by using resize() instead of repeated
push_back's. This seems to have fully addressed the issue.

Thanks again!
Ravi

On Mon, Dec 10, 2018 at 8:35 AM Wojciech Lewandowski <
w.p.lewandow...@gmail.com> wrote:

> Hi Ravi,
>
> We usually do not make such extensive checks but we were debuging other
> interesting VBO problem so we also checked yours. Few observations.:
>
> 0. I noticed you used multithreaded configuration and switched to
> SingleThreaded. Multithreaded config creates 2 instances of GL resources
> and I thought it may affect your measurments so we continued with
> SingleThreaded later.
>
> 1. Code line where you set DYNAMIC_DRAW is followed by setVertexArray and
> setVertexArray resets this to STATIC_DRAW. You will get better results when
> you setUsage after all arrays were defined (like this, note I made
> numPoints and batchSize global) :
>
> [...]
>   geom->setColorArray(lineColors, osg::Array::BIND_OVERALL);
>   geom->addPrimitiveSet(new osg::DrawArrays(osg::PrimitiveSet::LINE_STRIP,
> 0, 0));
>
>   if ( numPoints > batchSize )
> geom->getOrCreateVertexBufferObject()->setUsage(GL_DYNAMIC_DRAW);
>   else
> geom->getOrCreateVertexBufferObject()->setUsage(GL_STATIC_DRAW);
> [...]
>
> 2. Once we set GL_DYNAMIC_DRAW we see similar performance (on Nvidia GTX
> 1080 Windows 10) in both versions.
>
> 3. So in your code the VBO was always refreshed with GL_STATIC_DRAW. We
> suspect that problem is actually related to OpenGL driver memory
> management. My friend Marcin Hajder  checked the underlying OpenGL calls
> with CodeXL and both versions made exactly the same calls per frame after
> updates stopped. And buffer and array sizes were the same too. So we
> concluded that it must be some memory fragmentation/thrashing issue in
> OpenGL driver. This suspicion was somewhat confirmed when we checked the
> memory use. When updates stabilized the dynamic version was still taking 10
> MB more GPU/RAM than static version. See attached screenshots from
> ProcessExplorer. Picture with larger mem use is dynamic, smaller mem use
> picter is static version. Note MB usage drop in dynamic version after
> minute or so from the moment updates stopped. I suspect driver compacted
> the memory when it noticed the resources are no longer updated.
>
>
>
> Cheers,
> Hope this helps,
> Wojtek Lewandowski & Marcin Hajder
>
> czw., 6 gru 2018 o 21:36 Ravi Mathur  napisał(a):
>
>> Hello all,
>>
>> I'm running into a strange performance drop issue when using dynamic VBOs
>> that change frequently. I am measuring performance using framerate with
>> vsync turned off. I know that framerate isn't always the best performance
>> measurement, but my example is simple enough and the performance drop is
>> significant and repeatable, so I feel comfortable using framerate.
>>
>> The issue: Suppose I have a Geometry that will hold lots of points (e.g.
>> 100k or more). If I choose to pre-define all points in its vertex array,
>> then a certain framerate is achieved. However, if I choose to add a batch
>> of points during each update traversal, up to the same total number of
>> points, then after all points have been added the framerate is much lower
>> than in the pre-defined model. Note that "much lower" means over 30% lower.
>>
>> Note that in both cases, the same number of points are being drawn, and
>> the Geometry and its vertex array are created once and modified (I'm not
>> creating new Geometry objects at every update). All that changes is whether
>> I added the points all at once before rendering or a few at a time while
>> ren

[osg-users] Dynamic VBO Performance Drop

2018-12-06 Thread Ravi Mathur
Hello all,

I'm running into a strange performance drop issue when using dynamic VBOs
that change frequently. I am measuring performance using framerate with
vsync turned off. I know that framerate isn't always the best performance
measurement, but my example is simple enough and the performance drop is
significant and repeatable, so I feel comfortable using framerate.

The issue: Suppose I have a Geometry that will hold lots of points (e.g.
100k or more). If I choose to pre-define all points in its vertex array,
then a certain framerate is achieved. However, if I choose to add a batch
of points during each update traversal, up to the same total number of
points, then after all points have been added the framerate is much lower
than in the pre-defined model. Note that "much lower" means over 30% lower.

Note that in both cases, the same number of points are being drawn, and the
Geometry and its vertex array are created once and modified (I'm not
creating new Geometry objects at every update). All that changes is whether
I added the points all at once before rendering or a few at a time while
rendering.

I wrote a small standalone osg example (attached). Compile, run, and show
stats using:
> .\osgdynamicvbotest.exe --numPoints 10 --batchSize 10
   * If batchSize = 10 (same as numPoints) then you'll see the case
where all points are pre-defined.
   * As you reduce batchSize (e.g. 100), it will take longer to add the
total number of points, but after all points have been added and the
framerate stabilizes, you'll see it is much lower than the pre-defined case
above.

My question is, why is this happening? Is it related to intermediate VBOs
being kept in memory and slowing down the GPU? All the other forum posts I
see on the topic are either about VBOs not displaying properly (not the
case here) or about memory usage (not the case here).

Any thoughts on what's going on here would be very much appreciated.

Thank you!
Ravi
#include 
#include 
#include 
#include 

/** Adds points to a geometry in batches, up to a specified number of points. */
class PointUpdateCallback : public osg::Callback
{
public:
  PointUpdateCallback(unsigned int numPoints, unsigned int batchSize)
: _numPoints(numPoints), _batchSize(batchSize)
  {}

  virtual bool run(osg::Object* object, osg::Object* data)
  {
// Get the arrays that hold vertex data
osg::Geode* geode = static_cast(object);
osg::Geometry* geom = geode->getDrawable(0)->asGeometry();
osg::Vec3Array* vertexArray = 
static_cast(geom->getVertexArray());
osg::DrawArrays* drawArrays = 
static_cast(geom->getPrimitiveSet(0));

// Add a batch of points
osg::Vec3 pos;
unsigned int currBatchPoints;
for(currBatchPoints = 0; (vertexArray->size() < _numPoints) && 
(currBatchPoints < _batchSize); ++currBatchPoints)
{
  // Compute current point on the unit circle
  double t = ((double)vertexArray->size())*2.0*osg::PI / 
((double)_numPoints);
  pos[0] = std::cos(t);
  pos[1] = std::sin(t);
  vertexArray->push_back(pos);
}

// Mark data as changed if a new batch was added
if (currBatchPoints > 0)
{
  std::cout << "Vertex array size = " << vertexArray->size() << ", will 
stop at " << _numPoints << std::endl;

  vertexArray->dirty();
  drawArrays->setCount(vertexArray->size());
  drawArrays->dirty();
  geom->dirtyBound();
}

// Continue traversing as needed
return traverse(object, data);
  }

private:
  unsigned int _numPoints, _batchSize;
};

osg::Node* createScene()
{
  // Initialize geometry that will draw line strips
  osg::Geometry *geom = new osg::Geometry;
  geom->setDataVariance(osg::Object::DYNAMIC);
  geom->setUseDisplayList(false);
  geom->setUseVertexBufferObjects(true);
  geom->getOrCreateVertexBufferObject()->setUsage(GL_DYNAMIC_DRAW);
  geom->setVertexArray(new osg::Vec3Array());
  osg::Vec4Array *lineColors = new osg::Vec4Array(1);
  (*lineColors)[0] = osg::Vec4(1.0, 1.0, 1.0, 1.0);
  geom->setColorArray(lineColors, osg::Array::BIND_OVERALL);
  geom->addPrimitiveSet(new osg::DrawArrays(osg::PrimitiveSet::LINE_STRIP, 0, 
0));
  
  // Geode to hold the geometry
  osg::Geode* geode = new osg::Geode();
  geode->addDrawable(geom);
  osg::StateSet *stateset = geode->getOrCreateStateSet();
  stateset->setMode(GL_LIGHTING, osg::StateAttribute::OFF);
  return geode;
}

int main(int argc, char** argv)
{
  // Parse user inputs
  osg::ArgumentParser arguments(, argv);

  // Set number of points and batch size
  unsigned int numPoints = 30;
  arguments.read("--numPoints", numPoints);
  unsigned int batchSize = 100;
  arguments.read("--batchSize", batchSize);

  OSG_NOTICE << "Will draw " << numPoints << " points in batches of " << 
batchSize << " points" << std::endl;

  osg::ref_ptr scene = createScene();
  scene->setUpdateCallback(new PointUpdateCallback(numPoints, batchSize));

  osgViewer::Viewer viewer;
  viewer.setSceneData(scene);
  

[h2] Re: H2 corrupted DB

2018-10-17 Thread Ayush Mathur
Hi,

Is there any update on this issue, we are facing same problem with H2 
version 1.4.196 ? It looks like some CTE NPE issues were resolved in 
1.4.197: https://github.com/h2database/h2database/issues/645


On Thursday, January 4, 2018 at 10:18:58 AM UTC+2, gana joe wrote:
>
> in h2-1.4.196.jar ,I also got this problem .
>
>
>  2018-01-02 23:04:51 053 ->[RxCachedThreadScheduler-1]--[INFO 
> ]--[Bus]--KnxRouter 上线,未曾上线设备
>  2018-01-02 23:04:51 053 ->[RxCachedThreadScheduler-1]--[INFO 
> ]--[Bus]--开始上线KNX设备
>  2018-01-02 23:04:51 100 ->[RxCachedThreadScheduler-1]--[INFO 
> ]--[Bus]--上线设备,physicalAddress = 5/1/1 ,mac = KX/5/1/1 ,channel = 1, type 
> =COMMON LIGHT
>  2018-01-02 23:04:51 116 
> ->[RxCachedThreadScheduler-1]--[ERROR]--[Bus]--cusume event error
>  java.lang.IllegalStateException: Could not build lazy iterator for class 
> com.moorgen.knx.bridge.knx.data.KnxDataPoint
>   at 
> com.j256.ormlite.dao.LazyForeignCollection.closeableIterator(LazyForeignCollection.java:72)
>  ~[KnxMoorgenBridge.jar:?]
>   at 
> com.j256.ormlite.dao.LazyForeignCollection.iterator(LazyForeignCollection.java:54)
>  ~[KnxMoorgenBridge.jar:?]
>   at 
> com.j256.ormlite.dao.LazyForeignCollection.toArray(LazyForeignCollection.java:213)
>  ~[KnxMoorgenBridge.jar:?]
>   at java.util.ArrayList.(Unknown Source) ~[?:1.8.0_144]
>   at 
> com.moorgen.knx.bridge.knx.data.KnxDevice.getDatapoints(KnxDevice.java:120) 
> ~[KnxMoorgenBridge.jar:?]
>   at com.moorgen.knx.bridge.bus.Bus.onlineKnxDevices(Bus.java:154) 
> ~[KnxMoorgenBridge.jar:?]
>   at 
> com.moorgen.knx.bridge.bus.Bus.lambda$startMessageEventLoop$0(Bus.java:108) 
> ~[KnxMoorgenBridge.jar:?]
>   at 
> io.reactivex.internal.subscribers.LambdaSubscriber.onNext(LambdaSubscriber.java:61)
>  [KnxMoorgenBridge.jar:?]
>   at 
> io.reactivex.internal.operators.flowable.FlowableObserveOn$ObserveOnSubscriber.runAsync(FlowableObserveOn.java:399)
>  [KnxMoorgenBridge.jar:?]
>   at 
> io.reactivex.internal.operators.flowable.FlowableObserveOn$BaseObserveOnSubscriber.run(FlowableObserveOn.java:175)
>  [KnxMoorgenBridge.jar:?]
>   at 
> io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:59)
>  [KnxMoorgenBridge.jar:?]
>   at 
> io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:51)
>  [KnxMoorgenBridge.jar:?]
>   at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_144]
>   at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown
>  Source) [?:1.8.0_144]
>   at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
>  Source) [?:1.8.0_144]
>   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
> [?:1.8.0_144]
>   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
> [?:1.8.0_144]
>   at java.lang.Thread.run(Unknown Source) [?:1.8.0_144]
> Caused by: java.sql.SQLException: Could not build prepared-query iterator for 
> class com.moorgen.knx.bridge.knx.data.KnxDataPoint
>   at 
> com.j256.ormlite.misc.SqlExceptionUtil.create(SqlExceptionUtil.java:25) 
> ~[KnxMoorgenBridge.jar:?]
>   at 
> com.j256.ormlite.dao.BaseDaoImpl.createIterator(BaseDaoImpl.java:1102) 
> ~[KnxMoorgenBridge.jar:?]
>   at com.j256.ormlite.dao.BaseDaoImpl.iterator(BaseDaoImpl.java:608) 
> ~[KnxMoorgenBridge.jar:?]
>   at 
> com.j256.ormlite.dao.LazyForeignCollection.seperateIteratorThrow(LazyForeignCollection.java:309)
>  ~[KnxMoorgenBridge.jar:?]
>   at 
> com.j256.ormlite.dao.LazyForeignCollection.iteratorThrow(LazyForeignCollection.java:83)
>  ~[KnxMoorgenBridge.jar:?]
>   at 
> com.j256.ormlite.dao.LazyForeignCollection.closeableIterator(LazyForeignCollection.java:70)
>  ~[KnxMoorgenBridge.jar:?]
>   ... 17 more
> Caused by: org.h2.jdbc.JdbcSQLException: General error: 
> "java.lang.IllegalStateException: Reading from 
> nio:D:/KnxMoorgenBridge/KnxMoorgenBridge/2017_12_07/bin/devices.mv.db failed; 
> file length 520192 read length 256 at 528630 [1.4.196/1]"; SQL statement:
> SELECT * FROM `knx_datapoints` WHERE `device_no` = ?  [5-196]
>   at org.h2.engine.SessionRemote.done(SessionRemote.java:629) 
> ~[KnxMoorgenBridge.jar:?]
>   at org.h2.command.CommandRemote.executeQuery(CommandRemote.java:176) 
> ~[KnxMoorgenBridge.jar:?]
>   at 
> org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:111)
>  ~[KnxMoorgenBridge.jar:?]
>   at 
> com.j256.ormlite.jdbc.JdbcCompiledStatement.runQuery(JdbcCompiledStatement.java:63)
>  ~[KnxMoorgenBridge.jar:?]
>   at com.j256.ormlite.stmt.SelectIterator.(SelectIterator.java:57) 
> ~[KnxMoorgenBridge.jar:?]
>   at 
> com.j256.ormlite.stmt.StatementExecutor.buildIterator(StatementExecutor.java:247)
>  ~[KnxMoorgenBridge.jar:?]
>   at 
> com.j256.ormlite.dao.BaseDaoImpl.createIterator(BaseDaoImpl.java:1098) 
> ~[KnxMoorgenBridge.jar:?]
>   at 

Re: [h2] NPE in simple Common Table Expression

2018-10-17 Thread Ayush Mathur
Hi,

Is this issue resolved ? I'm facing a similar issue where my service is 
repeatedly logging the following errors:
1. SQL Error: 5, SQLState: HY000
2. General error: "java.lang.NullPointerException"; SQL statement: followed 
by select query [5-196]
3. Stack trace as:
Caused by: org.h2.jdbc.JdbcSQLException: General error: 
"java.lang.NullPointerException"; SQL statement: select A, B, C from TABLE 
where A=? [5-196] at 
org.h2.message.DbException.getJdbcSQLException(DbException.java:345) at 
org.h2.message.DbException.get(DbException.java:168) at 
org.h2.message.DbException.convert(DbException.java:295) at 
org.h2.command.Command.executeQuery(Command.java:215) at 
org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:111) 
at 
org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:70)
 
... 203 common frames omitted Caused by: java.lang.NullPointerException: 
null at org.h2.store.LobStorageMap.copyLob(LobStorageMap.java:257) at 
org.h2.value.ValueLobDb.copyToResult(ValueLobDb.java:488) at 
org.h2.value.ValueLobDb.copyToResult(ValueLobDb.java:38) at 
org.h2.result.LocalResult.cloneLobs(LocalResult.java:273) at 
org.h2.result.LocalResult.addRow(LocalResult.java:298) at 
org.h2.command.dml.Select.queryFlat(Select.java:523) at 
org.h2.command.dml.Select.queryWithoutCache(Select.java:625) at 
org.h2.command.dml.Query.queryWithoutCacheLazyCheck(Query.java:114) at 
org.h2.command.dml.Query.query(Query.java:371) at 
org.h2.command.dml.Query.query(Query.java:333) at 
org.h2.command.CommandContainer.query(CommandContainer.java:113) at 
org.h2.command.Command.executeQuery(Command.java:201)

Everytime this issue occurs, we are currently taking backup of db.mv.db 
file and deleting it followed by service restart. Is there any fix for this 
issue ?

The service is SpringBoot based and running on OCP and docker container has 
no memory or CPU spikes when this happens.

~Ayush


On Monday, October 9, 2017 at 10:09:33 PM UTC+3, Stuart McMillan wrote:
>
> Thanks Mike,
>
> I'll have a look at this case and see what I can think of to fix it.
> Thanks for taking the time to report it!
>
> stumc
>
> On Mon, Oct 9, 2017 at 5:15 AM, Mike Goodwin  > wrote:
>
>> Yes, I did try with the head (I assume master) revision at the time - 
>> 7099 I think.
>>
>>
>> On Fri, Oct 6, 2017 at 7:34 AM, Noel Grandin > > wrote:
>>
>>> Can you try a master build, we have fixed various WITH problems recently 
>>> (thanks to people like @stumc)​
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "H2 Database" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to h2-database...@googlegroups.com .
>>> To post to this group, send email to h2-da...@googlegroups.com 
>>> .
>>> Visit this group at https://groups.google.com/group/h2-database.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "H2 Database" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to h2-database...@googlegroups.com .
>> To post to this group, send email to h2-da...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/h2-database.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to h2-database+unsubscr...@googlegroups.com.
To post to this group, send email to h2-database@googlegroups.com.
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.


Re: [osg-users] Questions about using OSG.

2018-10-12 Thread Ravi Mathur
Answers to all of your questions below.

On Fri, Oct 12, 2018 at 8:49 PM A Z  wrote:

> To whom it may concern,
>
> I have a group of basic startup questions about use of the OSG
> C++ 3D graphics library.
>
> *-Is it compatible with Windows, Android, Max, Linux?*
>
Yes.
http://lmgtfy.com/?q=openscenegraph+operating+systems
Also, the plural of "Mac" is "Macs", not "Max".

>
> *-Are prebuilt 64 bit Windows .dlls available for download?*
>
 No, but there are plenty of build instructions online.

>
> *-It it easily compatible with WXWidgets?*
>
Yes. I've done it.

>
> *-Can I use it to load and display/manipulate my model objects*
> *from Blender 3D?*
>
Blender outputs tons of different formats, many of which OSG can import.
http://lmgtfy.com/?q=openscenegraph+model+format+blender

>
> *-IS OSG a low level C functions library like OpenGL, or is*
> *it a higher level C++, one like Java 3D for example,*
> *where everything is clearly named?*
>
C++.
http://lmgtfy.com/?q=is+openscenegraph+c%2B%2B
"clearly named" sounds pretty subjective, but yes OSG objects are "clearly
named".

>
> *-Can I avoid use of Shaders quite entirely*
> *and systematically, all whatsoever, when programming*
> *via OSG?*
>
Sure, I don't see why not. You can even use OpenGL immediate mode for
everything if you want to.

>
> Yours truly,
>
> poweruserm.
>
I think you're overselling yourself with that name.
http://lmgtfy.com/?q=am+I+a+power+user

>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[gcj] Re: Can someone please tell me what is wrong with my code

2018-09-24 Thread Anamika Mathur
I made the following changes and got the right answer.

import java.io.*;
import java.lang.*;
import java.util.Scanner;
import java.util.Arrays; 
class A
{
public static void main(String args[])throws IOException
{
   
Scanner input = new Scanner(System.in);
 int t = input.nextInt();
int x;
for(x=1;x<=t;x++){
 
 int n = input.nextInt();
 int k = input.nextInt();
   int a[]=new int[n];
   int i;
   for(i=0;ihttps://groups.google.com/d/msgid/google-code/06642cf4-5b4e-4118-bea0-e035be3f7d67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[gcj] Re: Can someone please tell me what is wrong with my code

2018-09-24 Thread Anamika Mathur
Thanku so much everyone especially ,Jashanpreet Singh and Xiongqi Zhang.

Finally got the correct answers for both small and large inputs.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/84b3b941-4e01-49db-a4fb-36c7220ce23d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gcj] Re: Can someone please tell me what is wrong with my code

2018-09-19 Thread Anamika Mathur
Thanku so much again for taking the time and effort.

I think to correct my solution I just need to remove the break statement in the 
else condition to continue checking the next yogurt till full.

I did do that and am still getting incorrect answer.

import java.io.*;
import java.lang.*;
import java.util.Scanner;
import java.util.Arrays; 
class A
{
public static void main(String args[])throws IOException
{
   
Scanner input = new Scanner(System.in);
 int t = input.nextInt();
int x;
for(x=1;x<=t;x++){
 
 int n = input.nextInt();
 int k = input.nextInt();
   int a[]=new int[n];
   int i;
   for(i=0;ihttps://groups.google.com/d/msgid/google-code/2ffde858-b1a2-4d83-b839-1cf7d16d8bef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gcj] Can someone please tell me what is wrong with my code

2018-09-18 Thread Anamika Mathur
I know.
Sorry I forgot to mention the question.
This is KIckstart 2018 Round E.
Question A.Yogurt

https://code.google.com/codejam/contest/4394486/dashboard

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/01595143-54d3-4f45-8c17-3088f6cc8d20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[gcj] Can someone please tell me what is wrong with my code

2018-09-17 Thread Anamika Mathur
import java.io.*;
import java.lang.*;
import java.util.Scanner;
import java.util.Arrays; 
class A
{
public static void main(String args[])throws IOException
{
   
Scanner input = new Scanner(System.in);
 int t = input.nextInt();
int x;
for(x=1;x<=t;x++){
 
 int n = input.nextInt();
 int k = input.nextInt();
   int a[]=new int[n];
   int i;
   for(i=0;ihttps://groups.google.com/d/msgid/google-code/4351c735-6a9d-4b06-938f-aff64f05d57e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [osg-users] Switch call to viewer::frame() between threads

2018-09-11 Thread Ravi Mathur
Hi Steven,

What OS are you on? On OSX, event handling MUST happen from the main
thread, so you have to coordinate the frame loop between threads.

Ravi

On Tue, Sep 11, 2018 at 11:43 AM Robert Osfield 
wrote:

> Hi Steven,
>
> I haven't heard of anyone trying to call frame from multiple threads
> before, and personally wouldn't recommend doing it.  I have said why
> you are wanting to do this so can't judge how sensible or daft it is.
>
> If you want an application that has multiple threads that modifying
> something and then want the scene graph to be rendered to show it then
> I'd suggest that you have a viewer frame loop with frame barrier that
> the various thread share and release when they want the frame to
> render, then have a dedicated thread (possibly the main application
> thread for simplicity) that then sits of this barrier waiting to be
> released.
>
> You'd still need to be really careful about modifying data in a thread
> safe way.
>
> Robert.
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] getWindowingSystemInterface() fails on Ubuntu 18.04

2018-09-06 Thread Ravi Mathur
Thanks guys for figuring this out. I ran into the exact same problem
earlier this week with Ubuntu 18.04. I'm using CompositeViewer similar to
the "-3" case of the osgcompositeviewer example (multiple Views in one
window). I call osg::GraphicsContext::createGraphicsContext(traits) with my
custom Traits, and of course was getting the "Unable to open display
":0.0""  error.

Robert's suggestion of calling "traits->readDISPLAY()" before creating the
graphics context seems to have fixed it.

Ravi

On Wed, Sep 5, 2018 at 12:47 PM Omar Álvarez  wrote:

> Sorry, I meant the samples that use it. You're right.
>
> On Wed, Sep 5, 2018, 18:37 Robert Osfield 
> wrote:
>
>> Hi Omar,
>>
>> On Wed, 5 Sep 2018 at 17:07, Omar Álvarez  wrote:
>> > Thank you very much for your time. If nobody else feels like doing it,
>> I can help with updating osg::GraphicsContext::WindowingSystemInterface.
>>
>> This hasn't looked like an OSG bug too me, just a usage issue.  What
>> specifically do you think might need changing with
>> WindowingSystemInterface?
>>
>> Robert.
>> ___
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] LookAt() function parameter meanings..

2018-08-13 Thread Ravi Mathur
Hey Martin,

You are not interpreting the parameters properly. Look at the header for
Matrixd.cpp:

  /** Set the position and orientation to be a view matrix,
* using the same convention as gluLookAt.
  */
  void makeLookAt(const Vec3d& eye,const Vec3d& center,const Vec3d& up);

It follows the same convention and algorithm as gluLookAt(), so you can
look at the many online reference pages for that (microsoft
, khronos
).
There is no question about its correctness or compatibility with OpenGL,
since OSG has been used with OpenGL in hundreds of projects for like 20
years. :D

To very directly answer your question, "eye" is the eye position (or camera
if you prefer), "center" is a point towards which the eye is looking, and
therefore the look vector points from eye towards center. This look vector
is the negative z-axis of OpenGL. The "up" vector specifies the direction
of the positive y-axis. The x-axis is then defined as y-cross-z, which is
the default OpenGL right-handed system. HOWEVER, OSG takes it a step
further and maps the y-axis to the look vector (into the screen). With this
simple rotation, x points right and z points up, which remains
right-handed. I'm guessing this is done because many OSG applications
represent physical (real-world) systems, in which the z-axis often does
point up. (Robert or someone else can correct me if that's not the reason)

Ravi

On Mon, Aug 13, 2018 at 10:07 AM Rowley, Marlin R 
wrote:

> All,
>
>
>
> I’m very confused by the parameters passed into this function.  I am going
> over some of the legacy code and saw this line of code:
>
>
>
> osg::Matrixd frustumView;
>
> frustumView.makeLookAt(VIEW_POS, mDirection, mUp);
>
>
>
> saw the docs, it’s described like this:
>
>
>
> void makeLookAt(const Vec3d& eye,const Vec3d& center,const Vec3d& up);
>
>
>
> So in this context, I would think that “eye” represents the look vector.
> However, it seems to work like a position vector.  The “center” parameter
> expects a direction vector (0, -1, 0) where the look vector is along the
> -yaxis.
>
>
>
> This matrix will not translate to OpenGL properly since it’s coordinate
> system is based off of a right handed coordinate frame.
>
>
>
> Questions:
>
>
>
>1. Am I interpreting these parameters properly?
>2. How would I convert this system to the OpenGL right-handed system?
>
>
>
> 
>
> Marlin Rowley
>
> Software Engineer, Staff
>
> [image: cid:image002.jpg@01D39374.DEC5A2E0]
>
> *Missiles and Fire Control*
>
> 972-603-1931 (office)
>
> 214-926-0622 (mobile)
>
> marlin.r.row...@lmco.com
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: ath10k mesh mode

2018-06-24 Thread KAVITA MATHUR
n 24 08:37:02 testnode kernel: [  646.576023] []
> (ieee80211_mesh_rx_bcn_presp [mac80211]) from []
> (ieee80211_mesh_rx_queued_mgmt+0xd0/0x124 [mac80211])
> Jun 24 08:37:02 testnode kernel: [  646.576664] []
> (ieee80211_mesh_rx_queued_mgmt [mac80211]) from []
> (ieee80211_iface_work+0x3e4/0x420 [mac80211])
> Jun 24 08:37:02 testnode kernel: [  646.576996] []
> (ieee80211_iface_work [mac80211]) from []
> (process_one_work+0x15c/0x530)
> Jun 24 08:37:02 testnode kernel: [  646.577014] []
> (process_one_work) from [] (worker_thread+0x60/0x5bc)
> Jun 24 08:37:02 testnode kernel: [  646.577029] []
> (worker_thread) from [] (kthread+0x144/0x174)
> Jun 24 08:37:02 testnode kernel: [  646.577046] [] (kthread)
> from [] (ret_from_fork+0x14/0x3c)
> Jun 24 08:37:02 testnode kernel: [  646.577170] ---[ end trace
> 8a2584b386693b8a ]---
> 
> ___
> ath10k mailing list
> ath10k@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k


Thanks & Regards,
कविता माथुर Kavita Mathur 
वरिष्ठ अनुसंधान अभियंता  Senior Research Engineer 
सी-डॉट  C-DOT
इलैक्ट्रॉनिक्स सिटी फेज़ I Electronics City Phase I
होसूर रोड, बेंगलूरु   Hosur Road, Bengaluru – 560100
फोन  Ph 080-2511-9896
Disclaimer:
--
This email and any files transmitted with it


___
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k


[Corpora-List] Data Science Internship @Vodafone

2018-06-14 Thread Prashant Mathur
Dear All,

We are building deep learning language models to better solve customer
issues and automate topic classification. We would like to identify new
topics and further classify existing topics (supervised learning - already
classified topics, text data set) in German.  Please feel free to contact
me if you have any further questions.

Regards,

Aditya Hrishikesh
aditya.hrishik...@ymail.com


*POSITION DESCRIPTION :*

Are you looking for a Data Science internship? Would you like to
collaborate and build Deep Learning systems in cloud? Then apply now! We
look forward to you joining us as an intern (m/f) at Vodafone.

Location: Dusseldorf

Start: June / July

Duration: 3-6 months

You will develop an artificial neural network model based on available
data. The intended use of the model is to contribute to a significant
increase in customer service.  You will liaise with Data Product owner,
Data Scientists and Data Engineers to develop the model on GCP (Google)/
Azure cloud platform.



*Desired Skills and Experience*

·   Enrolled student within Engineering, Informatics, Computer Science
or similar field of study

·   Background in Data Science or Statistics helpful

·   Experience with Data Analysis tools based on Python language (like
Pandas, Numpy, Matplotlib)

·   Experience with Machine Learning Tools is a plus (Scikit-Learn or
Tensorflow)

·   English: fluent

·   You are a good team player, have excellent communication skills,
and are able to work independently.


--
On behalf of Aditya (aditya.hrishik...@ymail.com)
Prashant Mathur
___
UNSUBSCRIBE from this page: http://mailman.uib.no/options/corpora
Corpora mailing list
Corpora@uib.no
https://mailman.uib.no/listinfo/corpora


Re: [osg-users] Announcement: VulkanSceneGraph and SceneGraphTestBed!

2018-06-05 Thread Ravi Mathur
I've been using Macs and developing on MacOS for over 25 years now, but
still I gotta say I completely understand your frustration Robert. My past
two computers have been Windows laptops, which is also the first time I've
bought non-Mac hardware, mainly because Apple doesn't seem to care about VR
(which has been important to me recently).

Nevertheless, supporting MacOS alongside Windows & Linux is a necessity in
my field (aerospace). It looks like Vulkan will be available on OSX, even
if it's without Apple's official support. Once VulkanSceneGraph gets going,
I'll do my bit to help with Mac support.

Ravi

On Tue, Jun 5, 2018 at 4:23 PM, Robert Osfield 
wrote:

> On 5 June 2018 at 19:51, Andrew Cunningham  wrote:
> > Great news and very timely given Apple’s just announced decision to
> deprecate OpenGL
>
> Apple are behaving like complete * that don't give a shit about
> developers.
>
> It's time users stopped putting up with this crap and just dumped
> Apple products.
>
> I really couldn't have less respect for Apple's conduct over the
> years, it's even worse than Microsoft.  There was promise in Apple
> many years ago.  They got too big and too greedy.  Us developers are
> just bugs on the wind-shield.  For those who want to stay on the Apple
> "freeway" expect to get squished.
>
> For me, my focus in open platforms, if users can add support for Apple
> and avoid us having to jump through many hoops to do so then feel
> free, but please don't expect me to go a long way out of my way to
> support a platform that is so abusive towards developers.
>
> Robert.
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Requesting a TGT using a servicename

2018-05-21 Thread Sushant Mathur
Whilst using the Heimdal GSS API, I have run into a problem when calling
gss_accept_sec_context.
I do not fully understand how the digest API works, but in this case an
AS-REQ is sent to the DC with the principal as cifs/smvm1.kerb1.dom and the
response states the error:

KRB Error: KRB5KDC_ERR_C_PRINCIPAL_UNKNOWN

I added the service principal name under the user susha...@kerb1.dom but
still encountered the error. So my questions are:

1. Can a service principal name request for a TGT? If not then what method
should I use to query the DC(KDC) from another account ( most likely an
user account) from the same domain?

2. I tried doing a kinit -S cifs/smvm1.kerb1.dom susha...@kerb1.dom and did
get the ticket in the credential cache file with the principal being
cifs/smvm1.kerb1@kerb1.dom but still didn't work and heimdal still
tries to get the TGT during use.

-- 
*Sushant Mathur*


[osg-users] [ANN] Job Opportunity: Aerospace Visualization Engineer

2018-05-03 Thread Ravi Mathur
Hello all,

My company Emergent Space Technologies (https://www.emergentspace.com) is 
looking for an experienced OpenGL/OSG developer to work on some very cool and 
useful aerospace visualization software. You will work with the OpenFrames API 
(https://sourceforge.net/projects/openframes/), which is an Open Source 
OSG-based API used in the aerospace industry for visualizing spacecraft 
trajectories, Earth/Space science data, and other space-related uses. You will 
get to work (...play? sometimes the line is fuzzy) with VR, and will be 
responsible for advancing state-of-the-art visualizations in aerospace tools, 
including software used by NASA to design interplanetary missions.

The full job description is available on our website 
(https://emergentcareers.silkroad.com/) (select "Aerospace Visualization 
Engineer"). You can apply there, or email me directly if you have more 
questions.

Thanks!
Ravi Mathur
Sr. Guidance Navigation and Control Engineer
Emergent Space Technologies, Inc.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=73544#73544





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


How does the digest mode in NTLM mech for GSSAPI work exactly?

2018-04-30 Thread Sushant Mathur
I am trying to use the server side heimdal gssapi.
I am trying to specifically to get it working with NTLM.
So when I call the gss_accept_sec_context function, the following errors
are reported back by gss_display_status:

The gss major code info is :Unspecified GSS failure.  Minor code may
provide more information
The gss minor code info is :An invalid status code was supplied
The gss minor code info is :An invalid status code was supplied
The gss minor code info is :The token was a duplicate of an earlier token
The gss minor code info is :The token's validity period has expired
The gss minor code info is :An invalid status code was supplied
The gss minor code info is :An invalid status code was supplied
The gss minor code info is :An invalid status code was supplied
The gss minor code info is :An invalid status code was supplied


So I traced the code till:

_gss_ntlm_accept_sec_context -> _gss_ntlm_allocate_ctx -> kdc_alloc.

When I print the value of the krb5_context structure the error string
contained is:

Client (host/smvm1.mosmb1@mosmb1.dom) unknown

but the key table does contain this exact client name.

How do I debug farther and any other suggestions?
-- 
*Sushant Mathur*


[gcj] Re: Getting "Runtime error" as result but don't have a clue why.

2018-04-10 Thread Anamika Mathur


You are not checking for "WRONG_ANSWER" condition

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/f2bd75e8-83f4-4a36-9d88-0d36e47bd718%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[gcj] I got runtime errors for my solution but have no idea what is wrong with it.

2018-04-06 Thread Anamika Mathur
import java.util.*;

//codejam 2018 practice round Question C:Speed 2

class Horse{
public static void main(String args[])
{

Scanner sc=new Scanner(System.in);
int t=0;
 while(sc.hasNextInt()) {
   t=sc.nextInt();
   break;
}

double ans[]=new double[t];
int q;
for(q=0;qmax_time){max_time=tt;}   

}

 double num_ans=d/max_time;
ans[q]=(double)Math.round(num_ans*100)/100;


}

  for(q=0;q

[jira] [Created] (NIFI-5001) Passwords are visible while typing in(Possibility of shoulder attacks)

2018-03-22 Thread Bhavishya Mathur (JIRA)
Bhavishya Mathur created NIFI-5001:
--

 Summary: Passwords are visible while typing in(Possibility of 
shoulder attacks)
 Key: NIFI-5001
 URL: https://issues.apache.org/jira/browse/NIFI-5001
 Project: Apache NiFi
  Issue Type: Bug
  Components: Core UI
Affects Versions: 1.5.0
Reporter: Bhavishya Mathur
 Attachments: Screenshot (157).png, Screenshot (158).png

For all the processors and the controller services, the password field in the 
core UI is visible while we are entering the passwords. Thus, it opens an 
opportunity to shoulder attacks.  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Predicate Pushdown not getting turned on.

2018-03-12 Thread Akshat Mathur
I created a ORC table A:

*create table A (id string i, age int, num_children int);*
*alter table A set fileformat orc;*
*insert into table A select * from B cluster by age;*

But, When I run query,
*select id from A where age=60;*

The data read from HDFS is almost equal to the size of A. I expected lesser
data due to predicate pushdown. No improvement in time also. Is there a
setting Im missing.
I run Hive 0.13 and Hadoop 2.7.0-mapr-1506.


Thanks.


Regarding no mention of ORC in reducer Hive Logs.

2018-03-08 Thread Akshat Mathur
I created a ORC table A:

*create table A like B;*
*alter table A set fileformat orc;*
*insert into table A select * from B sort by age;*

But, When I run query,
*select id from A where age=60;*

The data read from HDFS is almost equal to the size of A. I expected lesser
data due to predicate pushdown. Also, in reducer logs there is no mention
of ORC. I am running Hive 0.13. And size of table B was 75GB and A was 23GB.


Thank you.


Re: fixed bit rate 9Mbps set as 24Mbps in g mode(legacy)

2018-02-27 Thread KAVITA MATHUR



On Tue, 27 Feb 2018 08:41:50 -0800, Ben Greear wrote
> On 02/27/2018 12:49 AM, KAVITA MATHUR wrote:
> > Hi,
> >
> > I have configured AP in g mode and tested legacy rates.All basic rates and 
> > supported
> > rates(1,2,5.5,11,6,9,12,18,24,36,48,54) are set except 9Mbps.
> >
> > When fixed bit rate 9Mbps is set, it gets set as 24 Mbps. This issue has 
> > been observed
> > in backports-4.4.2-1 as well as latest git version of ath10k driver.
> >
> >
> > Is anybody aware of this issue? How can I fix this rate 9Mbps?
> 
> You should specify which firmware/chipset you are using, since this might
> easily be a firmware issue.


Chipset : QCA988x
ath10k version : git 16 oct 2017(v4.14-rc2-1-24-gc6db471)
firmware version : firmware-5.bin_10.2.4.70.66
Kernel version : 3.12 

> And, how are you determining that 'it gets set to 24Mbps'.  Is that the 
> encoding you see in a wifi sniff, or is the driver being set to 24Mbps 
> improperly when you use iw (or whatever) to try configuring the rate?

I have used command "iw wlan0 station dump" to see set data rate as well as I 
have
sniffer. Measured data throughput is also as per 24Mbps.



> Recent upstream mac80211 has broken the ability to set a single tx rate as 
> well, last I checked.

Other rates are set properly except 9Mbps.By default it sets as 6Mbps, when data
transfer starts, then it set to the mentioned fixed data rate.

Thanks & Regards,
Kavita
> Thanks,
> Ben
> 
> >
> >
> > Thanks & Regards,
> > Kavita
> >
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe backports" in
> >
> 
> -- 
> Ben Greear <gree...@candelatech.com>
> Candela Technologies Inc  http://www.candelatech.com


Thanks & Regards,
कविता माथुर Kavita Mathur 
वरिष्ठ अनुसंधान अभियंता  Senior Research Engineer 
सी-डॉट  C-DOT
इलैक्ट्रॉनिक्स सिटी फेज़ I Electronics City Phase I
होसूर रोड, बेंगलूरु   Hosur Road, Bengaluru – 560100
फोन  Ph 080-28529896
Disclaimer:
--
This email and any files transmitted with it


___
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k


fixed bit rate 9Mbps set as 24Mbps in g mode(legacy)

2018-02-27 Thread KAVITA MATHUR
Hi,

I have configured AP in g mode and tested legacy rates.All basic rates and 
supported
rates(1,2,5.5,11,6,9,12,18,24,36,48,54) are set except 9Mbps.

When fixed bit rate 9Mbps is set, it gets set as 24 Mbps. This issue has been 
observed
in backports-4.4.2-1 as well as latest git version of ath10k driver.


Is anybody aware of this issue? How can I fix this rate 9Mbps?


Thanks & Regards,
Kavita



___
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k


fixed bit rate 9Mbps set as 24Mbps in g mode(legacy)

2018-02-27 Thread KAVITA MATHUR
Hi,

I have configured AP in g mode and tested legacy rates.All basic rates and 
supported
rates(1,2,5.5,11,6,9,12,18,24,36,48,54) are set except 9Mbps.

When fixed bit rate 9Mbps is set, it gets set as 24 Mbps. This issue has been 
observed
in backports-4.4.2-1 as well as latest git version of ath10k driver.


Is anybody aware of this issue? How can I fix this rate 9Mbps?


Thanks & Regards,
Kavita




[packer] Reusing the state of a failed provisioned system

2018-02-11 Thread tushar mathur
Hi,

I am trying to provision my ami using a set of custom shell scripts. Sadly 
every time they fail I have to recreate an ec2 instance from scratch. This 
makes sense when I am deploying in production but at the time of debugging 
and trying out different commands it becomes really slow. 

Is there a way for me to actually reuse the state in which ec2 instance is 
currently and keep running the provisioners again and again?

I tried the --on-error argument but that only runs on the last failed step 
where as what I really want is to run the provisioning again from scratch.

packer build --debug  -on-error=ask packer-aws.json

Thanks!

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to packer-tool+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/bcb7f49c-7225-4bbd-8cec-5caa2d863aba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jira] [Commented] (PROTON-1755) How do create sessions and links dynamically once the connection is open ?

2018-02-09 Thread Priyanka Mathur (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-1755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16359127#comment-16359127
 ] 

Priyanka Mathur commented on PROTON-1755:
-

My concern with creating new sessions dynamically is that, we never get 
onConnectionBound -> where we start a session on the existing connection once 
connection is established. Is there a sample or some piece of code that 
explains how to use the reactor so that we can create a new session on demand ?

[I'm not sure if this is the right group to message these kind of questions to. 
If not can you forward it to appropriate group ?]

-Priyanka



> How do create sessions and links dynamically once the connection is open ?
> --
>
> Key: PROTON-1755
> URL: https://issues.apache.org/jira/browse/PROTON-1755
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-j
>Affects Versions: proton-j-0.25.0
>Reporter: Priyanka Mathur
>Priority: Major
>
> Hi Proton-j folks,
> We use proton-j library for establishing a connection and sending/receiving 
> messages over it.Until now we never had the need to *add* a new session or 
> new link to an existing and *opened* connection. Now that we have 
> multiplexing, we have the need to add a new session (and)/or add a new link 
> to already existing and opened connection. My question is how do I do that ? 
> Once we start the reactor, we receive several callbacks and callbacks of 
> importance here are
> 1. onConnectionInit
> 2. onConnectionBound -> we start a session
> 3. onLinkInit -> we start a link
> 4. onLinkRemoteOpen -> we check if link has opened
> and the connection is now established.
> Question is now that connection is opened,
> how do I add a new session to the already opened connection ?
> how do I add a new link to the already opened session ?
> Is there any such support from proton-j ? As AMQP protocol clearly should 
> support it.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



RE: [jira] [Closed] (PROTON-1755) How do create sessions and links dynamically once the connection is open ?

2018-02-09 Thread Priyanka Mathur

My concern with creating new sessions dynamically is that, we never get 
onConnectionBound -> where we start a session on the existing connection once 
connection is established. Is there a sample or some piece of code that 
explains how to use the reactor so that we can create a new session on demand ?

[I'm not sure if this is the right group to message these kind of questions to. 
If not can you forward it to appropriate group ?]

-Priyanka

-Original Message-
From: Robbie Gemmell (JIRA) <j...@apache.org> 
Sent: Friday, February 2, 2018 10:04 AM
To: Priyanka Mathur <prmat...@microsoft.com>
Subject: [jira] [Closed] (PROTON-1755) How do create sessions and links 
dynamically once the connection is open ?


 [ 
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FPROTON-1755%3Fpage%3Dcom.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel=02%7C01%7Cprmathur%40microsoft.com%7Cdf9acefa099543dad4b908d56a675981%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636531914481922617=oDNzXrrrMnz8DY%2FC9Q5DUVYMQMnIhlkxb7tCw6IHc7E%3D=0
 ]

Robbie Gemmell closed PROTON-1755.
--
Resolution: Not A Bug

As mentioned before, please use the mailing lists for questions, not the issue 
tracker.

You would add any new sessions/links in essentially the same manner as you 
added previous ones, and the event flow would be interweaved for the different 
sessions/links based on what happens on the wire.

The main concern is just that, like every other use of the reactor, youd need 
to do it on the thread running the reactor, e.g by calling the reactor wakeup 
and having an onReactorQuiesced handler somewhere able to pick up the task of 
doing the new work, or having your own timer task that picks it up, or your own 
selectable thing, etc.

> How do create sessions and links dynamically once the connection is open ?
> --
> 
>
> Key: PROTON-1755
> URL: 
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FPROTON-1755=02%7C01%7Cprmathur%40microsoft.com%7Cdf9acefa099543dad4b908d56a675981%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636531914481922617=z7ua%2BRszoqKAe6gwXc%2FEBx6hfr1g4CP3daiBGAAsIeI%3D=0
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-j
>Affects Versions: proton-j-0.25.0
>Reporter: Priyanka Mathur
>Priority: Major
>
> Hi Proton-j folks,
> We use proton-j library for establishing a connection and 
> sending/receiving messages over it.Until now we never had the need to 
> *add* a new session or new link to an existing and *opened* 
> connection. Now that we have multiplexing, we have the need to add a 
> new session (and)/or add a new link to already existing and opened 
> connection. My question is how do I do that ? Once we start the 
> reactor, we receive several callbacks and callbacks of importance here are 1. 
> onConnectionInit 2. onConnectionBound -> we start a session 3. onLinkInit -> 
> we start a link 4. onLinkRemoteOpen -> we check if link has opened and the 
> connection is now established.
> Question is now that connection is opened, how do I add a new session 
> to the already opened connection ?
> how do I add a new link to the already opened session ?
> Is there any such support from proton-j ? As AMQP protocol clearly should 
> support it.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org



[jira] [Commented] (PROTON-1755) How do create sessions and links dynamically once the connection is open ?

2018-01-31 Thread Priyanka Mathur (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-1755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16347878#comment-16347878
 ] 

Priyanka Mathur commented on PROTON-1755:
-

Any idea how the above mentioned scenario could work ?

> How do create sessions and links dynamically once the connection is open ?
> --
>
> Key: PROTON-1755
> URL: https://issues.apache.org/jira/browse/PROTON-1755
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-j
>Affects Versions: proton-j-0.25.0
>    Reporter: Priyanka Mathur
>Priority: Major
>
> Hi Proton-j folks,
> We use proton-j library for establishing a connection and sending/receiving 
> messages over it.Until now we never had the need to *add* a new session or 
> new link to an existing and *opened* connection. Now that we have 
> multiplexing, we have the need to add a new session (and)/or add a new link 
> to already existing and opened connection. My question is how do I do that ? 
> Once we start the reactor, we receive several callbacks and callbacks of 
> importance here are
> 1. onConnectionInit
> 2. onConnectionBound -> we start a session
> 3. onLinkInit -> we start a link
> 4. onLinkRemoteOpen -> we check if link has opened
> and the connection is now established.
> Question is now that connection is opened,
> how do I add a new session to the already opened connection ?
> how do I add a new link to the already opened session ?
> Is there any such support from proton-j ? As AMQP protocol clearly should 
> support it.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



Single rate issues in QCA988x based device

2018-01-30 Thread KAVITA MATHUR
Hi,

WLE600VX (2x2 MIMO, QCA9888x chipset) is used as WiFi module in my access 
point. I am
working on certification project of this system, there I need to fix single 
rate in all
the legacy, HT and VHT modes for 20MHz and 40MHz channels.

There are two problems observed during this test:

1. 9Mbps legacy rate is always set to 24Mbps in g mode. While in a mode it is 
set as
9Mbps.What can be the issue, firmware or driver? any suggestions to see this 
issue?

2. Not able to set Short GI for 40MHz channels for all the MCS except MCS 7 and 
15. What
cab be the reason for this. again, where should I suspect?..firmware or driver? 
Please
help on this.


ath10k version : git 16 oct 2017(v4.14-rc2-1-24-gc6db471)
firmware version : firmware-5.bin_10.2.4.70.66
Kernel version : 3.12


Thanks & Regards,
Kavita

___
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k


Re: QCA988X firmware version and speed

2018-01-28 Thread KAVITA MATHUR
Hi,

I also have same observations. Rx rate is not getting updated in iw station 
dump command
with firmware version 10.2.4.70.66.Data Throughput is also degraded by 30Mbps 
with this
version.My measure throughput was 180Mbps with firmware-5.bin_25_2.1 for HT40 
mode(2x2).


Sometimes I can see 1 SS in station dump while my radio is 2x2.Is there any 
speed
difference for the FW version 10.2.4.70.66?

Please see my AP configuration below:

root@CDOT-BBWT:/cdot/bin# iw wlan0 info
Interface wlan0
ifindex 16
wdev 0x3
addr 04:f0:21:1d:77:66
ssid CDOT-WIFI-TS
type AP
wiphy 0
channel 149 (5745 MHz), width: 40 MHz, center1: 5755 MHz
txpower 20.00 dBm
root@CDOT-BBWT:/cdot/bin# 
root@CDOT-BBWT:/cdot/bin# 
root@CDOT-BBWT:/cdot/bin# iw wlan0 station dump
Station 88:78:73:d2:ea:92 (on wlan0)
inactive time:  12380 ms
rx bytes:   708
rx packets: 12
tx bytes:   352
tx packets: 4
tx retries: 0
tx failed:  1
signal: -40 [-46, -45] dBm
signal avg: -41 [-46, -44] dBm
tx bitrate: 6.0 MBit/s
rx bitrate: 6.0 MBit/s
authorized: yes
authenticated:  yes
preamble:   long
WMM/WME:yes
MFP:no
TDLS peer:  no
connected time: 43 seconds

Thanks & Regards,
Kavita


On Fri, 26 Jan 2018 22:58:43 -0500, Nikolay Martynov wrote
> Hi.
> 
>   I've got some observation about firmware version and speed that I
> would like to share.
>   I have tp-link archer c5 with 'ath10k_pci :01:00.0: qca988x
> hw2.0 target 0x4100016c chip_id 0x043202ff sub :' running
> Openwrt.
> 
>   When I use firmware version 10.2.4.70.63-2 I get modulation speeds
> about twice as large as with other firmware versions. I've also tried
> 10.2.4.70.66 and firmware-5.bin_10.2.4-1.0-00033 and one that was
> Openwrt/Lede stock before that - all show performance noticeably worse
> than 10.2.4.70.63-2.
>   In fact if my laptop stands on my desk (some distance away from AP)
> and I use 10.2.4.70.63-2 I get stable 2 spacial stream reception, if I
> use other versions mentioned above I usually get one 1 special stream
> as shown by 'iw' command on a client.
> 
>   I'm not sure if that observation if helpful or not, but since it
> looks like newer FW versions have worse performance I thought I should
> share it.
> 
>   Please let me know if I can provide any more information.
> 
> -- 
> Martynov Nikolay.
> Email: mar.ko...@gmail.com
> 
> ___
> ath10k mailing list
> ath10k@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k


Thanks & Regards,
कविता माथुर Kavita Mathur 
वरिष्ठ अनुसंधान अभियंता  Senior Research Engineer 
सी-डॉट  C-DOT
इलैक्ट्रॉनिक्स सिटी फेज़ I Electronics City Phase I
होसूर रोड, बेंगलूरु   Hosur Road, Bengaluru – 560100
फोन  Ph 080-28529896
Disclaimer:
--
This email and any files transmitted with it


___
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k


[jira] [Created] (PROTON-1755) How do create sessions and links dynamically once the connection is open ?

2018-01-26 Thread Priyanka Mathur (JIRA)
Priyanka Mathur created PROTON-1755:
---

 Summary: How do create sessions and links dynamically once the 
connection is open ?
 Key: PROTON-1755
 URL: https://issues.apache.org/jira/browse/PROTON-1755
 Project: Qpid Proton
  Issue Type: Bug
  Components: proton-j
Affects Versions: proton-j-0.25.0
Reporter: Priyanka Mathur


Hi Proton-j folks,

We use proton-j library for establishing a connection and sending/receiving 
messages over it.Until now we never had the need to *add* a new session or new 
link to an existing and *opened* connection. Now that we have multiplexing, we 
have the need to add a new session (and)/or add a new link to already existing 
and opened connection. My question is how do I do that ? 

Once we start the reactor, we receive several callbacks and callbacks of 
importance here are

1. onConnectionInit

2. onConnectionBound -> we start a session

3. onLinkInit -> we start a link

4. onLinkRemoteOpen -> we check if link has opened

and the connection is now established.

Question is now that connection is opened,

how do I add a new session to the already opened connection ?

how do I add a new link to the already opened session ?

Is there any such support from proton-j ? As AMQP protocol clearly should 
support it.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[Paraview] Fitting ellipse to a cell

2018-01-17 Thread Jairaj Mathur
Hey Paraview community!

I have unstructured grid type data, which consists of a network of
polygons. Is there a direct way to fit an ellipse and find the properties
like major axis/minor axis?

Thanking you

Jairaj Mathur
Mechanical Engineering
Washington University in St Louis
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://paraview.org/mailman/listinfo/paraview


[jira] [Commented] (NIFI-2693) Documentation fails to load if .nar unpacking fails at startup

2018-01-16 Thread Bhavishya Mathur (JIRA)

[ 
https://issues.apache.org/jira/browse/NIFI-2693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16326883#comment-16326883
 ] 

Bhavishya Mathur commented on NIFI-2693:


Any update on this?

> Documentation fails to load if .nar unpacking fails at startup
> --
>
> Key: NIFI-2693
> URL: https://issues.apache.org/jira/browse/NIFI-2693
> Project: Apache NiFi
>  Issue Type: Bug
>Reporter: Joey Frazee
>Assignee: Oleg Zhurakousky
>Priority: Major
>
> The NiFi documentation can fail to load and throws an NPE if some but not all 
> of the .nars don't unpack at startup.
> {code}
> HTTP ERROR 500
> Problem accessing /nifi-docs/documentation. Reason:
> Server Error
> Caused by:
> java.lang.NullPointerException
> at 
> org.apache.nifi.web.docs.DocumentationController.doGet(DocumentationController.java:68)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> at 
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
> at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
> at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
> at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
> at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
> at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
> at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
> at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
> at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
> at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> at 
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
> at 
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
> at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
> at org.eclipse.jetty.server.Server.handle(Server.java:499)
> at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
> at 
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
> at 
> org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
> at 
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
> at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
> at java.lang.Thread.run(Thread.java:745)
> {code}
> A warning does get logged, but it doesn't give you any indication of which 
> .nar file is broken [1], so while it's easy to spot that the problem is with 
> the .nar unpacking, you have no idea which .nar is causing it.
> The NPE appears to be because when a .nar doesn't unpack, it doesn't return 
> the extensionMapping thus far [2], so NiFi is operational with a subset of 
> the .nars, but doesn't get access to docs for those since instead of a 
> partial extensionMapping it's just null.
> 1. 
> https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-nar-utils/src/main/java/org/apache/nifi/nar/NarUnpacker.java#L162
> 2. 
> https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-nar-utils/src/main/java/org/apache/nifi/nar/NarUnpacker.java#L169



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


<    1   2   3   4   5   6   7   8   9   10   >