Thread subject: sK1 Project :: figures and colors disappears

Posted by GArik on 16-05-2009 20:17
#1

I finally can launch app with Python 2.6. But there is no palette on the right border, and while editing shapes dissapears.
Here is the output of sk1-r727
Code
shared memory images supported                                                       
Cairo initialized!                                                                   
Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in <type 'exceptions.AttributeError'> ignored                                                       
Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in <type 'exceptions.AttributeError'> ignored



Posted by igor on 16-05-2009 20:43
#2

Hi,

It seems you have used old sK1 revisions and therefore in your home directory there is an obsolete .sK1 config directory. Try deleting this directory and restart application.

Posted by GArik on 16-05-2009 21:44
#3

I've checked removing ~/.sK1. Problem is still there.
But the right palette strip is showed this time ^^

Posted by igor on 16-05-2009 22:19
#4

Please report what system you are using and which revisions sK1 you have installed.

Posted by GArik on 17-05-2009 19:51
#5

Ok, the system is:
sK1-r733
python-2.6.2
tcl,tk-8.5.7
lcms-1.18
pil-1.1.6

Posted by igor on 17-05-2009 21:56
#6

Sorry, which distro you are using? Also did you remove previous sK1 installation before rev.733 build?

Posted by GArik on 17-05-2009 23:05
#7

Slackware -current, ~/.sK1 removed.

some other error messages:
Code

--- Calling RedrawMethod failed---                                                       
Traceback (most recent call last):                                                       
  File "/usr/lib/python2.6/site-packages/sk1/app/UI/canvas.py", line 479, in RedrawMethod
    self.put_buffer_bitmap()                                                             
  File "/usr/lib/python2.6/site-packages/sk1/app/UI/canvas.py", line 527, in put_buffer_bitmap                                                                                     
    self.RedrawMethod()                                                                   
  File "/usr/lib/python2.6/site-packages/sk1/app/UI/canvas.py", line 491, in RedrawMethod
    region = SketchView.RedrawMethod(self, region)                                       
  File "/usr/lib/python2.6/site-packages/sk1/app/UI/view.py", line 231, in RedrawMethod   
    self.document.Draw(self.gc, rect)                                                     
  File "/usr/lib/python2.6/site-packages/sk1/app/Graphics/document.py", line 281, in Draw
    layer.Draw(device, rect)                                                             
  File "/usr/lib/python2.6/site-packages/sk1/app/Graphics/layer.py", line 71, in Draw     
    EditableCompound.DrawShape(self, device, rect)                                       
  File "/usr/lib/python2.6/site-packages/sk1/app/Graphics/compound.py", line 290, in DrawShape                                                                                     
    if test(o.bounding_rect):                                                             
  File "/usr/lib/python2.6/site-packages/sk1/app/Graphics/base.py", line 352, in __getattr__                                                                                       
    getattr(self, method)()                                                               
  File "/usr/lib/python2.6/site-packages/sk1/app/Graphics/text.py", line 492, in update_rects                                                                                       
    rect = apply(Rect, a.font.TextBoundingBox(self.text, a.font_size, a))                 
  File "/usr/lib/python2.6/site-packages/sk1/app/Graphics/font.py", line 451, in TextBoundingBox                                                                                   
    thisIndex = self.enc_vector[ord('?')]
KeyError: 63





on exit
Code

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/sk1/__init__.py", line 21, in <module>
    app.main.main()
  File "/usr/lib/python2.6/site-packages/sk1/app/main.py", line 153, in main
    application.SavePreferences()
  File "/usr/lib/python2.6/site-packages/sk1/app/skapp.py", line 199, in SavePreferences
    config.save_user_preferences()
  File "/usr/lib/python2.6/site-packages/sk1/app/conf/configurator.py", line 75, in save_user_preferences
    self.preferences.save(self.user_preferences_file)
  File "/usr/lib/python2.6/site-packages/sk1/app/conf/configurator.py", line 193, in save
    from xml.sax.saxutils import XMLGenerator
  File "/usr/lib/python2.6/site-packages/sk1/app/UI/mainwindow.py", line 710, in Exit
    if not self.tabspanel.closeAll(exit=1)== tkext.Cancel:
  File "/usr/lib/python2.6/site-packages/sk1/app/UI/widgets/doctabs.py", line 151, in closeAll
    if self.closeTab(item, exit)==msgdialog.Cancel:
  File "/usr/lib/python2.6/site-packages/sk1/app/UI/widgets/doctabs.py", line 109, in closeTab
    result = self.docmanager.save_doc_if_edited(tab.document)
  File "/usr/lib/python2.6/site-packages/sk1/app/managers/docmanager.py", line 359, in save_doc_if_edited
    self.mw.root.deiconify()
  File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1477, in wm_deiconify
    return self.tk.call('wm', 'deiconify', self._w)
TclError





something text drawing related
Code

unsupported type of contour (no onpoint)
--- Calling RedrawMethod failed---
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/sk1/app/UI/canvas.py", line 491, in RedrawMethod
    region = SketchView.RedrawMethod(self, region)
  File "/usr/lib/python2.6/site-packages/sk1/app/UI/view.py", line 231, in RedrawMethod
    self.document.Draw(self.gc, rect)
  File "/usr/lib/python2.6/site-packages/sk1/app/Graphics/document.py", line 281, in Draw
    layer.Draw(device, rect)
  File "/usr/lib/python2.6/site-packages/sk1/app/Graphics/layer.py", line 71, in Draw
    EditableCompound.DrawShape(self, device, rect)
  File "/usr/lib/python2.6/site-packages/sk1/app/Graphics/compound.py", line 291, in DrawShape
    o.DrawShape(device, rect)
  File "/usr/lib/python2.6/site-packages/sk1/app/Graphics/text.py", line 461, in DrawShape
    paths = self.properties.font.GetPaths(self.text, self.properties)
  File "/usr/lib/python2.6/site-packages/sk1/app/Graphics/font.py", line 650, in GetPaths
    path.AppendBezier(c1, c2, last_point, cont)
TypeError: The first segment added to a curve must be a line
---




Posted by GArik on 17-05-2009 23:23
#8

Also color picker in 'outline color' plugin is not working at all.

Posted by saharab on 13-10-2009 11:52
#9

^yup. I actually noticed the same thing. Anyway, good luck with this app. I hope you could launch it soon.



Regards,
Sahara
Simulation pret immobilier