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

DMR ID update trouble #2

Closed
RecepAGulec opened this issue Jun 3, 2020 · 6 comments
Closed

DMR ID update trouble #2

RecepAGulec opened this issue Jun 3, 2020 · 6 comments

Comments

@RecepAGulec
Copy link

RecepAGulec commented Jun 3, 2020

After upgrade to v0.9 dmr id update does not work.
When I want to update DMR ids get following error message:

pi@raspberrypi:/opt/DMRStation $ sudo ./DMRIDUpdate.sh
ls: cannot access './DMRIds.dat.*': No such file or directory
parse error: Invalid numeric literal at line 1, column 10

@ea3ihi
Copy link
Owner

ea3ihi commented Jun 4, 2020

Have you updated the DMRIDUpdate.sh script? There is a new url to download the database, the new url is:

https://database.radioid.net/api/dmr/user/?id=%

You can check the url in the last lines of the scripts

@RecepAGulec
Copy link
Author

Solved. That was my fault.

@ea3ihi ea3ihi closed this as completed Jun 4, 2020
@ea3ihi
Copy link
Owner

ea3ihi commented Jun 4, 2020

Ok, thanks for confirming

@MM6NRK
Copy link

MM6NRK commented Jun 4, 2020

I get this when i run it with you new url .

pi@raspberrypi:~ $ cd /opt
pi@raspberrypi:/opt $ cd DMRStation
pi@raspberrypi:/opt/DMRStation $ sudo ./DMRIDUpdate.sh
./DMRIDUpdate.sh: line 95: unexpected EOF while looking for matching `''
./DMRIDUpdate.sh: line 98: syntax error: unexpected end of file

@MM6NRK
Copy link

MM6NRK commented Jun 4, 2020

Generate new file

curl -s -N "https://database.radioid.net/api/dmr/user/?id=% | jq -r '.results[] | [.id, .callsign, .fname] | @csv' | sed -e 's/"//g' | sed -e 's/,/ /g' > ${DMRIDFILE}

@MM6NRK
Copy link

MM6NRK commented Jun 4, 2020

ok got it sorted all is good now .

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

3 participants