Thread 'Replacing the uppercase app with my own'

Message boards : Server programs : Replacing the uppercase app with my own
Message board moderation

To post messages, you must log in.

AuthorMessage
Letharion

Send message
Joined: 4 Sep 09
Posts: 12
Sweden
Message 27282 - Posted: 11 Sep 2009, 16:03:13 UTC

I have written a dead simple app that calcs pi. I wanna distribute this instead of the uppercase app.

I can't seem to wrap my head around how boinc decides which application to send out.

I've looked at the app list in the DB, and by adding my app to the projects.xml and running xadd, I've had PI added there. This I managed mainly by looking here: http://boinc.berkeley.edu/trac/wiki/XaddTool

But now what? Clients only get the uppercase app still. Since the above webpage says "remove existing entries, you must edit the database directly with SQL" I tried dropping the uppercase entry from the file completely, and now the feeder gets very angry with "RESULT#342 has bad appid 1; clean up your DB!

A little bit of guidence please :)
ID: 27282 · Report as offensive
ProfileJack
Avatar

Send message
Joined: 28 Oct 07
Posts: 48
United States
Message 27285 - Posted: 11 Sep 2009, 17:01:35 UTC - in response to Message 27282.  

There should be an application administration page under
PROJECT/html/ops/manage_apps.php
See if you can open that to remove and add applications to the databases.
Last resort you can go into mysql, delete the uppercase from your apps table.
ID: 27285 · Report as offensive
Nicolas

Send message
Joined: 19 Jan 07
Posts: 1179
Argentina
Message 27291 - Posted: 11 Sep 2009, 17:53:51 UTC - in response to Message 27282.  

The main problem is that you used --test_app when creating the project. Don't. I even argued against its creation and failed.

The rationale for it is that you get a project up and running typing a single command. The actual result is that it makes things harder than they should be. You now have a complete and fully-working project but you have no idea how it works, or how to make it stop what it's doing and make it do what you want instead.

Instead, if you had created it *without* --test_app, your project would be doing nothing until you learned how to make it do something, for example, adding applications.
ID: 27291 · Report as offensive
Letharion

Send message
Joined: 4 Sep 09
Posts: 12
Sweden
Message 27373 - Posted: 14 Sep 2009, 8:26:25 UTC - in response to Message 27291.  

>PROJECT/html/ops/manage_apps.php
To my surprise, this gives me a list of "Allowed HTML tags"?

>Nicolas
I tried creating a new project and going to the same adress as above, same webpage. I will experiment with a blank project instead.

I'm guessing since I didn't get any links with an RTFM, I haven't missed anything obvious on the wiki? Or is there documentation on this somewhere that I just haven't found?
ID: 27373 · Report as offensive
Nicolas

Send message
Joined: 19 Jan 07
Posts: 1179
Argentina
Message 27397 - Posted: 14 Sep 2009, 22:53:03 UTC - in response to Message 27373.  

>PROJECT/html/ops/manage_apps.php
To my surprise, this gives me a list of "Allowed HTML tags"?

Uhh that's quite weird.

I'm guessing since I didn't get any links with an RTFM, I haven't missed anything obvious on the wiki? Or is there documentation on this somewhere that I just haven't found?

Well, the wiki explains how to add a new application, and you probably already followed that. If you do it on a blank project, after adding your application, the project will be just like you want it; and learning how to *delete* an application can be left as a more advanced topic for later.

ID: 27397 · Report as offensive
Letharion

Send message
Joined: 4 Sep 09
Posts: 12
Sweden
Message 27415 - Posted: 15 Sep 2009, 13:18:14 UTC

The http://debian.localdomain/GT/html/ops/manage_apps.php is still a list of tags, which is really wierd, but I'll get there later. I just wanted to say that a blank project was actually quite a good idea, and progress is being made.[/img]
ID: 27415 · Report as offensive

Message boards : Server programs : Replacing the uppercase app with my own

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.