Bash Module Line 1 Syntax Error Unexpected End Of File
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the syntax error unexpected end of file bash script workings and policies of this site About Us Learn more about Stack
Syntax Error Unexpected End Of File Php
Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs syntax error unexpected end of file wordpress Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; syntax error unexpected end of file shell script it only takes a minute: Sign up 'Unexpected end of file' and 'error importing function definition' error running shellscript using qsub up vote 8 down vote favorite 1 I have the following shellscript: #!/bin/sh cd /sw/local/bin/ export LD_LIBRARY_PATH=/sw/local/lib:/usr/local/Trolltech/Qt-4.7.2/lib:$LD_LIBRARY_PATH ./FeatureFinderRaw -in /homes/JG-C1-18.mzML -out /homes/test_remove_after_use.featureXML -threads 20 It works fine when I run it from my own command line, but when
Syntax Error Unexpected End Of File Python
I try to do: qsub -q ningal.q -cwd -V -o /homes/queue.out -e /queue.err featureFind_C1-18_20t.sh I get the following error: /bin/sh: module: line 1: syntax error: unexpected end of file /bin/sh: error importing function definition for `module' ./FeatureFinderRaw: error while loading shared libraries: libOpenMS.so: cannot open shared object file: No such file or directory /bin/sh: module: line 1: syntax error: unexpected end of file /bin/sh: error importing function definition for `module' ./FeatureFinderRaw: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory /bin/sh: module: line 1: syntax error: unexpected end of file /bin/sh: error importing function definition for `module' ./FeatureFinderRaw: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory /bin/bash: module: line 1: syntax error: unexpected end of file /bin/bash: error importing function definition for `module' ./FeatureFinderRaw: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory /bin/sh: module: line 1: syntax error: unexpected end of file /bin/sh: error importing function definition for `module' ./FeatureFinderRaw: error while loading sh
Support Search GitHub This repository Watch 164 Star 1,478 Fork 738 drush-ops/drush Code Issues 347 Pull requests 91 Projects syntax error unexpected end of file unix 0 Wiki Pulse Graphs New issue BASH 4.3.42 Errors - error syntax error unexpected end of file laravel importing fucntion definition for BASH_FUNC_module Fedora 23 (F23) #2065 Open taz77 opened this Issue Mar 13, 2016
Syntax Error Unexpected End Of File Expecting Function (t_function)
· 20 comments Projects None yet Labels type-bug Milestone No milestone Assignees greg-1-anderson 7 participants taz77 commented Mar 13, 2016 I have been trying to resolve this but http://stackoverflow.com/questions/10496758/unexpected-end-of-file-and-error-importing-function-definition-error-running I haven't been able to on my own. Hoping someone else here has some insight. Running the latest Drush (via Composer global install) I get errors in bash on Fedora 23 which is using Bash version 4.3.42. This error: sh: scl: line 1: syntax error: unexpected end of file sh: error importing function definition for `BASH_FUNC_scl' and: https://github.com/drush-ops/drush/issues/2065 sh: module: line 1: syntax error: unexpected end of file sh: error importing function definition for `BASH_FUNC_module' Repeats itself eight times per drush call. Drush still runs without a problem. Just blasts your terminal with loads of text. I have axed the .drush/ folder and re-run drush init. That does not change the problem. Googling the error gets a lot of hits for many other issues. Ideas? Drush member weitzman commented Mar 17, 2016 No idea. Try Drupal Answers. weitzman closed this Mar 17, 2016 taz77 commented Mar 20, 2016 The problem is with Drush and the latest version of Bash shell. That is why I posted this here. taz77 commented Mar 20, 2016 https://stackoverflow.com/questions/10496758/unexpected-end-of-file-and-error-importing-function-definition-error-running mtift commented Apr 25, 2016 I have also experienced this problem on Fedora. It's not clear to me where to put the unset module command. taz77 commented Apr 26, 2016 Agreed. It's a compatibility issue that will grow once the newer versions of bash are more mainstream. They just don't realize it he
[x] Format For Printing -XML -Clone This Bug -Last Comment First Last Prev Next https://bugzilla.redhat.com/show_bug.cgi?id=1172381 This bug is not in your last search results. Bug1172381 - bash: error importing function definition for `BASH_FUNC_module' Summary: bash: error importing function definition for `BASH_FUNC_module' http://way2ebsupgrade.blogspot.com/2015/03/r122x-error-sh-module-line-1-syntax.html Status: CLOSED EOL Aliases: None Product: Fedora Classification: Fedora Component: konsole (Show other bugs) Sub Component: --- Version: 20 Hardware: Unspecified Unspecified Priority unspecified Severity unspecified syntax error TargetMilestone: --- TargetRelease: --- Assigned To: Ngo Than QA Contact: Fedora Extras Quality Assurance Docs Contact: URL: Whiteboard: Keywords: Depends On: Blocks: Show dependency tree /graph Reported: 2014-12-09 19:11 EST by Rex Dieter Modified: 2015-06-29 19:46 EDT (History) CC List: 14 users (show) fweimer hgkamath john.haxby jreznik jsynacek kde-sig kevin ltinkl syntax error unexpected mmaslano orion rdieter rnovacek than tmraz See Also: 1147043 Fixed In Version: Doc Type: Bug Fix Doc Text: Story Points: --- Clone Of: Clones: 1306804 (view as bug list) Environment: Last Closed: 2015-06-29 19:46:43 EDT Type: Bug Regression: --- Mount Type: --- Documentation: --- CRM: Verified Versions: Category: --- oVirt Team: --- RHEL 7.3 requirements from Atomic Host: Cloudforms Team: --- Attachments (Terms of Use) requested log.txt (6.18 KB, text/plain) 2015-01-23 15:42 EST, Rex Dieter no flags Details diff_ansi_gnometerminal.txt (4.43 KB, text/plain) 2015-02-08 00:35 EST, Ganapathi Kamath no flags Details diff_ansi_gnometerminal_exports.txt (3.62 KB, text/plain) 2015-02-08 00:40 EST, Ganapathi Kamath no flags Details Add an attachment (proposed patch, testcase, etc.) Groups: None (edit) Description Rex Dieter 2014-12-09 19:11:19 EST I *think* this started recently with bash security fixes... opening a konsole now gives initial output: bash: module: line 1: syntax error: unexpected end of file bash: error importing function definition for `BASH_FUNC_module' $ rpm -q bash environment-modules bash-4.2.