wolandark / wim

This is a Vim configuration that gets you a similar experience as a full-featured IDE. This is accomplished using native vim features with the help of some plugins.
GNU Affero General Public License v3.0
333 stars 15 forks source link

Error detected while processing /home/dadmehr/.vimrc #11

Closed BDadmehr0 closed 4 months ago

BDadmehr0 commented 4 months ago

Things I saw being installed :

⚓ ~/D/wim-main  bash <(curl -s https://raw.githubusercontent.com/wolandark/wim/main/Wim_Arch_Install.sh)^C
⚓ ~/D/wim-main  bash
[dadmehr@archlinux wim-main]$ bash <(curl -s https://raw.githubusercontent.com/wolandark/wim/main/Wim_Arch_Install.sh)
warning: go-2:1.22.4-1 is up to date -- reinstalling
warning: nodejs-22.3.0-1 is up to date -- reinstalling
warning: npm-10.8.1-1 is up to date -- reinstalling
warning: figlet-2.2.5-5 is up to date -- reinstalling
warning: fzf-0.53.0-1 is up to date -- reinstalling
warning: curl-8.8.0-1 is up to date -- reinstalling
warning: git-2.45.2-1 is up to date -- reinstalling
warning: vim-9.1.0445-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (8) curl-8.8.0-1  figlet-2.2.5-5  fzf-0.53.0-1  git-2.45.2-1  go-2:1.22.4-1  nodejs-22.3.0-1  npm-10.8.1-1  vim-9.1.0445-1

Total Installed Size:  311.88 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] 
(8/8) checking keys in keyring                                                   [##############################################] 100%
(8/8) checking package integrity                                                 [##############################################] 100%
(8/8) loading package files                                                      [##############################################] 100%
(8/8) checking for file conflicts                                                [##############################################] 100%
(8/8) checking available disk space                                              [##############################################] 100%
:: Processing package changes...
(1/8) reinstalling go                                                            [##############################################] 100%
(2/8) reinstalling nodejs                                                        [##############################################] 100%
(3/8) reinstalling npm                                                           [##############################################] 100%
(4/8) reinstalling figlet                                                        [##############################################] 100%
(5/8) reinstalling fzf                                                           [##############################################] 100%
(6/8) reinstalling curl                                                          [##############################################] 100%
(7/8) reinstalling git                                                           [##############################################] 100%
(8/8) reinstalling vim                                                           [##############################################] 100%
ldconfig: File /usr/lib/liblove-11.5.so is empty, not checked.
ldconfig: File /usr/lib/libluajit-5.1.so.2 is empty, not checked.
ldconfig: File /usr/lib/libluajit-5.1.so is empty, not checked.
ldconfig: File /usr/lib/libluajit-5.1.so.2.1.1716656478 is empty, not checked.
ldconfig: File /usr/lib/liblove.so is empty, not checked.
:: Running post-transaction hooks...
(1/6) Creating system user accounts...
(2/6) Reloading system manager configuration...
(3/6) Arming ConditionNeedsUpdate...
(4/6) Updating icon theme caches...
(5/6) Updating the desktop file MIME type cache...
(6/6) Updating Vim help tags...
Cloning into 'wim'...
remote: Enumerating objects: 649, done.
remote: Counting objects: 100% (381/381), done.
remote: Compressing objects: 100% (217/217), done.
remote: Total 649 (delta 219), reused 300 (delta 158), pack-reused 268
Receiving objects: 100% (649/649), 6.74 MiB | 532.00 KiB/s, done.
Resolving deltas: 100% (306/306), done.
Cloning into 'boxes'...
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
remote: Enumerating objects: 75, done.
remote: Counting objects: 100% (75/75), done.
remote: Compressing objects: 100% (59/59), done.
remote: Total 75 (delta 16), reused 75 (delta 16), pack-reused 0 (from 0)
Receiving objects: 100% (75/75), 12.03 KiB | 6.02 MiB/s, done.
Resolving deltas: 100% (16/16), done.
==> Making package: boxes 2.3.0-1 (Sat 22 Jun 2024 07:24:44 PM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading v2.3.0.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  430k    0  430k    0     0   8938      0 --:--:--  0:00:49 --:--:-- 20110
==> Validating source files with md5sums...
    v2.3.0.zip ... Passed
==> Extracting sources...
  -> Extracting v2.3.0.zip with bsdtar
==> Starting build()...
| For compilation info please refer to the boxes compilation FAQ
| at https://boxes.thomasjensen.com/faq.html#q5
mkdir out
sed -e 's/--BVERSION--/2.3.0 (9fdd1d4)/; s/--GLOBALCONF--/\/etc\/boxes-config/' src/boxes.in.h > out/boxes.h
sed -e 's/--BVERSION--/2.3.0/; s/--GLOBALCONF--/\/etc\/boxes-config/' doc/boxes.1.in > doc/boxes.1
make -C src BOXES_PLATFORM=unix LEX=flex YACC=bison build
make[1]: Entering directory '/home/dadmehr/Documents/wim-main/boxes/src/boxes-2.3.0/src'
echo parser.o lex.yy.o bxstring.o cmdline.o detect.o discovery.o generate.o input.o list.o parsecode.o parsing.o query.o regulex.o remove.o shape.o tools.o unicode.o > ../out/modules.txt
make -C ../out -f ../src/Makefile BOXES_PLATFORM=unix ALL_OBJ="parser.o lex.yy.o boxes.o bxstring.o cmdline.o detect.o discovery.o generate.o input.o list.o parsecode.o parsing.o query.o regulex.o remove.o shape.o tools.o unicode.o" STRIP=true \
    CFLAGS_ADDTL="-O " flags_unix boxes
make[2]: Entering directory '/home/dadmehr/Documents/wim-main/boxes/src/boxes-2.3.0/out'
echo parser.o lex.yy.o bxstring.o cmdline.o detect.o discovery.o generate.o input.o list.o parsecode.o parsing.o query.o regulex.o remove.o shape.o tools.o unicode.o > ../out/modules.txt
flex --header-file=lex.yy.h ../src/lexer.l
bison -Wall --verbose --defines=parser.h -o parser.c ../src/parser.y
gcc -I. -I../src -Wall -W -O    -c -o parser.o parser.c
gcc -I. -I../src -Wall -W -O    -c -o lex.yy.o lex.yy.c
gcc -I. -I../src -Wall -W -O    -c -o boxes.o ../src/boxes.c
gcc -I. -I../src -Wall -W -O    -c -o bxstring.o ../src/bxstring.c
gcc -I. -I../src -Wall -W -O    -c -o cmdline.o ../src/cmdline.c
gcc -I. -I../src -Wall -W -O    -c -o detect.o ../src/detect.c
gcc -I. -I../src -Wall -W -O    -c -o discovery.o ../src/discovery.c
gcc -I. -I../src -Wall -W -O    -c -o generate.o ../src/generate.c
gcc -I. -I../src -Wall -W -O    -c -o input.o ../src/input.c
gcc -I. -I../src -Wall -W -O    -c -o list.o ../src/list.c
gcc -I. -I../src -Wall -W -O    -c -o parsecode.o ../src/parsecode.c
gcc -I. -I../src -Wall -W -O    -c -o parsing.o ../src/parsing.c
gcc -I. -I../src -Wall -W -O    -c -o query.o ../src/query.c
gcc -I. -I../src -Wall -W -O    -c -o regulex.o ../src/regulex.c
gcc -I. -I../src -Wall -W -O    -c -o remove.o ../src/remove.c
gcc -I. -I../src -Wall -W -O    -c -o shape.o ../src/shape.c
gcc -I. -I../src -Wall -W -O    -c -o tools.o ../src/tools.c
gcc -I. -I../src -Wall -W -O    -c -o unicode.o ../src/unicode.c
gcc -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto   parser.o lex.yy.o boxes.o bxstring.o cmdline.o detect.o discovery.o generate.o input.o list.o parsecode.o parsing.o query.o regulex.o remove.o shape.o tools.o unicode.o -o boxes -lunistring -lpcre2-32 -lncurses
if [ "true" = "true" ] ; then strip boxes ; fi
make[2]: Leaving directory '/home/dadmehr/Documents/wim-main/boxes/src/boxes-2.3.0/out'
make[1]: Leaving directory '/home/dadmehr/Documents/wim-main/boxes/src/boxes-2.3.0/src'
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "boxes"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Creating package "boxes-debug"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: boxes 2.3.0-1 (Sat 22 Jun 2024 07:25:42 PM UTC)
==> Installing package boxes with pacman -U...
loading packages...
warning: boxes-2.3.0-1 is up to date -- reinstalling
warning: boxes-debug-2.3.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (2) boxes-2.3.0-1  boxes-debug-2.3.0-1

Total Installed Size:  0.20 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(2/2) checking keys in keyring                                                   [##############################################] 100%
(2/2) checking package integrity                                                 [##############################################] 100%
(2/2) loading package files                                                      [##############################################] 100%
(2/2) checking for file conflicts                                                [##############################################] 100%
(2/2) checking available disk space                                              [##############################################] 100%
:: Processing package changes...
(1/2) reinstalling boxes                                                         [##############################################] 100%
(2/2) reinstalling boxes-debug                                                   [##############################################] 100%
ldconfig: File /usr/lib/liblove-11.5.so is empty, not checked.
ldconfig: File /usr/lib/libluajit-5.1.so.2 is empty, not checked.
ldconfig: File /usr/lib/libluajit-5.1.so is empty, not checked.
ldconfig: File /usr/lib/libluajit-5.1.so.2.1.1716656478 is empty, not checked.
ldconfig: File /usr/lib/liblove.so is empty, not checked.
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
mkdir: cannot create directory ‘/home/dadmehr/.vimhis’: File exists
                          Done
                          You should now start vim and wait for the plugins to install

Things I see after opening vim:

line  222:
E185: Cannot find color scheme 'base16-gruvbox-dark-hard'
line  468:
E117: Unknown function: startify#pad
Press ENTER or type command to continue
[1]+  Stopped                 vim main.py

After opening, it does not work properly

wolandark commented 4 months ago

From the README

Latest Configs are at the Devel branch


Explanation:

the main branch is behind, Use the Devel branch. Get wim-vim from Devel branch and start over by removing ~/.vim and ~/.vimrc and rename wim-vim to ~/.vimrc or ~/.vim/vimrc and start Vim normally for the setup to complete

BDadmehr0 commented 4 months ago

I did what was said, when it was installing fzf, I encountered this error :

Post-update hook for fzf ... /usr/share/vim/vimfiles/install not found