renmu123 / obsidian-image-auto-upload-plugin

auto upload image with picgo
MIT License
327 stars 34 forks source link

Upload issues #64

Open huangjch0 opened 1 year ago

huangjch0 commented 1 year ago

This error occurs when I upload the image of the clipboard.

⚠️upload failed, check dev console

renmu123 commented 1 year ago

Please give more info,like system, ob version, picgo or picgo-core version, and can you upload by picgo clipbord feature? image

huangjch0 commented 1 year ago

system: win11 win version: win11 22h2 picgo version: 2.3.1 obsidian version: 1.0.3 image auto upload plugin version: 2.7.0 im sorry, i couldn't upload by picgo clipbord feature.

renmu123 commented 1 year ago

Can you upload by Picgo? If cannot, you may have a error picgo config. image

huangjch0 commented 1 year ago

I can upload pictures by picgo, but i couldn't upload by picgo clipbord feature.

AdamZh0u commented 1 year ago

I had the same problem and solved it by reinstalling picgo and changing the server port.

ub3132003 commented 1 year ago

同样,picgo 可以上传,但是obs里复制图片报错

<html>
<body>
<!--StartFragment--><div aria-expanded="true" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; flex: 0 0 auto; color: rgb(32, 33, 36); font-family: consolas, &quot;lucida console&quot;, &quot;courier new&quot;, monospace; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(236, 241, 248); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><span class="source-code" style="box-sizing: border-box; min-width: 0px; min-height: 0px; font-family: var(--source-code-font-family); white-space: pre-wrap; font-size: var(--source-code-font-size) !important; line-height: 1.2;"><span class="console-message-anchor" style="box-sizing: border-box; min-width: 0px; min-height: 0px; float: right; text-align: right; max-width: 100%; margin-left: 4px;"><span class="devtools-link" role="link" tabindex="-1" title="app://obsidian.md/plugin:obsidian-image-auto-upload-plugin:3830" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: var(--color-text-secondary); text-decoration: underline; cursor: pointer; word-break: break-all;"><br class="Apple-interchange-newline">plugin:obsidian-imag<span class="devtools-link-ellipsis" style="box-sizing: border-box; min-width: 0px; min-height: 0px;">…</span>-upload-plugin:3830</span> </span><span class="console-message-text" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: var(--override-error-text-color) !important;">Failed request:  <span class="object-value-error source-code" style="box-sizing: border-box; min-width: 0px; min-height: 0px; font-family: var(--source-code-font-family); white-space: pre-wrap; font-size: var(--source-code-font-size) !important; line-height: 1.2;">Error: net::ERR_CONNECTION_REFUSED
    at SimpleURLLoaderWrapper.&lt;anonymous&gt; (node:electron<span class="devtools-link" title="/js2c/browser_init" role="link" tabindex="-1" style="box-sizing: border-box; min-width: 0px; min-height: 0px; color: var(--color-text-secondary); text-decoration: underline; cursor: pointer; word-break: break-all;">/js2c/browser_init:101</span>:7167)
    at SimpleURLLoaderWrapper.emit (node:events:527:28)</span></span></span></div><div class="" role="group" style="box-sizing: border-box; min-width: 0px; min-height: 0px; flex: 0 0 auto; color: rgb(32, 33, 36); font-family: consolas, &quot;lucida console&quot;, &quot;courier new&quot;, monospace; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(236, 241, 248); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><span class="monospace" style="display: inline-block; --monospace-font-size:12px; --monospace-font-family:consolas,lucida console,courier new,monospace; --source-code-font-size:12px; --source-code-font-family:consolas,lucida console,courier new,monospace; box-sizing: border-box; min-width: 0px; min-height: 0px; font-family: var(--monospace-font-family); font-size: var(--monospace-font-size) !important;">

  | imageAutoUploadPlugin.handleFailedUpload | @ | plugin:obsidian-imag…-upload-plugin:3830
-- | -- | -- | --
  | eval | @ | plugin:obsidian-imag…-upload-plugin:3809
  | step | @ | plugin:obsidian-imag…to-upload-plugin:93
  | eval | @ | plugin:obsidian-imag…to-upload-plugin:74
  | rejected | @ | plugin:obsidian-imag…to-upload-plugin:65
  | Promise.then (async) |   |  
  | step | @ | plugin:obsidian-imag…to-upload-plugin:66
  | eval | @ | plugin:obsidian-imag…to-upload-plugin:67
  | __awaiter | @ | plugin:obsidian-imag…to-upload-plugin:63
  | imageAutoUploadPlugin.uploadFileAndEmbedImgurImage | @ | plugin:obsidian-imag…-upload-plugin:3791
  | eval | @ | plugin:obsidian-imag…-upload-plugin:3717
  | e.tryTrigger | @ | app.js:1
  | e.trigger | @ | app.js:1
  | t.trigger | @ | app.js:1
  | e.handlePaste | @ | app.js:1
  | paste | @ | app.js:1
  | e.runCustomHandlers | @ | app.js:1
  | n | @ | app.js:1
  | (anonymous) | @ | app.js:1

</span></div><!--EndFragment-->
</body>
</html>