Edit button in some files in bitbucket is disabled - bitbucket

Edit button in some files in bitbucket is disabled.
for example:
but in this repo, I can edit other files.
Like this:
I cannot understand the reason.

Please check file encoding.
I had the same problem before. Check tooltip on the Edit button.
My error:
This file contains characters that indicate problems with encoding and
can't be edited

Related

Overleaf Link to project appears in the file

I have stumbled across an error in my Latex File. Currently I have a link on every page which leads to the directory of my Latex project. I haven't set this link though and I want it to disappear. It is also visible when I download the PDF.
Okay i fixed it but its very embarrassing ... Accidently the link was put into the header of the pages. I don't know how that happened but I solved the error

'libxml/xmlversion.h' file not found with <angled> include; use "quotes" instead

These kind of error are showing in the 16 files.
When i am going to change then its showing the pop-up
or click on unlock
My question is this -
How to unlock this file to editing ?
You get the code from git through Download Zip. Try git clone to download the code.
Like the message box says, find the files in Finder and right click them. Modify their permissions to be writable.

RubyMine stopped recognizing html.erb

my rubymine stopped recognizing html.erb files :s
You can see how it looks here:
http://pasteboard.co/1D5oWZGB.png
If your suggestion, its a uninstall, please tel me how to do it on Ubuntu :)
Thanks anyway :)
Based on what you're showing us with the screenshot RubyMine's built in file type system is no longer seeing the *.erb files as RHTML or Ruby files anymore.
Please verify that your file mappings are correct by going into the settings menu (File -> Settings or Ctrl + Alt + S) and checking the listed file mappings by going into Editor -> File Types -> RHTML.
It should look something like this:
If *.erb is not listed there try adding it again and it should re-enable code highlighting etc.
If anyone comes across this, I have found the correct solution to the problem. ivopatty's answer doesn't quite address the question.
According to pasteboard, we see only friendlist.html.erb file is not being recognized, there's no problem with other *.erb files.
To solve this problem, search for registered pattern in text file type (you can access it by pressing Ctrl + Alt + S) and you'll see that file listed there. If it's not there, search throughout the other file types. Then you remove the file from the list and you'll solve this problem.

Localization error of App in ios

I've followed all the desired steps to achieve localization of application.following are those steps:
create a Localizable.strings file.
add languages which we are looking to localized.
add these in localizable.strings using add localized button.
Now I'm getting following alert message :
fatal: index file smaller than expected"
along with this the Localizable.strings file is not appearing in the list which asks about the reference file and resource language.anybody please help me as soon as possible.
Thanks in Advance.
This seems to be like a git error which can be fixed by removing .git/index and then reset to HEAD.
You can find details here:
http://programertools.blogspot.com/2014/04/how-to-fix-fatal-index-file-smaller.html
You can follow this Localization link .
Hope this helps
The index file has become corrupted, but it is easily re-creatable. Just remove it, and re-add the files in your working directory:
rm .git/index
git add .

Adding a button in django !

I wanted to add buttons or a url adjacent to "ADD CUSTOMER" button as shown in the image. Please guide me regarding the same.Where should i be making the necessary changes ?
please find the image here >> http://img138.imageshack.us/img138/170/query.png
Thank you
You add buttons/make changes in the html file, or your CSS file if you have one. If you're using Django make the changes in the /templates directory of your project, its the directory that contains the html files.
In this case what you are looking at is the admin site. The templates for this are located somewhere like "python-path/lib/site-packages/django/contrib/admin/...", but you can override these templates in your project. I'm not sure how easy it is to do what you're trying to do, but you can see this link for more information.

Resources