coroleu / jug

0 stars 2 forks source link

unable to run walkmod apply #4

Closed ttelang closed 8 years ago

ttelang commented 8 years ago

running following commands on Windows 7

git clone https://github.com/walkmod/jug
cd jug
walkmod apply

is giving the error as attached. error_log.txt

Please advise how can i get this problem resolved.

rpau commented 8 years ago

Hi,

Thanks for your reporting. After some hard modifications/improvements on incremental text modification, this project was affected. I have just fixed them. Run walkmod again in 30 min and it should work.

ttelang commented 8 years ago

I executed the command as below, but still facing the problems

C:\>git clone https://github.com/walkmod/jug
Cloning into 'jug'...
remote: Counting objects: 509, done.
Receiving objectsremote: Total 509 (delta 0), reused 0 (delta 0), pack-reused 50

Receiving objects: 100% (509/509), 266.45 KiB | 100.00 KiB/s, done.
Resolving deltas: 100% (111/111), done.

C:\>cd jug

C:\jug>walkmod apply
 INFO [main] - Java version: 1.8.0_91
 INFO [main] - Java Home: C:\Program Files\Java\jdk1.8.0_91\jre
 INFO [main] - OS: Windows 7, Vesion: 6.1
--------------------------------------------------------------------------------

                     _    _       _ _   ___  ___          _

                    | |  | |     | | |  |  \/  |         | |

                    | |  | | __ _| | | _| .  . | ___   __| |

                    | |/\| |/ _` | | |/ / |\/| |/ _ \ / _` |

                    \  /\  / (_| | |   <| |  | | (_) | (_| |

                     \/  \/ \__,_|_|_|\_\_|  |_/\___/ \__,_|

--------------------------------------------------------------------------------

An open source tool to apply code conventions
version 2.3.0 - February 2016 -
--------------------------------------------------------------------------------

 INFO [main] - C:\jug\walkmod.xml [ok]
ERROR [main] - C:\jug\walkmod.xml is invalid. Please, execute walkmod with -e to
 see the details.
C:\jug>walkmod apply
 INFO [main] - Java version: 1.8.0_91
 INFO [main] - Java Home: C:\Program Files\Java\jdk1.8.0_91\jre
 INFO [main] - OS: Windows 7, Vesion: 6.1
--------------------------------------------------------------------------------

                     _    _       _ _   ___  ___          _

                    | |  | |     | | |  |  \/  |         | |

                    | |  | | __ _| | | _| .  . | ___   __| |

                    | |/\| |/ _` | | |/ / |\/| |/ _ \ / _` |

                    \  /\  / (_| | |   <| |  | | (_) | (_| |

                     \/  \/ \__,_|_|_|\_\_|  |_/\___/ \__,_|

--------------------------------------------------------------------------------

An open source tool to apply code conventions
version 2.3.0 - February 2016 -
--------------------------------------------------------------------------------

 INFO [main] - C:\jug\walkmod.xml [ok]
ERROR [main] - C:\jug\walkmod.xml is invalid. Please, execute walkmod with -e to
 see the details.
C:\jug>walkmod apply -e
 INFO [main] - Java version: 1.8.0_91
 INFO [main] - Java Home: C:\Program Files\Java\jdk1.8.0_91\jre
 INFO [main] - OS: Windows 7, Vesion: 6.1
--------------------------------------------------------------------------------

                     _    _       _ _   ___  ___          _

                    | |  | |     | | |  |  \/  |         | |

                    | |  | | __ _| | | _| .  . | ___   __| |

                    | |/\| |/ _` | | |/ / |\/| |/ _ \ / _` |

                    \  /\  / (_| | |   <| |  | | (_) | (_| |

                     \/  \/ \__,_|_|_|\_\_|  |_/\___/ \__,_|

--------------------------------------------------------------------------------

An open source tool to apply code conventions
version 2.3.0 - February 2016 -
--------------------------------------------------------------------------------

 INFO [main] - C:\jug\walkmod.xml [ok]
ERROR [main] - Invalid configuration
org.walkmod.conf.ConfigurationException: Unable to load C:\jug\walkmod.xml
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java
:184)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at java.net.Socket.connect(Socket.java:538)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
        at sun.net.www.http.HttpClient.New(HttpClient.java:308)
        at sun.net.www.http.HttpClient.New(HttpClient.java:326)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:1169)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConn
ection.java:1105)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:999)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:933)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLCo
nnection.java:1513)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:1441)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(XMLEntityManager.java:647)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(
XMLEntityManager.java:1305)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEnti
ty(XMLEntityManager.java:1271)
        at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSou
rce(XMLDTDScannerImpl.java:263)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDri
ver.dispatch(XMLDocumentScannerImpl.java:1167)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDri
ver.next(XMLDocumentScannerImpl.java:1050)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$Prolog
Driver.next(XMLDocumentScannerImpl.java:964)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X
MLDocumentScannerImpl.java:606)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
(XMLNSDocumentScannerImpl.java:118)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:848)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:777)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:141)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1213)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(SAXParserImpl.java:643)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParser
Impl.java:327)
        at org.walkmod.util.DomHelper.parse(DomHelper.java:83)
        at org.walkmod.conf.providers.XMLConfigurationProvider.loadDocument(XMLC
onfigurationProvider.java:214)
        at org.walkmod.conf.providers.XMLConfigurationProvider.init(XMLConfigura
tionProvider.java:143)
        at org.walkmod.conf.ConfigurationManager.executeConfigurationProviders(C
onfigurationManager.java:111)
        at org.walkmod.conf.ConfigurationManager.<init>(ConfigurationManager.jav
a:73)
        at org.walkmod.conf.ConfigurationManager.<init>(ConfigurationManager.jav
a:81)
        at org.walkmod.WalkModFacade.apply(WalkModFacade.java:330)
        at org.walkmod.commands.ApplyCommand.execute(ApplyCommand.java:40)
        at org.walkmod.WalkModDispatcher.execute(WalkModDispatcher.java:171)
        at org.walkmod.WalkModDispatcher.main(WalkModDispatcher.java:196)
Caused by: www.walkmod.com - org.walkmod.util.location.LocationImpl@763d9750
        ... 43 more
Caused by: java.net.UnknownHostException: www.walkmod.com
        ... 43 more

C:\jug>
rpau commented 8 years ago

It seems that for some reason, your machine cannot connect to walkmod.com. Could you verify that is was not a temporary network problem ?

ttelang commented 8 years ago

Yes, that was a temporary problem. I retried again its working fine now.