[Shake-dev] genex error
Branden Christensen
branden.christensen at osop.com.pa
Fri Feb 8 23:56:09 UTC 2013
Hi Bruce:
Well, that makes two of us!
And problem solved. Do not ask me how. I was going to test your file length
theory by changing the directory name and event ID in the xml files when I
tried running it again for the heck of it. And now it works. No issues. It
is producing beautiful shakemaps.
Add this one to the X-files.
Kind Regards,
B
*Branden Christensen*
*branden.christensen at osop.com.pa*
www.osop.com.pa
Volcan, Panama
Follow OSOP on Facebook: https://www.facebook.com/osop.pamama
On Fri, Feb 8, 2013 at 3:47 PM, Bruce Worden <cbworden at gmail.com> wrote:
> Hi Branden,
>
> I'm not 100% sure what is going on here -- it could just be that the path
> name is too long, or some element of the path name is too long -- but the
> error seems to indicate that your system isn't allowing the creation of a
> symbolic link to a directory that doesn't exist. The message is coming from
> a symlink() call from .../genex/ftp/<evid> to
> .../genex/web/shake/<evid>/download. But that call is made before the
> download directory is actually created. This is called a "dangling link"
> and has been allowed on every system I've ever used and seems to be widely
> endorsed. You could try a test to see if that might be the problem. At your
> system prompt ('%' in this example), try:
>
> % ln -s ../nonexistentfile
>
> or something like that. If it doesn't work, that explains the problem. If
> it does, then we'll have to look for something else, or test that it works
> in your system's particular implementation of symlink(). (If it does work,
> you'll want to remove the link 'nonexistentfile' from your working
> directory.)
>
> Bruce
>
>
> On Feb 7, 2013, at 7:32 PM, Branden Christensen <
> branden.christensen at osop.com.pa> wrote:
>
> Hi all:
>
>
> I am working on generating shakemaps for event.xml and event_db.xml files
> created by SeisComP's scwfparams.
>
> When running genex I get this error:
>
> Creating 'genex/ftp/20130208000119_45_07080_-76708_20130208000925/'
> directory
> genex: Unable to create
> 'genex/ftp/20130208000119_45_07080_-76708_20130208000925/' link -- No such
> file or directory
>
> This directory does not exist so genex did not generate it. The file
> permissions at ...genex/ftp are OK so genex should have been able to
> generate the genex/ftp/20130208000119_45_07080_-76708_20130208000925/
> directory. There are no early errors hinting to why genex failed to create
> this directory. Any ideas what might be wrong here?
>
> Best, B
>
>
> *Branden Christensen*
> *branden.christensen at osop.com.pa*
> www.osop.com.pa
> Volcan, Panama
>
> Follow OSOP on Facebook: https://www.facebook.com/osop.pamama
> _______________________________________________
> Shake-dev mailing list
> Shake-dev at geohazards.usgs.gov
> https://geohazards.usgs.gov/mailman/listinfo/shake-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20130208/b0f11f49/attachment.html>
More information about the Shake-dev
mailing list