Author Topic: Log encoding and multiply files upload problems  (Read 92 times)

0 Members and 1 Guest are viewing this topic.

Offline Mar

  • Occasional poster
  • *
  • Posts: 2
    • View Profile
Log encoding and multiply files upload problems
« on: November 13, 2017, 11:36:30 AM »
Hello. Thank for HFS! It is really good and very powerfiull software.

I have a few questions about HFS settings. I could'n't find answers via google or wiki (FAQ).

1) Please let me know, where can I set log encoding? In my current configuration of HFS I write log (upload / download actions with timestamps) in file, but russians symbols of real folder are abracadabra in log. I received this error only in ubuntu server 16.04 (with winehq 2.4 staging).

2) And the second question about multiply upload files to HFS. Sometimes (not every time) I receive "connection reset error" in browser in process of uploading files. I tried to upload files to address localhost:8080 from local drive and get error. When I uploaded files via local network address, somethimes I received info about invalid packets in my router where connection reset error. I tested this on two versions of ubuntu - desktop and server version with winehq 2.4.

What do you think about these issues? I tested two versions of HFS - 2.3i and 2.3k.

Thank you. Regards, Mar.
« Last Edit: November 13, 2017, 11:43:20 AM by Mar »

Offline bmartino1

  • Insane poster
  • *****
  • Posts: 708
  • Country: us
  • I'm only trying to help i mean no offense.
    • View Profile
    • none - google translate
Re: Log encoding and multiply files upload problems
« Reply #1 on: November 13, 2017, 09:34:25 PM »
hello, and welcome to the form.

For starters, i'm not sure about either of you questions. nor have a good answer for them.

It appears you are using ubuntu / a linux variety to run wine

http://www.rejetto.com/forum/hfs-~-http-file-server/login-sometimes-error-while-using-hfs-in-wine-ubuntu-help-me/msg1061701/#msg1061701

I would have you re-advise the setup to make sure wine is properly installed to run hfs native-ly.
-This may fix your second (2.) question...

as the the first, i'm not aware of changing the log texts encoding. I'm sure it is possible(leo might have more/better info) as this may pretain more to the language via file translation conversion stuff.
« Last Edit: November 13, 2017, 09:49:56 PM by bmartino1 »
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline Mar

  • Occasional poster
  • *
  • Posts: 2
    • View Profile
Re: Log encoding and multiply files upload problems
« Reply #2 on: November 14, 2017, 10:48:39 AM »
bmartino1, thank you for your help and advise.
I tried to execute your instructions, but received the same error wiht multiply upload files.
There is my step by step installation:
1) on vmware hypervisor 5.5 I created two new vm's (for mate-ubuntu and for win7);
2) on the first vm, I installed 32 bit mate-ubuntu using link from your post. After that I updated OS:
Code: [Select]
apt-get update, apt-get uprgade and apt-get upgrade-dist commands. Later I added wine repo, instllaed it:
Code: [Select]
add-apt-repository ppa:ubuntu-wine/ppa, apt-get update and apt-get install wine1.8 and instlled winetricks (
Code: [Select]
apt-get install winetricks). After that I run winecfg and configured wineprefix for winxp. Downloaded the latest version of HFS, run it, tried to upload and received "connections reset" error.
3) on the second vm and installed Win7 home adv. (64 bit version). Run the latest version of HFS and multiply upload about 3GB without any errors (12-14 zip-files at once).

Please let me know if my ubuntu instllation are wrong. Could your test multiply upload in ubuntu-mate on your side?

Thank you. Regards, Mar.
« Last Edit: November 14, 2017, 10:50:21 AM by Mar »

Offline bmartino1

  • Insane poster
  • *****
  • Posts: 708
  • Country: us
  • I'm only trying to help i mean no offense.
    • View Profile
    • none - google translate
