Include the Tcl/Tk dependencies that are needed for script GUIs#199
Open
probonopd wants to merge 2 commits intoHOST-Oman:ctlfrom
Open
Include the Tcl/Tk dependencies that are needed for script GUIs#199probonopd wants to merge 2 commits intoHOST-Oman:ctlfrom
probonopd wants to merge 2 commits intoHOST-Oman:ctlfrom
Conversation
To prevent
```Traceback (most recent call last):
File "<string>", line 10, in <module>
File "././/share/scribus/scripts/FontSample.py", line 1577, in <module>
main_wrapper(sys.argv)
File "././/share/scribus/scripts/FontSample.py", line 1562, in main_wrapper
main(argv)
File "././/share/scribus/scripts/FontSample.py", line 1551, in main
initialisation()
File "././/share/scribus/scripts/FontSample.py", line 1544, in initialisation
app = setup_tk()
File "././/share/scribus/scripts/FontSample.py", line 1512, in setup_tk
root = Tk()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1818, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
TclError: Can't find a usable init.tcl in the following directories:
/usr/share/tcltk/tcl8.6 /usr/lib/tcl8.6 /lib/tcl8.6 /usr/library /library /tcl8.6.1/library /tcl8.6.1/library
/usr/share/tcltk/tcl8.6/init.tcl: version conflict for package "Tcl": have 8.6.1, need exactly 8.6.5
version conflict for package "Tcl": have 8.6.1, need exactly 8.6.5
while executing
"package require -exact Tcl 8.6.5"
(file "/usr/share/tcltk/tcl8.6/init.tcl" line 19)
invoked from within
"source /usr/share/tcltk/tcl8.6/init.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $tclfile]"
```
| . ./functions.sh | ||
|
|
||
| URLS=$(apt-get install -qq --reinstall --print-uris python-tk | cut -d "'" -f 2) | ||
| wget $URLS |
There was a problem hiding this comment.
Why are you downloading the .deb file then extracting it below, why not just copy the already installed files?
Author
There was a problem hiding this comment.
Apparently this didn't work. (It was working when I was still using sudo apt-get inside the script.) Now removing python-tk from .travis.yml, let's see if it works then
There was a problem hiding this comment.
This does not make much sense, why the place of the apt-get calls makes any difference?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To prevent