Ticket #14632: 1-edit-rating.txt

File 1-edit-rating.txt, 7.1 KB (added by humdinger, 6 years ago)

failed editing

Line 
1PackageContentsView::_PopuplatePackageContens(): failed to init BPackageReader(/boot/system/packages/2048-1.0.0-3-x86_gcc2.hpkg): No such file or directory
2pkg [2048] will be updated from the server.
3jrpc; will make request to [https://depot.haiku-os.org/__api/v1/pkg]
4jrpc request; {"jsonrpc":"2.0","id":1,"method":"getPkgChangelog","params":[{"pkgName":"2048"}]}
5jrpc: Resolving https://depot.haiku-os.org/__api/v1/pkg
6jrpc: Hostname resolved to: 94.130.128.252:443
7jrpc: Connection to depot.haiku-os.org on port 443.
8jrpc: Connection opened, sending request.
9jrpc: Host: depot.haiku-os.org
10jrpc: Accept: */*
11jrpc: Accept-Encoding: gzip
12jrpc: Connection: close
13jrpc: User-Agent: HaikuDepot/0.0.2
14jrpc: Content-Length: 81
15jrpc: Content-Type: application/json
16jrpc: Request sent.
17jrpc: Status line received: Code 200 (OK)
18jrpc: Content-Length: 51
19jrpc: Content-Type: application/json
20jrpc: Date: Fri, 12 Oct 2018 05:42:20 GMT
21jrpc: Server: Jetty(9.4.11.v20180605)
22jrpc: Connection: close
23jrpc: 5 headers and 0 bytes of data remaining
24jrpc; did receive http-status [200] from [https://depot.haiku-os.org/__api/v1/pkg]
25jrpc response; {"jsonrpc":"2.0","id":1,"result":{"content":null}}
26
27no changelog present for [2048]
28jrpc; will make request to [https://depot.haiku-os.org/__api/v1/userrating]
29jrpc request; {"jsonrpc":"2.0","id":2,"method":"searchUserRatings","params":[{"pkgName":"2048","pkgVersionArchitectureCode":"x86_gcc2","offset":0,"limit":50}]}
30jrpc: Resolving https://depot.haiku-os.org/__api/v1/userrating
31jrpc: Hostname resolved to: 94.130.128.252:443
32jrpc: Connection to depot.haiku-os.org on port 443.
33jrpc: Connection opened, sending request.
34jrpc: Host: depot.haiku-os.org
35jrpc: Accept: */*
36jrpc: Accept-Encoding: gzip
37jrpc: Connection: close
38jrpc: User-Agent: HaikuDepot/0.0.2
39jrpc: Content-Length: 145
40jrpc: Content-Type: application/json
41jrpc: Request sent.
42jrpc: Status line received: Code 200 (OK)
43jrpc: Content-Length: 940
44jrpc: Content-Type: application/json
45jrpc: Date: Fri, 12 Oct 2018 05:42:20 GMT
46jrpc: Server: Jetty(9.4.11.v20180605)
47jrpc: Connection: close
48jrpc: 5 headers and 0 bytes of data remaining
49jrpc; did receive http-status [200] from [https://depot.haiku-os.org/__api/v1/userrating]
50jrpc response; {"jsonrpc":"2.0","id":2,"result":{"items":[{"code":"09e88653-cff3-4d8e-aa85-f70d090e065b","naturalLanguageCode":"en","user":{"nickname":"humdinger"},"userRatingStabilityCode":"stable","active":true,"comment":"Nice little game! Gets 5 stars when tile moving animation is added. :)","modifyTimestamp":1539276012774,"createTimestamp":1539195674356,"rating":4,"pkgVersion":{"repositoryCode":"haikuports","architectureCode":"x86_gcc2","major":"1","minor":"0","micro":"0","preRelease":null,"revision":3,"pkg":{"name":"2048"}}},{"code":"4b5e8fcf-6011-4575-a739-c4df1dac6a69","naturalLanguageCode":"en","user":{"nickname":"emrys"},"userRatingStabilityCode":"stable","active":true,"comment":null,"modifyTimestamp":1515114934844,"createTimestamp":1515114934844,"rating":4,"pkgVersion":{"repositoryCode":"haikuports","architectureCode":"x86_gcc2","major":"1","minor":"0","micro":"0","preRelease":null,"revision":3,"pkg":{"name":"2048"}}}],"total":2}}
51
52rating [09e88653-cff3-4d8e-aa85-f70d090e065b] retrieved from server
53rating [4b5e8fcf-6011-4575-a739-c4df1dac6a69] retrieved from server
54did retrieve 2 user ratings for [2048]
55jrpc: Resolving https://depot.haiku-os.org/__pkgscreenshot/7ff63941-857c-4e02-84c5-5a6c1f493f2e.png?tw=320&th=365
56jrpc: Hostname resolved to: 94.130.128.252:443
57jrpc: Connection to depot.haiku-os.org on port 443.
58jrpc: Connection opened, sending request.
59jrpc: Host: depot.haiku-os.org
60jrpc: Accept: */*
61jrpc: Accept-Encoding: gzip
62jrpc: Connection: close
63jrpc: User-Agent: HaikuDepot/0.0.2
64jrpc: Request sent.
65jrpc: Status line received: Code 200 (OK)
66jrpc: Cache-Control: max-age=3600
67jrpc: Content-Type: image/png
68jrpc: Date: Fri, 12 Oct 2018 05:42:20 GMT
69jrpc: Last-Modified: Thu, 11 Oct 2018 16:40:12 GMT
70jrpc: Server: Jetty(9.4.11.v20180605)
71jrpc: Connection: close
72jrpc: Transfer-Encoding: chunked
73jrpc: 7 headers and 0 bytes of data remaining
74populating package [2048]
75jrpc; will make request to [https://depot.haiku-os.org/__api/v1/userrating]
76jrpc request; {"jsonrpc":"2.0","id":3,"method":"getUserRatingByUserAndPkgVersion","params":[{"userNickname":"humdinger","pkgName":"2048","pkgVersionArchitectureCode":"x86_gcc2","repositoryCode":"haikuports","pkgVersionMajor":"1","pkgVersionMinor":"0","pkgVersionMicro":"0","pkgVersionRevision":3}]}
77jrpc: Resolving https://depot.haiku-os.org/__api/v1/userrating
78jrpc: Hostname resolved to: 94.130.128.252:443
79jrpc: Connection to depot.haiku-os.org on port 443.
80jrpc: Connection opened, sending request.
81jrpc: Host: depot.haiku-os.org
82jrpc: Accept: */*
83jrpc: Accept-Encoding: gzip
84jrpc: Connection: close
85jrpc: User-Agent: HaikuDepot/0.0.2
86jrpc: Content-Length: 284
87jrpc: Content-Type: application/json
88jrpc: Request sent.
89jrpc: Status line received: Code 200 (OK)
90jrpc: Content-Length: 512
91jrpc: Content-Type: application/json
92jrpc: Date: Fri, 12 Oct 2018 05:42:25 GMT
93jrpc: Server: Jetty(9.4.11.v20180605)
94jrpc: Connection: close
95jrpc: 5 headers and 0 bytes of data remaining
96jrpc; did receive http-status [200] from [https://depot.haiku-os.org/__api/v1/userrating]
97jrpc response; {"jsonrpc":"2.0","id":3,"result":{"code":"09e88653-cff3-4d8e-aa85-f70d090e065b","naturalLanguageCode":"en","user":{"nickname":"humdinger"},"userRatingStabilityCode":"stable","active":true,"comment":"Nice little game! Gets 5 stars when tile moving animation is added. :)","modifyTimestamp":1539276012774,"createTimestamp":1539195674356,"rating":4,"pkgVersion":{"repositoryCode":"haikuports","architectureCode":"x86_gcc2","major":"1","minor":"0","micro":"0","preRelease":null,"revision":3,"pkg":{"name":"2048"}}}}
98
99will update the existing user rating [09e88653-cff3-4d8e-aa85-f70d090e065b]
100jrpc; will make request to [https://depot.haiku-os.org/__api/v1/userrating]
101jrpc request; {"jsonrpc":"2.0","id":4,"method":"updateUserRating","params":[{"code":"09e88653-cff3-4d8e-aa85-f70d090e065b","naturalLanguageCode":"en","active":true,"filter":["ACTIVE","NATURALLANGUAGE","USERRATINGSTABILITY","COMMENT","RATING"],"rating":4,"userRatingStabilityCode":"stable","comment":"Nice little game! Gets 5 stars when tile moving animation is added... :)"}]}
102jrpc: Resolving https://depot.haiku-os.org/__api/v1/userrating
103jrpc: Hostname resolved to: 94.130.128.252:443
104jrpc: Connection to depot.haiku-os.org on port 443.
105jrpc: Connection opened, sending request.
106jrpc: Host: depot.haiku-os.org
107jrpc: Accept: */*
108jrpc: Accept-Encoding: gzip
109jrpc: Connection: close
110jrpc: User-Agent: HaikuDepot/0.0.2
111jrpc: Authorization: Basic aHVtZGluZ2VyOi9uZFplY25zT0UxMDE=
112jrpc: Content-Length: 362
113jrpc: Content-Type: application/json
114jrpc: Request sent.
115jrpc: Status line received: Code 200 (OK)
116jrpc: Content-Length: 82
117jrpc: Content-Type: application/json
118jrpc: Date: Fri, 12 Oct 2018 05:42:36 GMT
119jrpc: Server: Jetty(9.4.11.v20180605)
120jrpc: Connection: close
121jrpc: 5 headers and 0 bytes of data remaining
122jrpc; did receive http-status [200] from [https://depot.haiku-os.org/__api/v1/userrating]
123jrpc response; {"jsonrpc":"2.0","id":4,"error":{"code":-32803,"message":"authorizationfailure"}}
124
125