Re: Log encoding and multiply files upload problems
« Reply #3 on: November 15, 2017, 10:40:13 PM »
sorry about gramer / spelling / etc, only have tonight to do this :p ip changes to much to log on forum outside from home
only had 30 min o respond :p :( good luck, hope this works for you
================

i recommend using the most updated version of wine. Since you installed wine 1.8, that the version you will be using(wine tricks will install wine - DON"T INSTAL A SPECIFIC WINE VERSION, UNLESS YOU KNOW WHAT YOUR DOING!).(... this is why winetricks was created!)... Wine has since released other updates (2.4 is curent atm).

Unfortunatley
My current work has me travel and access to the forum and the vm test bed is not fesiable (until after the holidays/my curent work schedule...).

YOU WILL HAVE TO REINSTALL WINE AND the SOFTWARE!

it is clear that there is miss under standing to my instruction form the other post.

so i will give you the lines one by one that you must run to get a good working version.

first we are purgeing hte system of wine(complety uninstall and removing all wine related files.
(this is due to 1. I don't know what config chages or wine realted problems that could be casueing the issue. 2. Guratee taht if you run these comands it will run HFS as if it was with your other VM)

***(make sure to copy the exact commands in this order):

Open mate terminal

become super user root via comand
Code: [Select]
sudo su
Code: [Select]
sudo apt-get remove --purge wine\*
Code: [Select]
sudo apt-get --purge remove wine

Close and restart the PC VM.

now open a standard user mate termainl (not SU)
(this is to remove the wine directiores form your curent user, this will also have to be done at the root level "SU")

Code: [Select]
rm -r "$HOME/.wine"
rm  $HOME/.config/menus/applications-merged/wine*
rm -r "$HOME/.local/share/applications/wine"
rm $HOME/.local/share/desktop-directories/wine*
rm $HOME/.local/share/icons/????_*.xpm

IF you used the wine config and chaged location, you will have to remove that folder....

once again we will log into super user root:

Code: [Select]
sudo su

Code: [Select]
rm -r "$HOME/.wine"
rm  $HOME/.config/menus/applications-merged/wine*
rm -r "$HOME/.local/share/applications/wine"
rm $HOME/.local/share/desktop-directories/wine*
rm $HOME/.local/share/icons/????_*.xpm


Now we clean up the ubuntu packages to make sure we are geting the lates and a clean version...

Code: [Select]
sudo apt-get update
Code: [Select]
sudo apt-get autoclean
Code: [Select]
sudo apt-get clean
Code: [Select]
sudo apt-get autoremove
----------------------------------

At this point wine and everything wine related will be gone.

You stated that you are runnig a 32bit editon of ubuntu mate:

if you are runing a 64 bit addition, you will have to add the arc type to run 32 bit application:
Code: [Select]
sudo dpkg --add-architecture i386
*I recommend ruining this command to verify that you are, or have a i386 (pc x86 OS) architec.

and run the update procedures

Code: [Select]
sudo apt-get update
Code: [Select]
sudo apt-get upgrade
-------------------------------------------
*EVERYTHING SHOULD BE RUN VIA ROOT AT THIS MOMENT...
At this point all available ubuntu updates and packages are ready

so we will start with the required packages first
*due to issues form ubuntu 7, and a bunch of wine updates, wine itself no longer instals theses optional packages, but will grab the dependents only to run there package. These commands will grab the other packages and will be required to install winetrick, with will install wine.

first we insall the wine development pacakges:
Code: [Select]
sudo apt-get install --install-recommends winehq-develthen we insatll the stage for wine itslef
Code: [Select]
sudo apt-get install --install-recommends wine-stagingFinaly we insall the most uptodate verion of wine:
Code: [Select]
sudo apt-get install winehq-staging
The ordering and one by one line install is important here to not make a conflict.
when done, the packages will complain that you will not need the wine-hq devel, and one other deveopment package.
*everythign to run a wine (windows emulated state) will be installed at this point

all of witch can be found at the wine hq website:
https://wiki.winehq.org/Ubuntu

------------------------------
finaly we build wine via winetricks:
Code: [Select]
sudo apt-get install winetricks
before we run wine tricks, we want to install some wine reequirments

install the netframe work! "mono"
Code: [Select]
sudo apt-get install mono-vbnc
install gecko (this will help HFS ALOT!)
https://wiki.winehq.org/Gecko
Code: [Select]
sudo apt-get install wine-gecko
these are some barebones requirments to most windoes based programs.
geko emualtes info that was internet explore, and helps in dealing with windows side tcp transaction. withc help hfs on a linux build
....

-------------------
at this moment, with out specify a wine version, wine is installed, and needs to be configure


open winetricks (either via standard user termainl non root) or via the aplication menu

install mon, geko, (esentialy say yes to all the popup)

-------------------------------

now downlaod HFS and tryi your test again.

I'm willing to bet its a wine issue, there are some many way to install an application and wine is very fickle these days.

HFS as stated via rejeto was orginaly created for windows xp, so i recomend a wine configuration for winodws xp, but i have found that win 7 and below work fine.
« Last Edit: November 15, 2017, 11:00:41 PM by bmartino1 »
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12829
  • Country: it
    • View Profile
Re: Log encoding and multiply files upload problems
« Reply #4 on: November 19, 2017, 04:28:32 PM »
Hello. Thank for HFS! It is really good and very powerfiull software.

welcome, and sorry for the late reply

Quote
1) Please let me know, where can I set log encoding? In my current configuration of HFS I write log (upload / download actions with timestamps) in file, but russians symbols of real folder are abracadabra in log.

sadly HFS doesn't currently support unicode. Some problems can occur because of this.
There's no option about log encoding.

Quote
2) And the second question about multiply upload files to HFS. Sometimes (not every time) I receive "connection reset error" in

i've already heard of network problems with Wine, but I can only suggest to report to Wine's team.