[FIX] FileUrl doesnot understand string protocol

Andreas Raab Andreas.Raab at gmx.de
Wed Oct 17 15:50:55 UTC 2001


Hans,

> Still I do not quite understand why some graphics occasionally come up
> degraded in a published project, as if downloading stopped
> after the first pass. This is Squeak 3.1beta upto 4411 running
> on win2000.

Try to inspect

	Project current resourceManager

if that happens to you. You should be able to see if there's something that
hasn't been loaded yet.

Cheers,
  - Andreas

> -----Original Message-----
> From: squeak-dev-admin at lists.squeakfoundation.org
> [mailto:squeak-dev-admin at lists.squeakfoundation.org]On Behalf
> Of Baveco,
> Hans
> Sent: Wednesday, October 17, 2001 12:18 AM
> To: 'squeak-dev at lists.squeakfoundation.org'
> Subject: [FIX] FileUrl doesnot understand string protocol
>
>
> Well, I managed to locate the problem and fix it. The problem was that
> FileUrls are not Strings but apparently (recently) replaced
> Strings at some
> locations.
> By inserting
>
> locUrl isString ifFalse: [locUrl _ locUrl pathString]
>
> in the attached method (ResourceManager)
> makeAllProjectResourcesLocalTo:
> resourceUrl
>
> I could publish again (otherwise resourcelocations ended up
> referring to
> bizarre non-existing directories).
>
> Still I do not quite understand why some graphics occasionally come up
> degraded in a published project, as if downloading stopped
> after the first
> pass. This is Squeak 3.1beta upto 4411 running on win2000.
>
> Hans Baveco
>
>  <<ResourceManager-makeAllProjectResourcesLocalTo.st>>
>
>
>
>
>
> Hans Baveco Saskia Visser wrote:
> >
> > I keep running into trouble, like endless "Publishing - collecting
> > resources" when trying to republish the project I am working on.
> > I had a working version at work, but loading it at home
> results in some
> > mangled graphics (originally jpg's) and when after some
> editing (e.g.
> > replacing the mangled graphics with new ones) I try to
> store the edited
> > project I can't....
> >
> > What are the hidden secrets? Obligatory locations for
> certain files???
> > Display depth??? Use gifs?
>
> There must be some hidden secret, otherwise I would have
> found that bug
> already. This problem pops up occasionally, but just last
> week I failed
> to reproduce it.
>
> Which OS are you using? Is it a recent plugin? How did you add the
> images to your project (painted, imported, drag'n'drop)?
>
> If you don't mind, could you send me the project or a URL  (directly,
> not through the list of course) so I can take a look at it?
>
> Sorry you are having so much trouble, but maybe it at least helps to
> finally track down this bug.
>
> Michael
>





More information about the Squeak-dev mailing list