Comments (8)
Solved it, I deleted my cache file and it's on it's merry way! cheers guys!
from redbetter-crawler.
I managed to solve this part:
File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'redacted'
by renaming the top section in my config file ;)
from redbetter-crawler.
Sorry about that! I made a bunch of sweeping name changes last night, and didn't think about the config section header name changing. Glad you got it sorted.
from redbetter-crawler.
I still have the top issue referring to namespace unfortunately, now I get logged into the site and it searches for the first item to process and the it exits with pretty much the same error as above.
from redbetter-crawler.
Can you post the stack trace as it is now?
from redbetter-crawler.
Apologies, it would have been useful if I had commented with that before!
~ # redactedbetter
Logging in to PTH...
Searching for transcode candidates...
Release found: <snip>
Release URL: <snip>
Formats needed:
Traceback (most recent call last):
File "/usr/bin/redactedbetter", line 4, in <module>
__import__('pkg_resources').run_script('redactedbetter==1.3', 'redactedbetter')
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 739, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1501, in run_script
exec(script_code, namespace, namespace)
File "/usr/lib/python2.7/site-packages/redactedbetter-1.3-py2.7.egg/EGG-INFO/scripts/redactedbetter", line 231, in <module>
File "/usr/lib/python2.7/site-packages/redactedbetter-1.3-py2.7.egg/EGG-INFO/scripts/redactedbetter", line 227, in main
AttributeError: 'str' object has no attribute 'add'
~ #
Edit: Also just to rule it out I created a Debian container with all the dependancies and I get the same error;
Traceback (most recent call last):
File "/usr/local/bin/redactedbetter", line 4, in <module>
__import__('pkg_resources').run_script('redactedbetter==1.3', 'redactedbetter')
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 739, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1501, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/redactedbetter-1.3-py2.7.egg/EGG-INFO/scripts/redactedbetter", line 231, in <module>
File "/usr/local/lib/python2.7/dist-packages/redactedbetter-1.3-py2.7.egg/EGG-INFO/scripts/redactedbetter", line 227, in main
AttributeError: 'str' object has no attribute 'add'
I wanted to ensure that it wasn't something strange with using Alpine linux which it appears not to be the case.
Edit 2: back using alpine if I pull the previous commit before the name changes it's working so must be something with the name change mate, I'll continue testing and if I fix it I'll submit a PR.
from redbetter-crawler.
Phew, I'm glad I didn't break anything serious. Interesting, though - does your docker image have a default cache file it uses? I'd assume that it's generated the first time you run the script.
from redbetter-crawler.
I mount the cache file from the host to inside the container, same for config :) once I've finished my testing and I'm happy I'll up the code to my GitHub and I'll put a PR in here for the readme of how to use the image with docker.
from redbetter-crawler.
Related Issues (20)
- Add licence
- Create release
- doesn't seem to be checking my own uploaded HOT 1
- check if output dir is a file and not a folder HOT 1
- "Error adding format" HOT 1
- Does this script still scrape in a disallowed manner? HOT 1
- search within data_dir for path
- Adding format V0... Error adding format V0: 'module' object has no attribute 'ParseFile' HOT 1
- Adding format V0... Error adding format V0: no control matching name 'remaster' HOT 4
- Adding format V0... Error adding format V0: No option 'piece_length' in section: 'redacted' HOT 1
- Remove critical error for vinyl tracknumber tags
- Scene tags are included in output directory names
- Code borrowing HOT 2
- error adding format 320: no control named 'file_input'
- Update for python3 compatibility
- Add support for 2fa/mfa
- Getting session cookie failed errors. HOT 1
- The 96->48 flac transcodes are marked [16-44], but are 48kHz
- Error on conversion from FLAC to MP3
- IndexError: list index out of range
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redbetter-crawler.