[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •Alternative to id( ) or deepcopy
Page 1 of 1

Alternative to id( ) or deepcopy

Posted: 08 Nov 2013 00:52
by karanbudhraja
I am trying to override __deepcopy__ (as in http://stackoverflow.com/questions/1500 ... bject-in-p) for an object so that I may use it in code (Gephi gives problems if used otherwise: "TypeError: Could not deepcopy Java object because it is not Serializable. Consider monkeypatching __deepcopy__ for org.gephi.graph.dhns.node.AbstractNode")

I tried using id( ) but then I get this: "NameError: name 'id' is an ambiguous column name". Is there some other way to get the ID or to specify that it is a function and not a column number? Or an alternative way to deepcopy?