Closed rumenmitrev closed 2 years ago
For me the command works on an Ubuntu 20.04. Please check the -o switch with the output file. Can it be in another folder? If you remove -o samples/cgp_list.txt the list should be sent to the standard output.
Thanks for your response!
rum@rum-top:~/Find-GCP$ lsb_release -ric
Distributor ID: Ubuntu
Release: 20.04
Codename: focal
rum@rum-top:~/Find-GCP$ pip3 list
Package Version
----------------------- --------------------
apturl 0.5.2
blinker 1.4
Brlapi 0.7.0
certifi 2019.11.28
chardet 3.0.4
Click 7.0
colorama 0.4.3
command-not-found 0.3
cryptography 2.8
cupshelpers 1.0
cycler 0.11.0
dbus-python 1.2.16
defer 1.0.6
distro 1.4.0
distro-info 0.23ubuntu1
entrypoints 0.3
fonttools 4.28.5
httplib2 0.14.0
idna 2.8
iotop 0.6
keyring 18.0.1
kiwisolver 1.3.2
language-selector 0.1
launchpadlib 1.10.13
lazr.restfulclient 0.14.2
lazr.uri 1.0.3
louis 3.12.0
macaroonbakery 1.3.1
matplotlib 3.5.1
netifaces 0.10.4
numpy 1.22.1
oauthlib 3.1.0
opencv-contrib-python 4.5.5.62
opencv-python 4.5.5.62
packaging 21.3
Pillow 9.0.0
pip 20.0.2
protobuf 3.6.1
pycairo 1.16.2
pycups 1.9.73
PyGObject 3.36.0
PyJWT 1.7.1
pymacaroons 0.13.0
PyNaCl 1.3.0
pyparsing 3.0.6
pyRFC3339 1.1
python-apt 2.0.0+ubuntu0.20.4.5
python-dateutil 2.7.3
python-debian 0.1.36ubuntu1
pytz 2019.3
pyxdg 0.26
PyYAML 5.3.1
requests 2.22.0
requests-unixsocket 0.2.0
screen-resolution-extra 0.0.0
SecretStorage 2.3.1
setuptools 45.2.0
simplejson 3.16.0
six 1.14.0
ssh-import-id 5.10
systemd-python 234
ubuntu-advantage-tools 27.2
ubuntu-drivers-common 0.0.0
ufw 0.36
unattended-upgrades 0.1
urllib3 1.25.8
wadllib 1.3.3
wheel 0.34.2
xkit 0.0.0
without swich -o , gcp_list.txt is not on stdout My pip3 was not able to find PIL , so i had to install Pillow instead and python3-pil.imagetk for pil.imagetk Thats the only diifferene with your workflow
I've uploaded a new version which handles stderr/stdout separation.
I clone the repo :
git clone https://github.com/zsiki/Find-GCP.git cd Find-GCP
Then execute Sample 2 and the output is:
but gcp_list.txt is missing in samples/
Am i missing something?