GithubHelp home page GithubHelp logo

issues's People

Contributors

shimo164 avatar

issues's Issues

Unity Tweak Tool, Error, "Schemas missing"

$ unity-tweak-tool
/usr/lib/python3/dist-packages/UnityTweakTool/init.py:40: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
Error: schema com.canonical.indicator.bluetooth not installed
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

image

Ubuntu16.04

instantRST doesn't work

instantRST is for riv.vim, preview rst file.

instant-rst.py doesn't install.

:Riv2HtmlAndBrowse works, static html from rst is displayed.

$ instantRst -f test.rst -p 5676
test.rst
WebSocket transport not available. Install eventlet or gevent and gevent-websocket for improved performance.
 * Serving Flask app "instant_rst.server" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off

Some error/exception occurred.
(<type 'exceptions.TypeError'>, TypeError('port must be an integer',), <traceback object at 0x7f6c3962d680>)

std::bad_alloc AtCoder091B

#include <bits/stdc++.h>
using namespace std;

// std::bad_alloc**
int main(){
int N, M;
int cnt;
int max_cnt = -101;
vector s(N+M);
int i, j;

cin >> N;
for ( int i = 0; i < N; i++ ){
cin >> s[i];
}

cin >> M;
for ( int i = 0; i < M; i++ ){
cin >> s[N+i];
}

for ( i = 0; i < N+M; i++ ){
cnt = 1;

for ( j = i+1; j < N+M; j++ ){
  if (s[i]==s[j]){

    if (j < N ){
      cnt++;
    } else {
      cnt--;
    }
  }  
}
max_cnt = max(max_cnt, cnt);

}

if (max_cnt = 1) max_cnt =0;

cout << max(max_cnt, 0) << endl;

return 0;

}

vim, plugin lexima <CR> do not work

When:
input this...
(<CR>

Result:

(
<Cursor>)

Expect:

(
<Tab>
)

Env:
Ubuntu16.04
Vim 8.1

(in my Windows7, vim8.1, this do not happen)

--
same problem as:
cohama/lexima.vim#81
in comment above issue url, lemima is coflicting...need to check.

(Japanese) Ubuntu日本語入力で2回以上タイプする文字が入力不可。ブラウザではできる。

Ubuntu 16.04LTE,
Gvim:vim 8.2 GTK3 GUI
IBus 1.5.11
mozc 2.17.2116.102

症状
ターミナルとgvim, vimでは日本語入力がおかしくなる。1回タイプは入力化(ex. あ) 2回以上タイプは入力できない(ex. か)。ブラウザ上ではOK。libreofficeではNG。

再起動すると
起動直後のみ問題ないが、いつの間にか入力できなくなる。

思い当たること: gvimの中のvimをgtk2 から gtk3 に変えた。しかし、ターミナル他でもおかしい。

やってみる: ibusの再インストール?mozcの再インストール?

gvim C-V map "*gP. Extra tabs are inserted.

When mapping gvim C-V map "*gP, extra tabs are inserted.

Clipboard has like

def test(n):
    n = 1
    return n + 1

When C-V for paste, it gets extra tabs like

def test(n):
        n = 1
            return n + 1

Mouse right click and paste has no problem.
So, there may be a problem with mapping in gvim.


It works for Windows10,7.
But does not work for Ubuntu16.04.

vim: autochdir not working (with NERDTree?)

vim's autochdir doesn't work. I cannot reproduce the situation but seemingly NERDTree open/close is the reason..

At the top of the vim window, it says
filename (~/dir/of/file)- GVIMS
but pwd shows another directory.

Ubuntu 16.04LTS, vim8.1

trope/surround do not install

[dein] /home/shimo/.cache/dein/repos/github.com/tpope/surround
[dein] Maybe wrong username or repository.
[dein] Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...Cloning into '/home/shimo/.cache/dein/repos/github.com/tpope/surround'...
[dein] fatal: could not read Username for 'https://github.com': terminal prompts disabled
[dein] Error installing plugins:
[dein] surround
[dein] Please read the error message log with the :message command.

Ubuntu Startup Application don't work

create /home/my_startup_command.sh

In the startup application setting, add this .sh. But does not work when start up.

This .sh file works if I called from terminal.

$ ./my_startup_command.sh

Surely, permission is added.

Cannot use "[", "]" in Vim mapping

VIM 8.2
Ubuntu 16.04

Mapping [b as :bprevious and ]b as :bnext were working fine. But from sometime, they are not working.

Reproduce
Open with not plugin, no vimrc.
$ gvim --clean

Set mapping

This doesn't work.
:map [b :bprevious<CR>

This works.
:map pb :bprevious<CR>

Why?


Optional setting to use

set hidden
set mousemodel=popup

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.