Cant upload attachments on nodes


#1

Greetings,

I’ve just setup a dradis server and I am trying to attach txt files into the nodes. However once I select the files I wish to upload and try to press the button to start nothing happens (no errors, anything). Is there a way to troubleshoot this issue? I am looking at the production.log and I nothing appears.

Thanks in advance


Cant add attachments
#2

Hi @mp182,

Please git pull both dradisframework and dradis-theme_snowcrash. This should be fixed now.

HTH,
Daniel


#3

Hi etd,

Thanks a lot for your reply.

I am trying to do the GIT install following these steps https://github.com/dradis/dradisframework , but while I run ruby ./setup I get the following error

== Preparing database ==
rake aborted!
rake aborted!
ArgumentError: invalid byte sequence in US-ASCII

Have you found this before?

Kind Regards


#4

I haven’t no, but can you edit ./bin/setup and add --trace to all the rake commands?

Hopefully that’ll give you more verbose errors.


#5

Hi

I’ve the same issue

$ bundle exec rake db:setup --trace
rake aborted!
rake aborted!
ArgumentError: invalid byte sequence in US-ASCII
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/trace_output.rb:16:in block in trace_on' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/trace_output.rb:14:inmap’
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/trace_output.rb:14:in trace_on' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:376:intrace’
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:222:in display_exception_message_details' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:209:indisplay_exception_details’
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:198:in display_error_message' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:185:inrescue in standard_exception_handling’
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:176:in standard_exception_handling' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:93:inload_rakefile’
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:77:in block in run' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:176:instandard_exception_handling’
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:75:in run' /var/lib/gems/1.9.1/gems/rake-10.4.2/bin/rake:33:in<top (required)>’
/usr/local/bin/rake:24:in load' /usr/local/bin/rake:24:in


#6

This seems related to the system locale? Could any of you confirm?