0

Can't create sample app

When I try and create a sample app I get a 404 error. Then when I try and add and run the app it say's it's unavailable. Suggestions?

output from commands:

C:\Users\[user]>ymdt create mem -S Memories
Yahoo! Mail Development Tool Version 1.28
Developer server: developer.mail.yahoo.com
create:
Getting sample 'Memories' into mem:
changed appid to 3ceb2coqm8c32.
downloading mem/config.xml. . .
downloading mem/auth.xml. . .
downloading mem/views/main. . .
Done all gets for mem.
Application '3idhnc5gjeo9j' created.
NOTE: Your application has been created.
You no longer need to run ymdt create for this application.
Use ymdt put to upload files instead.
uploading C:/Users/[user]/mem/auth.xml. . .

dev.file.put invoke failed (HTTP 404).

Server says: Application 3idhnc5gjeo9j not found.

Webserver: om0417.mail.ac2.yahoo.com

See error.log for more info


private appid public appid name
-------------- -------------- ---------------------------------------------
xxxxxxxxxx 38chh6pijad1i Delicious
xxxxxxxxxx 68cpg6ksj4e9n Hello World
xxxxxxxxxx 34dhk6di3cor5 Memories

C:\Users\[user]>

7 Replies
  • The 'ymdt create...' error is most likely a result of a replication issue that we are aware of and are investigating. The following usually fixes the issue. Against the directory left behind by 'ymdt create', try:
    'ymdt put mem'

    Did you do any other commands after the failed 'ymdt create'? I ask because there is a view in the database for your app, but the app has the default, empty config XML at this point. This is why the app is "unavailable" when you try to run it. Double check that the file mem/config.xml exists and contains the config XML listed here: http://developer.yahoo.com/mailapplication...s/memories.html Then run 'ymdt put mem' again.
    0
  • Thanks for the reply,

    My config exists and is the same as the one in the link you provided. Here is a direct copy/paste from my local machine for verification:


    <?xml version="1.0"?>
    <openmail_app_config version="3">
    <name>Memories</name>
    <description>Memories sample app illustrates persistent per-user storage.</description>
    <data/>
    <events>
    <click>
    <action>
    <launch>
    <view>main</view>
    <target_zone>dialog</target_zone>
    <title>Memories Sample App</title>
    <height>400</height>
    </launch>
    </action>
    </click>
    </events>
    </openmail_app_config>



    I tried the "ymdt put mem" command and the application is still "unavailable." here is the output from the command:


    C:\Users\[user]>ymdt put mem
    Yahoo! Mail Development Tool Version 1.28
    Developer server: developer.mail.yahoo.com
    put:
    uploading C:/Users/[user]/mem/auth.xml. . .
    uploading C:/Users/[user]/mem/config.xml. . .
    uploading C:/Users/[user]/mem/views/main.html. . .
    Done all puts for mem.

    C:\Users\[user]>


    What should I try to do next?

    Thanks,
    Aaron
    0
  • Aaron,

    So I see that you have created 3 apps. The actual config XML stored for all three of your apps is the empty default. It seems as if the upload of the config.xml file is not working for you for some reason. Can you try the following and give us the output:

    'ymdt put mem -v'

    Also can you give us details about your environment like your OS version and PHP version.

    Cindy
    0
  • Thanks for the reply.

    OS: Windows 7 Professional
    PHP: 5.3.6.0, I ran the VC9 x86 Thread Safe installer from http://windows.php.net/download/.

    Command output:
    Microsoft Windows [Version 6.1.7600]
    Copyright 2009 Microsoft Corporation. All rights reserved.

    C:\Users\[user]>ymdt put mem -v
    Yahoo! Mail Development Tool Version 1.28
    Developer server: developer.mail.yahoo.com
    put:
    [sensitive data removed]
    0
  • Hi Bender,

    We're not sure what this issue is yet -- haven't seen this before. Might take some iterations with you to get to the root cause. We will contact you off-forum at your developer email address.

    -j
    0
  • Sounds good.

    Thanks.
    0
  • Just to follow-up on-forum. This turns out to be an infrastructure issue that some devs might hit depending on their location.

    We hope to have a fix out by the end of next week. Meanwhile, if you hit this issue, you can work around it by adding the following arguments to all of your ymdt commands:

    -hom3.mail.vip.gq1.yahoo.com -k

    This will bypass some of our cloud's load balancing.
    0
This forum is locked.

Recent Posts

in Yahoo! Mail Application Platform