Die Suche ergab 5 Treffer
- Montag 6. März 2017, 16:46
- Forum: Codesnippets
- Thema: AttributeError: 'NoneType' object has no attribute 'authorize'
- Antworten: 7
- Zugriffe: 6116
Re: AttributeError: 'NoneType' object has no attribute 'authorize'
Jo, auf beiden gibt es die Client_Secret.json. Auf dem Server wird die admin-directory_v1-python-quickstart.json.json nicht erzeugt auf dem Client schon.
- Montag 6. März 2017, 07:43
- Forum: Codesnippets
- Thema: AttributeError: 'NoneType' object has no attribute 'authorize'
- Antworten: 7
- Zugriffe: 6116
Re: AttributeError: 'NoneType' object has no attribute 'authorize'
So jetzt wird es ein wenig kurios. Auf dem Client Windows 10 und Python 2.7.13 funktioniert es. Auf Windows 2008 mit Python 2.7.13 nicht. Woran kann das liegen? Alle Module sind gleich. Eine Idee?
- Samstag 4. März 2017, 17:14
- Forum: Codesnippets
- Thema: AttributeError: 'NoneType' object has no attribute 'authorize'
- Antworten: 7
- Zugriffe: 6116
Re: AttributeError: 'NoneType' object has no attribute 'authorize'
Das habe ich auch schon. Es wird none zurück gegeben. Mit Storage(credential_path) sollte ja alles in die admin-directory_v1-python-quickstart.json geschrieben werden. Dass passiert aber nicht. Die Datei wird gar nicht erst angelegt. Credential_path stimmt. Da wird der Pfad und die Datei angezeigt. ...
- Samstag 4. März 2017, 14:12
- Forum: Codesnippets
- Thema: AttributeError: 'NoneType' object has no attribute 'authorize'
- Antworten: 7
- Zugriffe: 6116
AttributeError: 'NoneType' object has no attribute 'authorize'
Hallo habe folgenden Code: #!C:\Python\python.exe # -*- coding: utf-8 -*- from __future__ import print_function import sys import subprocess import os import httplib2 import smtplib import active_directory import logging import codecs # KTT apiclient change into googleapiclient''' from googleapiclie...
- Mittwoch 18. Januar 2017, 21:05
- Forum: Python mit anderen Sprachen verwenden
- Thema: class 'pywintypes.com_error'>: (-2147352567, 'Ausnahmefehler aufgetreten.', (0, u'Provider', u'Klasse nicht registriert'
- Antworten: 0
- Zugriffe: 4891
class 'pywintypes.com_error'>: (-2147352567, 'Ausnahmefehler aufgetreten.', (0, u'Provider', u'Klasse nicht registriert'
Hallo, erhalte wenn ich ein Pythonskript über ein Webformular als CGI anspreche folgende Fehlermeldung: class 'pywintypes.com_error'>: (-2147352567, 'Ausnahmefehler aufgetreten.', (0, u'Provider', u'Klasse nicht registriert', None, 1240640, -2147221164), None) Möglicherweise hat Python ein Problem m...