------------- Original message ----------------------
From: Carl Karsten <[EMAIL PROTECTED]>
> Ed Leafe wrote:
> > On Dec 30, 2007, at 2:47 AM, Carl Karsten wrote:
> >
> >> I am trying to figure out how someone should install.
> >>
> >> http://dabodev.com/download says
> >>
> >> "Download, extract, and then issue (as root or administrator):
> >> python setup.py install"
> >>
> >> 1, where does that install the tools?
> >
> > It doesn't. It just installs the framework. The tools are in
> > subdirectories of the extracted file; you put them wherever you want.
> >
>
> Then the page needs rewording. "extract Dabo anywhere you like" is part of
> the
> "If you have trouble..." section. I am sure most people will think they can
> delete the tar/dir once they have run setup.py.
>
> I suppose not being able to find the tools means everyone falls into the
> "have
> trouble" category... :)
>
> >> 2. given that the install was done as root, when they run an app as
> >> a user and
> >> it sees updates, how is it going to update the files a user can't
> >> write to?
> >
> > It can't, of course. You would have to re-run the app as root.
>
> Then someone should create a simple app that is just used for updating, of
> course.
What I do is go to Edit-->Preferences-->Web Updates-->Check Now from whatever
application I am using.
If the dialog box says there are updates are available I click on No and start
another app (usually Editor) as
root and repeat the process except answering Yes.
>
> > If
> > you try to update without sufficient privileges, the app will respond
> > with a dialog:
> >
> > dabo.ui.info(_("You do not have permission to update the necessary
> > files. "
> > "Please re-run the app with administrator privileges."), title=_
> > ("Permission Denied"))
> >
>
> That is not what I am seeing, but my current setup is... a mess of install
> procedures that I plan on cleaning up someday. so I can understand if this
> falls into the "you reap what you sow" OTOH, you might want to improve the
> "won't work" detection.
>
> "Framework updates are available. Do you want to update now?" hit Yes and got
>
> 1.
> Dabo Error Log: Mon Dec 24 21:32:42 2007: Cannot update file:
> '__version__.py'.
> Error: [Errno 13] Permission denied:
> '/usr/lib/python2.5/site-packages/Dabo-0.8.3-py2.5.egg/dabo/__version__.py'
>
>
> 2. then got a dialog:
> "Dabo has been updated to revision 3825. The app will now exit. Please re-run
> the application."
>
> So not only did it fail to figure out it can't update, it failed to notice it
> had failed.
I see the same thing if I run as an unprivileged user.
>
> >> 3. I am guessing it installs an egg, so how does the egg get updated?
> >
> > Assuming you have privileges, the same way as anything else: the
> > files are copied to the correct location within the egg.
>
> you can write to an egg? I guess that makes sense - you can update a zip
> file.
> somehow I figured they were static.
It installs as an unzipped Egg in ~/python*/site-packages. Actually this makes
it easy to look at the code
in the framework.
>
> I made the same mistake with disk images created with dd - you can mount the
> image and update files just like it was real media. Which makes total sense
> once I thought about it, but for some reason it took me years to realized it.
>
> Carl K
>
--
Adrian Klaver
[EMAIL PROTECTED]
-
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]