Search the web
Sign In
New User? Sign Up
radio-dev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Bug report: watchMacros() with MacOS X   Message List  
Reply | Forward Message #5354 of 8443 |
Background:

The radio.thread.agents.watchMacros () agent runs every ten or
so seconds in Radio to update the content of the
user.betty.rpcHandlers.radio and user.radio.rpcHandlers.radio
tables in Radio.root according to the content of the Radio
application's Web Services folder.

Problem:

In MacOS X, when a user opens the Web Services folder in a
Finder window, the system automatically creates a .DS_Store
invisible file, to hold data concerning the presentation of the
window.

This .DS_Store file seems to confuse watchMacros (), which
then throws a 'Can't create item "user.betty.rpcHandlers.radio."
because "" is an illegal name.' error message.

Consequently, scripts published as web services in the Web
Services folder are not updated in Radio.root any more.

Obvious work around :

Until the watchMacros () code is patched, avoid opening the Web
Services folder in the Finder. Use the Terminal application to
remove .DS_Store manually, with a command similar to:

rm Applications/Radio\ UserLand/Web\ Services/.DS_Store

copy script files to the Web Services folder with a command
similar to:

cp samplescript.txt /Applications/Radio\ UserLand/Web\
Services/

Reference :

This bug was consistently reproduced running Radio vs 8.0.6
under MacOS X 10.1.3.

I tracked it down with the help of the Radio-dev community, in a
thread starting at http://groups.yahoo.com/group/radio-dev/
message/5314.

Marc







Wed Mar 13, 2002 1:45 pm

mb1022002
Offline Offline
Send Email Send Email

Forward
Message #5354 of 8443 |
Expand Messages Author Sort by Date

Background: The radio.thread.agents.watchMacros () agent runs every ten or so seconds in Radio to update the content of the user.betty.rpcHandlers.radio and...
mb1022002
Offline Send Email
Mar 13, 2002
1:45 pm

Marc, Sorry, I don't see this. Radio 8.0.6, OS X 10.1.3 Most of the problems with Web Services and Macros lies in the fact that any syntax error will cause the...
Andy Fragen
ajfragen
Offline Send Email
Mar 13, 2002
10:12 pm

... Interesting. Did you try opening the Web Services folder in the Finder ? Try listing the content of your Web Services folder from a console, with a command...
mb1022002
Offline Send Email
Mar 13, 2002
11:40 pm

I got it to fail on my machine (Radio 8.0.6 and Mac OS X 10.1.3). The .DS_Store file isn't created every time you open the folder in the Finder. I'm not sure...
Mike Alexander
mta@...
Send Email
Mar 14, 2002
9:22 am

... Humm, you're right. Displacing the window and changing the view didn't re-create the .DS_Store file *every* time. I can't figure out the exact triggering...
mb1022002
Offline Send Email
Mar 14, 2002
2:36 pm

Marc, I do not see a .DS_Store file in my Web Services folder. You may have something here. -- Andy Fragen <afragen@...>...
Andy Fragen
ajfragen
Offline Send Email
Mar 15, 2002
5:10 am

... I couldn't track down the triggering event for the creation of .DS_Store files searching Google and ADC. Along the way, I learned from SecurityFocus [1]...
mb1022002
Offline Send Email
Mar 15, 2002
2:00 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help