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

"No such file or directory" on application run #7

Open
svilenkov opened this issue Jul 29, 2013 · 10 comments
Open

"No such file or directory" on application run #7

svilenkov opened this issue Jul 29, 2013 · 10 comments

Comments

@svilenkov
Copy link

The issue #6 says that we should clone the git repo and install from there since it has the latest bugfixes. However when I run the version from the website linuxband-12.02.1 The program runs but encounters that startup error as mentioned in the issue #6.

I've cloned the repo
used autogen.sh then used the standard ./configure make etc... procedure. It all went fine, but when i run linuxband or /usr/bin/linuxband I get this immediate ouput:

bash-4.2$ /usr/bin/linuxband &
[1] 29036
: No such file or directoryhon
@noseka1
Copy link
Owner

noseka1 commented Jul 29, 2013

Could you send us the output of:
strace -f -s 1000 -e open /usr/bin/linuxband

@svilenkov
Copy link
Author

469   open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
469   open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
469   open("/usr/lib64/locale/locale-archive", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
469   open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
469   open("/usr/lib64/locale/en_US/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3
469   open("/usr/lib64/locale/en_US/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = 3
469   open("/usr/lib64/locale/en_US/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = 3
469   open("/usr/lib64/locale/en_US/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = 3
469   open("/usr/lib64/locale/en_US/LC_NAME", O_RDONLY|O_CLOEXEC) = 3
469   open("/usr/lib64/locale/en_US/LC_PAPER", O_RDONLY|O_CLOEXEC) = 3
469   open("/usr/lib64/locale/en_US/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3
469   open("/usr/lib64/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3
469   open("/usr/lib64/locale/en_US/LC_MONETARY", O_RDONLY|O_CLOEXEC) = 3
469   open("/usr/lib64/locale/en_US/LC_TIME", O_RDONLY|O_CLOEXEC) = 3
469   open("/usr/lib64/locale/en_US/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = 3
469   open("/usr/lib64/locale/en_US/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3
469   open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
469   open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)

@noseka1
Copy link
Owner

noseka1 commented Jul 29, 2013

Looks like your strace output got truncated. Can repost the full output?

@noseka1 noseka1 closed this as completed Jul 29, 2013
@svilenkov
Copy link
Author

I did
strace -o strace.log -f -s 1000 -e open /usr/bin/linuxband

Here's the strace.log http://pastebin.com/NUrejtJP

@svilenkov
Copy link
Author

Here's with -v verbose=all arguments
http://pastebin.com/KRbeLGn3

@noseka1
Copy link
Owner

noseka1 commented Jul 29, 2013

It looks like you don't have Python installed. There's no 'python' executable on your PATH. After you'll install Python >= 2.5 you can try command:
/usr/bin/env python
to check that the Python is installed properly.

@noseka1 noseka1 reopened this Jul 29, 2013
@svilenkov
Copy link
Author

I have installed
pygtk-2.24.0-x86_64-1
pygtksourceview-2.10.1-x86_64-1_SBo
python-2.7.4-x86_64-1
packages

bash-4.2$ python
Gives me:
Python 2.7.4 (default, Apr 7 2013, 11:58:11)

Maybe an environment variable setting. Weird because I could run the version from the website and not the one from git.

@svilenkov
Copy link
Author

the /usr/bin/env doesn\t show me anthing regarding python, though it seems to be installed on the system. I'm using Slackware 14.1 Current 64

@noseka1
Copy link
Owner

noseka1 commented Jul 30, 2013

On the Slackware the python executable seems to be /usr/bin/python2.7. You can start LinuxBand with:
/usr/bin/python2.7 /usr/bin/linuxband &

Or you can create a symbolic link and start like this:
sudo ln -s /usr/bin/python2.7 /usr/bin/python
/usr/bin/linuxband &

The /usr/bin/env doesn't show you anything? What's the output of:
type python

Isn't python just an alias to /usr/bin/python2.7? That would explain it.

@svilenkov
Copy link
Author

I've edited the /usr/bin/linuxband
#!/usr/bin/env python -> #!/usr/bin/python

Also had to fix the ^M line ending formatting issue with the dos2unix utili on that script. And now the application can run. Although I'm having some mma issues and cant produce the sound, but that's not the topic of this issue, I'll check the installation of mma first.

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

2 participants