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

gimp import pygtk error #223

Closed
chaoflow opened this issue Dec 21, 2012 · 4 comments · Fixed by #43156
Closed

gimp import pygtk error #223

chaoflow opened this issue Dec 21, 2012 · 4 comments · Fixed by #43156
Labels

Comments

@chaoflow
Copy link
Member

(gimp:25808): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/nix/store/k52r98d6xqqf5aky4gah80ca2xak1s5x-gimp-2.8.2/lib/gimp/2.0/plug-ins/text-brush.py", line 20, in <module>
    from gimpfu import *
  File "/nix/store/k52r98d6xqqf5aky4gah80ca2xak1s5x-gimp-2.8.2/lib/gimp/2.0/python/gimpfu.py", line 76, in <module>
    import gimp
ImportError: could not import pygtk

@chaoflow
Copy link
Member Author

pygtk does not create pth files, thx @shlevy and @NixOSn00b (on irc) for pointing it out and finding workarounds for now.

chaoflow added a commit to chaoflow/nixpkgs that referenced this issue Jan 11, 2013
Previously the checkPhase was not executed. It is now and a couple of
issues with it are seded away.
@ghost
Copy link

ghost commented Aug 27, 2013

I can see pth files in pygtk now.
wrap it with PYTHONPATH set to ${pygtk}/lib/${python.libPrefix}/site-packages seem work.

@bjornfor
Copy link
Contributor

@iyzsong: Great! Will you make a pull request of that?

domenkozar added a commit that referenced this issue Jan 31, 2014
gimp: wraped with PYTHONPATH, fix #223
@Danl2620
Copy link

Danl2620 commented Jun 8, 2017

I've just hit this issue installing and running gimp from nix on macOS Sierra. From nix I've installed gimp-2.8.20 and python-2.7.13. Is there another package I need?

Traceback (most recent call last):
  File "/nix/store/c8ximh4mvdgkj3dllffy9c46ra71p9dl-gimp-2.8.20/lib/gimp/2.0/plug-ins/.text-brush.py-wrapped", line 21, in <module>
    from gimpfu import *
  File "/Users/danl/.nix-profile/lib/gimp/2.0/python/gimpfu.py", line 76, in <module>
    import gimp
ImportError: could not import pygtk

r-ryantm pushed a commit to r-ryantm/nixpkgs that referenced this issue Jul 7, 2018
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/sysbench/versions.

<details><summary>Version release notes (from GitHub)</summary>
	* version 1.0.15
	* CI/build/packaging: add Fedora 28
	* CI/build/packaging: add Ubuntu Bionic
	* CI/build/packaging: remove Fedora 26 (EOL)
	* CI/build/packaging: remove Debian Wheezy (EOL)
	* fileio: fix NixOSGH-229 (--file-fsync-freq=0 seems to prevent
	fsync() at the end of the test)
	* command line: improve parsing of boolean command line options
	* tests: fix NixOSGH-220 (Testsuite api_sql_mysql.t failed ...)
	* tests: fix NixOSGH-223 (test failure on ppc64)
	* tests: fix opt_help.t to pass when the binary is not
	configured with MySQL support
	* MySQL driver: use it by default in DB benchmarks
</details>

These checks were done:

- built on NixOS
- /nix/store/jfyhnvp5696s1cjn64fxp5ir072m7h35-sysbench-1.0.15/bin/sysbench passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 1 of 1 passed binary check by having the new version present in output.
- found 1.0.15 with grep in /nix/store/jfyhnvp5696s1cjn64fxp5ir072m7h35-sysbench-1.0.15
- directory tree listing: https://gist.github.com/2d15615806f49f153b03e6495af3654b
- du listing: https://gist.github.com/6d323aaf15bf22506caed9176fe9b034
ethancedwards8 pushed a commit to ethancedwards8/nixpkgs that referenced this issue Apr 2, 2021
Add separate options for ComputerName and LocalHostName in networking module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants