question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remotecv fails using tc_aws.s3_loader

See original GitHub issue

I’m trying to configure remotecv in order to use the tc_aws.loaders.s3_loader

I can see this error logged:

ERROR:pyres.worker:(Job{Detect} | remotecv.pyres_tasks.DetectTask | [u'all', u'path/to/image/s3/image.jpg', u'path/to/image/s3/image.jpg']) failed: 'module' object has no attribute 'load_sync'
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/pyres/worker.py", line 253, in process
    return job.perform()
  File "/usr/local/lib/python2.7/site-packages/pyres/job.py", line 55, in perform
    return payload_class.perform(*args)
  File "/usr/local/lib/python2.7/site-packages/remotecv/pyres_tasks.py", line 11, in perform
    image_data = config.loader.load_sync(image_path)
AttributeError: 'module' object has no attribute 'load_sync'

Versions:

argparse==1.2.1
envtpl==0.4.1
boto==2.38.0
dateutils==0.6.6
numpy==1.9.2
pyremotecv==0.5.0
remotecv==2.1.0
opencv-engine==1.0.1
redis==2.4.12
thumbor==5.2.1
tc-aws==2.1.1
tc-core==0.3.0
tc-shortener==0.2.2
raven==5.10.1

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
eduherraizcommented, Feb 10, 2016

The loader is ready here: https://github.com/APSL/remotecv_aws

0reactions
Bladrakcommented, Feb 10, 2016

Yes that’s also an option 😃 @masom what do you think?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tutorial: Loading data from Amazon S3 - Amazon Redshift
You can load from data files on Amazon S3, Amazon EMR, or any remote host ... In this tutorial, you use the COPY...
Read more >
Step 3: Upload the files to an Amazon S3 bucket
Step 3: Upload the files to an Amazon S3 bucket · Choose the name of the data folder. · In the Upload -...
Read more >
Uploading to Amazon S3 directly from a web or mobile ...
Uploading to Amazon S3 directly from a web or mobile application · The user uploads the file to the application server. · Call...
Read more >
Loading encrypted data files from Amazon S3 - Amazon Redshift
Load encrypted data files from your Amazon S3 bucket with the ENCRYPTED option. ... The COPY command supports the following types of Amazon...
Read more >
Using the COPY command to load from Amazon S3
Use the COPY command to load a table in parallel from data files on Amazon S3. You can specify the files to be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found