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

0 Members and 1 Guest are viewing this topic.

Offline Mar

  • Occasional poster
  • *
  • Posts: 3
    • 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: 721
  • 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.
http://www.rejetto.com/forum/programmers-corner/translations-to-other-languages/?topicseen
« Last Edit: November 26, 2017, 10:51:33 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: 3
    • 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: 721
  • 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: 12837
    • 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.

Offline Mar

  • Occasional poster
  • *
  • Posts: 3
    • View Profile
Re: Log encoding and multiply files upload problems
« Reply #5 on: November 22, 2017, 12:29:23 PM »
welcome, and sorry for the late reply

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

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

rejetto, no problem and thank you for your answer. It was a very bad news for me about HFS and Wine...

bmartino1, thank you for your advise. I tried to install the latest version of Wine and the components via your instruction, but I received the same connection error (but it looks like more stable).

I'll try to install new VM with Wine 1.8 and let your know about results. Also I'll try to reconfigure network adapter settings (such as speed, duplex) on VM.

Regards, Mar

Follow members gave a thank to your post:


Offline bmartino1

  • Insane poster
  • *****
  • Posts: 721
  • I'm only trying to help i mean no offense.
    • View Profile
    • none - google translate
Re: Log encoding and multiply files upload problems
« Reply #6 on: November 23, 2017, 11:22:11 AM »
i have confirmed your bug with ubuntu adn my wine setup.

strangley, it is only affecting archive files(.tar / .zip etc.. anything compreessed), i have a vmware 12 workstaing ubuntu 32bit mate version going, i will post my vitural hardware and quick fixes if i solve this.

atm:
i beleve it could be a mime type issue/ hfs code issue

atm: i have tested local host and outside conection and uplaoding/downloading.

I will have to add archives to my testing phases now, usuialy i test uplads with pictures, text docs, music etc...

@retjeto
thank you for poping in, i thought the hfs version transaltion would incude this as a poteail fix to his 1st question.

i saw your post happy with leo and leo testing it.

Wonder if there is an update on that that might include that to hfs itself.

Also, wine is going thorugh chagnes and bug reports like this would come back to you the author. I can submit a bug report, bu there respons would be to contact the progrm author.
(unless you can prove it worke d with a previous verion/ older verison of wine....)

Thank you for you help in this matter

@mar
thank you for getting back to the post with your results, i will try to post agin before monday when i will be leaving again for work.
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline LeoNeeson

  • Insane poster
  • *****
  • Posts: 402
  • Solitario...
    • View Profile
    • twitter.com/LeoNeeson
Re: Log encoding and multiply files upload problems
« Reply #7 on: November 23, 2017, 08:32:36 PM »
@retjeto
thank you for poping in, i thought the hfs version transaltion would incude this as a poteail fix to his 1st question.

i saw your post happy with leo and leo testing it.

Wonder if there is an update on that that might include that to hfs itself.
Rejetto would answer this better than me, but translating the HFS interface doesn't have anything to do with adding Unicode support to HFS. And about the WINE issue, I guess he would need to have a detailed debug log (that you may provide, if you have one). You can see how to produce a debug.txt, here: Check Wine for Errors. Hope this helps.
• HFS ahora también disponible en Español! (Clic aqui) :)
• HFS is now also available in Spanish! (Click here)

Offline bmartino1

  • Insane poster
  • *****
  • Posts: 721
  • I'm only trying to help i mean no offense.
    • View Profile
    • none - google translate
Re: Log encoding and multiply files upload problems
« Reply #8 on: November 26, 2017, 10:53:10 PM »
i have found (on real hardware that wine staging 2.4 works with out the issues. I have not had time to vituralize it to test it again:
http://linuxg.net/install-wine-staging-on-ubuntu/

in wine tricks when you run the wine config, the about tab will show your the wine version

on real hardware, wine stagin 2.4 works with hfs. no issues with uplad etc...

will be able to test over the week, the issue occured due to a repository issue on wines git server end.
with the above setup, win stagin 2.02 (witch intals your upload bug) occurs but doesn't with wine 2.4 stagin
https://launchpad.net/~wine/+archive/ubuntu/wine-builds

i found that the repositor on my vitural machine was depricated, and will begin to look for a fix...

Sorry, i'm unable to spend any more time on this problem, for what ever reason, win 2.4 repository has been depricated and is curently not aviable.

my atpmt to copy the deb packages and other programs for a tranfer to a vitural machine have failed
(the real hardware i have is a chrome book ubunut "galium os build")
I ahve also found that i have no space to put a vitural harddrive (10-15 GB) to share to the post)

if you can get 2.4 wine staging installed, good luck. at this time, wie repositoy claims 2.02 is the most updated, withch causes the upload bug you are exibting.
sry, good luck.
« Last Edit: December 10, 2017, 04:04:23 PM by bmartino1 »
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1