Traceback (most recent call last):


 "textact.py", line 28, in <module>

client = boto3.client('textract')


 "/usr/local/lib/python3.7/site-packages/boto3/__init__.py", line 91, in client

return _get_default_session().client(*args, **kwargs)


 "/usr/local/lib/python3.7/site-packages/boto3/session.py", line 263, in client

aws_session_token=aws_session_token, config=config)


 "/usr/local/lib/python3.7/site-packages/botocore/session.py", line 809, in create_client

client_config=config, api_version=api_version)


 "/usr/local/lib/python3.7/site-packages/botocore/client.py", line 69, in create_client

service_model = self._load_service_model(service_name, api_version)


 "/usr/local/lib/python3.7/site-packages/botocore/client.py", line 104, in _load_service_model

api_version=api_version)


 "/usr/local/lib/python3.7/site-packages/botocore/loaders.py", line 132, in _wrapper

data = func(self, *args, **kwargs)


 "/usr/local/lib/python3.7/site-packages/botocore/loaders.py", line 378, in load_service_model

known_service_names=', '.join(sorted(known_services)))
botocore.exceptions.UnknownServiceError: Unknown service: 'textract'. Valid service names are: acm, acm-pca, alexaforbusiness, amplify, apigateway, application-autoscaling, appmesh, appstream, appsync, athena, autoscaling, autoscaling-plans, batch, budgets, ce, chime, cloud9, clouddirectory, cloudformation, cloudfront, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudwatch, codebuild, codecommit, codedeploy, codepipeline, codestar, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, config, connect, cur, datapipeline, datasync, dax, devicefarm, directconnect, discovery, dlm, dms, ds, dynamodb, dynamodbstreams, ec2, ecr, ecs, efs, eks, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, es, events, firehose, fms, fsx, gamelift, glacier, globalaccelerator, glue, greengrass, guardduty, health, iam, importexport, inspector, iot, iot-data, iot-jobs-data, iot1click-devices, iot1click-projects, iotanalytics, kafka, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lambda, lex-models, lex-runtime, license-manager, lightsail, logs, machinelearning, macie, marketplace-entitlement, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediastore, mediastore-data, mediatailor, meteringmarketplace, mgh, mobile, mq, mturk, neptune, opsworks, opsworkscm, organizations, pi, pinpoint, pinpoint-email, polly, pricing, quicksight, ram, rds, rds-data, redshift, rekognition, resource-groups, resourcegroupstaggingapi, robomaker, route53, route53domains, route53resolver, s3, s3control, sagemaker, sagemaker-runtime, sdb, secretsmanager, securityhub, serverlessrepo, servicecatalog, servicediscovery, ses, shield, signer, sms, sms-voice, snowball, sns, sqs, ssm, stepfunctions, storagegateway, sts, support, swf, transcribe, transfer, translate, waf, waf-regional, workdocs, workmail, workspaces, xray


Traceback (most recent call last):

 "/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools.py", line 103, in _run
applyFilters('before_main')

 "/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/filters/__init__.py", line 151, in applyFilters
method()

 "/home/arnarb/workdir/verkstjorinn/tg-svn/trunk-sa02/turbogears/visit/api.py", line 140, in before_main
visit= _manager.visit_for_key( visit_key )

 "/home/arnarb/workdir/verkstjorinn/tg-svn/trunk-sa02/turbogears/visit/savisit.py", line 31, in visit_for_key
visit= TG_Visit.lookup_visit( visit_key )

 "/home/arnarb/workdir/verkstjorinn/tg-svn/trunk-sa02/turbogears/visit/savisit.py", line 66, in lookup_visit
return Query(TG_Visit).get_by( visit_key=visit_key );

 "/usr/lib/python2.4/site-packages/SQLAlchemy-0.2.2-py2.4.egg/sqlalchemy/orm/query.py", line 15, in __init__
self.mapper = class_mapper(class_or_mapper, entity_name=entity_name)
NameError: global name 'class_mapper' is not defined