{{__tera_context}} No Longer works in v10.0?

Has anyone else tried to use {{__tera_context}} to dump the variables in a template recently?

When I try this, I get a huge rust dump to CLI and the web server still up. Can anyone else confirm this is a problem or is it just me :slight_smile:

What does the dump say? There is a test covering __tera_context (https://github.com/Keats/tera/blob/dec3a0281a85f7323e7ccfc4d765fc0f646e79ef/src/renderer/tests/basic.rs#L539-L552) so it’s unlikely to be too broken in theory

It’s long…

Web server is still running in background. Just put {{__tera_context}} in a page template. Running on Windows 10 Pro 1903

thread ‘’ panicked at ‘called Result::unwrap() on an Err value: Os { code: 123, kind: Other, message: “The filename, directory name, or volume label syntax is incorrect.” }’, src\libcore\result.rs:1165:5stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18: BaseThreadInitThunk
19: RtlUserThreadStart
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread ‘’ panicked at ‘called Result::unwrap() on an Err value: Os { code: 123, kind: Other, message: “The filename, directory name, or volume label syntax is incorrect.” }’, src\libcore\result.rs:1165:5stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18: BaseThreadInitThunk
19: RtlUserThreadStart
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread ‘’ panicked at ‘called Result::unwrap() on an Err value: Os { code: 123, kind: Other, message: “The filename, directory name, or volume label syntax is incorrect.” }’, src\libcore\result.rs:1165:5stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18: BaseThreadInitThunk
19: RtlUserThreadStart
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread ‘’ panicked at ‘called Result::unwrap() on an Err value: Os { code: 123, kind: Other, message: “The filename, directory name, or volume label syntax is incorrect.” }’, src\libcore\result.rs:1165:5stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18: BaseThreadInitThunk
19: RtlUserThreadStart
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread ‘’ panicked at ‘called Result::unwrap() on an Err value: Os { code: 123, kind: Other, message: “The filename, directory name, or volume label syntax is incorrect.” }’, src\libcore\result.rs:1165:5stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18: BaseThreadInitThunk
19: RtlUserThreadStart
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread ‘’ panicked at ‘called Result::unwrap() on an Err value: Os { code: 123, kind: Other, message: “The filename, directory name, or volume label syntax is incorrect.” }’, src\libcore\result.rs:1165:5stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18: BaseThreadInitThunk
19: RtlUserThreadStart
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread ‘’ panicked at ‘called Result::unwrap() on an Err value: Os { code: 123, kind: Other, message: “The filename, directory name, or volume label syntax is incorrect.” }’, src\libcore\result.rs:1165:5stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18: BaseThreadInitThunk
19: RtlUserThreadStart
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread ‘’ panicked at ‘called Result::unwrap() on an Err value: Os { code: 123, kind: Other, message: “The filename, directory name, or volume label syntax is incorrect.” }’, src\libcore\result.rs:1165:5stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18: BaseThreadInitThunk
19: RtlUserThreadStart
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread ‘’ panicked at ‘called Result::unwrap() on an Err value: Os { code: 123, kind: Other, message: “The filename, directory name, or volume label syntax is incorrect.” }’, src\libcore\result.rs:1165:5stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18: BaseThreadInitThunk
19: RtlUserThreadStart
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread ‘’ panicked at ‘called Result::unwrap() on an Err value: Os { code: 123, kind: Other, message: “The filename, directory name, or volume label syntax is incorrect.” }’, src\libcore\result.rs:1165:5stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18: BaseThreadInitThunk
19: RtlUserThreadStart
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread ‘’ panicked at ‘called Result::unwrap() on an Err value: Os { code: 123, kind: Other, message: “The filename, directory name, or volume label syntax is incorrect.” }’, src\libcore\result.rs:1165:5stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18: BaseThreadInitThunk
19: RtlUserThreadStart
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread ‘’ panicked at ‘called Result::unwrap() on an Err value: Os { code: 123, kind: Other, message: “The filename, directory name, or volume label syntax is incorrect.” }’, src\libcore\result.rs:1165:5stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18: BaseThreadInitThunk
19: RtlUserThreadStart
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread ‘’ panicked at ‘called Result::unwrap() on an Err value: Os { code: 123, kind: Other, message: “The filename, directory name, or volume label syntax is incorrect.” }’, src\libcore\result.rs:1165:5stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18: BaseThreadInitThunk
19: RtlUserThreadStart
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread ‘’ panicked at ‘called Result::unwrap() on an Err value: Os { code: 123, kind: Other, message: “The filename, directory name, or volume label syntax is incorrect.” }’, src\libcore\result.rs:1165:5stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18: BaseThreadInitThunk
19: RtlUserThreadStart
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread ‘’ panicked at ‘called Result::unwrap() on an Err value: Os { code: 123, kind: Other, message: “The filename, directory name, or volume label syntax is incorrect.” }’, src\libcore\result.rs:1165:5stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18: BaseThreadInitThunk
19: RtlUserThreadStart
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

It actually renders something through the server to a webpage, note at the end you get garbage start to render as it tries to do the markdown…

{ “config”: { “base_url”: “http://192.168.1.96:2015”, “theme”: null, “title”: “Adept English”, “description”: “”, “default_language”: “en”, “languages”: [], “translations”: {}, “highlight_code”: true, “highlight_theme”: “solarized-light”, “generate_rss”: false, “rss_limit”: 75, “hard_link_static”: false, “taxonomies”: [ { “name”: “tags”, “paginate_by”: 6, “paginate_path”: null, “rss”: false, “lang”: “en” }, { “name”: “english”, “paginate_by”: 6, “paginate_path”: null, “rss”: false, “lang”: “en” }, { “name”: “authors”, “paginate_by”: 2, “paginate_path”: null, “rss”: false, “lang”: “en” }, { “name”: “downloads”, “paginate_by”: 8, “paginate_path”: null, “rss”: false, “lang”: “en” }, { “name”: “podcast”, “paginate_by”: 75, “paginate_path”: null, “rss”: true, “lang”: “en” } ], “compile_sass”: false, “build_search_index”: true, “ignored_content”: [], “extra_syntaxes”: [], “link_checker”: { “skip_prefixes”: [], “skip_anchor_prefixes”: [] }, “slugify”: { “paths”: “on”, “taxonomies”: “on”, “anchors”: “on” }, “extra”: { “english”: [ [ “fluency”, “/english/fluency/” ], [ “pronunciation”, “/english/pronunciation/” ], [ “speaking”, “/english/speaking/” ], [ “listening”, “/english/listening/” ], [ “idioms”, “/english/idioms/” ], [ “phrases”, “/english/phrases/” ], [ “grammar”, “/english/grammar/” ], [ “Language Courses”, “/english/language-courses/” ] ], “youtube”: “https://www.youtube.com/c/AdeptEnglish”, “instagram”: “https://www.instagram.com/adeptenglish/”, “profile”: “/img/misc/profile.svg”, “email”: “support@adeptenglish.com”, “socialnetworks”: [ [ “Facebook”, “https://www.facebook.com/adeptenglish/” ], [ “Twitter”, “https://twitter.com/AdeptEnglish” ], [ “YouTube”, “https://www.youtube.com/c/AdeptEnglish” ], [ “Instagram”, “https://www.instagram.com/adeptenglish/” ] ], “products”: [ { “imgAltText”: “Learn to speak English course one activate your listening product cover art.”, “productid”: 1, “salespageurl”: “/language-courses/course-one-activate-your-listening”, “salespic_arturl”: “/activate-your-listening-course-one-art”, “salespic_ctaurl”: “/activate-your-listening-course-one-cta”, “salespic_cvrurl”: “/activate-your-listening-course-one-cvr”, “salespic_sqrurl”: “/activate-your-listening-course-one-mp”, “sendowlurl”: “https://transactions.sendowl.com/packages/3246”, “title”: “Course One Activate Your Listening” }, { “imgAltText”: “Learn to speak English course 500 most common words product cover art.”, “productid”: 2, “salespageurl”: “/language-courses/500-most-common-words-course”, “salespic_arturl”: “/most-common-500-words-course-art”, “salespic_ctaurl”: “/most-common-500-words-course-cta”, “salespic_cvrurl”: “/most-common-500-words-course-cvr”, “salespic_sqrurl”: “/most-common-500-words-course-mp”, “sendowlurl”: “https://transactions.sendowl.com/products/”, “title”: “500 Most Common Words” }, { “imgAltText”: “Learn to speak English audio lessons back catalogue bundle cover art.”, “productid”: 3, “salespageurl”: “/language-courses/podcast-mega-bundle”, “salespic_arturl”: “/podcast-bundle-1-200-art”, “salespic_ctaurl”: “/podcast-bundle-1-200-cta”, “salespic_cvrurl”: “/podcast-bundle-1-200-cvr”, “salespic_sqrurl”: “/podcast-bundle-1-200-mp”, “sendowlurl”: “https://transactions.sendowl.com/packages/”, “title”: “HUGE Podcasts Back Catalogue Bundle” }, { “imgAltText”: “Learn to speak English audio lessons back catalogue bundle cover art.”, “productid”: 4, “salespageurl”: “/language-courses/podcast-bundle-1-51”, “salespic_arturl”: “/podcast-bundle-1-50-art”, “salespic_ctaurl”: “/podcast-bundle-1-50-cta”, “salespic_cvrurl”: “/podcast-bundle-1-50-cvr”, “salespic_sqrurl”: “/podcast-bundle-1-50-mp”, “sendowlurl”: “https://transactions.sendowl.com/products/78041364/”, “title”: “Podcasts Back Catalogue 1-50 Bundle” }, { “imgAltText”: “Learn to speak English audio lessons back catalogue bundle cover art.”, “productid”: 5, “salespageurl”: “/language-courses/podcast-bundle-51-100”, “salespic_arturl”: “/podcast-bundle-51-100-art”, “salespic_ctaurl”: “/podcast-bundle-51-100-cta”, “salespic_cvrurl”: “/podcast-bundle-51-100-cvr”, “salespic_sqrurl”: “/podcast-bundle-51-100-mp”, “sendowlurl”: “https://transactions.sendowl.com/products/”, “title”: “Podcast Back Catalogue 51-100 Bundle” }, { “imgAltText”: “Learn to speak English audio lessons back catalogue bundle cover art.”, “productid”: 6, “salespageurl”: “/language-courses/podcast-bundle-101-150”, “salespic_arturl”: “/podcast-bundle-101-150-art”, “salespic_ctaurl”: “/podcast-bundle-101-150-cta”, “salespic_cvrurl”: “/podcast-bundle-101-150-cvr”, “salespic_sqrurl”: “/podcast-bundle-101-150-mp”, “sendowlurl”: “https://transactions.sendowl.com/products/”, “title”: “Podcast Back Catalogue 101-150 Bundle” }, { “imgAltText”: “Learn to speak English audio lessons back catalogue bundle cover art.”, “productid”: 7, “salespageurl”: “/language-courses/podcast-bundle-151-200”, “salespic_arturl”: “/podcast-bundle-151-200-art”, “salespic_ctaurl”: “/podcast-bundle-151-200-cta”, “salespic_cvrurl”: “/podcast-bundle-151-200-cvr”, “salespic_sqrurl”: “/podcast-bundle-151-200-mp”, “sendowlurl”: “https://transactions.sendowl.com/products/”, “title”: “Podcast Back Catalogue 151-200 Bundle” }, { “imgAltText”: “In our free English course, The 7 Rules Of Adept English, we share with you valuable learning techniques that will change the way you think about learning to speak in a new language.”, “productid”: 8, “salespageurl”: “/language-courses/free-7-rules-of-adept-english”, “salespic_arturl”: “/7-rules-of-adept-english-art”, “salespic_ctaurl”: “/7-rules-of-adept-english-cta”, “salespic_cvrurl”: “/7-rules-of-adept-english-cvr”, “salespic_sqrurl”: “/7-rules-of-adept-english-mp”, “sendowlurl”: “http://7rules.adeptenglish.com/”, “title”: “The 7 Rules Of Adept English” } ], “description”: “The aim of Adeptenglish is to help you speak English fluently. Our English language teaching approach is to learn through listening. We publish two new English audio lessons, with full transcripts, weekly. Every one of our English lessons will help you learn to speak English in ways that are interesting and lead to success.”, “twitter”: “https://twitter.com/AdeptEnglish”, “production”: false, “writers”: [ { “company”: true, “description”: “Technical guy who loves the English language, how about that for a great combination.”, “fp1”: “I originally thought I would be an artist, I still love to draw and let my creative side loose when I make the cover art for the lessons and MP3 covers.”, “fp2”: “I was the guy that said we will never have a million downloads, and 1…2…3 4 million downloads later I still get reminded of that.”, “fp3”: “English is my second language, I was born in Wales and I spoke Welsh as a child and had to learn to speak English as my second language.”, “fp4”: “If you find a spelling mistake, it is almost certainly mine, everyone else who works for Adeptenglish is super clever at English spelling and grammar.”, “fp5”: “Most likely to be found drinking Pepsi Max at 2am trying to find why some part of the technology is not working.”, “name”: “Andrew”, “position”: “Founder”, “sp1”: “I am watching 24/7 to make sure the website, podcasts, email, payment processing, YouTube, Facebook, Twitter are working.”, “sp2”: “I have a degree in Computer Science, spent over 20 years making computers do useful things for people.”, “sp3”: “I built the Adeptenglish recording studio and learned the hard way that making things sound good is hard work.”, “sp4”: “Knowing that what we do works and helps people is not enough. If knobody knows you exist you cannot help them. Helping people find you on the HUGE Internet is hard work.”, “sp5”: “I’ve run a lot of companies some small and some large but none of them have been as rewarding as this one.” }, { “company”: true, “description”: “The voice of Adeptenglish, loves English and wants to help people who want to speak English fluently.”, “fp1”: “My first degree was in Latin – and although this was very enjoyable, it meant emerging into the job market without a clue what to do! Amo Amas Amat, Amamus, Amatis, Amant! It took a long time to arrive in the right career, so I have a varied work history. However, I do often know the meanings of Latin plant names – very useful!”, “fp2”: “I may be the founder, author, content writer and the face of Adept Engish, but although very dependent upon technology, I am not the brains behind the technical wizardry which enables the website and online presence (that’s Andrew!). Sometimes I am not sure how to work the 4 remote controllers for the TV in her house! And there are many technology tasks which would be a challenge! ‘I’m a avid technology user these days, but not any kind of expert’.”, “fp3”: “Before training to be a psychotherapist, I had a interest in Handwriting Analysis, as a means of understanding people’s personalities. Although ‘Graphoanalysis’ was interesting, psychotherapy did shed more light on ‘what makes people tick’.”, “fp4”: “I am from Bolton in the North West of the UK, but has lived in the south since 1991, so doesn’t know whether she is a northerner or a southerner. (‘Northerner by birth and allegiance for sure, and ‘honorary’ southerner in many respects!’).”, “fp5”: “Despite point 2 above, I did work for 20 years in the IT industry, programming on IBM Mainframe (‘That dates me!’). ‘It wasn’t the technology, it was the superbly diverse range of people I met, which made it fun. Some of them are still good friends!’”, “name”: “Hilary”, “position”: “Founder”, “sp1”: “About some things, I am a perfectionist. So that when I put out a transcript – it is correct (99.9% of the time!) And when I do a grammar podcast, I also go to great lengths to ensure that it’s correct.”, “sp2”: "Although I don’t get as much time at this as I would like, I am a language learner too! I have family in France, so have incentive to continue improving my French, then I can join in at family occasions! ", “sp3”: “My Latin language background gives me a good grounding in grammar, which is really useful for generating Adept English content.”, “sp4”: "My psychotherapy training and ‘day job’ also mean that I’m good at understanding the psychology of language learning. Helpful both in generating useful learning material for the website, but also in having empathy with language learners’ difficulties – and how to solve them! ", “sp5”: “I’ve got diverse interests and unending curiosity – about the world in general, politics, health, psychology, neuroscience, art, education, scientific discoveries, social phenomena, nature, ecology, new ‘breakthrough’ thinking. So I love going online and researching new topics, many of which I get to share with my Adept English audience – which is fantastic!” } ], “facebook”: “https://www.facebook.com/adeptenglish/”, “downloads”: [ [ “grammar”, “/downloads/grammar/” ], [ “phrases”, “/downloads/phrases/” ], [ “speaking”, “/downloads/speaking/” ], [ “listening”, “/downloads/listening/” ], [ “fluency”, “/downloads/fluency/” ], [ “pronunciation”, “/downloads/pronunciation/” ], [ “idioms”, “/downloads/idioms/” ] ], “authors”: [ [ “Hilary”, “/authors/hilary/” ], [ “Andrew”, “/authors/andrew/” ] ], “website”: “https://adeptenglish.com”, “address”: “covent gardens, westminster, london, uk, se3 f45”, “podcastchannels”: [ [ “iTunes”, “https://itunes.apple.com/gb/podcast/learn-english-through-listening/id1134891957” ], [ “Spotify”, “https://open.spotify.com/show/7ixeOS7ezPTZSaISIx2TTw” ], [ “TuneIn”, “https://tunein.com/podcasts/Educational/Learn-English-Through-Listening-p888646/” ], [ “Stitcher”, “https://www.stitcher.com/podcast/adept-english-podcast-series/learn-english-through-listening-podcast-series?refid=stpr” ], [ “BluBrry”, “https://www.blubrry.com/adeptenglish/” ], [ “PodBean”, “https://www.podbean.com/podcast-detail/qpp5u-436c6/Learn+English+Through+Listening” ], [ “Google”, “https://play.google.com/music/m/Ick5cnoda663a262rrv6cdpjtnm” ], [ “RSS”, “https://adeptenglish.com/podcast/feed/rss.xml” ], [ “PlayerFM”, “https://player.fm/series/series-1511313” ] ] }, “build_timestamp”: 1582709290 }, “currentCategory”: “lessons”, “current_path”: “lessons/learning-for-english/”, “current_url”: “http://192.168.1.96:2015/lessons/learning-for-english/”, “lang”: “en”, “page”: { “relative_path”: “lessons/article291/index.md”, “content”: "

Smart Learning For English

\n

Time to get back to basics and explain why language acquisition works so well over language learning. If your new to us, welcome to a new way of speaking English fluently and if you’re a regular listener, hello, and jump in and listen and learn your way to better English.

\n