mustafaozhan / GoogleIntegratedSystemConky

:computer: Conky configuration with Google Keep, Google Calendar, System information and Lua clock ring for Linux users.
GNU General Public License v3.0
179 stars 25 forks source link

Help on fixing install.sh errors #17

Closed ghost closed 4 years ago

ghost commented 4 years ago

sh install.sh mv: cannot move 'fonts/' to '/home/adminGodChryz/.local/share/fonts': Directory not empty mv: cannot move 'plank/gisc' to '/usr/share/plank/themes/': No such file or directory mv: cannot move 'GoogleIntegratedSystemConky/' to '/home/adminGodChryz/.config/GoogleIntegratedSystemConky': Directory not empty

hi there! i want to try your theme, but it seems that i cant make it to yourk, would you mind helping me?

ive already fix some on the gcalcli but this i have no idea, should i remove those folders?

ghost commented 4 years ago

so iremoved all th folders that dont exist and created the ones that are requested and fireup install.sh and it reported no errors, but i cant see it on conky manager

mustafaozhan commented 4 years ago

Hello let's start from beginning, i think something went wrong during your installation. Which Linux distribution are you using ?

ghost commented 4 years ago

i am using mx linux sir

mustafaozhan commented 4 years ago

I do not have information about Mx Linux so the script that i shared will not work properly Please check your package manager, you need to first install conky, python3-pip and python-pip

After Successfully install them please run

sudo pip3 install beautifulsoup4 requests lxml
sudo pip install gcalcli

then you will need to run the script but as I can see from your logs you had problem in this place. So please clone the repo

 git clone https://github.com/mustafaozhan/GoogleIntegratedSystemConky

Than open it

During last three operations if it will ask you file already exists please replace them.

then you will continue with rest of customisations

Then start with

sh ~/.config/GoogleIntegratedSystemConky/gisc.sh start
ghost commented 4 years ago

sorry for the late reply, just busy on school workloads, just want to clarify that my system needs both python 2 and 3? and i need to install gcalcli with a python2-pip? even though i can install it with a pip3 installation?

mustafaozhan commented 4 years ago

Yes exactly, since it is build on python2 otherwise it will give you syntax errors during intallation

ghost commented 4 years ago

`sudo pip install gcalcli DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Collecting gcalcli Using cached gcalcli-4.2.1.tar.gz (1.7 MB) ERROR: Command errored out with exit status 1: command: /usr/bin/python2 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-IpBt2R/gcalcli/setup.py'"'"'; file='"'"'/tmp/pip-install-IpBt2R/gcalcli/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-mAfa9i cwd: /tmp/pip-install-IpBt2R/gcalcli/ Complete output (6 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-IpBt2R/gcalcli/setup.py", line 12 print('Warning: No long description generated.', file=sys.stderr) ^ SyntaxError: invalid syntax

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.`

im having this error, its returning deprecation notice, and some setup.py thing

mustafaozhan commented 4 years ago

hmm gcalcli is not maintained by me. On the other hand, It seems they moved to python3 already.| Can you install with python3, this is their official repo

ghost commented 4 years ago

hmm gcalcli is not maintained by me. On the other hand, It seems they moved to python3 already.| Can you install with python3, this is their official repo

that is what i did on my previous attempts before reporting the errors on the installation script

ok so i managed to manually install all requested dependencies, and also gcalcli via apt, and also manually replace folders and created non exixtence folder. and after running sh ~/.config/GoogleIntegratedSystemConky/gisc.sh start starting conky: Syntax error (conkyrc:2: '=' expected near 'yes') while reading config file. conky: Assuming it's in old syntax and attempting conversion. conky: desktop window (600010) is subwindow of root window (226) conky: drawing to desktop window conky: drawing to double buffer X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 145 (DOUBLE-BUFFER) Minor opcode of failed request: 1 (DBEAllocateBackBufferName) Serial number of failed request: 97 Current serial number in output stream: 98 conky: Syntax error (conkyKeepRc:2: unexpected symbol near '#') while reading config file. conky: Assuming it's in old syntax and attempting conversion. conky: desktop window (600010) is subwindow of root window (226) conky: window type - override conky: drawing to created window (0x3c00001) X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 1 (X_CreateWindow) Serial number of failed request: 95 Current serial number in output stream: 99