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

vpm fails second time it starts when I have dependencies #27

Closed
simendsjo opened this issue Apr 30, 2012 · 2 comments
Closed

vpm fails second time it starts when I have dependencies #27

simendsjo opened this issue Apr 30, 2012 · 2 comments

Comments

@simendsjo
Copy link
Contributor

It references vibelog, but this is my package.json:
{
"name": "vibetest",
"version": "0.0.1",
"author": "simendsjo",
"dependencies": {
"mysql-native": ">=0.0.1"
}
}

First time running

$ ./vibe
[7F0B8C308F00:00000000 INF] Updating application in '/home/simendsjo/code/tmp/vibetest'
[7F0B8C308F00:00000000 INF] The following changes could be performed:
[7F0B8C308F00:00000000 INF] Installupdate: mysql-native, version >=0.0.1
[7F0B8C308F00:00000000 INF] Installing mysql-native...
[7F0B8C308F00:00000000 INF] mysql-native has been installed with version 0.0.1
[7F0B8C308F00:00000000 INF] There are still some actions to perform:
[7F0B8C308F00:00000000 INF] Uninstall: vibelog, ==0.0.1
[7F0B8C308F00:00000000 INF] InstallUpdate: mysql-native, >=0.0.1

And if I run it again:

$ ./vibe
[7FB755C8EF00:00000000 INF] Updating application in '/home/simendsjo/code/tmp/vibetest'
[7FB755C8EF00:00000000 INF] The following changes could be performed:
[7FB755C8EF00:00000000 INF] Uninstall: vibelog, version ==0.0.1
[7FB755C8EF00:00000000 INF] Installupdate: mysql-native, version >=0.0.1
[7FB755C8EF00:00000000 INF] Uninstalling vibelog
object.Exception@../../vibe/vibe.d/bin/../source/vibe/vpm/vpm.d(501): Uninstall failed, no journal found for 'vibelog'. Please uninstall manually.

/tmp/.rdmd-1000/home/simendsjo/code/tmp/vibetest/../../vibe/vibe.d/bin/vpm.d.F62B49216E43CDABBD891C9FA8DD043C(bool vibe.vpm.vpm.Vpm.update(bool)+0x2bf) [0x535313]
/tmp/.rdmd-1000/home/simendsjo/code/tmp/vibetest/../../vibe/vibe.d/bin/vpm.d.F62B49216E43CDABBD891C9FA8DD043C(_Dmain+0x155) [0x4d7805]
/tmp/.rdmd-1000/home/simendsjo/code/tmp/vibetest/../../vibe/vibe.d/bin/vpm.d.F62B49216E43CDABBD891C9FA8DD043C(extern (C) int rt.dmain2.main(int, char**).void runMain()+0x17) [0x55b45f]
/tmp/.rdmd-1000/home/simendsjo/code/tmp/vibetest/../../vibe/vibe.d/bin/vpm.d.F62B49216E43CDABBD891C9FA8DD043C(extern (C) int rt.dmain2.main(int, char**).void tryExec(scope void delegate())+0x23) [0x55addf]
/tmp/.rdmd-1000/home/simendsjo/code/tmp/vibetest/../../vibe/vibe.d/bin/vpm.d.F62B49216E43CDABBD891C9FA8DD043C(extern (C) int rt.dmain2.main(int, char**).void runAll()+0x3d) [0x55b4ad]
/tmp/.rdmd-1000/home/simendsjo/code/tmp/vibetest/../../vibe/vibe.d/bin/vpm.d.F62B49216E43CDABBD891C9FA8DD043C(extern (C) int rt.dmain2.main(int, char**).void tryExec(scope void delegate())+0x23) [0x55addf]
/tmp/.rdmd-1000/home/simendsjo/code/tmp/vibetest/../../vibe/vibe.d/bin/vpm.d.F62B49216E43CDABBD891C9FA8DD043C(main+0xd3) [0x55ad77]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fb75472c30d]

@ghost ghost assigned mdondorff Apr 30, 2012
@s-ludwig
Copy link
Member

Ah sorry, that was my fault. I copy-pasted the vibelog package file and forgot to change the download URL. If you delete the modules directory now, it should work.

@simendsjo
Copy link
Contributor Author

Yes, works now. Thanks.

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

3 participants