I am trying to run the newsite code locally, but I am getting a very strange issue which I thought may be related to the changes, but checking out the main branch results in the same problem.
Anyway, here is what's happening:
First of all I check out main
This is what the utils directory looks like:
.rwxr-xr-x 2.0k paul 24 Jul 11:21 check-dependencies.sh
.rwxr-xr-x 5.6k paul 24 Jul 11:21 lib_utils.sh
.rwxr-xr-x 9.2k paul 24 Jul 11:21 mysql2sqlite
drwxr-xr-x - paul 20 Mar 14:17 tmp.FHgFpPNT3D
drwxr-xr-x - paul 20 Mar 22:13 tmp.oJCJcQvYhb
.rwxr-xr-x 1.7k paul 24 Jul 11:21 update-hpr-db.sh
.rwxr-xr-x 2.1k paul 24 Jul 11:21 update-hpr.sh
I then run ./utils/update-hpr.sh to get the latest database and update the site. This is the output:
No temporary hpr.sql to remove
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 18.3M 100 18.3M 0 0 5441k 0 0:00:03 0:00:03 --:--:-- 5442k
Downloaded hpr.sql via curl
68
which: no mysql2sqlite in (/home/paul/go/bin:/home/paul/perl5/bin:/home/paul/bin:/home/paul/.local/bin:/home/paul/.cargo/bin:/home/paul/.cargo/bin:/home/paul/.bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/20/bin:/usr/lib/llvm/19/bin:/usr/lib/llvm/18/bin:/usr/lib64/opencascade/bin)
./utils//
memory
Created hpr.db
Update static HTML files
No local changes to save
Already up to date.
Auto-merging GETTING_STARTED.md
CONFLICT (content): Merge conflict in GETTING_STARTED.md
Auto-merging README.md
CONFLICT (content): Merge conflict in README.md
Auto-merging site.cfg
CONFLICT (content): Merge conflict in site.cfg
On branch newsite
Your branch is up to date with 'origin/newsite'.
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
modified: public_html/images/hosts/374.png
modified: public_html/press/2024-07_RSGB_RadCom_Vol_100_Num_07.pdf
modified: public_html/promos/HPRpromoKlaatu.ogg
modified: public_html/promos/HPRpromoNewsCast.ogg
modified: public_html/promos/HPRpromoSkirlet.ogg
modified: public_html/promos/hpr-contributor-promo-basenettheme.ogg
modified: public_html/promos/hpr-contributor-promo-sax.ogg
modified: public_html/promos/hpr-nye-promo.ogg
modified: site-generator
modified: utils/check-dependencies.sh
modified: utils/lib_utils.sh
modified: utils/mysql2sqlite
modified: utils/update-hpr-db.sh
modified: utils/update-hpr.sh
Unmerged paths:
(use "git restore --staged <file>..." to unstage)
(use "git add <file>..." to mark resolution)
both modified: GETTING_STARTED.md
both modified: README.md
both modified: site.cfg
Untracked files:
(use "git add <file>..." to include in what will be committed)
hpr.db
public_html/comments.rss
public_html/hpr.sql
public_html/hpr_mp3.rss
public_html/hpr_ogg.rss
public_html/hpr_spx.rss
public_html/hpr_total_mp3.rss
public_html/hpr_total_ogg.rss
public_html/hpr_total_spx.rss
utils/tmp.FgNgL2OenT/
utils/tmp.oJCJcQvYhb/
The stash entry is kept in case you need it again.
./utils/update-hpr.sh: line 70: ./site-generator: Permission denied
68
Deleted temp working directory /home/paul/Nextcloud/projects/HPR/hpr_generator/utils/tmp.FgNgL2OenT
Notice the error for ./site-generator: Permission denied. Well, the execute flag on that file is no longer set. Also, when looking into the utils directory, the permissions have changed there as well:
❯ ls -la utils/
.rw-r--r-- 2.0k paul 24 Jul 11:27 check-dependencies.sh
.rw-r--r-- 5.6k paul 24 Jul 11:27 lib_utils.sh
.rw-r--r-- 9.2k paul 24 Jul 11:27 mysql2sqlite
drwxr-xr-x - paul 20 Mar 14:17 tmp.FHgFpPNT3D
drwxr-xr-x - paul 20 Mar 22:13 tmp.oJCJcQvYhb
.rw-r--r-- 1.7k paul 24 Jul 11:27 update-hpr-db.sh
.rw-r--r-- 2.1k paul 24 Jul 11:27 update-hpr.sh
I am fully aware this could be a result of a local issue on my system, but wondered if any of you have seen this problem before or could give me a pointer as to where to look. I have looked through the code in update-hpr.sh, and can see nothing there that would result in this change. I'm baffled!
I am trying to run the newsite code locally, but I am getting a very strange issue which I thought may be related to the changes, but checking out the main branch results in the same problem.
Anyway, here is what's happening:
- First of all I check out main
- This is what the utils directory looks like:
```❯ ls -la utils
.rwxr-xr-x 2.0k paul 24 Jul 11:21 check-dependencies.sh
.rwxr-xr-x 5.6k paul 24 Jul 11:21 lib_utils.sh
.rwxr-xr-x 9.2k paul 24 Jul 11:21 mysql2sqlite
drwxr-xr-x - paul 20 Mar 14:17 tmp.FHgFpPNT3D
drwxr-xr-x - paul 20 Mar 22:13 tmp.oJCJcQvYhb
.rwxr-xr-x 1.7k paul 24 Jul 11:21 update-hpr-db.sh
.rwxr-xr-x 2.1k paul 24 Jul 11:21 update-hpr.sh
```
- I then run `./utils/update-hpr.sh` to get the latest database and update the site. This is the output:
```68
No temporary hpr.sql to remove
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 18.3M 100 18.3M 0 0 5441k 0 0:00:03 0:00:03 --:--:-- 5442k
Downloaded hpr.sql via curl
68
which: no mysql2sqlite in (/home/paul/go/bin:/home/paul/perl5/bin:/home/paul/bin:/home/paul/.local/bin:/home/paul/.cargo/bin:/home/paul/.cargo/bin:/home/paul/.bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/20/bin:/usr/lib/llvm/19/bin:/usr/lib/llvm/18/bin:/usr/lib64/opencascade/bin)
./utils//
memory
Created hpr.db
Update static HTML files
No local changes to save
Already up to date.
Auto-merging GETTING_STARTED.md
CONFLICT (content): Merge conflict in GETTING_STARTED.md
Auto-merging README.md
CONFLICT (content): Merge conflict in README.md
Auto-merging site.cfg
CONFLICT (content): Merge conflict in site.cfg
On branch newsite
Your branch is up to date with 'origin/newsite'.
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
modified: public_html/images/hosts/374.png
modified: public_html/press/2024-07_RSGB_RadCom_Vol_100_Num_07.pdf
modified: public_html/promos/HPRpromoKlaatu.ogg
modified: public_html/promos/HPRpromoNewsCast.ogg
modified: public_html/promos/HPRpromoSkirlet.ogg
modified: public_html/promos/hpr-contributor-promo-basenettheme.ogg
modified: public_html/promos/hpr-contributor-promo-sax.ogg
modified: public_html/promos/hpr-nye-promo.ogg
modified: site-generator
modified: utils/check-dependencies.sh
modified: utils/lib_utils.sh
modified: utils/mysql2sqlite
modified: utils/update-hpr-db.sh
modified: utils/update-hpr.sh
Unmerged paths:
(use "git restore --staged <file>..." to unstage)
(use "git add <file>..." to mark resolution)
both modified: GETTING_STARTED.md
both modified: README.md
both modified: site.cfg
Untracked files:
(use "git add <file>..." to include in what will be committed)
hpr.db
public_html/comments.rss
public_html/hpr.sql
public_html/hpr_mp3.rss
public_html/hpr_ogg.rss
public_html/hpr_spx.rss
public_html/hpr_total_mp3.rss
public_html/hpr_total_ogg.rss
public_html/hpr_total_spx.rss
utils/tmp.FgNgL2OenT/
utils/tmp.oJCJcQvYhb/
The stash entry is kept in case you need it again.
./utils/update-hpr.sh: line 70: ./site-generator: Permission denied
68
Deleted temp working directory /home/paul/Nextcloud/projects/HPR/hpr_generator/utils/tmp.FgNgL2OenT
```
Notice the error for ./site-generator: Permission denied. Well, the execute flag on that file is no longer set. Also, when looking into the utils directory, the permissions have changed there as well:
```
❯ ls -la utils/
.rw-r--r-- 2.0k paul 24 Jul 11:27 check-dependencies.sh
.rw-r--r-- 5.6k paul 24 Jul 11:27 lib_utils.sh
.rw-r--r-- 9.2k paul 24 Jul 11:27 mysql2sqlite
drwxr-xr-x - paul 20 Mar 14:17 tmp.FHgFpPNT3D
drwxr-xr-x - paul 20 Mar 22:13 tmp.oJCJcQvYhb
.rw-r--r-- 1.7k paul 24 Jul 11:27 update-hpr-db.sh
.rw-r--r-- 2.1k paul 24 Jul 11:27 update-hpr.sh
```
- I am fully aware this could be a result of a local issue on my system, but wondered if any of you have seen this problem before or could give me a pointer as to where to look. I have looked through the code in update-hpr.sh, and can see nothing there that would result in this change. I'm baffled!
Seems strange, but if I clone the repo fresh, then I don't get the issue, so there must be something about the contents of the existing repo which is causing the problem. I will close this, as it clearly isn't an issue with the contents of the repo.
Seems strange, but if I clone the repo fresh, then I don't get the issue, so there must be something about the contents of the existing repo which is causing the problem. I will close this, as it clearly isn't an issue with the contents of the repo.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I am trying to run the newsite code locally, but I am getting a very strange issue which I thought may be related to the changes, but checking out the main branch results in the same problem.
Anyway, here is what's happening:
./utils/update-hpr.shto get the latest database and update the site. This is the output:Notice the error for ./site-generator: Permission denied. Well, the execute flag on that file is no longer set. Also, when looking into the utils directory, the permissions have changed there as well:
Seems strange, but if I clone the repo fresh, then I don't get the issue, so there must be something about the contents of the existing repo which is causing the problem. I will close this, as it clearly isn't an issue with the contents of the repo.