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

chdman error / invalid line 1 error #26

Closed
FatzBomb75 opened this issue Aug 15, 2022 · 16 comments
Closed

chdman error / invalid line 1 error #26

FatzBomb75 opened this issue Aug 15, 2022 · 16 comments

Comments

@FatzBomb75
Copy link

linuxserver.io


Expected Behavior

Scanning folder of chd files for psx/3do/segacd/32x/ (posible saturn) would read files and add to list
oddly, pce chds add fine
Scanning as renamed iso (or other extension) pulls a hash and finishes the list. Then I manually edit the generated config, hash files and files to reflect chd once again and import each file (all are unknown this way).
The files do run succesfully in chd format.

attempting to rescan the same library (with chd extension) errors again and destroys the library

Current Behavior

exited code chdman doesn't exist

Steps to Reproduce

  1. add chd files to psx rom directory
  2. hit psx scan
  3. error and scanner stops (also destroys existing list if there was one)
    Scan exited with code: 127
    /usr/local/bin/chdman: line 1: Public: command not found

Environment

Unraid
x64
linuxserver.io CA

Command used to create docker container (run/create/compose/screenshot)

CA install

Docker logs

no error listed in log

@project-bot project-bot bot added this to To do in Issue & PR Tracker Aug 15, 2022
@github-actions
Copy link

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

@FatzBomb75
Copy link
Author

I want to add, obviously chdman doesn't exists on the system. I tried running the script to pull the image and it fails to place it in the /usr/local/bin/ folder. Assuming permissions. I can run the command and have it download to a share folder without issue, however, emulatorjs still errors out, even if mapping the folder /usr/local/bin/ to my share.

@amazing-rando
Copy link

I'm having the exact same issue. When I look at the chdman file that exists in the latest docker image, its clear that its just a text file containing the following line:

"Public Gateway Is Not Supported Anymore - Setup a Dedicated Gateway"

I tried moving the file over from a recent install of the Ubuntu package mame-tools, however, this did not work.

@owenb321
Copy link

I was able to work around this by opening a bash shell in the running container and running the curl and chmod commands from the dockerfile that download the chdman binary.

Seems like that download step failed when the latest image was built.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@serverless83
Copy link

serverless83 commented Sep 24, 2022

The Domain ipfs.infura.io isn't active anymore. Use infura-ipfs.io, this is the message inside the chdman file.

Solved installing a previous release of the docker image.

@lauschin
Copy link

@serverless83 Which version fixed it for you?

@serverless83
Copy link

@serverless83 Which version fixed it for you?

linuxserver/emulatorjs:1.7.2-ls42

@Bidonh
Copy link

Bidonh commented Oct 9, 2022

@serverless83 Which version fixed it for you?

linuxserver/emulatorjs:1.7.2-ls42

Thanks.
I had an error with .chd files as well.

Scan exited with code: 2
syntax error: unexpected end of file
/usr/local/bin/chdman: line 2:
unexpected EOF while looking for matching `''
/usr/local/bin/chdman: line 1:
processing game.chd

And using that version solved that problem.

@xlorepdarkhelm
Copy link

I will also note, I had the same problem, and using the same version corrected the problem.

In the latest build, if I run chdman in the container, it is broken. But linuxserver/emulatorjs:1.7.2-ls42 is working.

@Bidonh
Copy link

Bidonh commented Oct 21, 2022

After using the PSX rom management, I noticed that when you scan for new roms, CHDMAN process ALL the roms not just the new ones.

My mistake, there is such a fonction in rom management>psx>scan for new items at the bottom of the column.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@Hypertoken
Copy link

Not sure if my issue is exactly this as it appears this issue have been resolved with this commit

When I cat chdman I get;

root@8d3e8300a47b:/usr/local/bin# ls
NES20Tool  binmerge  chdman
root@8d3e8300a47b:/usr/local/bin# cat chdman
<html>
<head><title>429 Too Many Requests</title></head>
<body>
<center><h1>429 Too Many Requests</h1></center>
<hr><center>openresty</center>
</body>
</html>

So maybe the new url is just getting slammed?

I was able to work around the issue my manually running in my docker container;

curl -L "https://infura-ipfs.io/ipfs/QmUfYfuoxPgDRc9Mniv1TBXv6LXPRNArAabZo5VnzfZNtP" -o /usr/local/bin/chdman
chmod +x /urs/local/bin/chdman

@Bidonh
Copy link

Bidonh commented Mar 25, 2023

So maybe the new url is just getting slammed?

No, I just tried the linuxserver/emulatorjs:1.7.2-ls53 container and I still got a chdman error while the linuxserver/emulatorjs:1.7.2-ls42 works great.
Except for IPFS daemon cpu+bandwidth usage...

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 24, 2023
Issue & PR Tracker automation moved this from To do to Done Jun 24, 2023
@github-actions
Copy link

This issue is locked due to inactivity

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

No branches or pull requests

8 participants