-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fails to discover gmail calendar validate_token_parameters #691
Comments
I tried to downgrade to your versions of requests-oauthlib and oauthlib, but couldn't reproduce this. Could you give me the output of:
Not entirely sure if this works under nixos, if it doesn't, I need a printout of vdirsyncer's dependency tree with version numbers. |
There is no pip there but vdirsyncer is wrapped with a list of python modules whose path show the versions
at least the tests pass
|
Could this be related to
792dbc1?
Please try installing from master (you will need a Rust compiler for that
though).
…On Sat, Nov 25, 2017 at 01:06:10PM +0000, Matthieu Coudron wrote:
There is no pip there but vdirsyncer is wrapped with a list of python modules whose path show the versions
```
import sys;import site;import functools;sys.argv[0] = '/nix/store/49zh3lxkh2rw526qahhs4bpa1d6vs999-vdirsyncer-0.16.3/bin/vdirsyncer';functools.reduce(lambda k, p: site.addsitedir(p, k), ['/nix/store/49zh3lxkh2rw526qahhs4bpa1d6vs999-vdirsyncer-0.16.3/lib/python3.6/site-packages','/nix/store/m3hja8knn930lwhjznbipzpr9dy9igqh-python3.6-click-6.7/lib/python3.6/site-packages','/nix/store/hq27hydp4jnwa0kbccim6ghbd9l6h6q8-python3.6-setuptools-36.6.0/lib/python3.6/site-packages','/nix/store/ykr1aycw4iqcknrag82aryapznxawg4b-python3.6-click-log-0.2.1/lib/python3.6/site-packages','/nix/store/s0zggcf05d555mhww67ni7ldq5s89fw5-python3.6-click-threading-0.4.2/lib/python3.6/site-packages','/nix/store/cq0y7mcjcbz78b0w78ppfx2sw671n8fk-python3.6-requests-toolbelt-0.8.0/lib/python3.6/site-packages','/nix/store/g2l9c7ql6jrhsigf6ifg7kvyv8fr7m87-python3.6-urllib3-1.22/lib/python3.6/site-packages','/nix/store/nr2ww05sy3gbgjhbigf590kwrb7dimhc-python3.6-idna-2.5/lib/python3.6/site-packages','/nix/store/x2lfmm6dgwihklpp8bv6dkkbyfdnqdcm-python3.6-asn1crypto-0.23.0/lib/python3.6/site-packages','/nix/store/bpnwjvy80nkwpy9azgv2lw6q4p3qsl37-python3.6-packaging-16.8/lib/python3.6/site-packages','/nix/store/jrkv8g4waq3bd79hicpvj7fxabldry2x-python3.6-pyparsing-2.2.0/lib/python3.6/site-packages','/nix/store/css7jcljqbl54q7k8yb7v7kd2pwv6j7s-python3.6-six-1.11.0/lib/python3.6/site-packages','/nix/store/dm478gb0qyr5yvf90xzjsml1pw4bv15i-python3.6-pycparser-2.14/lib/python3.6/site-packages','/nix/store/snn4yrd7kqhwb9l0j16i9lsl8jh1hibd-python3.6-cffi-1.11.2/lib/python3.6/site-packages','/nix/store/vf2d1mwky21nja7kjaw2m0kq087abppm-python3.6-cryptography-2.0.3/lib/python3.6/site-packages','/nix/store/2jgfk974gxarv35ckxmwr721bdf78vr5-python3.6-pyasn1-0.3.4/lib/python3.6/site-packages','/nix/store/yc03caqdrkabmc9kx74s4di5pqxyflm9-python3.6-pyOpenSSL-17.2.0/lib/python3.6/site-packages','/nix/store/n5fc3w0wb7jckqvfla99fyg5bbj42xx0-python3.6-certifi-2017.7.27.1/lib/python3.6/site-packages','/nix/store/ahspy79vz0qcxbzvwkxc2v0mjcx06syf-python3.6-pysocks-1.6.6/lib/python3.6/site-packages','/nix/store/hw8sf29n1nk8rxg0i6p7jf32w12px3iy-python3.6-chardet-3.0.4/lib/python3.6/site-packages','/nix/store/kkxcb64sf6106jakdi0lizq7wrskkkz5-python3.6-requests-2.18.4/lib/python3.6/site-packages','/nix/store/yk1h9s38b14dxjprd9b12bw6s12v0wk3-python3.6-requests-oauthlib-0.8.0/lib/python3.6/site-packages','/nix/store/lbyr77krprq509nf42kacinmyn32k9y0-python3.6-oauthlib-2.0.0/lib/python3.6/site-packages','/nix/store/i9w2q5qpk3lkxq0kxs0pjlx07wv5hfzj-python3.6-blinker-1.4/lib/python3.6/site-packages','/nix/store/m7ghj1j7kli0klb9r7lvd0w6g2lcfrrp-python3.6-pyjwt-1.5.3/lib/python3.6/site-packages','/nix/store/fgvijxbpx1wsf8vln5m30cdny0aaclls-python3.6-ecdsa-0.13/lib/python3.6/site-packages','/nix/store/kn2i94whf2rp7v1bg8b2wxql32zm2n4r-python3.6-atomicwrites-0.1.9/lib/python3.6/site-packages','/nix/store/05nr143zg1px6xapvazr389mhyjn8knv-python3.6-keyring-10.4.0/lib/python3.6/site-packages','/nix/store/glw5hpzja9xiavixa3mw4r0j6l6f1vnf-python3.6-secretstorage-2.3.1/lib/python3.6/site-packages','/nix/store/lsx4q89vcmzb0m18m4hbny050hzr6kir-python3.6-dbus-python-1.2.4/lib/python3.6/site-packages','/nix/store/0rfkcn2zgn2wvnia3714shp5x8b7h7dx-python3.6-pycairo-1.10.0/lib/python3.6/site-packages','/nix/store/j24nly3s4ykfrkw2cbn2w8spph3gbnkm-python3.6-pygobject-3.24.1/lib/python3.6/site-packages'], site._init_pathinfo());
import re
import sys
from vdirsyncer.cli import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
```
at least the tests pass
```
============================= test session starts ==============================
platform linux -- Python 3.6.3, pytest-3.2.3, py-1.4.34, pluggy-0.4.0
rootdir: /tmp/nix-build-vdirsyncer-0.16.3.drv-0/vdirsyncer-0.16.3, inifile: setup.cfg
plugins: hypothesis-3.11.1, localserver-0.3.7, subtesthack-0.1.1
collected 486 items
tests/storage/test_filesystem.py ..............................................sss......ss.......
tests/storage/test_http.py .....
tests/storage/test_http_with_singlefile.py ......................................sssssss....sssss.ss
tests/storage/test_memory.py ......................................sssssss....sss...ss
tests/storage/test_singlefile.py ....................................................ss.ss
tests/storage/dav/test_caldav.py ssssssssssssssssssssssssssssssssssssssssssssssssssssss
tests/storage/dav/test_carddav.py ssssssssssssssssssssssssss
tests/storage/dav/test_main.py .................................
tests/system/cli/test_config.py .........
tests/system/cli/test_discover.py .....
tests/system/cli/test_fetchparams.py .
tests/system/cli/test_repair.py .....
tests/system/cli/test_sync.py ....................
tests/system/cli/test_utils.py ..
tests/system/utils/test_main.py .....
tests/unit/test_exceptions.py .
tests/unit/test_metasync.py .........
tests/unit/test_repair.py ..........
tests/unit/cli/test_config.py .
tests/unit/cli/test_discover.py ......
tests/unit/cli/test_fetchparams.py .........
tests/unit/sync/test_status.py .
tests/unit/sync/test_sync.py ...............................
tests/unit/utils/test_vobject.py ..................
```
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#691 (comment)
|
@teto Any updates on this? |
I tried to install from master on nixos but got
as in #382 . I tried to fetch the source with
so that the .git folder is kept but that doesn't seem enough since the error persists. I am not sure if the error stems from a setuptools command unsupported by nixos or is some vdirsyncer specific code so I stopped there. |
I have pushed an alpha version to pypi. You would be able to install it with |
thanks for the upload, I tried to quickly update the package but it needs some more attention I guess as I hit
I am not familiar with the rust ecosystem so not sure where it stems from ( /homeless-shelter/ doesn't exist on nixos, builders should not rely on $HOME). I'll try to ask a few questions on #nixos |
Please try to just install it with `pip` then.
…On Thu, Dec 07, 2017 at 08:29:26AM +0000, Matthieu Coudron wrote:
thanks for the upload, I tried to quickly update the package but it needs some more attention I guess as I hit
```
copying vdirsyncer/sync/__init__.py -> build/lib.linux-x86_64-3.6/vdirsyncer/sync
[ "$READTHEDOCS" != "True" ] || make install-rust
cd ./rust && PATH="$HOME/.cargo/bin/:$PATH" cargo build --release
error: failed to open: /homeless-shelter/.cargo/registry/index/github.com-1ecc6299db9ec823/.cargo-index-lock
Caused by:
Permission denied (os error 13)
```
I am not familiar with the rust ecosystem so not sure where it stems from ( /homeless-shelter/ doesn't exist on nixos, builders should not rely on $HOME). I'll try to ask a few questions on #nixos
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#691 (comment)
|
@teto any update on this? |
Sorry I tried to install it on nix with virtual env but there are many dependancies so it's not easy. If I knew how to fix the package, I would do it but I am afraid dealing with rust the way it is intertwined in setup.py would be too complex. |
Patching vdirsyncer to use a shared library is definetly harder than trying to
install it in a virtualenv. Which exact problems did you face?
…On Fri, Dec 22, 2017 at 06:56:51AM +0000, Matthieu Coudron wrote:
Sorry I tried to install it on nix with virtual env but there are many dependancies so it's not easy. If I knew how to fix the package, I would do it but I am afraid dealing with rust the way it is intertwined in setup.py would be too complex.
I believe the easiest path would be to patch the setup.py to remove the rust stuff and have nix install the rust package. I guess even for others distribs having cargo install the rust package might be a problem ? can't vdirsyncer just checks for the presence of the rust package and fails with the cargo command to run instead ?
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#691 (comment)
|
Someone managed to update the vdirsyncer package (see related link) but rust installation fails in non-deterministic ways. I think the virtualenv will trigger the same issue. i will notify you when I manage to test your patch. Sorry it takes so long. |
I finally managed to bump the vdirsyncer package to vdirsyncer, version 0.17.0a2 but still can't sync: With the same config as previously
|
I run
vdirsyncer -v DEBUG discover gmail_carddav
and get the stacktrace below after pasting the passord given to me by google.and here is the relevant config
The text was updated successfully, but these errors were encountered: