Hi,

fcrypt, and replacing "from crypt import crypt" with "from fcrypt import
crypt" in user.py made me progress a bit.

However, I think the firewall bowled me next...

C:\TiddlyWiki\core>python twanager instance c:\PepWiki
handling
http://svn.tiddlywiki.org/Trunk/association/adaptors/TiddlyWebAdaptor.js
Traceback (most recent call last):
  File "C:\TiddlyWiki\core\twanager", line 11, in <module>
    handle(sys.argv)
  File "c:\TiddlyWiki\core\tiddlyweb\manage.py", line 197, in handle
    COMMANDS[candidate_command](args)
  File "C:\TiddlyWiki\core\tiddlyweb\instancer.py", line 50, in instance
    import_list('system', PLUGINS)
  File "C:\TiddlyWiki\core\tiddlyweb\fromsvn.py", line 57, in import_list
    import_one(bag, url)
  File "C:\TiddlyWiki\core\tiddlyweb\fromsvn.py", line 66, in import_one
    import_plugin(bag, url)
  File "C:\TiddlyWiki\core\tiddlyweb\fromsvn.py", line 109, in import_plugin
    plugin_content = get_url(url)
  File "C:\TiddlyWiki\core\tiddlyweb\fromsvn.py", line 88, in get_url
    getter = urlopen(url)
  File "C:\Programming\Python\2.5\lib\urllib2.py", line 124, in urlopen
    return _opener.open(url, data)
  File "C:\Programming\Python\2.5\lib\urllib2.py", line 387, in open
    response = meth(req, response)
  File "C:\Programming\Python\2.5\lib\urllib2.py", line 498, in
http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Programming\Python\2.5\lib\urllib2.py", line 425, in error
    return self._call_chain(*args)
  File "C:\Programming\Python\2.5\lib\urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "C:\Programming\Python\2.5\lib\urllib2.py", line 506, in
http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 407: Proxy Authentication Required ( The ISA
Server requires authorization to fulfill the request. Access to the Web
Proxy service is denied.  )
C:\TiddlyWiki\core>

Any easy way to get past this?  Can I specify some existing content (from
SVN checkout for instance) ?

Regards,
-Reenen

On Tue, Dec 2, 2008 at 2:10 PM, Reenen <[EMAIL PROTECTED]> wrote:

>
> Hi All,
>
> Yesterday evening, I got one to work sweetly on my linux machine at
> home.  However at work I am on windows. And so, I'm trying to get it
> to work on windows... but apparently "crypt" is a linux package, and
> windows does it's stuff differently...
>
> Quote from #python on freenode:
> Reenen: nope, and as I said, it doesn't really make sense, because
> it's a *platform* service. The 'crypt' library does whatever the
> platform wants it to do. It uses DES or MD5 or SHA depending on what
> the platform wants, for instance.
>
> When I try to create an instance I get this error:
>
> C:\>python \TiddlyWiki\core\twanager instance PepWiki
> Traceback (most recent call last):
>  File "\TiddlyWiki\core\twanager", line 8, in <module>
>    from tiddlyweb.manage import handle
>  File "c:\TiddlyWiki\core\tiddlyweb\manage.py", line 11, in <module>
>    from tiddlyweb.model.user import User
>  File "c:\TiddlyWiki\core\tiddlyweb\model\user.py", line 5, in
> <module>
>    from crypt import crypt
> ImportError: cannot import name crypt
> C:\>
>
> I have further difficulties in that I am behind a firewall, but as far
> as I can tell I have all the dependencies.
>
> In terms of crossplatform crypt packages I have found some:
> http://pypi.python.org/pypi/fcrypt          (I assume this is
> crossplatform (it says it's "pure python")
> http://pypi.python.org/pypi/pycrypto/2.0.1  (it states that it
> supports windows)
>
> So crypt is my first hurdle (for windows), and hopefully my last.
> Yesterday evening from my linux box, it was a real pleasure to
> install, but I haven't really played around with it.
>
> Regards,
> -Reenen
>
>
> On Dec 1, 9:02 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> > A new release of TiddlyWeb is available, continuing the progress
> > towards a 1.0 release.
> >
> > The major difference in 0.9.1 is the "instance" command in the
> > twanager command line tool will now:
> >
> > * create a system bag and install three plugins for handling automatic
> > saving of content (existing and new)
> > * create a common bag where new content will be saved
> > * create a default recipe which combines the system and common bag
> > into an available collection of tiddlers
> >
> > So to get a working TiddlyWeb site that autosaves you can do the
> > following:
> >
> >     sudo easy_install tiddlyweb
> >     twanager instance <dir name>
> >     cd <dir name>
> >     twanager server 0.0.0.0 8080
> >     <open your browser tohttp://
> 0.0.0.0:8080/recipes/default/tiddlers.wiki
> > to see an autosaving wiki>
> >
> > If 0.0.0.0 doesn't work for you, try 127.0.0.1.
> >
> > Note this will only work if you are connected to the internet without
> > a blocking firewall, otherwise the instance command will not be able
> > to retrieve plugins from the subversion server. In the future there
> > will be a distribution that includes everything: we're still working
> > out what everything means.
> >
> > 0.9.1 is available on PyPI <http://pypi.python.org/pypi/tiddlyweb> and
> > on the forthcoming tiddlyweb web site <http://tiddlyweb.peermore.com/
> > dist>.
> >
> > Please post here if there are issues, questions, comments, etc.
> >
> > Thanks very much to FND and others in Osmosoft who recently did a lot
> > of work on TiddlyWiki plugins to make TiddlyWiki and TiddlyWeb work
> > well together. Thanks also to Tony who has been providing invaluable
> > feedback on early releases.
>
> >
>


-- 
o__
,_.>/ _
(_)_\(_)_______
...speed is good
_______________
I believe five out of four people have a problem with fractions.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to