youngmon/atlassian-qna huggingface dataset:
getting an Error message while PR merge
Asked by Dev:

whenever I am trying to merge the PR in master, getting an error popup saying"Something went wrong while trying to serve your request. Try reloading the page"

But this message is not blocking anything. PR is getting merged despite this message.

So just an error popup I am getting.

Any idea How to get rid of this popup?

"


Answers:
author: Caroline R
body: Hi, [@Dev](/t5/user/viewprofilepage/user-id/4730581), welcome to the community!

The "Something went wrong" message usually comes with a 5xx response that shows a Sentry ID code. This code may give us some indication of what is causing this error message. In this case, could you please follow the next steps to find the Sentry ID the next time you merge a PR, so I can further investigate this issue?

* Open the "Developer tools" in the browser you are using (click on the three dots \> More tools \> Developer Tools):

![devtools.png](https://community.atlassian.com/t5/image/serverpage/image-id/180552i3237AB7C6DED8EFF/image-size/large?v=v2&px=999 "devtools.png")

* In "Developer tools", select the **Network** tab

* Then navigate to the Bitbucket page that gives you this error (in your case, when you merge a PR)
* Find and select the request that gives a 5xx response

* In the **Headers** panel (after you select the request with 5xx response), check if there is a field named **sentry id**.

* If you can provide us with the value of that field, I can look it up in our system for further info.

Thank you.

Kind regards,  
Caroline

comments: author: Dev
body: Yes, I tried the above-mentioned steps.

I got "Failed to load resource, the server responded with a status of 500 () "


author: Caroline R
body: Hi, [@Dev](/t5/user/viewprofilepage/user-id/4730581).

As I couldn't find a Bitbucket Cloud account linked to the email you used to create your question, I would like to confirm if your repo is hosted in Bitbucket Cloud (<https://bitbucket.org/>) or Bitbucket server (self-hosted instance).

If it is Bitbucket Cloud, could you please leave a reply to this question using the account that has the same email as your Bitbucket Cloud account (so we can check our logs)?

Kind regards,  
Caroline


author: Dev
body: I am using Bitbucket instance in private infrastructure.


Tags: bitbucket-server
How to create a glue job by running the bitbucket pipeline
Asked by srikanth:

How can i create a automated pipeline in bitbucket to push the files from bitbucket repositories to s3 buckets and on that how can we create a glue job by using the same pipeline by using the files present in s3 bucket.


Answers:
author: Oleksandr Kyrdan
body: Hi [@srikanth](/t5/user/viewprofilepage/user-id/4729979)

Thank you for your question!

It's a good case to use [Bitbucket Pipes](https://bitbucket.org/product/features/pipelines/integrations).

Use [aws-s3-deploy](https://bitbucket.org/atlassian/aws-s3-deploy)` pipe to d`eploy files to S3. Add pipe to your [bitbucket-pipelines.yaml configuration](https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/):

    script:
      - pipe: atlassian/aws-s3-deploy:1.1.0
        variables:
          AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
          AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
          AWS_DEFAULT_REGION: 'us-east-1'
          S3_BUCKET: 'my-bucket-name'
          LOCAL_PATH: 'build'
       # install aws cli and run glue commands
       - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.2.9.zip" -o "awscliv2.zip" && unzip awscliv2.zip
       - echo 'c778f4cc55877833679fdd4ae9c94c07d0ac3794d0193da3f18cb14713af615f awscliv2.zip' | sha256sum -c - && ./aws/install
       - aws glue create-job ... your params ...

Best regards,  
Oleksandr Kyrdan

comments: author: srikanth
body: Thank you for answering to my questions could you please how can i explain me how to achieve this..

For suppose already some glue jobs are already working, in the bitbucket repositories some new code is there which is related to the job, will the pipeline works for to check the list of jobs whether the new was existed or not, if the job was not existed, will it able to create new glue job..

Parallely will it able update the code present in hdfs location and same thing like i explained in the above case for glue job is it will able to create new emr job which has to read the code from hdfs location.

Same case for databricks jobs as well.. can you help me how to figure this?


Tags: bitbucket-pipelines
libcurl.dll missing during pull
Asked by Ewin Barnett:

When I attempt to pull some source code, I get an error dialog that states:

git-remote-https.exe- Unable to Locate Component  
This application has failed to start because libcurl.dll was not found...

Any suggestions?


Answers:
author: rrudnicki
body: Hi Ewin,

Can you make sure your Windows can find curl? I believe the environment variables are missing, so, could you have a look [on this link](https://confluence.atlassian.com/display/FISHEYE/Environment+variables#Environmentvariables-SettingenvironmentvariablesunderWindowsXP) and setup a global variable to curl? The link is to JAVA, but the concept is the same.

Also, make sure do you have libcurl.dll on your windows (I believe it is on system32 but you can use search button to find it).

Hope it helps.

Regards,

Renato Rudnicki


Tags: curl

git
SourceTree error in python script, tries to load mercurial libs for a git repo (?)
Asked by petruza:

Hi, I have a git repository on github mapped to the company's domain, like this:

<https://git.domain.com/user/repo/>

I use SourceTree 2.0.4 for MacOS, I've been using this repo in it without any problem.  
I changed now to another computer, Mac also, and tried to set up the same repo on SourceTree.

When trying to clone it I get the following error: **This is not a valid source path / URL**

I click on the error description and displays a Python stack trace error which starts with:
> ImportError: dlopen(.../SourceTree.app/Contents/Resources/mercurial_local/mercurial/[osutil.so](http://osutil.so), 2):   
> Library not loaded: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
>
> Referenced from: .../SourceTree.app/Contents/Resources/mercurial_local/mercurial/[osutil.so](http://osutil.so)  
> Reason: image not found

**Q: Why should it load mercurial libraries if the repo is Git?
Q: How can I work around this?** (other than using command-line git?)

Also, the stack strace is shown if I use github's clone in desktop button, if I copy the repo URL and try to clone it from SourceTree, the **not a valid source path**error is the same but no stack trace is shown, just an empty log.


Answers:
author: Seth
body: I think I've seen a similar error mentioned before, and the problem was that Git either wasn't installed, or wasn't being found by SourceTree. Are you using embedded git or system git?

comments: author: petruza
body: Installing git and using it instead of the embedded fixed it. Thanx.


Tags: mac
Auto-Stage Files?
Asked by Ryan Craig:

Hi all!

Is it possible to automatically stage files (i.e. when I click "Commit", certain files, like all those changed), get selected automatically so that I don't need to manually select them every time I make a commit?


Answers:
author: Bal?zs Szakm?ry
body: You can achieve this by writing a (local) [Git hook](http://git-scm.com/book/zh/v2/Customizing-Git-Git-Hooks) which stages the files.


author: Seth
body: No, but if you click the checkbox next to "Unstaged files" (in the latest versions of SourceTree), everything will get staged.
SourceTree equivalent of git branch --contains?
Asked by Joe Pallas:

Recently I wanted to see which branches were descendants of a particular commit, but I couldn't find any way in SourceTree to do that. I ended up having to use the command line (git branch --contains). Is there a way to do that in SourceTree?


Answers:
author: Bal?zs Szakm?ry
body: Currently there is no functionality in SourceTree for this.


Tags: branch

git
Change email address associated with existing commit
Asked by Grahame Grieve:

I have rights to push to a GitHub repository. The rights are associated with one of my email addresses. I committed in sourcetree, and then tried to push to the github repository. It failed, because SourceTree was using the wrong email address (one of my other ones).

I have reconfigured Sourcetree to use the right email address in the repository settings, but it's ignoring that when I try to push the commit I've already made - and I can't figure out how to resolve this. reversing the commit says it's just going to create a new one, which leaves me in the same place.

How can I resolve this?


Answers:
author: Bal?zs Szakm?ry
body: The easiest way is this:

1. \[Make sure you have no uncommitted changes and perhaps make a backup of the folder with the clone.\]
2. Do a soft reset to the point right before the (first) commit with the wrong e-mail address.
3. Create the commit(s) again with the same changes.
4. Push the stuff again.


author: Seth
body: You probably need to use the git command line to modify the commit metadata. I don't know how, but you may have more luck searching for an answer on StackExchange.
Sourcetree freezes on Windows
Asked by mwsasser:

I have a new bitbucket project but when I download the files Sourcetree freezes and goes non-responsive for 30 minutes or more. None of the other projects in Sourcetree cause this issue. If I can eventually get off the new project tab, then the app appears to work fine. But if I tab back to it then Sourcetree freezes for 5 to 10 minutes before it'll show that tab again.

I have deleted the project and tried again but the results are the same. I've even removed it from bitbucket and started over but the results are always the same. Once it downloads the files the freezing starts.


Answers:
author: Witold Kaczurba
body: I have the problem on Windows 7 laptop. Just updated the SourceTree to 2.1.2.4. It freezes and I cant even close it. I do not have problems like this with other applications.


author: Seth
body: There is a known issue where SourceTree can become unresponsive and eat memory. The exact cause is still trying to be diagnosed. You might read through the comments on the following bug to see whether there is anything that helps you, or if you can provide any helpful information:

<https://jira.atlassian.com/browse/SRCTREEWIN-2093>

If nothing else, you can at least Vote for and Watch the bug to be kept up-to-date on progress.


author: tstickel
body: No problems on a Windows 7 laptop , but on Windows 8 sometimes sourcetree commit/push box would hang a bit and i would close and re-open . However on my main Windows 10 desktop - that is the big issue SourceTree locks up the entire computer to the point of not being able to use SourceTree or ANY application and the memory leak is just insane


author: mwsasser
body: Yea, still having huge problems with this one after my reinstall. But only with the same project directory. None of the others are affected.
Sourcetree won't open (latest)
Asked by Chris Townsend:

I am running windows 8.1 and have installed Sourcetree.

Initially it worked fine but now it just won't load. I run the application and it just closes immediately.

I have tried deleting the AppData which worked initially, but then the problem continued.

I have un installed and cleaned registry and that works temporarily too, but then I get to the same issue.


Answers:
author: Andrea Bori
body: Hi!, the only things i have do to make it work.. when it do that.. it's  

1 Uninstall SrcTree  
2 %appdata% \> cd.. \> Local  
3 Rename Atlassia into _Atlassian  
4 Install and start SrcTree  
5 Open Old _Altassian, copy bookmarks.xml  
6 Replace file on new folder.  

This works just "fine" for me!  
Hope it help!  

Andrea

comments: author: Jason_Rivera
body: Perfect! Just what I needed! Thanks!


author: Andrea Bori
body: Fine. Always glad to help :smile:
error after upgrading to 2.0.4
Asked by John Jastrow:

Getting this error with the new SourceTree version 2.0.4. I've updated my Mac Command Line Tools to the latest version of git version 1.8.5.2 (Apple Git-48). But, still get this error.

![](https://mail.google.com/mail/u/0/?ui=2&ik=d903181fe7&view=fimg&disp=emb&realattid=ii_14a64cf739d42bcf&attbid=ANGjdJ8qpWPkj8yQZ8ZPllVwveUpRKrE0oqChVjKFP4byjSgkLcZ-lmBZlGYOUKlpGPtkbyUQRzu023fZfFY8-oCV6HWgFKl2e2fBL7q6UyKMua6fY2L_-ErLnaRQt4&sz=s0-l75&ats=1419031301811&zw)


Answers:
author: pskli
body: Hi,

Running ML 10.8.4 here, and SourceTree latest update comes up with this error.

```
dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk  Referenced from: /Applications/SourceTree.app/Contents/Resources/git_local/bin/git  Expected in: /usr/lib/libSystem.B.dylibdyld: Symbol not found: ___strlcpy_chk  Referenced from: /Applications/SourceTree.app/Contents/Resources/git_local/bin/git  Expected in: /usr/lib/libSystem.B.dylib
```

Any idea what to do ?

Thanks.


author: Ben Rush
body: your pic isn't loading but did the error look like this?

```
'git status' failed with code 5:'dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk  Referenced from: /Applications/Apps Programming/SourceTree.app/Contents/Resources/git_local/bin/git  Expected in: /usr/lib/libSystem.B.dylibdyld: Symbol not found: ___strlcpy_chk  Referenced from: /Applications/Apps Programming/SourceTree.app/Contents/Resources/git_local/bin/git  Expected in: /usr/lib/libSystem.B.dylib
```
After updating I'm getting this error
Asked by Chargeorge:

Hey all,

Has anyone seen this before? after updating source tree It's now unable to pull any info from my repositories. I keep getting this error,

```
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk  Referenced from: /Applications/SourceTree.app/Contents/Resources/git_local/bin/git  Expected in: /usr/lib/libSystem.B.dylibdyld: Symbol not found: ___strlcpy_chk  Referenced from: /Applications/SourceTree.app/Contents/Resources/git_local/bin/git  Expected in: /usr/lib/libSystem.B.dylibCompleted with errors, see above
```

<br />

I tried to create a new repository from the URL and use the existing repository. Both failed with that error.

GIT is still working on the command line, so I think the repository itself is fine. Source tree is now at Version 2.0.4 (2.0.4) and I used the automatic updater.

Any suggestions would be greatly appreciated.

<br />

Thanks!

<br />

Charles george


Answers:
author: Aron Malkine
body: I'm seeing this too! Please help!
how to integrate gitlab to sourcetree?
Asked by Manoj Wagh:

I am trying to integrate our local gitlab repo to sourctree but I am not able to add remotes as gitlab host!!... I appreciate your help.

Thanks

Manoj


Answers:
author: Manoj Wagh
body: Thanks for update.

I tried to paste url to repo setting but could not find gitlab. I think gitlab and github is same. Not sure why it is not allowing me at all. I have posted question to stackoverflow with details.

<http://stackoverflow.com/questions/27570370/how-to-integrate-sourcetree-for-gitlab>

When I tried to push anything from branch it always asked me password... and it never any password from my end.

comments: author: Seth
body: That is OPTIONAL extended integration that is not avaiable for Gitlab. It is OPTIONAL. Choose unknown and move on.


author: Seth
body: You won't be able to "browse" to repos like that, that's not what Browse is designed for. Try just pasting the URL to your repo in the box when you are trying to clone a repository.
Source Tree Progress
Asked by gulshan ara:

want to know that if there is any way to know the progress while pulling and pushing my changes? it only shows a progress bar where a spinner is rotating all the time but does not show any approximation that how much files are download and how much remaining or how much more time it will take to complete the process. of there is anyway then please help me out


Answers:
author: Bal?zs Szakm?ry
body: Unfortunately, this is not implemented. You can create a feature request (or find an existing one and vote for it) [here](https://jira.atlassian.com/browse/SRCTREEWIN).
SourceTree is showing thousands too many modified files in working copy
Asked by Thomas Dahlquist:

Hi!

I'm really new to Git and SourceTree but it has worked OK until now. For some reason SourceTree is showing 2500+ modified files in my working copy although I have only modified 10 or so. If I view of the unchanged files in Finder I can also see it hasn't been modified for days.

Is there some way to ignore all these files in bulk without deleting or reverting them and maybe let SourceTree find the actual changes when I then re-save the files I want to commit?

I recently made some read/write updates with chmod -R 777 on some of the folders in my local copy, could that have something to do with it? I'm using SourceTree 2.0.3 on OS X Yosemite 10.10.


Answers:
author: Robert Glover
body: I am able to recreate what happened to you this way:

1. chmod 777 someDirectory
2. ("git status" shows no change)
3. chmod 777 foo.txt
4. git status shows: "modified: foo.txt"

So the problem is not that you did chmod on directories, it's that you did it on files.  
Here is a solution that will work:  
1. copy the files you **really** modified to a non-git scratch directory
2. git reset --hard HEAD
3. copy the files you **really** modified back into the git working directory
4. note that the "git reset --hard HEAD" will undo all those chmod's that you did.

comments: author: Thomas Dahlquist
body: That worked great, thanks a lot for taking the time!
How do I get a license file for SourceTree?
Asked by Richard Albrecht:

I registered but don't see how to get a registration file? I was using Tower but I think SourceTree is much better!


Answers:
author: Paula Silveira
body: Hi Richard

Please check the answer <https://answers.atlassian.com/questions/253299>.  
There are the steps to download the file.

Hope it works for you.

Thanks and regards,  
Paula Silveira
Values in .gitignore_global ignored after changed
Asked by Josh B:

I accidentally added a common directory to .gitignore_global that I actually need to be able to commit. When I removed it from .gitignore_global I still can't get it to show up so I can commit it to my repositories.

This is affecting several repositories that this same dir is under.

I tried restarting SourceTree after making the change and saving the file, but no luck.

The dir is not ignored in any other .gitignore files and I double checked to be sure.

Mac OS 10.9


Answers:
author: Josh B
body: Found a resolution on Stackoverflow if anyone is interested:

<http://stackoverflow.com/questions/27569684/gitignore-global-ignored-wrong-dir-and-wont-allow-it-to-be-tracked-after-remov/27570413#27570413>


author: Seth
body: Maybe git itself has the global gitignore cached somewhere. Did you try rebooting?


author: Robert Glover
body: Git will not let you go back and change what happened in the past. Now that you have modified .gitignore to remove a file from being listed there, that change only applies to the future, not to the past. If the file you are concerned about is named foo.txt, than you need to to "git add foo.txt" and then git commit -m 'foo.txt no longer part of .gitignore. Will be tracked from now on'.

And it goes without saying, that if the file is not physically in your working directly, then you need to put it there yourself manually, so that you can do that "git add foo.txt" in the paragraph above.

comments: author: Josh B
body: I tried doing "git add storage -f" for the "storage" directory which is what was ignored. This caused all .gitignore files in all the sub-directories to be ignored, which is not what I want since some files shouldn't be added. If I just do "git add storage" I get the error "The following paths are ignored by one of your .gitignore files: app/storage"I've checked all my .gitignore files all the way up (there are only two) and neither has that entry for storage.
What happens to my local repositories if I remove SourceTree?
Asked by Senay Goitom:

I am interested in removing SourceTree from my computer. When I set up SourceTree, I selected the "Download an embedded version of git for SourceTree alone to use" option.

What will happen to my local repositories if I remove SourceTree?


Answers:
author: Seth
body: Nothing will happen to your repositories. However, unless you install a different Git client, you may not be able to perform any operations on them, since uninstalling SourceTree may also uninstall the embedded version of Git.

After SourceTree has been uninstalled, you can copy your repositories to other machines with Git (make sure to include the hidden .git folder) and pick up where you left off, or you can install a different Git client and take whatever steps are necessary to make it aware of your existing repositories.
Can I automate bookmark creation in SourceTree?
Asked by Thom Goodsell:

Is it possible to use either the command line tool or Applescript to automate the creation of bookmarks in SourceTree? We manage hg branching by cloning repositories and I have a shell script that automatically clones and sets up the necessary repositories for any given version. To use them in SourceTree, though, I still have to manually create bookmarks and a bookmark folder. Is there any way to automate the creation of a bookmark folder and two named bookmarks pointing a existing local repositories?


Answers:
author: Star Group
body: Thom, did you ever figure out how to do this?
SourceTree not responding and consuming more RAM
Asked by Jayanth Ram K V:

Hi

SourceTree when opening it is not responding and consume RAM in GB here is the screenshotsourcetree.PNG  
[](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-not-responding-and-consuming-more-RAM/qaq-p/379385?attachment-id=1262){#link_116ac1663e69c9}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/11290/1/sourcetree.PNG){#display_116ac1663e69c9_0}


Answers:
author: Seth
body: SourceTree is known to do that when trying to view commits that have a large number of changes. If this is your most recent commit, this could happen on startup.

You might also try these suggestions: <https://answers.atlassian.com/questions/252979>
sourceTree terminal
Asked by J Hite:

A co-worker mentioned that with an earlier version of sourceTree he was able to see the command line equivaents of any action he performed with the GUI but not cannot find a way to do so. We are using 1.6.4.0. Is it yet posiible?

Thank you,

jh


Answers:
author: Seth
body: Tools \> Options... \> Always display full console output.

comments: author: J Hite
body: Slicker than calf slobber.

Thanks.
Edit drawing file in Atlassian
Asked by Darshan Desai:

I want to edit current file drawing so how can I do it. I have copy and duplicate file.. I am using first time so please guide me step by step that will be great help. I have download Atlassian Companion.exe file after i could not get screen for edit.


Answers:
author: Ollie Guan
body: Hi [@Darshan Desai](/t5/user/viewprofilepage/user-id/5281363) ,

Confluence Cloud or Server/DC?

You won't be able to edit files using Companion app after 31 March 2022.

<https://community.atlassian.com/t5/Confluence-articles/Removing-the-Companion-app-from-Confluence-Cloud/ba-p/1884657>


Tags: unknown-hosting-type