Package Details: python-graph-tool 2.80-2

Git Clone URL: https://aur.archlinux.org/python-graph-tool.git (read-only, click to copy)
Package Base: python-graph-tool
Description: A Python module for manipulation and statistical analysis of graphs
Upstream URL: https://graph-tool.skewed.de
Keywords: graphs networks science
Licenses: LGPL3
Conflicts: python3-graph-tool
Provides: python3-graph-tool
Replaces: python3-graph-tool
Submitter: muellner
Maintainer: count0
Last Packager: count0
Votes: 29
Popularity: 0.000000
First Submitted: 2013-11-24 19:22 (UTC)
Last Updated: 2024-12-31 10:04 (UTC)

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 15 Next › Last »

lahwaacz commented on 2016-04-07 18:58 (UTC)

@count0 Indeed, thanks for the notice and the fix.

count0 commented on 2016-04-06 06:37 (UTC)

@lahwaacz The problem you found should be fixed in the current release.

count0 commented on 2016-03-02 21:52 (UTC)

@lahwaacz Well, this module should not be executed, only imported. Since the module itself does not exist until it is finished being imported, any internal reference to "io" refers to the system module. I don't know why the Makefile that was generated in your system is attempting to do that; it certainly does not happen in mine. However, I do acknowledge that naming the submodule io.py was not the best choice. I will change this in the next release.

lahwaacz commented on 2016-03-02 20:04 (UTC) (edited on 2016-03-02 20:07 (UTC) by lahwaacz)

@count0 Actually, the problem seems to be the src/graph_tool/io.py file. Python needs to import the io module implicitly, which will not work when the interpreter is run from src/graph_tool/ since the io.py file overrides it. The py-compile script is run from src/graph_tool/ (according to the Makefile that was generated on my system), hence the error. I think you should rename io.py to something better... See http://stackoverflow.com/q/26569828

count0 commented on 2016-03-02 11:33 (UTC)

@lahwaacz Very weird. Cannot reproduce here. Note that 'BytesIO' is a standard class in the 'io' module. The error does not make sense. I think there is something fishy with your python setup.

lahwaacz commented on 2016-02-26 22:08 (UTC) (edited on 2016-02-26 22:11 (UTC) by lahwaacz)

I'm getting a strange error in the 'make install' phase: Fatal Python error: Py_Initialize: can't initialize sys standard streams Traceback (most recent call last): File "/home/lahwaacz/build/aur4/python-graph-tool/src/graph-tool-2.12/src/graph_tool/io.py", line 27, in <module> ImportError: cannot import name 'BytesIO' ../../py-compile: line 136: 26813 Aborted (core dumped) $PYTHON -c " import sys, os, py_compile, imp files = '''$files''' sys.stdout.write('Byte-compiling python modules...\n') for file in files.split(): $pathtrans $filetrans if not os.path.exists(filepath) or not (len(filepath) >= 3 and filepath[-3:] == '.py'): continue sys.stdout.write(file) sys.stdout.flush() if hasattr(imp, 'get_tag'): py_compile.compile(filepath, imp.cache_from_source(filepath), path) else: py_compile.compile(filepath, filepath + 'c', path) sys.stdout.write('\n')" Makefile:535: recipe for target 'install-graph_tool_centralityPYTHON' failed make[3]: *** [install-graph_tool_centralityPYTHON] Error 134 make[3]: *** Waiting for unfinished jobs....

confusedfla commented on 2016-02-03 03:13 (UTC)

+1 for a precompiled version.

muellner commented on 2016-01-05 22:07 (UTC)

I am disowning the package since the author of graph-tool, Tiago de Paula Peixoto, agreed to maintain the package himself. Please don't adopt the package hastily; Tiago will shortly take care of it.

muellner commented on 2016-01-05 22:07 (UTC)

I am disowning the package since the author of graph-tool, Tiago de Paula Peixoto, agreed to maintain the package himself. Please don't adopt the package hastily; Tiago will shortly take care of it.

muellner commented on 2015-12-29 20:36 (UTC)

Thanks for the report. Fixed.