Giter Site home page Giter Site logo

Comments (8)

psoares avatar psoares commented on June 8, 2024

Same problem here... using MacOSX 10.8.3

from cpm.

psoares avatar psoares commented on June 8, 2024

FYI, I managed to upgrade dojox by using nodejs instead of rhino.
I just had to create a ~/.cpm.conf file with CPM_USE_NODE=1 in it.

from cpm.

psoares avatar psoares commented on June 8, 2024

That didn't come without its issues too... The downloaded zip file is incomplete. This is the list of files I get :

LICENSE calc cometd dojox.profile.js encoding gauges grid image.js lang mobile.js
NodeList calendar cometd.js drawing flash geo help io layout
analytics charting css3 drawing.js flash.js gesture highlight jq main.js
analytics.js collections data dtl form gfx highlight.js jq.js math
app collections.js date dtl.js fx gfx.js html json math.js
atom color dgauges editor fx.js gfx3d html.js jsonPath mdnd
av color.js dnd embed gantt gfx3d.js image jsonPath.js mobile

from cpm.

ben-cooling avatar ben-cooling commented on June 8, 2024

Looks like the file at http://packages.dojofoundation.org/archives/https$3A$2F$2Fgithub.com$2Fdojo$2Fdojox$2Fzipball$2F1.9.1 is invalid, even when downloaded through a browser. So not a CPM issue?

from cpm.

faroe228 avatar faroe228 commented on June 8, 2024

Dec 12 2013

cpm install works fine for dgrid, dijit but chokes on dojox.

I verified the zip at url:

http://packages.dojofoundation.org/archives/https$3A$2F$2Fgithub.com$2Fdojo$2Fdojox$2Fzipball$2F1.9.2

is corrupt when downloaded with a browser ... so not a CPM issue?

from cpm.

faroe228 avatar faroe228 commented on June 8, 2024

Dec 12 2013

Update ...

Looks like you can't use the java based cpm to install dojox. When I changed the cpm.bat file to use node instead of java the install worked. What is still puzzling is the "zipball" archive at:

http://packages.dojofoundation.org/archives/https$3A$2F$2Fgithub.com$2Fdojo$2Fdojox$2Fzipball$2F1.9.2

when downloaded manually with a browser or ANT or wget (or some other means) is a corrupt zip file (I tried multiple apps and unzip tools and they all failed). I wonder what kind of dojox zipball archive is created that only a node based CPM app can unpack???

Update Dec 13 2013 ...

The corrupt zip archive can be repaired with the zip -FF option. It would be nice if the mechanism to create the dojox zip ball could repair the corrupted zip file it generates or cpm.js could handle the corrupt zip file by repairing it.

from cpm.

faroe228 avatar faroe228 commented on June 8, 2024

cpm install dojox issue solved:

see:

faroe228@7f6f228

from cpm.

jgroffen avatar jgroffen commented on June 8, 2024

I used faroe228's patch to solve this for me, but it would be good to get a more permanent solution in to cpm. I could have a go at kriszyp's suggestion in faroe228/cpm@7f6f228 and provide a patch if it was likely to be accepted. Would it be?

from cpm.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.