Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with spaces !? #1

Closed
laebe opened this issue Nov 21, 2016 · 4 comments
Closed

Problems with spaces !? #1

laebe opened this issue Nov 21, 2016 · 4 comments

Comments

@laebe
Copy link
Member

laebe commented Nov 21, 2016

I got an error with catkin fetch in a CI environment, seems to me that some spaces are too much: Look at "image_template.git". The package has two dependencies that are correctly listed. Here's the output:

$ catkin fetch --default_url [email protected]:ipb-tools
INFO:fetch: Avoid fetching ROS packages.
INFO:fetch: [ROS]: Searching all packages.
INFO:fetch: [ROS]: Not found. Ignoring pre-defined ROS packages.
INFO:fetch: Searching for dependencies.
INFO:fetch:  [fop]                : Found 3 dependencies.
INFO:fetch:  [catkin]             : Found 2 dependencies.
INFO:fetch: Checking merged dependencies:
INFO:fetch:  [image_template  ]   : [email protected]:ipb-tools/image_template  .git
INFO:fetch:  [noise_estimation]   : [email protected]:ipb-tools/noise_estimation.git
INFO:fetch:  [cmake]              : [NOT FOUND]
INFO:fetch:  [catkin]             : [IGNORED]
INFO:fetch:  [python-empy]        : [NOT FOUND]
INFO:fetch: Cloning valid dependencies:
ERROR:fetch:  [image_template  ]   : [ERROR] Git error code: 129
INFO:fetch:  [noise_estimation]   : [CLONED]
INFO:fetch: New packages available. Process their dependencies now.
INFO:fetch: Searching for dependencies.
INFO:fetch:  [noise_estimation]   : Found 2 dependencies.
INFO:fetch: Checking merged dependencies:
INFO:fetch:  [catkin]             : [IGNORED]
INFO:fetch:  [image_template]     : [email protected]:ipb-tools/image_template.git
INFO:fetch: Cloning valid dependencies:
INFO:fetch:  [image_template]     : [CLONED]
INFO:fetch: New packages available. Process their dependencies now.
INFO:fetch: Searching for dependencies.
INFO:fetch:  [image_template]     : Found 1 dependencies.
INFO:fetch: Checking merged dependencies:
INFO:fetch:  [catkin]             : [IGNORED]
INFO:fetch: New packages available. Process their dependencies now.
INFO:fetch: Searching for dependencies.
INFO:fetch: No new dependencies. Done.

and with verbose:

$ catkin fetch --verbose --default_url [email protected]:ipb-tools
DEBUG:fetch: Enabling DEBUG output.
INFO:fetch: Avoid fetching ROS packages.
INFO:fetch: [ROS]: Searching all packages.
INFO:fetch: [ROS]: Not found. Ignoring pre-defined ROS packages.
INFO:fetch: Searching for dependencies.
INFO:fetch:  [fop]                : Found 3 dependencies.
INFO:fetch:  [catkin]             : Found 2 dependencies.
INFO:fetch: Checking merged dependencies:
INFO:fetch:  [image_template  ]   : [email protected]:ipb-tools/image_template  .git
INFO:fetch:  [noise_estimation]   : [email protected]:ipb-tools/noise_estimation.git
INFO:fetch:  [cmake]              : [NOT FOUND]
INFO:fetch:  [catkin]             : [IGNORED]
INFO:fetch:  [python-empy]        : [NOT FOUND]
INFO:fetch: Cloning valid dependencies:
DEBUG:fetch: Clone output: Too many arguments.

usage: git clone [options] [--] <repo> [<dir>]

    -v, --verbose         be more verbose
    -q, --quiet           be more quiet
    --progress            force progress reporting
    -n, --no-checkout     don't create a checkout
    --bare                create a bare repository
    --mirror              create a mirror repository (implies bare)
    -l, --local           to clone from a local repository
    --no-hardlinks        don't use local hardlinks, always copy
    -s, --shared          setup as shared repository
    --recursive           initialize submodules in the clone
    --recurse-submodules  initialize submodules in the clone
    --template <template-directory>
                          directory from which templates will be used
    --reference <repo>    reference repository
    -o, --origin <name>   use <name> instead of 'origin' to track upstream
    -b, --branch <branch>
                          checkout <branch> instead of the remote's HEAD
    -u, --upload-pack <path>
                          path to git-upload-pack on the remote
    --depth <depth>       create a shallow clone of that depth
    --single-branch       clone only one branch, HEAD or --branch
    --separate-git-dir <gitdir>
                          separate git dir from working tree
    -c, --config <key=value>
                          set config inside the new repository


ERROR:fetch:  [image_template  ]   : [ERROR] Git error code: 129
INFO:fetch:  [noise_estimation]   : [CLONED]
INFO:fetch: New packages available. Process their dependencies now.
INFO:fetch: Searching for dependencies.
INFO:fetch:  [noise_estimation]   : Found 2 dependencies.
INFO:fetch: Checking merged dependencies:
INFO:fetch:  [catkin]             : [IGNORED]
INFO:fetch:  [image_template]     : [email protected]:ipb-tools/image_template.git
INFO:fetch: Cloning valid dependencies:
INFO:fetch:  [image_template]     : [CLONED]
INFO:fetch: New packages available. Process their dependencies now.
INFO:fetch: Searching for dependencies.
INFO:fetch:  [image_template]     : Found 1 dependencies.
INFO:fetch: Checking merged dependencies:
INFO:fetch:  [catkin]             : [IGNORED]
INFO:fetch: New packages available. Process their dependencies now.
INFO:fetch: Searching for dependencies.
INFO:fetch: No new dependencies. Done.
ERROR: Build failed: exit code 1
@niosus
Copy link
Member

niosus commented Nov 21, 2016

Noted. Will fix tomorrow.

@laebe
Copy link
Member Author

laebe commented Nov 22, 2016

Thanks, Igor !

On 21.11.2016 18:53, Igor Bogoslavskyi wrote:

Noted. Will fix tomorrow.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWiwbcE30LMjinVGP7Fr_Lmj5X16jUdfks5rAdp8gaJpZM4K4YqZ.

@niosus
Copy link
Member

niosus commented Nov 22, 2016

The reason is the line in package.xml config:

<build_depend>image_template  </build_depend>

Note the spaces. There should be no spaces in the package xml, but the verb should probably be able to recover from this.

@niosus niosus closed this as completed in dd101d2 Nov 22, 2016
@laebe
Copy link
Member Author

laebe commented Nov 22, 2016

Thanks, sorry for your time investment !

On 22.11.2016 11:41, Igor Bogoslavskyi wrote:

The reason is the line in |package.xml| config:

|<build_depend>image_template </build_depend>
|

Note the spaces. There should be no spaces in the package xml, but the
verb should probably be able to recover from this.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWiwbXGktGnghxIoqjwGrX9Y29UIdsqnks5rAsbugaJpZM4K4YqZ.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants