sK1 Project :: OpenSource Solutions for Prepress
View Thread
 Print Thread
figures and colors disappears
GArik
#1 Print Post
Posted on 16-05-2009 20:17
Member

Posts: 6
Joined: 16.05.09

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
Download source  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


 
igor
#2 Print Post
Posted on 16-05-2009 20:43
User Avatar

Super Administrator

Posts: 220
Joined: 09.02.09

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.
Regards,

Igor Novikov
sK1 Project
 
GArik
#3 Print Post
Posted on 16-05-2009 21:44
Member

Posts: 6
Joined: 16.05.09

I've checked removing ~/.sK1. Problem is still there.
But the right palette strip is showed this time ^^
 
igor
#4 Print Post
Posted on 16-05-2009 22:19
User Avatar

Super Administrator

Posts: 220
Joined: 09.02.09

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

Igor Novikov
sK1 Project
 
GArik
#5 Print Post
Posted on 17-05-2009 19:51
Member

Posts: 6
Joined: 16.05.09

Ok, the system is:
sK1-r733
python-2.6.2
tcl,tk-8.5.7
lcms-1.18
pil-1.1.6
 
igor
#6 Print Post
Posted on 17-05-2009 21:56
User Avatar

Super Administrator

Posts: 220
Joined: 09.02.09

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

Igor Novikov
sK1 Project
 
GArik
#7 Print Post
Posted on 17-05-2009 23:05
Member

Posts: 6
Joined: 16.05.09

Slackware -current, ~/.sK1 removed.

some other error messages:
Download source  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
Download source  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
Download source  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
---



 
GArik
#8 Print Post
Posted on 17-05-2009 23:23
Member

Posts: 6
Joined: 16.05.09

Also color picker in 'outline color' plugin is not working at all.
 
saharab
#9 Print Post
Posted on 13-10-2009 11:52
Member

Posts: 1
Joined: 13.10.09

^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
 
Jump to Forum: