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

fails to run #4

Open
rickysarraf opened this issue Feb 10, 2017 · 4 comments
Open

fails to run #4

rickysarraf opened this issue Feb 10, 2017 · 4 comments

Comments

@rickysarraf
Copy link

Hello,

I'm trying to use this tool to migrate my drupal 7 instance to Hugo.

I ran into the following problem. Is there any help you can give.

rrs@learner:/var/tmp/$ ./drupal2hugo -db rhut_staging -user rrs -pass XXXX -v
gorptest: 16:59:49.469941 select cnf.field_name, type, global_settings, required, multiple, 
	  db_storage, module, db_columns, locked, cnfi.type_name as type_name
	  from drp_content_node_field cnf, drp_content_node_field_instance cnfi 
	  where cnf.field_name = cnfi.field_name and cnf.active = 1 and cnfi.widget_active = 1 []
Error executing CCKFields select.
dial tcp: missing port in address localhost
gorptest: 16:59:49.470193 select vid,name from drp_vocabulary []
select vid,name from drp_vocabulary
dial tcp: missing port in address localhost
2017-02-10 / 16:59:49 ♒♒♒  ☹  => 1  
lumbric added a commit to lumbric/drupal2hugo that referenced this issue Aug 20, 2017
@lumbric
Copy link

lumbric commented Aug 20, 2017

I think pull request #5 fixes this issue.

@rickysarraf
Copy link
Author

@lumbric Thanks. I tried your recommendation today. But it failed with a different error. Any help ?

rrs@priyasi:/tmp/drupal2hugo (master)$ go get github.com/fale/drupal2hugo
# github.com/fale/drupal2hugo/model
/home/rrs/go/src/github.com/fale/drupal2hugo/model/db.go:74: not enough arguments in call to DbMap.TraceOn
	have (string, *log.Logger)
	want (string, string, gorp.GorpLogger)
12:33 ♒♒♒    ☹  => 2  

@rickysarraf
Copy link
Author

I got around it by applying your fix and successfully building it. Thankx @lumbric

@rickysarraf
Copy link
Author

This still gives me errors :-(

rrs@priyasi:/tmp/drupal2hugo (master)$ ./drupal2hugo -prefix="" -db rhut_staging -user rrs -pass XXX -v
gorptest: 12:58:57.091952 select cnf.field_name, type, global_settings, required, multiple, 
	  db_storage, module, db_columns, locked, cnfi.type_name as type_name
	  from content_node_field cnf, content_node_field_instance cnfi 
	  where cnf.field_name = cnfi.field_name and cnf.active = 1 and cnfi.widget_active = 1 [] (1.198642ms)
gorptest: 12:58:57.092310 select vid,name from vocabulary [] (115.366µs)
select vid,name from vocabulary
Error 1146: Table 'rhut_staging.vocabulary' doesn't exist
12:58 ♒♒♒    ☹  => 1  

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