Comments (3)
tests/test_exercises.py::test_exercise_graphie_filename
E AssertionError: wrong filename for _ExerciseGraphieFile E assert 'ee76848822bf...078b6.graphie' == 'ea2269bb5cf4...6fbc7.graphie' E - ea2269bb5cf487f8d883144b9c06fbc7.graphie E + ee76848822bf710e037999e9148078b6.graphie
tests/test_files.py::test_convertible_substitles_ar_ttml
E AssertionError: conferted filename must exit E assert None
tests/test_files.py::test_convertible_substitles_noext_subtitlesformat
E AssertionError: conferted filename must exit E assert None
tests/test_thumbnails.py::TestThumbnailGeneration::test_generate_thumbnail_from_pdf
E AssertionError: expected two filenames E assert 1 == 2 E + where 1 = len(['b976c31a7ab68a97f12541d661245238.pdf'])
tests/media_utils/test_thumbnails.py::Test_pdf_thumbnail_generation::test_generates_thumbnail
E FileNotFoundError: [WinError 2] The system cannot find the file specified
tests/media_utils/test_thumbnails.py::Test_pdf_thumbnail_generation::test_generates_16_9_thumbnail
E ricecooker.utils.images.ThumbnailGenerationError: Fail on PDF C:\projects\learning_equallity\ricecooker\tests\media_utils\files\generate_thumbnail\sampl e.pdf Unable to get page count. Is poppler installed and in PATH?
Detailed errors from running the tests
from ricecooker.
test_exercise_graphie_filename
function process_file
is failing because generate_graphie_file
can not find the path for the file "tests/testcontent/exercises/eb3f3bf7c317408ee90995b5bcf4f3a59606aedd"
The file is found if we use "testcontent/exercises/eb3f3bf7c317408ee90995b5bcf4f3a59606aedd"
@pytest.fixture def exercise_graphie_filename(): return "ea2269bb5cf487f8d883144b9c06fbc7.graphie"
This is wrong its not returning this graphie
Expected :ea2269bb5cf487f8d883144b9c06fbc7.graphie Actual :ee76848822bf710e037999e9148078b6.graphie
from ricecooker.
This is for test test_convertible_substitles_ar_ttml
files.py > write_and_get_hash > return > File failed to write (corrupted).
from ricecooker.
Related Issues (20)
- Add support for metadata labels to ricecooker HOT 1
- Content-disposition header is not read to determine filenames HOT 1
- Unicode problems HOT 1
- Problems with h5p thumbnail HOT 1
- Defer duration attribute to files
- Subtitles with the same language code but different sub code are treated as duplicates
- Accept docx and doc files HOT 3
- TreeNode to_dict is incompatible with Studio unstable branch HOT 1
- Address cheffing script arguments for deploy and publish
- Update the requirements for youtube-dl to avoid Unable to extract uploader id HOT 2
- Document how to edit level, learning activity, tags and category with ricecooker HOT 2
- Document in ricecooker how to used previous and next in related properties
- Check access to channel before downloading and starting upload
- Document how to save bandwidth when rebuilding a channel
- Making small changes in channels generated with Ricecooker HOT 1
- Set default value for `TreeNode.learning_activities` when not set explicitly HOT 8
- Enhancement - check if the downloaded resources are not corrupted
- No explicit header set for the DOWNLOAD_SESSION HOT 3
- Thumbnails are not generated for topics with `derive_thumbnail=True` when contained content are instances of `StudioContentNode`
- Allow integration of BloomPub files
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 ricecooker.