Giter Club home page Giter Club logo

Comments (9)

ollm avatar ollm commented on July 29, 2024 1

It seems that I have found the cause of the bug, in some places in OpenComic the two backslashes were removed in the path of files share over a network bab197f

Since you are opening the files from the file explorer, you do not need to configure the server from settings.

Build with fix: https://mega.nz/file/zbx3maAK#UP67deOXFB39shZGfinJgTYjhuH2JRri_v-sVMoBUug

from opencomic.

ollm avatar ollm commented on July 29, 2024

What protocol are you using? From the capture it seems that he has not specified it.
Have you configured the server from OpenComic settings? or are you using some other method?

from opencomic.

pein0saga avatar pein0saga commented on July 29, 2024

What protocol are you using? From the capture it seems that he has not specified it. Have you configured the server from OpenComic settings? or are you using some other method?

SMB server of my synology NAS.

from opencomic.

pein0saga avatar pein0saga commented on July 29, 2024

image
I connect smb just with ip and it is hidden from explorer for security. (smb version > 2.0)

I tried the server option but cannot connect.
image

I think in windows we should use \\192.xxxx\folder, and smb:// address format is just for mac and Linux

But I can only write with smb:// address in your configration of opencomic in WIN os, other format cannot be saved

from opencomic.

ollm avatar ollm commented on July 29, 2024

I think in windows we should use \192.xxxx\folder, and smb:// address format is just for mac and Linux
But I can only write with smb:// address in your configration of opencomic in WIN os, other format cannot be saved

I don't think this is the cause of the problem, the library used to connect to smb servers uses the slash / for directories.

I have made some changes to show more detailed error messages when connecting to a server c80bcbc
Build: https://mega.nz/file/rWAyAJJA#NIOv9FVVXV14Z1UBkvQbzXtBtUKnppVPUYhQuDTMIQE


You can check if the smb server appears in file explorer and if you can connect to it (Only if you have network discovery activated).

Captura de pantalla 2024-05-27 082841

Also, make sure that the path is correct, the path must include at least the main folder, if you can access it from the file explorer, in my case it would have to start with the one that is marked, like this smb://192.168.1.107/Users/Llopart/Pictures/OC Test

Captura de pantalla 2024-05-27 083853

Finally, if the above has not worked, you can check in the console if there are any more errors, and show me a screenshot of them, for example, in this screenshot the pc/smb I am trying to access is not connected to the local network.

Captura de pantalla 2024-05-27 082908

from opencomic.

pein0saga avatar pein0saga commented on July 29, 2024
C:\Program Files\OpenComic\resources\app.asar\scripts\dom.js:753 Error: ENOENT: no such file or directory, stat '\\192.168.2.12\SortNew\192.168.2.12\SortNew\0_Manga_local\Maid\A\赤月みゅうと\[赤月みゅうと] 異世界ハーレムパラダイス♡ .cbz'
    at statSync (node:fs:1668:25)
    at t.statSync (node:electron/js2c/node_init:2:5052)
    at containsCompressed (C:\Program Files\OpenComic\resources\app.asar\scripts\file-manager.js:2891:86)
    at file.read (C:\Program Files\OpenComic\resources\app.asar\scripts\file-manager.js:62:11)
    at file.images (C:\Program Files\OpenComic\resources\app.asar\scripts\file-manager.js:459:36)
    at Object.loadIndexPage (C:\Program Files\OpenComic\resources\app.asar\scripts\dom.js:749:24)
    at openComic (opencomic.js:1258:8)
    at startApp (opencomic.js:442:3)
    at opencomic.js:405:3
    at C:\Program Files\OpenComic\resources\app.asar\scripts\storage.js:630:3
loadIndexPage @ C:\Program Files\OpenComic\resources\app.asar\scripts\dom.js:753
C:\Program Files\OpenComic\resources\app.asar\scripts\server-client.js:307 Error: connection | request_timeout: Negotiate(0)
    at client.connectSmb (C:\Program Files\OpenComic\resources\app.asar\scripts\server-client.js:655:10)
    at async client.readSmb (C:\Program Files\OpenComic\resources\app.asar\scripts\server-client.js:668:13)
    at async client.read (C:\Program Files\OpenComic\resources\app.asar\scripts\server-client.js:289:12)
    at async file.readServer (C:\Program Files\OpenComic\resources\app.asar\scripts\file-manager.js:320:12)
    at async Object.loadIndexPage (C:\Program Files\OpenComic\resources\app.asar\scripts\dom.js:511:18)
read @ C:\Program Files\OpenComic\resources\app.asar\scripts\server-client.js:307
C:\Program Files\OpenComic\resources\app.asar\scripts\server-client.js:257 connection
snackbarError @ C:\Program Files\OpenComic\resources\app.asar\scripts\server-client.js:257

from opencomic.

pein0saga avatar pein0saga commented on July 29, 2024

image

from opencomic.

pein0saga avatar pein0saga commented on July 29, 2024

I can open from \192.168.X.X now, thank you.

from opencomic.

pein0saga avatar pein0saga commented on July 29, 2024

Moreover, I can also add folders from server directly now.

image

from opencomic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.