Spot on! reverting that change on my arcanist client resolved any issues completely.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Sep 5 2016
If you revert rPHU491ebc74d816dbe2fc8bbbbc992e8a14f8c613be in libphutil, does that fix it?
I can replicate the cURL error from a configured repository, its the same trace as that of the arc which command above:
[2016-09-05 10:06:49] EXCEPTION: (HTTPFutureCURLResponseStatus) [cURL/47] (http://phabricator.pt.local/api/user.whoami) <CURLE_TOO_MANY_REDIRECTS> The cURL library raised an error while making a request. You may be able to find more information about this error (error code: 47) on the cURL site: http://curl.haxx.se/libcurl/c/libcurl-errors.html#CURLETOOMANYREDIRECTS at [<phutil>/src/future/http/HTTPSFuture.php:408] arcanist(head=stable, ref.master=9e82ef979e81, ref.stable=10e519475290), phutil(head=stable, ref.master=c8b76485ef84, ref.stable=f748cdbc8d08) #0 HTTPSFuture::isReady() called at [<phutil>/src/future/Future.php:37] #1 Future::resolve(NULL) called at [<phutil>/src/future/FutureProxy.php:34] #2 FutureProxy::resolve() called at [<phutil>/src/conduit/ConduitClient.php:64] #3 ConduitClient::callMethodSynchronous(string, array) called at [<arcanist>/src/workflow/ArcanistWorkflow.php:332] #4 ArcanistWorkflow::authenticateConduit() called at [<arcanist>/scripts/arcanist.php:356]
Interesting:
echo '{}' | arc --trace call-conduit --conduit-uri http://phabricator.local/ --conduit-token cli-37au4odrzomsk54zbnolivacknw3 user.whoami ARGV '/home/sam/bin/phabricator-tools/arcanist/bin/../scripts/arcanist.php' '--trace' 'call-conduit' '--conduit-uri' 'http://phabricator.local/' '--conduit-token' 'cli-37au4odrzomsk54zbnolivacknw3' 'user.whoami' LOAD Loaded "phutil" from "/home/sam/bin/phabricator-tools/libphutil/src". LOAD Loaded "arcanist" from "/home/sam/bin/phabricator-tools/arcanist/src". Config: Reading user configuration file "/home/sam/.arcrc"... Config: Did not find system configuration at "/etc/arcconfig". Working Copy: Reading .arcconfig from "/home/sam/Coding/UMC/Src/.arcconfig". Working Copy: Path "/home/sam/Coding/UMC/Src" is part of `git` working copy "/home/sam/Coding/UMC/Src". Working Copy: Project root is at "/home/sam/Coding/UMC/Src". Config: Did not find local configuration at "/home/sam/Coding/UMC/Src/.git/arc/config". >>> [0] <conduit> user.whoami() <bytes = 117> >>> [1] <http> http://phabricator.local/api/user.whoami <<< [1] <http> 195,683 us <<< [0] <conduit> 195,955 us
What do you get if you run the same command with --trace flag ?
Further testing, the standard curl request seems to be fine:
curl http://phabricator.local/api/user.whoami \ > -d api.token=cli-37au4odrzomsk54zbnolivacknw3 {"result":{"phid":"PHID-USER-omtmnetw55dqsgt576g7","userName":"Sam","realName":"Sam","image":"http:\/\/phabricator.local\/file\/data\/g57z5iku5s2x4rpi7k6r\/PHID-FILE-xhdrpuvh5lbu7tmkfso5\/profile","uri":"http:\/\/phabricator.local\/p\/Sam\/","roles":["admin","verified","approved","activated"],"primaryEmail":"Sam@blahblah.com"},"error_code":null,"error_info":null}
It also works from the web-conduit application in phabricator http://phabricator.local/api/user.whoami, but it fails from arc:
echo '{}' | arc call-conduit --conduit-uri http://phabricator.local/ --conduit-token cli-37au4odrzomsk54zbnolivacknw3 user.whoami Exception [cURL/47] (http://phabricator.local/api/user.whoami) <CURLE_TOO_MANY_REDIRECTS> The cURL library raised an error while making a request. You may be able to find more information about this error (error code: 47) on the cURL site: http://curl.haxx.se/libcurl/c/libcurl-errors.html#CURLETOOMANYREDIRECTS (Run with `--trace` for a full exception trace.)
Weird.
How about subpages? It would be really useful to be able to print out / export an entire hierarchy with one click.
Sep 4 2016
Maybe it is ok for the import from LDAP module to trim leading and ending spaces.
To correct my previous post.
The real cause of the error is Email addresses should be in the form 'user@domain.com'.
New Info.
Hmm, yeah I wonder if it's anything we can detect on our end. Doesn't sound very common though.
I just tried again. It seems that I miss the latter part of the error message.
Do these fail for you during single person invites as well or only during LDAP?
These are valid email addresses in Phabricator. I don't have any other ideas why you're running to an error.
For example, I want to import
readonly_user readonly_user@company.com readonly_user readonly_user
I am not able to reproduce any issue with these email address formats. Do you have any suggestions for how I can do things differently?
What is the exact error message you received?
I poked a bit at this, but I think PhamePost is a special case, since it doesn't have a direct edit policy, it's edit policy is derived from PhameBlog and it's not clear to me how comment transactions get around edit policy in general reading through the code.
Sep 3 2016
thx
This appears to be deployed and stable. I'm going to leave this open for 24 hours so I can get a reading out of Multimeter tomorrow, but looks like everything worked as intended.
Please follow the instructions in Contributing Bug Reports if you'd like to report a bug. Thanks!
FYI, there is a report about a regression from multiple users at WMFs-Phabricator: https://phabricator.wikimedia.org/T144338
(rSERVICES1fcb5cdb758211f6389729956d7c77f90edc2243)
I caught an issue with D16464 and lazy/partial parsing of the "Host:" header on the repo tier, deploying a fix for that now.
I've been fiddling with host destroy while letting things settle. Here's load on admin001 over the last week:
Yeah -- I assume they wanted to know as soon as we create a badge, and can't afford to wait more than 50ms!
In T11506#193270, @epriestley wrote:Load wasn't dropping as much as I expected, but that seems to be because someone started making 20 requests / second to list badges available on admin in the last 24 hours. Shutting that down now.
rCOREddab1d4e shut down the user who was really excited about badges. Looks like they started about 15 hours ago.
Load wasn't dropping as much as I expected, but that seems to be because someone started making 20 requests / second to list badges available on admin in the last 24 hours. Shutting that down now.
I've deployed repo001 and the disk cache appears to be holding. I've checked a bunch of operations and logs without catching anything that looks broken, so I'm going to roll the rest of repo, then db, then web, then look for load effects on admin.
The instance management cache seems OK, new cost is 11 queries in 80ms. The wall-time isn't directly comparable but both numbers being smaller is good.
(Self-reminder of the downstream report: https://phabricator.wikimedia.org/T624#2606686 .)
I've deployed all the auxiliary tiers, admin is up next.
I'm starting this now.
Is worth to mention that PHP 7.1 RC1 is available. Does it resolve our problems with comparability?
No problem and you're welcome.
We don't take Design/UX suggestions as feature requests, unfortunately. Thanks for the suggestion, we'll keep it in mind.
I tried to rephrase slightly to clarify the root cause rather than looking for a solution.
I'm planning to deploy this tomorrow morning. It also looks like the change associated with D16262 (small cache improvement) got a little lost in the switch to bin/host release and never actually deployed, so that's going out too.
Sep 2 2016
- T6064 already covers creating tasks with one click instead of two.
- T10946 covers using EditEngine templates on workboards, I guess. That task is pretty iffy, too. This could probably use a separate, more focused task -- @cspeckmim, if you want to file one describing your use case in a little more detail I can merge T10946 into it if I don't have better ideas for you. (I thought I saw one more of these somewhere while dredging through the backlog to populate Contributor Onboarding but I wasn't immediately able to find it.)
- We don't currently plan to implement a distinct inline quick edit mode like Trello.
Broadly, this isn't a use case we intend to support specifically. See T5873, T10363, T11330, T11563#192717 for some related discussion.
See Contributing Feature Requests and Describing Root Problems. The context and discussion in T3945 and T9652 may be helpful in formulating a problem description.
No, it isn't a bug.
:) It's not a very important bug, but isn't it still a bug that the button shows up?
So the button already does what you want, but instead of clicking it you filed a bug report?
Got it.
(Or how our behavior differs materially from the behavior of git diff, except that you have to click one extra time on "Show All Files Inline".)
It's because more than 100 total paths were affected by any kind of edit.
I was expecting to see exactly the view in your screenshot -- changed files expanded inline, and moved files described as such.
What are you expecting to see there instead, exactly?
I wonder why I had a different behavior:
If I make a trivial change to one, I get this:
Okay. If I diff this:
I suspect that diff.renames has the same behavior from recent versions, just that it is enabled by default.
$ git diff HEAD^..HEAD | head diff --git a/app/client/config/BaseStyles.js b/app-moved/client/config/BaseStyles.js similarity index 100% rename from app/client/config/BaseStyles.js rename to app-moved/client/config/BaseStyles.js diff --git a/app/client/config/DateTimeFormats.json b/app-moved/client/config/DateTimeFormats.json similarity index 100% rename from app/client/config/DateTimeFormats.json rename to app-moved/client/config/DateTimeFormats.json diff --git a/app/client/config/categories.json b/app-moved/client/config/categories.json similarity index 100%
The behavior appears to have changed in Git 2.9.0, which was released in mid June of this year:
Wow, that's strange. Is it possible that you have a different setting for diff.renames?
I can't reproduce that:
Yes, I'm not claiming that git can somehow not show actual changes, just that it doesn't show file renames. This is what I was doing:
I can't reproduce that either:
Thanks anyways!
We can't move forward then, sorry.
I was thinking of what you see when you then do git add, git commit, and git diff HEAD..HEAD^. I might be using the wrong terminology perhaps
No sorry, I don't have logging set up on that server.
In T11578#193135, @venky wrote:I marked it as a bug because git diff will return something that's pretty small in this scenario.
Does your webserver error log have a long-form version of that error with a stack trace in it?
I'm honestly not sure. I followed the normal upgrading instructions as always:
I can't reproduce this. arc diff is working fire for me and many other users, and 5 different users have created 7 revisions against this install so far today alone (D16482 through D16489).
You can today, just extend PhabricatorGuideModule and drop it in src/extensions. It should just show up.
