Giter Site home page Giter Site logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 18, 2024
Hi,
Windows port is not a priority right now. But do you have a python traceback ?

Original comment by [email protected] on 30 Jun 2008 at 11:39

  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

from chartr.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 18, 2024
I've had a look at it on a windows platform. 
Looks like there will be probably lot's of work for the software to work. 
But to make it work, following step seem to make sens (well this is what i did):
- install all-In-One package for pygtk.
(First I encountered a problem, python complaining about an import problem from
_gobject. But removing previous gtk runtime installation, Python installations, 
and
installing it again did work for me)

- install numpy (Numeric) did not work for me. I commented it's import in 
utils.py
file, as I suspect it's not necessary anyway (to investigate)

- install plastex (download and then run python setup.py install, worked fine)
- install gstreamer binaries (found on their website)
(For this first try, I encountered a problem, python complaining about a _gst 
import).
Then I finaly ran the software...
Some icons are not their (de standard icons from gnome). Maparea, does'nt seem 
to
resize correctly. And I was unable to add a text node. 

Here is the traceback :
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My
Documents\CharTr_013\TextBufferMarkup.py", line 125, in mark_set_cb
    self.emit("set_attrs", bold, italics, underline, None)
TypeError: could not convert type NoneType to PangoFontDescription required for
parameter 3
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My
Documents\CharTr_013\TextBufferMarkup.py", line 125, in mark_set_cb
    self.emit("set_attrs", bold, italics, underline, None)
TypeError: could not convert type NoneType to PangoFontDescription required for
parameter 3
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1407, in expose
    self.draw (event, context)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1462, in draw
    t.draw(context,self.negative)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 316, in draw
    self.recalc_edges ()
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 202, in recalc_edges
    show_text = self.attrs_changed ()
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 197, in attrs_changed
    self.emit("update-attrs", bold, italics, underline, pango_font)
TypeError: could not convert type NoneType to PangoFontDescription required for
parameter 3
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
307, in button_release
    thought = self.create_new_thought (coords)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1495, in create_new_thought
    self.editing.finish_editing ()
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 377, in finish_editing
    self.recalc_edges ()
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 201, in recalc_edges
    del self.layout
AttributeError: layout
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1407, in expose
    self.draw (event, context)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1462, in draw
    t.draw(context,self.negative)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 315, in draw
    if not self.layout:
AttributeError: 'TextThought' object has no attribute 'layout'
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 231, in commit_text
    self.recalc_edges ()
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 201, in recalc_edges
    del self.layout
AttributeError: layout
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 231, in commit_text
    self.recalc_edges ()
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 201, in recalc_edges
    del self.layout
AttributeError: layout
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 231, in commit_text
    self.recalc_edges ()
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 201, in recalc_edges
    del self.layout
AttributeError: layout
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 231, in commit_text
    self.recalc_edges ()
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 201, in recalc_edges
    del self.layout
AttributeError: layout
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 231, in commit_text
    self.recalc_edges ()
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 201, in recalc_edges
    del self.layout
AttributeError: layout
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
307, in button_release
    thought = self.create_new_thought (coords)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1495, in create_new_thought
    self.editing.finish_editing ()
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 377, in finish_editing
    self.recalc_edges ()
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 201, in recalc_edges
    del self.layout
AttributeError: layout
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1407, in expose
    self.draw (event, context)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1462, in draw
    t.draw(context,self.negative)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 315, in draw
    if not self.layout:
AttributeError: 'TextThought' object has no attribute 'layout'
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1407, in expose
    self.draw (event, context)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1462, in draw
    t.draw(context,self.negative)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 315, in draw
    if not self.layout:
AttributeError: 'TextThought' object has no attribute 'layout'
Traceback (most recent call last):
  File "chartr.py", line 210, in mode_request_cb
    if self.set_val:
AttributeError: 'MindMapWrapper' object has no attribute 'set_val'
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1407, in expose
    self.draw (event, context)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1462, in draw
    t.draw(context,self.negative)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 315, in draw
    if not self.layout:
AttributeError: 'TextThought' object has no attribute 'layout'
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1407, in expose
    self.draw (event, context)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1462, in draw
    t.draw(context,self.negative)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 315, in draw
    if not self.layout:
AttributeError: 'TextThought' object has no attribute 'layout'
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My
Documents\CharTr_013\TextBufferMarkup.py", line 125, in mark_set_cb
    self.emit("set_attrs", bold, italics, underline, None)
TypeError: could not convert type NoneType to PangoFontDescription required for
parameter 3
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My
Documents\CharTr_013\TextBufferMarkup.py", line 125, in mark_set_cb
    self.emit("set_attrs", bold, italics, underline, None)
TypeError: could not convert type NoneType to PangoFontDescription required for
parameter 3
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1407, in expose
    self.draw (event, context)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1462, in draw
    t.draw(context,self.negative)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 315, in draw
    if not self.layout:
AttributeError: 'TextThought' object has no attribute 'layout'
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1407, in expose
    self.draw (event, context)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1462, in draw
    t.draw(context,self.negative)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 315, in draw
    if not self.layout:
