Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the tweet shortcode cann't work #139

Open
wangjiaxuan666 opened this issue Aug 17, 2019 · 2 comments
Open

the tweet shortcode cann't work #139

wangjiaxuan666 opened this issue Aug 17, 2019 · 2 comments

Comments

@wangjiaxuan666
Copy link

I write a markdown which has the line code {{< tweet 1162763799960739841 >}}
but i recieve the warning, it didn't work

@salmanulfarzy
Copy link
Contributor

Could you please share your log ?

@wangjiaxuan666
Copy link
Author

Thank you very much
This is the situation of my problem:

when I insert the shortcode {{< tweet 1162763799960739841 >}}in the bolg post, the error message.

the message is

> blogdown:::serve_site()
Building sites 鈥?WARN 2019/08/29 17:20:03 Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function.
WARN 2019/08/29 17:20:03 make non-relative ref/relref page reference(s) in page %q absolute, e.g. {{< ref "/blog/my-post.md" >}}
Total in 10076 ms
Error: Error building site: "D:\myweb2\nuo\content\post\2019-08-17-the-scrna-sequence-analysis-pipe-and-theory.md:1:1": timed out initializing value. This is most likely a circular loop in a shortcode
Building sites 鈥?WARN 2019/08/29 17:20:13 Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function.
WARN 2019/08/29 17:20:13 make non-relative ref/relref page reference(s) in page %q absolute, e.g. {{< ref "/blog/my-post.md" >}}
ERROR 2019/08/29 17:20:14 Failed to get JSON resource "https://api.twitter.com/1/statuses/oembed.json?id=1162763799960739841&dnt=false": Get https://api.twitter.com/1/statuses/oembed.json?id=1162763799960739841&dnt=false: dial tcp 31.13.72.54:443: connectex: No connection could be made because the target machine actively refused it.
Total in 11457 ms
Error: Error building site: "D:\myweb2\nuo\content\post\2019-08-17-the-scrna-sequence-analysis-pipe-and-theory.md:1:1": timed out initializing value. This is most likely a circular loop in a shortcode
系统找不到指定的路径。
Error in shell(cmd, mustWork = TRUE, intern = intern) : 
  '"C:\Users\woney\AppData\Roaming\Hugo\hugo.exe" -b / -D -F -d "public" --themesDir themes -t hugo-nuo' execution failed with error code 1

BUT, when i delete the shortcode {{< tweet 1162763799960739841 >}}, the hugo creat website successfully. this is message:

> blogdown:::serve_site()
Building sites 鈥?WARN 2019/08/29 17:21:03 Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function.
WARN 2019/08/29 17:21:03 make non-relative ref/relref page reference(s) in page %q absolute, e.g. {{< ref "/blog/my-post.md" >}}

                   | EN   
+------------------+-----+
  Pages            |  58  
  Paginator pages  |   2  
  Non-page files   |  12  
  Static files     | 165  
  Processed images |   0  
  Aliases          |  12  
  Sitemaps         |   1  
  Cleaned          |   0  

Total in 275 ms
To stop the server, run servr::daemon_stop(1) or restart your R session
Serving the directory D:\myweb2\nuo at http://127.0.0.1:4321

I didn't change the tweet shortcode , maybe , I want to view it but i can't where the tweet shortcode hide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants