FS#59026 - [solfege] No such file or directory: '/share/solfege'

Attached to Project: Community Packages
Opened by Jorge Villaseñor (salinasv) - Saturday, 16 June 2018, 04:43 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 04 July 2018, 04:23 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Solfage won't start because it tries to find /share/solfege which don't exist. I think there may be a bug on the prefix since there is a /usr/share/solfege

Additional info:
* package version(s): 3.22.2-5
* config and/or log files etc.
➜ ~ solfege
Traceback (most recent call last):
File "/bin/solfege", line 38, in <module>
os.chdir(os.path.join(prefix, "share", "solfege"))
OSError: [Errno 2] No such file or directory: '/share/solfege'

Steps to reproduce:
try to run solfege from command line (to see stderr)
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 04 July 2018, 04:23 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Monday, 18 June 2018, 14:45 GMT
Do you have /bin in your $PATH?
Comment by Jorge Villaseñor (salinasv) - Wednesday, 04 July 2018, 04:02 GMT
  • Field changed: Percent Complete (100% → 0%)
Sorry for the delay, the mail went to a wrong folder on my email.

I don't have /bin on my path, I added it, tried again and I get the same error.

Comment by Doug Newgard (Scimmia) - Wednesday, 04 July 2018, 04:03 GMT
It shouldn't be in your $PATH. How are you running /bin/solfege if /bin isn't in $PATH?
Comment by Jorge Villaseñor (salinasv) - Wednesday, 04 July 2018, 04:18 GMT
nevermind. I checked again and I do have /bin in my $PATH. So, I guess this is a configuration issue on my side.
Thanks for pointing it up. I need to verify where is it being added to my $PATH (I'm using oh-my-zsh, I suspect on it).

You can close this bug.

Sill, I'm a little bit confused by this: I looked at pacman -Ql and it doesn't mention /bin/solfege. But if I pacman -Qo on /bin/solfege it says it's owned by solfege 3.22.2-5.
How is it that the file is there, installed by pacman but is not shown on pacman -Ql? I checked and it's a regular file, not a link

➜ ~ pacman -Ql solfege | grep "/bin/"
solfege /usr/bin/
solfege /usr/bin/solfege
solfege /usr/share/solfege/exercises/standard/lesson-files/bin/
solfege /usr/share/solfege/exercises/standard/lesson-files/bin/csound-play-harmonic-interval.sh

➜ ~ pacman -Qo /bin/solfege
/usr/bin/solfege is owned by solfege 3.22.2-5

➜ ~ ls -l /bin/solfege
-rwxr-xr-x 1 root root 2428 jun 5 08:12 /bin/solfege
Comment by Eli Schwartz (eschwartz) - Wednesday, 04 July 2018, 04:22 GMT

Loading...