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

Canvas.copyfontto() calls non-existent function #111

Open
ghost opened this issue Dec 12, 2016 · 0 comments
Open

Canvas.copyfontto() calls non-existent function #111

ghost opened this issue Dec 12, 2016 · 0 comments
Assignees
Labels
bug low Low Priority bug (but not enhancement)
Milestone

Comments

@ghost
Copy link

ghost commented Dec 12, 2016

@doutriaux1 @chaosphere2112, here's another possible deprecation. Whether we're going to nuke it or implement it later, let me know and I'll update the docs.
The copyfontto() function is also called in Canvas.setdefaultfont().

>>> a=vcs.init()
>>> a.listelements('font') # show all font names
[...]
>>> a.copyfontto('Russian', 'Times')
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-104-44742c8d0004> in <module>()
----> 1 a.copyfontto('Russian','Times')

/Users/brown308/anaconda/envs/2.8/lib/python2.7/site-packages/vcs/Canvas.pyc in copyfontto(self, font1, font2)
   5673                 "Error you must pass either a number or font name!, you passed for font 2: %s" %
   5674                 font2)
-> 5675         return self.canvas.copyfontto(*(index1, index2))
   5676 
   5677     def setdefaultfont(self, font):

AttributeError: 'module' object has no attribute 'copyfontto'
@ghost ghost changed the title Canvas.copyfontto() calls non-existent method Canvas.copyfontto() calls non-existent function Dec 12, 2016
@ghost ghost added the bug label Dec 15, 2016
@doutriaux1 doutriaux1 modified the milestone: 3.0 May 5, 2017
@doutriaux1 doutriaux1 modified the milestones: 3.0, post 3.0 Mar 29, 2018
@doutriaux1 doutriaux1 modified the milestones: 8.1, 8.2 Mar 27, 2019
@doutriaux1 doutriaux1 self-assigned this Apr 18, 2019
@doutriaux1 doutriaux1 added the low Low Priority bug (but not enhancement) label Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug low Low Priority bug (but not enhancement)
Projects
None yet
Development

No branches or pull requests

1 participant