Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Dashcode Deployment Hell

4 views
Skip to first unread message

Joshua Whalen

unread,
Nov 12, 2011, 5:37:48 PM11/12/11
to
Hiya!!

My name's Joshua, and I'm a developer / sys admin for #Occupy Wall
Street. I'm trying to build a simple rss feed web app in dashcode.
Sadly, I'm not much of a javascript programmer, so I'm just doing a
point-n-click-in-the-template app.

I'm running into trouble with deployment. My server is
www.occupyeverything.info, and the app will be served from user feeds,
so the url is http://www.occupyeverything.info/~feeds/NYCGA/. NYCGA is
the directory in the public_html folder I want to serve the app from.

Where I'm running into trouble is uploading it via ftp. No matter what I
use as an ftp path, I keep ending up with stuff like
"http://www.occupyeverything.info/~feeds/NYCGA//ftp://fe...@www.cocupyeve
rything.info/~feeds/NYCGA/" which is clearly not what I want. Can anyone
help me with this? The project file is here:
<http://www.occupyeverything.info/~feeds/NYCGA/dev.zip>

If someone who knows dashcode could take a peek, I'd be most grateful,
but PLEEZ don't just fix it for me, because even paranoids (like me)
have real enemies. I'm sure you'll all understand.

TIA!!

Joshua & #OWS IT.

Joshua Whalen

unread,
Nov 12, 2011, 5:39:14 PM11/12/11
to
Oh--- there's one more thing:

the server is debian 6 in 64 bit mode, running apache2 in default
configuration.

Thanks again!

Joshua Whalen

unread,
Nov 12, 2011, 5:40:42 PM11/12/11
to

Joshua Whalen

unread,
Nov 12, 2011, 5:43:33 PM11/12/11
to

Tim McNamara

unread,
Nov 12, 2011, 6:40:08 PM11/12/11
to
In article
<joshuafwhalen-0AA...@news.eternal-september.org>,
Smell like troll and if I am misjudging you I apologize. If you were
really a developer/sysadmin it seems unlikely that you'd be asking this
question. From your description your problem isn't in Dashcode, it's in
using your FTP application.

--
Your time is limited. Don't waste it living someone else's life.

Steve Jobs 1955-2011

Joshua Whalen

unread,
Nov 12, 2011, 6:54:35 PM11/12/11
to
In article <timmcn-7FF982....@news.iphouse.com>,
Tim McNamara <tim...@bitstream.net> wrote:

> >
> > Oh--- there's one more thing:
> >
> > the server is debian 6 in 64 bit mode, running apache2 in default
> > configuration.
> >
> > Thanks again!
>
> Smell like troll and if I am misjudging you I apologize. If you were
> really a developer/sysadmin it seems unlikely that you'd be asking this
> question. From your description your problem isn't in Dashcode, it's in
> using your FTP application.
>
> --

Not Troll. The problem isn't with my ftp app, it's with the one built
into Dashcode. It's rather rigid in how it requires you to define your
upload data and app path data, and honestly, this is a real post, and
since it's #OWS, it's kind of urgent. If you have a clue, I'd really
appreciate the help. If you don't, id' really appreciate you minding
your own business and not calling people who've
<a href="http://www.biguglyrock.net/">been using usenet</a> since you
were probably still in diapers trolls. Click the computers tab at the
above url for partial bonafides. Sadly, it's in early development at
this stage, or just google my full name and see who's company I keep on
line. the name is Joshua F. Whalen. Thank you.


Joshua

Jolly Roger

unread,
Nov 12, 2011, 8:06:06 PM11/12/11
to
The requested URL /~feeds/NYCGA/dev.zip was not found on this server.

--
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR

Joshua Whalen

unread,
Nov 12, 2011, 8:11:50 PM11/12/11
to
In article <jollyroger-3D703...@news.individual.net>,
Jolly Roger <jolly...@pobox.com> wrote:

> In article
> <joshuafwhalen-0AA...@news.eternal-september.org>,
> Joshua Whalen <joshua...@gmail.com> wrote:
>
> > The project file is here:
> > <http://www.occupyeverything.info/~feeds/NYCGA/dev.zip>
>
> The requested URL /~feeds/NYCGA/dev.zip was not found on this server.

OUCH!!! Gimme a minute, I'll fix it. Thanks for trying, Jolly! Also,
thanks for sticking up for me in comp.sys.mac.system. I appreciate both!

Joshua

Joshua Whalen

