UofS-Pulse-Binfo / tripal_bibtex

A BibTEX importer for Tripal Publications.
GNU General Public License v3.0
2 stars 2 forks source link

drush command requires full PATH #10

Closed bradfordcondon closed 5 years ago

bradfordcondon commented 6 years ago

typical me, i test the unit test and not the actual drush command.

drush trpimport-bibtex example/no_ws_example.bib
Filename: example/no_ws_example.bib
fopen(example/no_ws_example.bib): failed to open stream: No such file or directory tripal_bibtex.module:14                       [warning]

NOTE: publishing records is performed using a database transaction.
If the load fails or is terminated prematurely then the entire set of
is rolled back with no changes to the database

ERROR: Unable to open filemory: 41,725,496 bytes
Succesfully published 0 Publication record(s).

Import is successful with full path, IE drush trpimport-bibtex /Users/chet/UTK/tripal/sites/all/modules/custom/tripal_bibtex/example/no_ws_example.bib