AttributeError: 'TextThought' object has no attribute 'layout'
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1407, in expose
    self.draw (event, context)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1462, in draw
    t.draw(context,self.negative)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 315, in draw
    if not self.layout:
AttributeError: 'TextThought' object has no attribute 'layout'
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
307, in button_release
    thought = self.create_new_thought (coords)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1495, in create_new_thought
    self.editing.finish_editing ()
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 377, in finish_editing
    self.recalc_edges ()
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 202, in recalc_edges
    show_text = self.attrs_changed ()
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 197, in attrs_changed
    self.emit("update-attrs", bold, italics, underline, pango_font)
TypeError: could not convert type NoneType to PangoFontDescription required for
parameter 3
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1407, in expose
    self.draw (event, context)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1462, in draw
    t.draw(context,self.negative)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 315, in draw
    if not self.layout:
AttributeError: 'TextThought' object has no attribute 'layout'
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My
Documents\CharTr_013\TextBufferMarkup.py", line 125, in mark_set_cb
    self.emit("set_attrs", bold, italics, underline, None)
TypeError: could not convert type NoneType to PangoFontDescription required for
parameter 3
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My
Documents\CharTr_013\TextBufferMarkup.py", line 125, in mark_set_cb
    self.emit("set_attrs", bold, italics, underline, None)
TypeError: could not convert type NoneType to PangoFontDescription required for
parameter 3
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1407, in expose
    self.draw (event, context)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1462, in draw
    t.draw(context,self.negative)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\TextThought.py",
line 315, in draw
    if not self.layout:
AttributeError: 'TextThought' object has no attribute 'layout'
Traceback (most recent call last):
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
307, in button_release
    thought = self.create_new_thought (coords)
  File "c:\Documents and Settings\bigeard\My Documents\CharTr_013\MMapArea.py", line
1495, in create_new_thought




Original comment by [email protected] on 3 Jul 2008 at 12:20

from chartr.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 18, 2024
To temporary fix the audio issue I had on the windows pc, I commented the audio
import, with :

#import AudioThought

and then :
#elif type == TYPE_AUDIO:
#    thought = AudioTought.AudioThought...

having replaced :

del self.current_attrs
self.current_attrs = to_add
self.emit("update-attrs",bold,italics,underline,pango_font)

by :

del self.current_attrs
self.current_attrs = to_add
if not self.current_attrs:
  pango_font = pango.FontDescription()
self.emit("update-attrs",bold,italics,underline,pango_font)

and in mark_set_cb:
self.emit("set_attr",bold,italics,underline,None)

by :

pango_font = pango.FontDescription()
self.emit("set_attr",bold,italics,underline,pango_font)

seems to fix the problem... (for now) One is able to draw basic mind maps. But 
there
are several remarks here :
- Browser window does not appear.
- GUI doesn't look could (missing icons (from gnome),tool bar a bit too big, no 
color
button box...)
- No possibility to resize the mindmap area.

Original comment by [email protected] on 3 Jul 2008 at 1:08

from chartr.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 18, 2024
Fix: 
There are two chartr.py files (one is CharTr.py) on windows, when dearchiving, 
one of
them is overwritten. Thus the GUI is not the one used under linux (missing 
icons, no
color buttons...). But the trouble is that the usual chartr.py won't work on 
windows,
as it needs gconf. 
A way to fix that, would be to redesign a GUI especially for windows. No idea 
what it
could look like.

Original comment by [email protected] on 3 Jul 2008 at 1:52

from chartr.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 18, 2024
As plastex won't work either on windows, I guess, the only way to release 
something
for windows, would be to remove Latex equations support, eventually audio 
support,
remodeling the GUI...

Not sure their would be any Windows version soon.

Original comment by [email protected] on 3 Jul 2008 at 2:03

from chartr.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 18, 2024

Original comment by [email protected] on 3 Jul 2008 at 2:03

  • Changed state: WontFix

from chartr.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 18, 2024

Sorry for not supplying the trace back. I have not been checking my mail
regularly enough.

Maybe I should give a brief introduction of myself.  I'm a VIM user (2  years)
learning python (6 months) who loves mind map. Enough said. So I almost jumped
outta my chair when I saw a python mind map project based on VIM.  That
explains my disappointment as well when the setup doesn't run on windows.

Are you the only developer for this project?

Hmm. Right now both my work and home machines are running windows. Could I
request for the naming in the source files to be change? So at least I could
take a look at the files more easily?


Yours,
Chee Yong

Original comment by [email protected] on 3 Jul 2008 at 4:51

from chartr.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 18, 2024
Hi Chee,

In fact, I added the fixes in the current code and added a chartr_windows.py 
file.
This will appear in next release (probably soon). But it still not possible to 
resize
the window under Windows and there is no color choice (I have'nt windows right 
now).

Yes, I'm the only developper in this project, in fact this is a fork of 
labyrinth,
another mindmap tool.

Any comments and ideas will be welcome !! (you're the first to give me feedback 
!!) 

Original comment by [email protected] on 3 Jul 2008 at 8:30

from chartr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.