[aur-general] [AUR4] AttributeError: '_pygit2.Tree' object has no attribute 'size'

2015-06-08 Thread Florian Bruhin
Hi, I just tried to upload my first package, and I get this: remote: Traceback (most recent call last): remote: File "hooks/update", line 194, in remote: if repo[treeobj.id].size > 10: remote: AttributeError: '_pygit2.Tree' object has no attribute 'size' remote: err

Re: [aur-general] [AUR4] AttributeError: '_pygit2.Tree' object has no attribute 'size'

2015-06-08 Thread Duru Can Celasun
On Mon, Jun 8, 2015 at 12:12 PM, Florian Bruhin wrote: > Hi, > > I just tried to upload my first package, and I get this: > > remote: Traceback (most recent call last): > remote: File "hooks/update", line 194, in > remote: if repo[treeobj.id].size > 10: > remote: Attribu

Re: [aur-general] [AUR4] AttributeError: '_pygit2.Tree' object has no attribute 'size'

2015-06-08 Thread Lukas Fleischer
On Mon, 08 Jun 2015 at 11:12:36, Florian Bruhin wrote: > Hi, > > I just tried to upload my first package, and I get this: > > remote: Traceback (most recent call last): > remote: File "hooks/update", line 194, in > remote: if repo[treeobj.id].size > 10: > remote: Attrib

Re: [aur-general] [AUR4] AttributeError: '_pygit2.Tree' object has no attribute 'size'

2015-06-08 Thread Florian Bruhin
* Lukas Fleischer [2015-06-08 13:32:26 +0200]: > On Mon, 08 Jun 2015 at 11:12:36, Florian Bruhin wrote: > > Hi, > > > > I just tried to upload my first package, and I get this: > > > > remote: Traceback (most recent call last): > > remote: File "hooks/update", line 194, in > > rem

Re: [aur-general] [AUR4] AttributeError: '_pygit2.Tree' object has no attribute 'size'

2015-06-08 Thread Duru Can Celasun
On Mon, Jun 8, 2015 at 2:52 PM, Florian Bruhin wrote: > * Lukas Fleischer [2015-06-08 13:32:26 +0200]: >> On Mon, 08 Jun 2015 at 11:12:36, Florian Bruhin wrote: >> > Hi, >> > >> > I just tried to upload my first package, and I get this: >> > >> > remote: Traceback (most recent call last): >>

Re: [aur-general] [AUR4] AttributeError: '_pygit2.Tree' object has no attribute 'size'

2015-06-08 Thread Johannes Löthberg
On 08/06, Duru Can Celasun wrote: I did have a subdirectory and removing it seems to fix that particular error, but now I get this one: remote: Traceback (most recent call last): remote: File "hooks/update", line 253, in remote: if not fname in commit.tree: remote: TypeError: unexpected d