Re: [Zim-wiki] problems installing zim0.55 on mac OS 10.7.3

2012-07-03 Thread Jaap Karssenberg
On Tue, Jun 26, 2012 at 4:53 PM, joseph jaouen joseph_jao...@yahoo.fr wrote:
 I have the same problem trying to run zim 0.55 or 0.56 on osx 10.7.4: zim
 cannot find its modules, even if it searches the correct path to the source
 directory.
 Osx is shipped with python 2.7, but I also tried with python 2.6 without
 success.

 Here is the output of the command line:

 ERROR: Could not find python module files in path:
 /Users/jo/Desktop/zim/zim-0.56
 /Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip
 /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin
 /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac
 /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages
 /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk
 /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old
 /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload
 /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages

 Is there any osx user out here who could have a clue?

I'm not an OSX user, but maybe I can clarify a bit. The module zim is
looking for is zim.py and zim/config.py. These are not in the
standard python distribution, but should be installed when you install
zim. You can check if they are in site-packages - if not they are
installed in an unexpected location.

Btw. you can also run zim without installing, if you start it from the
(extracted) source directory it will detect these files relative to
the script.

Hope this helps,

Jaap

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] problems installing zim0.55 on mac OS 10.7.3

2012-06-26 Thread joseph jaouen
I have the same problem trying to run zim 0.55 or 0.56 on osx 10.7.4: 
zim cannot find its modules, even if it searches the correct path to the 
source directory.
Osx is shipped with python 2.7, but I also tried with python 2.6 without 
success.


Here is the output of the command line:

ERROR: Could not find python module files in path:
/Users/jo/Desktop/zim/zim-0.56 
/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip 
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin 
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac 
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages 
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk 
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old 
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload 
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages


Is there any osx user out here who could have a clue?

Joseph

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] problems installing zim0.55 on mac OS 10.7.3

2012-03-12 Thread Robert Corty
I am still stuck on the same issue, if anyone has any ideas.

-Robert Corty


On Thu, Mar 1, 2012 at 10:19 AM, Robert Corty rco...@gmail.com wrote:
 On Thu, Mar 1, 2012 at 10:17 AM, Jaap Karssenberg
 jaap.karssenb...@gmail.com wrote:
 On Thu, Mar 1, 2012 at 4:14 PM, Robert Corty rco...@gmail.com wrote:

  So does the list of paths contain /path/to/zim-0.55 or . ? Because
  the
  files that is where the missing files are.

 Yes, /Users/rcorty/Desktop/zim-0.55 is the first item listed.


 Them I'm out of ideas -- any Mac users want to jump in ?

 Also, not sure if this is useful at all, but I opened zim.py and
 found that the error is on line 42, import zim.  Thanks very much
 for your attention/ideas, Jaap.


 -- Jaap


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] problems installing zim0.55 on mac OS 10.7.3

2012-03-01 Thread Jaap Karssenberg
On Thu, Mar 1, 2012 at 1:06 AM, Robert Corty rco...@gmail.com wrote:

 I did so and got the following error:

 ERROR: Could not find python module files in path:
 list of paths
 long list of paths
 Try setting PYTHONPATH


So does the list of paths contain /path/to/zim-0.55 or . ? Because the
files that is where the missing files are.

-- Jaap
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] problems installing zim0.55 on mac OS 10.7.3

2012-03-01 Thread Robert Corty
On Thu, Mar 1, 2012 at 3:56 AM, Jaap Karssenberg
jaap.karssenb...@gmail.com wrote:
 On Thu, Mar 1, 2012 at 1:06 AM, Robert Corty rco...@gmail.com wrote:

 I did so and got the following error:

 ERROR: Could not find python module files in path:
 list of paths
 long list of paths
 Try setting PYTHONPATH


 So does the list of paths contain /path/to/zim-0.55 or . ? Because the
 files that is where the missing files are.

Yes, /Users/rcorty/Desktop/zim-0.55 is the first item listed.


 -- Jaap


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] problems installing zim0.55 on mac OS 10.7.3

2012-02-29 Thread Robert Corty
Thanks for the reply!

On Wed, Feb 29, 2012 at 6:48 PM, Jaap Karssenberg
jaap.karssenb...@gmail.com wrote:
 On Wed, Feb 29, 2012 at 7:46 PM, Robert Corty rco...@gmail.com wrote:

 This is my first post on this mailing list.  If this is not the right
 place to ask technical questions, I apologize.  Please just tell me
 the right place to ask them and don't unleash a huge ragefest on me.


 Yes this is the right place to ask.


 I read through the information about zim and it looks like it would be
 really useful to help me organize my note-taking (I'm in medical
 school).  I have a mac running OS 10.7.3.

 I installed MacPorts and typed sudo port install [port-name] at the
 terminal for the following port-names, as it said to do on the install
 page:
    python26
    py26-gtk
    py26-simplejson
    py26-xdg

 Then I downloaded and unarchived the source for zim0.55, navigated to
 the folder, and typed ./test.py.  Unfortunately, I got the following
 error:
 Traceback (most recent call last):
  File ./test.py, line 239, in module
    main()
  File ./test.py, line 88, in main
    suite = tests.load_tests(loader, None, None)
  File /Users/rcorty/Desktop/zim-0.55/tests/__init__.py, line 80, in
 load_tests
    test = loader.loadTestsFromName(name)
  File
 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py,
 line 100, in loadTestsFromName
    parent, obj = obj, getattr(obj, part)
 AttributeError: 'module' object has no attribute 'utils'

 For some reason zim can not find the modules in the local folder. Does
 tests/utils.py exist in your folder ?

 If so, you might want to set export PYTHONPATH=. to force looking in the
 local folder.

I typed this while pwd = /path/to/zim-0.55

Was that what you intended?

After doing so, I typed ./test.py and got the same error (the one
terminating in AttributeError: 'module' object has no attribute
'utils')

I definitely have python 2.6 and 2.7 installed on this computer, since
2.7 comes with Mac OS 10.7 and I used macports to install 2.6.  I
think the problem is in getting zim to realize where they are (or
maybe to use the appropriate one, namely 2.6)


 I figured I'd just give the install a try so I typed ./setup.py
 install, and got the following error:

 Try instead to type python ./zim.py, this should run zim directly from
 source instead of installing first.

 (Make sure to run in an X context, e.g. xterm)


I did so and got the following error:

ERROR: Could not find python module files in path:
list of paths
long list of paths
Try setting PYTHONPATH

So I browsed around my computer looking for where python actually is
and I found it in Applications/MacPorts/ so I tried setting
PYTHONPATH=/Applications/MacPorts as well as
Applications/MacPorts/Python\ 2.6, but got the same error each time.

 Hope this helps, otherwise I hope some other Mac users here have a better
 suggestion.

 Regards,

 Jaap

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp