On Sun, 23 Mar 2014 19:22:06 GMT, agordon wrote:

Hello,

Trying to create the simplest 'vide-d' application, two issue arise:

  1. When adding 'userman' to 'package.json' of the application and running 'dub build' - dub is stuck. Removing this dependency (or replacing it with another dub module) works fine.

'deb fetch userman' also works fine.

Which version of DUB is used here (last line of the dub --help output)? The latest git HEAD version may still have some issues, but 0.9.21 should work, at least it does in a number of projects that use "userman".

  1. Manually copying the files from 'userman-0.0.8' into my project's "source" and "views" directory, build fails with:
(...)
../../../../../home/agordon/.dub/packages/vibe-d-0.7.18/source/vibe/data/serialization.d(117): Error: need 'this' for 'getAttribute' of type 'nothrow @safe NameAttribute(NameAttribute default_value)'
(...)

Using dmd v2.065 on Linux 64bit, and the latest 'userman' from Github.

This is a an incompatibility of DMD 2.065 and vibe.d 0.7.18. You can perform a dub upgrade --prerelease to switch to the latest version 0.7.19-rc.2. 0.7.19 final is planned to be released in during the next days.