unread,
Nov 12, 2011, 8:13:17 PM11/12/11
to
> In article
> <joshuafwhalen-0AA...@news.eternal-september.org>,
> Joshua Whalen <joshua...@gmail.com> wrote:
>
> > The project file is here:
> > <http://www.occupyeverything.info/~feeds/NYCGA/dev.zip>
>
> The requested URL /~feeds/NYCGA/dev.zip was not found on this server.

Pardon me. The url works now. Thanks again, pal!


joshua

Jolly Roger

unread,
Nov 12, 2011, 11:16:13 PM11/12/11
to
In article
<joshuafwhalen-40E...@news.eternal-september.org>,
Joshua Whalen <joshua...@gmail.com> wrote:

> In article <jollyroger-3D703...@news.individual.net>,
> Jolly Roger <jolly...@pobox.com> wrote:
>
> > In article
> > <joshuafwhalen-0AA...@news.eternal-september.org>,
> > Joshua Whalen <joshua...@gmail.com> wrote:
> >
> > > The project file is here:
> > > <http://www.occupyeverything.info/~feeds/NYCGA/dev.zip>
> >
> > The requested URL /~feeds/NYCGA/dev.zip was not found on this server.
>
> OUCH!!! Gimme a minute, I'll fix it. Thanks for trying, Jolly! Also,
> thanks for sticking up for me in comp.sys.mac.system. I appreciate both!
>
> Joshua

For some reason, my copy of Dashcode (3.0.2) crashes every time I try to
open the project. Grrr...

Jolly Roger

unread,
Nov 12, 2011, 11:28:44 PM11/12/11
to
In article <jollyroger-18059...@news.individual.net>,
Jolly Roger <jolly...@pobox.com> wrote:

> In article
> <joshuafwhalen-40E...@news.eternal-september.org>,
> Joshua Whalen <joshua...@gmail.com> wrote:
>
> > In article <jollyroger-3D703...@news.individual.net>,
> > Jolly Roger <jolly...@pobox.com> wrote:
> >
> > > In article
> > > <joshuafwhalen-0AA...@news.eternal-september.org>,
> > > Joshua Whalen <joshua...@gmail.com> wrote:
> > >
> > > > The project file is here:
> > > > <http://www.occupyeverything.info/~feeds/NYCGA/dev.zip>
> > >
> > > The requested URL /~feeds/NYCGA/dev.zip was not found on this server.
> >
> > OUCH!!! Gimme a minute, I'll fix it. Thanks for trying, Jolly! Also,
> > thanks for sticking up for me in comp.sys.mac.system. I appreciate both!
> >
> > Joshua
>
> For some reason, my copy of Dashcode (3.0.2) crashes every time I try to
> open the project. Grrr...

Ok opening it from within Dashcode works. I've done tons of software
development for Mac OS over many years, but you'll have to pardon me for
not ever having touched Dashcode specifically. : ) While I get my
bearings, where are you seeing the FTP URL appear exactly?

Tim McNamara

unread,
Nov 13, 2011, 12:00:06 AM11/13/11
to
In article
<joshuafwhalen-F6C...@news.eternal-september.org>,
Sorry for the misjudgment. We get the odd "click on this file" spam
from malefactors in Usenet after all (FWIW I suspect I am a lot older
than you think I am, which is pretty typical in this newsgroup...).

Can't help with fixing the problem, unfortunately. Good luck with it
and hope someone finds a pointer in the right direction.

Joshua Whalen

unread,
Nov 13, 2011, 12:09:55 AM11/13/11
to
In article <jollyroger-18059...@news.individual.net>,
Jolly Roger <jolly...@pobox.com> wrote:

> > Joshua
>
> For some reason, my copy of Dashcode (3.0.2) crashes every time I try to
> open the project. Grrr...
>

Wouldn't surprise me. I'm beginning to think I made a bad choice of app
here. Apple does occasionally ship something and then forget to make it
work. :-)

There's a screenshot at
<http://www.occupyeverything.info/~feeds/screenshot.png> and another at
<http://www.occupyeverything.info/~feeds/screenshot2.png> that shows
what's wrong with the upload url. It doesn't matter how I structure the
url, it keeps munging it.

I could show you a few more examples. Try creating an rss app of your
own instead of working with mine see what happens when you try to upload
it and then read a feed from it. you can copy my feed from
<http://www.occupyeverything.info/~feeds/nycga.rss> and upload it to
your own server and you'll probably see what the problem is. The feed
has to originate from the same server as the app.

Thanks so much for all the time your spending on this, Jolly. I always
worry with problems like this that I'm making some huge mental error and
just not seeing it. That's where people like yourself are particulalry
priceless.

Thanks again!

Joshua

Joshua Whalen

unread,
Nov 13, 2011, 12:13:36 AM11/13/11
to
In article <timmcn-13BEF9....@news.iphouse.com>,
sorry I got hot under the collar. I thought that the click on this thing
was better than an attachment (even if my host allowed them) cause those
are often a trap, too. I suppose you really were justified, it's just
that after camping out in zuccotti park and coding under the weirdest
conditions imaginable, my brain is getting decidedly crisp at this point.

As I just pointed out to Jolly Roger, I always worry that the answer is
obvious and I just don't see it. That's where the usenet folks are so
helpful. Having different set of eyes look at the problem really helps
sometimes. Thanks for sharing yours.

Joshua

Jolly Roger

unread,
Nov 13, 2011, 3:48:41 AM11/13/11
to
In article
<joshuafwhalen-E43...@news.eternal-september.org>,
Sorry for taking so long to get back with you - I was out running around
town with the wife! : )

Ok so I tried deploying your stuff to my own server to see what's going
on. Just for good measure, I sniffed the connection to my FTP server so
I could see the transactions.

From what I can tell, if the "Application Path" field in the Deploy
window is empty, Dashcode tries, and fails, to create the directories up
to the deploy path specified in the FTP Destination (in Preferences),
and then gives up with the error "The folder ³(null)² cannot be created
on the server.". Dashcode obvious has some growing up to do in its
handling of this information.

I still don't see where you are getting the path
"http://www.occupyeverything.info/~feeds/NYCGA//ftp://fe...@www.cocupyeve
rything.info/~feeds/NYCGA/". But I think perhas you are just putting the
wrong information in the wrong places in Dashcode.

If you type the name of a directory into the "Application Path",
Dashcode will dutifully create it, if needed, and then upload the
content. Then the content will be available on the server in the correct
location.

Here's what you should do:

1. In Dashcode Preferences > Destinations, make sure the Path field
contains only this: /home/feeds/public_html
2. In the Run & Share window, make sure the Application Path field
contains only this: NYCGA
3. Dashcode will assemble the FTP path (/home/feeds/public_html) and the
Application Path (NYCGA) when it uploads the content to get the content
in the right place.

Jolly Roger

unread,
Nov 13, 2011, 3:57:45 AM11/13/11
to
In article
<joshuafwhalen-E43...@news.eternal-september.org>,
Joshua Whalen <joshua...@gmail.com> wrote:

> Thanks so much for all the time your spending on this, Jolly. I always
> worry with problems like this that I'm making some huge mental error and
> just not seeing it. That's where people like yourself are particulalry
> priceless.

Don't mention it!

BTW, I've got a little bit of an indirect tribute to some of your work
running here:

<http://zippy.kicks-ass.org:9997/>

Say hi! : )

Joshua Whalen

unread,
Nov 14, 2011, 2:42:18 PM11/14/11
to
In article <jollyroger-F06C3...@news.individual.net>,
Jolly Roger <jolly...@pobox.com> wrote:

> In article
> <joshuafwhalen-E43...@news.eternal-september.org>,
> Joshua Whalen <joshua...@gmail.com> wrote:
>
> > Thanks so much for all the time your spending on this, Jolly. I always
> > worry with problems like this that I'm making some huge mental error and
> > just not seeing it. That's where people like yourself are particulalry
> > priceless.
>
> Don't mention it!
>
> BTW, I've got a little bit of an indirect tribute to some of your work
> running here:
>
> <http://zippy.kicks-ass.org:9997/>
>
> Say hi! : )

!!!!! :-)
Woweee!
I haven't seen one of those in a loooooong time! *sigh* those were the
days!

I'll tell you, one thing I am very happy about is the number of old
machttp/webstar alumni who've been jumping in and volunteering their
time and expertise for this! I always felt like something like #OWS is
what we were all doing all that fun bleeding edge work for in the first
place, so I suppose I shouldn't be too surprised, but still, it's so
gratifying to find that I really did pick the right crowd to hang with!

I was locked out of the office on Bway yesterday, and all my gear
(laptop, iphone) were locked in it, so I'm a day behind in my emails and
newsposts. I'll try your remedy for dashcode momentarily and let you
know if it fixes things!

Joshua

Jolly Roger

unread,
Nov 14, 2011, 2:44:43 PM11/14/11
to
In article
<joshuafwhalen-845...@news.eternal-september.org>,
Fingers crossed. : )
0 new messages